* {
    box-sizing: border-box;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}
@font-face {
    font-family: beautyreflections;
    src: url(beautyreflections.ttf);
 }
 @font-face {
    font-family: Distraction;
    src: url(Distraction.ttf);
 }
 

body {
    background-color: #e6f9d9;
    background-size: 100% auto;
    color: #000000;
    font-family: "Distraction";
    overflow-x:hidden;/*prevents horizontal scrolling*/
}

p {
    margin: 5px 0;
    color: #000000;
}

a {
    color: #000000;
    text-decoration: none;
   

}

/*a:hover {
    color: var(--pink);
    border-bottom: 1px dotted var(--pink);
}*/
    
h1, h2, h3, h4 {
    margin: 0;

}
    
h1 {
    font-size: 40px;
}
h2 {
    font-size: 30px;
    text-align: center;
}
h3 {
    font-size: 20px;
    text-align: center;
}
h4 {
    font-size: 15px;
}
p {
    font-size: 17px;
}
/*------------------------------------------------navbar-------------------------------------------------------*/
.nav-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    position: fixed;
    padding-left: 20px;
    padding-top: 20px;
    z-index: 99; /* Adjusted to ensure it stays above the overlay */
    background-color: #e6f9d9;
}
.menu li {

    list-style-type: none;
}
ul {
    list-style-type: none;
  }
  

.menu li a {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    transition: 0.15s ease-in-out;
    position: relative;
    text-transform: uppercase;
    font-size: 20px;
}

.open-menu, .close-menu {
    position: absolute;
    cursor: pointer;
    font-size: 1.7rem;
    display: none;
}

.open-menu {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.close-menu {
    top: 20px;
    right: 20px;
}

#check {
    display: none;
}

.menu {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 45%;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 102;
    background-color: #778a6d;
    transition: all 0.2s ease-in-out;
    display: flex;
}

.menu li {
    margin-top: 40px;
}

.menu li a {
    padding: 10px;
}

.open-menu, .close-menu {
    display: block;
}

#check:checked ~ .menu {
    right: 0;
}

#check:checked ~ .overlay {
    display: block;
}

.logo {
    font-size: 40px;
    text-decoration: none;
    font-weight: 700;
    font-family: beautyreflections;
    padding-bottom: 5px;
}

@media (max-width: 300px) {
    .logo {
        font-size: 30px;
    }
}
@media (max-width: 700px) {
    .menu {
        width: 80%;
    }
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.377);
    z-index: 100;
}


/*------------------------------------------------content-------------------------------------------------------*/
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Adjust height as needed */
    background: url('images/vintagephoto3.png') no-repeat center center/cover; /* Replace 'hero-image.jpg' with your hero image path */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: rgb(0, 0, 0);
    text-align: center;
    padding-top: 15vh;
}

.hero-content {
    padding: 20px;
    border-radius: 10px;
}

.gallery-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 0;
}


.description-box {
    margin: 100px auto; /* Center the box horizontally and add some top/bottom margin */
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.486); /* Light background for the box */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Slight shadow for better visibility */
    color: #000000;
    text-align: center;
    margin-left: 30%;
    margin-right: 30%;
}

@media (max-width: 1200px) {
    .description-box {
        margin-left: 20%;
        margin-right: 20%;
    }
}
@media (max-width: 800px) {
    .description-box {
        padding: 15px; /* Reduce padding on smaller screens */
        margin-right: 30px;
        margin-left: 30px; /* Reduce margin on smaller screens */
    }
    .description-box p {
        font-size: 15px;
    }
}




/* =================== PRODUCTS SECTION =================== */
.products {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.product-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.product-link {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
}

.product-link img {
  display: none;
}

.product-button {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  padding: 7px 15px;
  border-radius: 50px;
  color: black;
  background-color: #bad4e1;
  border: 2px solid #bad4e1;
  transition: 0.3s;
  text-align: center;
}

.product-button:hover {
  border-color: #bad4e1;
  background-color: transparent;
  color: #bad4e1;
}

/* -------- DESKTOP BACKGROUNDS -------- */
.product-accessories .product-link {
  background: url("images/wearinghatcombined.png") center/cover no-repeat;
}

.product-hats .product-link {
  background: url("images/bothhats.jpg") center/cover no-repeat;
}

.product-shirt .product-link {
  background: url("images/erikasfront3.png") center/cover no-repeat;
}

.product-back .product-link {
  background: url("images/erikasback42.png") center/cover no-repeat;
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 800px) {
  .product-link {
    background: none;
    aspect-ratio: auto;
    width: 100%;
  }

  .product-link img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* ===== MOBILE IMAGE SOURCES ===== */
  .product-accessories .product-link img {
    content: url("images/bothhatsbody.png");
  }

  .product-hats .product-link img {
    content: url("images/hatsmobile.jpg");
  }

  .product-shirt .product-link img {
    content: url("images/erikasfront2mobile.png");
  }

  .product-back .product-link img {
    content: url("images/erikasback42mobile.png");
  }

  /* ===== FIT LOGIC ===== */
  /* Top two (800x2132 → aspect ≈ 0.375) */
  .product-accessories .product-link img,
  .product-hats .product-link img {
    object-fit: contain;
    aspect-ratio: 800 / 2132;
    background-color: #e6f9d9;
    margin: 0 auto;
  }

  /* Bottom two (1408x2000 → aspect ≈ 0.704) */
  .product-shirt .product-link img,
  .product-back .product-link img {
    object-fit: contain;
    aspect-ratio: 1408 / 2000;
    background-color: #e6f9d9;
    margin: 0 auto;
  }

  /* Ensures images scale smoothly on narrow screens */
  .product-section {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Button styling for mobile */
  .product-button {
    bottom: 5%;
  }
}





.container {
  position: relative;
  text-align: center;
}

.shophats {
  position: absolute;
  top: 92%;
  left: 50%;
  transform: translate(-50%, -90%);
  font-size: 13px;
  padding: 7px;
  border-radius: 50px;
  color: black;
  background-color: #bad4e1;
  border: 2px solid #bad4e1;
}
.shophats:hover {
    border-color: #bad4e1;
    background-color: transparent;
    color: #bad4e1;
}
/*------------------------------------------------scrollbar-------------------------------------------------------*/

      .stickyBottomNav {
         position: fixed;
         left: 0;
         bottom: 0;
         width: 100%;
         z-index: 5;
         background-color: #e6f9d9;
         color: white;
         text-align: center;
      }
      .den {
        width: 80px;
        margin-top: 14px;
        margin-bottom: 14px;
        
      }
/*------------------------------------------------responsiveness-------------------------------------------------------*/

@media (max-width: 800px) {
    .clothing1 {
        padding-left: 0;
        padding-right: 0;

    }
    .clothing2 {
        padding: 0;
    }
    .clothing3 {
        padding: 0;
    }
}
@media (max-width: 800px) {
    .image-container {
      flex-direction: column; /* Stack images vertically */
    }
    .image-container img {
      width: 100%; /* Images will take up full width on small screens */
    }
  }

/* ANIMATION FRAMES */

@keyframes rainbowframes {
	0% {
		background-position: 0% 0%;
	}
	100% {
		background-position: 100% 0%;
	}
}