* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

body {
  font-family: 'Cormorant Garamond', serif;
  margin: 0;
  background: url('https://th.bing.com/th/id/OIP.Sh6qEseQdmdw89ZmI-IV1gHaEK?w=278&h=180&c=7&r=0&o=7&dpr=1.5&pid=1.7&rm=3')
    no-repeat center center fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #f5f1e9;
  padding: 10px;
  transition: background-color 0.3s, color 0.3s;
  text-shadow: 1px 1px 2px #000;
}


        /* This is Luna Pioneers logo and nav */
    /* NAVBAR MAIN CONTAINER */
nav {
    position: fixed;
    display: flex;
    top: 0;
    right: 0;
    left: 0;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.123);
    backdrop-filter: blur(5px);
    padding: 0 30px;
    box-shadow: 0 0 15px #72a1de68;
    z-index: 999;
    font-family: "Inter", sans-serif; /* keeps font consistent */
}

/* LEFT SECTION */
nav .left {
    display: flex;
    align-items: center;
}

nav .left h1{
    font-size: 30px;
    display: flex;
    align-items: center;
     font-family: "Inter", sans-serif; 
}

nav .left img {
    width: 40px;
    margin: 0 15px;
}

/* MENU LIST */
nav ul {
    display: flex;
    justify-content: space-between;
    width: 30%;
    padding: 15px 15px;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px #727fde65;
    cursor: pointer;
}

nav ul li {
    list-style: none;
}

nav ul a {
    text-decoration: none;
    color: white;
    font-weight: 700;
    margin: 0 10px;
    font-family: inherit; /* force to use nav font */
}

/* ICON BOXES */
nav .box-icons {
    display: flex;
    gap: 40px;
}

nav .box-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    width: 30px;
    height: 30px;
    border: 2px solid #727fde;
    text-decoration: none;
    color: lightgray;
    border-radius: 50%;
    transition: 0.3s;
}

nav .box-icons a:hover {
    background-color: #727fde;
    color: black;
    box-shadow: 0 0 15px #727fde6f;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        height: auto;
        padding: 10px 20px;
        gap: 10px;
    }

    nav .left {
        justify-content: center;
        width: 100%;
    }

    nav ul {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        padding: 10px;
        margin: 0;
    }

    nav ul a {
        margin: 5px 10px;
        font-size: 15px;
    }

    nav .box-icons {
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
        width: 100%;
    }

    nav .box-icons a {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
}


/* This is end of Luna Pioneers logo and nav */


@media (min-width: 600px) {
  body {
    padding: 0;
  }
}

header {
  text-align: center;
  padding: 40px 20px;
  font-family: 'Cinzel Decorative', serif;
}

header h1 {
  font-size: 3em;
  margin-bottom: 10px;
  color: #f7ca18;
  text-shadow: 2px 2px 5px #000;
}

header p {
  font-size: 1.4em;
  color: #d9d2bb;
  margin-bottom: 20px;
}

main {
  padding: 30px 15px 60px;
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.9);
}

.potions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.potion-card {
  background: transparent;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 15px #9647fdaa;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.potion-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 0 30px #f7ca18cc;
}

.potion-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 14px;
  box-shadow: 0 0 15px #000;
  object-fit: contain;
  height: 180px;
}

.potion-card h2 {
  font-family: 'Cinzel Decorative', serif;
  color: #f7ca18;
  margin-bottom: 10px;
  text-shadow: 1px 1px 4px #000;
  font-size: 1.6rem;
}

.potion-card p {
  font-size: 1rem;
  line-height: 1.4;
  color: #ddd6b9;
}



@media (max-width: 480px) {
  header h1 {
    font-size: 2.2em;
  }
  .potion-card h2 {
    font-size: 1.3rem;
  }
  .potion-card p {
    font-size: 0.95rem;
  }
}body {
  font-family: 'Cormorant Garamond', serif;
  margin: 0;
  background: url('https://th.bing.com/th/id/OIP.Sh6qEseQdmdw89ZmI-IV1gHaEK?w=278&h=180&c=7&r=0&o=7&dpr=1.5&pid=1.7&rm=3')
    no-repeat center center fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #f5f1e9;
  padding: 10px;
  transition: background-color 0.3s, color 0.3s;
  text-shadow: 1px 1px 2px #000;
}

@media (min-width: 600px) {
  body {
    padding: 0;
  }
}

header {
  text-align: center;
  padding: 40px 20px;
  font-family: 'Cinzel Decorative', serif;
}

header h1 {
  font-size: 3em;
  margin-bottom: 10px;
  color: #f7ca18;
  text-shadow: 2px 2px 5px #000;
}

header p {
  font-size: 1.4em;
  color: #d9d2bb;
  margin-bottom: 20px;
}

main {
  padding: 30px 15px 60px;
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.9);
}

.potions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.potion-card {
  background: transparent;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 15px #9647fdaa;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.potion-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 0 30px #f7ca18cc;
}

.potion-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 14px;
  box-shadow: 0 0 15px #000;
  object-fit: contain;
  height: 180px;
}

.potion-card h2 {
  font-family: 'Cinzel Decorative', serif;
  color: #f7ca18;
  margin-bottom: 10px;
  text-shadow: 1px 1px 4px #000;
  font-size: 1.6rem;
}

.potion-card p {
  font-size: 1rem;
  line-height: 1.4;
  color: #ddd6b9;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: rgba(15, 15, 25, 0.9);
  font-size: 0.9em;
  color: #d9d2bb;
  font-family: 'IM Fell Great Primer', serif;
  box-shadow: inset 0 5px 10px #0005;
  margin-top: 40px;
}
@media (max-width: 480px) {
  header h1 {
    font-size: 2.2em;
  }
  .potion-card h2 {
    font-size: 1.3rem;
  }
  .potion-card p {
    font-size: 0.95rem;
  }
}

/* This is Luna Pioneers footer */
.custom-footer {
    background-color: #0a0c1a;
    color: lightgray;
    padding: 40px 20px 0;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-footer .footer-logo .logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-footer .footer-logo .logo-title img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.custom-footer .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1100px;
    margin: auto;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-footer .footer-col {
    flex: 1 1 180px;
    margin: 20px;
}

.custom-footer .footer-logo p {
  text-align: start;
    font-size: 14px;
    color: rgb(255, 255, 255);
    margin-bottom: 15px;
}

.custom-footer .footer-logo h2 {
  text-align: start;
    font-size: 28px;
    color: #727fde;
    padding-bottom: 15px;
    font-family: 'Cinzel Decorative', serif;
}

.custom-footer .footer-col h3 {
  text-align: start;
    color: white;
    margin-bottom: 15px;
    font-size: 16px;
}

.custom-footer .footer-col ul {
    list-style: none;
    padding: 0;
}

.custom-footer .footer-col ul li {
text-align: start;
    margin-bottom: 15px;
}

.custom-footer .footer-col ul li a {
    text-align: start;
    text-decoration: none;
    color: #aaa;
    transition: 0.3s;
}

.custom-footer .footer-col ul li a:hover {
    color: white;
    text-shadow: 0 0 10px #727fdeaa;
}

.custom-footer .footer-socials a {
  text-align: start;
    display: inline-block;
    font-size: 25px;
    margin-right: 15px;
    color: #727fde;
    transition: transform 0.3s cubic-bezier(1, 1.56,0.64, 1), color 0.3s ease;
}

.custom-footer .footer-socials a:hover {
    color: white;
    text-shadow: 0 0 10px #727fde;
    transform: translateY(-8px) rotate(-360deg);
}

.custom-footer .footer-bottom {
    text-align: center;
    padding: 15px;
    font-size: 12px;
    background-color: rgb(13, 13, 44);
    color: lightgray;
}



@media (max-aspect-ratio: 16/9){
    .back-vid{
        width: auto;
        height: 100%;
    }
}

@media (min-aspect-ratio: 16/9){
    .back-vid{
        width: 100%;
        height: auto;
    }
}