html {
  font-family: 'Lato', sans-serif;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
}
/* Loading */
/* Loading Screen */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

.loading.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.loading-text {
  display: flex;
  gap: 5px;
}

.loading-text-words {
  color: white;
  font-family: 'Lato', sans-serif;
  font-size: 2rem;
  animation: blur-animation 1.5s infinite linear alternate;
}

@keyframes blur-animation {
  0% {
    filter: blur(0px);
  }
  100% {
    filter: blur(4px);
  }
}

/* NAVIGATION BAR */

nav {
  background-color: #111;
  color: white;
  padding: 20px 50px;
}

.navTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search {
  display: flex;
  align-items: center;
  background-color: gray;
  padding: 10px 20px;
  border-radius: 10px;
}

.searchInput {
  border: none;
  background-color: transparent;
}

.searchInput::placeholder {
  color: lightgray;
}

.limitedOffer {
  font-size: 1.25rem;
  border-bottom: 2px solid #e4ae01;
  cursor: pointer;
}

.searchIcon:hover {
  cursor: pointer;
}

.navBottom {
  display: flex;
  align-items: center;
  justify-content: center;
}

.menuItem {
  margin-right: 3.125em;
  margin-top: 2.5em;
  cursor: pointer;
  color: lightgray;
  font-weight: 400;
}
.menuItem:hover {
  color: rgb(0, 205, 0);
}
.menuItem:hover:nth-child(2) {
  color: rgb(150, 44, 255);
}
.menuItem:hover:nth-child(3) {
  color: rgb(0, 174, 174);
}
.menuItem:hover:nth-child(4) {
  color: rgb(83, 143, 255);
}
.menuItem:hover:nth-child(5) {
  color: rgb(255, 93, 95);
}

/* SLIDER */

.slider {
  background-image: url('./img/sliderBackground.jpg');
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
  background-size: cover;  
  background-position: center center; 
  background-repeat: no-repeat; 
  overflow: hidden; 
}


.sliderWrapper {
  display: flex;
  width: 500vw;
  transition: all 1.5s ease-in-out;
}

.sliderItem {
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sliderBgCircle {
  width: 750px;
  height: 750px;
  border-radius: 50%;
  position: absolute;
  background-color: rgba(0, 205, 0, 0.65);
}

.sliderImage {
  z-index: 1;
}

.sliderTitle {
  position: absolute;
  top: 10%;
  right: 10%;
  font-size: 3.75rem;
  font-weight: 900;
  text-align: right;
  color: white;
  z-index: 1;
}
.sliderPrice {
  position: absolute;
  top: 10%;
  left: 5%;
  font-size: 3.75rem;
  font-weight: 300;
  text-align: right;
  color: white;
  border: 1px solid gray;
  z-index: 1;
}
.buyButton {
  position: absolute;
  top: 50%;
  right: 10%;
  font-size: 1.875rem;
  font-weight: 900;
  text-align: right;
  color: white;
  border: 1px solid gray;
  background-color: black;
  z-index: 1;
  cursor: pointer;
}
.buyButton:hover {
  background-color: white;
  color: black;
}

.sliderItem:nth-child(2) .sliderBgCircle {
  background-color: rgba(102, 51, 153, 0.65);
}
.sliderItem:nth-child(3) .sliderBgCircle {
  background-color: rgba(0, 128, 128, 0.65);
}
.sliderItem:nth-child(4) .sliderBgCircle {
  background-color: rgba(100, 149, 237, 0.65);
}
.sliderItem:nth-child(5) .sliderBgCircle {
  background-color: rgba(211, 103, 105, 0.65);
}
.sliderItem:nth-child(1) .sliderPrice {
  background-color: #111;
  color: rgba(0, 205, 0);
  padding: 5px;
}
.sliderItem:nth-child(2) .sliderPrice {
  background-color: #111;
  color: rgb(150, 44, 255);
  padding: 5px;
}
.sliderItem:nth-child(3) .sliderPrice {
  background-color: #111;
  color: rgb(0, 174, 174);
  padding: 5px;
}
.sliderItem:nth-child(4) .sliderPrice {
  background-color: #111;
  color: rgb(83, 143, 255);
  padding: 5px;
}
.sliderItem:nth-child(5) .sliderPrice {
  background-color: #111;
  color: rgb(255, 93, 95);
  padding: 5px;
}

/* FEATURES */

.features {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.featureIcon {
  width: 50px;
  height: 50px;
}
.featureTitle {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 20px;
}
.featureDescription {
  color: gray;
  width: 50%;
  height: 100px;
}

/*  PRODUCTS */

.product {
  height: 100vh;
  background-color: #111111;
  position: relative;
  clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}

.payment {
  width: 500px;
  height: 500px;
  background-color: rgb(49 43 43 / 50%);
  backdrop-filter: blur(5px);
  position: absolute;
  /*  How to position an absolute item to center? Look below */
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  padding: 10px 50px;
  display: none;
  flex-direction: column;
  -webkit-box-shadow: 0px 0px 13px 2px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

label {
  font-size: 0.875rem;
  /* font-weight: 300; */
  color: #cfcfd5;
  font-size: medium;
  font-weight: bolder;
}

.payInput {
  padding: 10px;
  margin: 10px 0;
  border: #7b7b7a;
  border-bottom: 1px solid #808080;
  border-radius: 10px;
  -webkit-box-shadow: 0px 0px 13px 2px rgb(0 0 0 / 30%);
}

.payInput::placeholder {
  color: lightgray;
}

.cardIcons {
  display: flex;
}
.cardIcon {
  margin-right: 10px;
}
.cardInfo {
  display: flex;
  justify-content: space-between;
}

.small {
  width: 25%;
}

.payButton {
  position: absolute;
  height: 40px;
  bottom: -40px;
  width: 100%;
  left: 0;
  -webkit-box-shadow: 0px 0px 13px 2px rgba(0, 0, 0, 0.3);
  background-color: rgba(0, 205, 0, 0.95);
  color: white;
  font-weight: bolder;
  cursor: pointer;
}

.payTitle {
  font-size: 1.25rem;
  color: rgb(122, 122, 122);
}

.close {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: rgb(0, 0, 0);
  color: white;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 2px;
}

.productImage {
  width: 50%;
}
.productDetails {
  position: absolute;
  top: 10%;
  right: 0;
  width: 40%;
  padding: 50px;
}
.productTitle {
  font-size: 4.688rem;
  font-weight: 900;
}

.productDescription {
  font-style: 24px;
  color: gray;
}

.colors,
.sizes {
  display: flex;
  margin-bottom: 20px;
}

.color {
  width: 32px;
  height: 32px;
  border-radius: 5px;
  background-color: black;
  margin-right: 10px;
  cursor: pointer;
}

.color:last-child {
  background-color: darkblue;
}

.size {
  padding: 5px 20px;
  border: 1px solid black;
  margin-right: 10px;
  cursor: pointer;
  font-size: 1.25rem;
}

.productButton {
  float: right;
  padding: 10px 20px;
  background-color: black;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.productButton:hover {
  background-color: white;
  color: black;
}

/* GALLERY */

.gallery {
  padding: 50px;
  display: flex;
}

.galleryItem {
  flex: 1; /* width: 33.33% */
  padding: 15px;
}

.galleryImage {
  width: 100%;
}

/* NEW SEASON */

.newSeason {
  display: flex;
}

.nsItem {
  flex: 1;
  background-color: black;
  color: white;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative; /* For line designs */
  overflow: hidden; /* Ensure designs don't overflow */
}

.nsImage {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain; /* Prevent stretching and fit image within container */
  background-color: black; /* Fallback if image doesn't fill */
  border: 5px solid rgba(255, 255, 255, 0.2); /* Optional image border for style */
}

.nsTitle {
  font-size: 2.5rem;
}

.nsButton {
  padding: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* Epic line designs */
.nsItem::before, 
.nsItem::after {
  content: "";
  position: absolute;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  width: 100%;
  height: 2px;
}

.nsItem::before {
  top: 10%;
  left: 0;
}

.nsItem::after {
  bottom: 10%;
  right: 0;
  transform: rotate(90deg);
}


/* FOOTER */

footer {
  display: flex;
}

.footerLeft {
  flex: 2;
  display: flex;
  justify-content: space-between;
  padding: 50px;
}

.footerMenuTitle {
  font-size: 1rem;
}

.footerMenuList {
  padding: 0;
  list-style: none;
}

.footerListItem {
  margin-bottom: 10px;
  color: gray;
  cursor: pointer;
}

.footerRight {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footerInput {
  padding: 5px;
}

.footerButton {
  padding: 5px;
  background-color: black;
  color: white;
  cursor: pointer;
}

.footerIcons {
  display: flex;
}

.footerIcon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  cursor: pointer;
}

.copyright {
  font-weight: 300;
  font-size: 0.875rem;
}

@media screen and (max-width: 480px) {
  nav {
    padding: 20px;
  }

  .search {
    display: none;
  }

  .navBottom {
    flex-wrap: wrap;
  }

  .menuItem {
    margin: 20px;
    font-weight: 700;
    font-size: 1.25rem;
  }

  .slider {
    clip-path: none;
  }

  .sliderImage {
    width: 90%;
  }

  .sliderBgCircle {
    width: 100%;
    height: 100%;
  }

  .sliderTitle {
    display: none;
  }

  .sliderPrice {
    top: unset;
    bottom: -50;
    left: 0;
    background-color: lightgrey;
    font-size: 2.25rem;
  }

  .buyButton {
    right: 0;
    top: 0;
  }

  .features {
    flex-direction: column;
  }

  .product {
    clip-path: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .productImage {
    width: 80%;
  }

  .productDetails {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    top: 0;
  }

  .productTitle {
    font-size: 3.125rem;
    margin: 0;
  }

  .gallery {
    display: none;
  }

  .newSeason {
    flex-direction: column;
  }

  .nsItem:nth-child(2) {
    padding: 50px;
  }

  footer {
    flex-direction: column;
    align-items: center;
  }

  .footerLeft {
    padding: 20px;
    width: 90%;
  }

  .footerRight {
    padding: 20px;
    width: 90%;
    align-items: center;
    background-color: whitesmoke;
  }

  .payment {
    width: 90%;
    padding: 20px;
  }

  a:-webkit-any-link {
    margin-bottom: 10px;
      color: gray;
      cursor: pointer;
  }
      @keyframes blur-animation {
          0% {
              filter: blur(0px);
          }
          100% {
              filter: blur(4px);
          }
      }

      /* Navigation Bar */
      nav {
          background-color: #111;
          color: white;
          padding: 20px 50px;
      }

      .navTop {
          display: flex;
          align-items: center;
          justify-content: space-between;
      }

      .search {
          display: flex;
          align-items: center;
          background-color: gray;
          padding: 10px 20px;
          border-radius: 10px;
      }

      .searchInput {
          border: none;
          background-color: transparent;
      }

      .searchInput::placeholder {
          color: lightgray;
      }

      .limitedOffer {
          font-size: 1.25rem;
          border-bottom: 2px solid #e4ae01;
          cursor: pointer;
      }

      .searchIcon:hover {
          cursor: pointer;
      }

      .navBottom {
          display: flex;
          align-items: center;
          justify-content: center;
      }

      .menuItem {
          margin-right: 3.125em;
          margin-top: 2.5em;
          cursor: pointer;
          color: lightgray;
          font-weight: 400;
      }

      .menuItem:hover {
          color: rgb(0, 205, 0);
      }

      .menuItem:hover:nth-child(2) {
          color: rgb(150, 44, 255);
      }

      .menuItem:hover:nth-child(3) {
          color: rgb(0, 174, 174);
      }

      .menuItem:hover:nth-child(4) {
          color: rgb(83, 143, 255);
      }

      .menuItem:hover:nth-child(5) {
          color: rgb(255, 93, 95);
      }

      /* FAQ Page Style */
      .faq-page {
          padding: 50px;
      }

      .faq-title {
          font-size: 3rem;
          font-weight: 900;
          margin-bottom: 20px;
          text-align: center;
      }

      .faq-item {
          margin-bottom: 30px;
      }

      .faq-question {
          font-size: 1.5rem;
          font-weight: 600;
          color: #111;
      }

      .faq-answer {
          font-size: 1.25rem;
          color: gray;
          margin-top: 10px;
          padding-left: 20px;
      }

      .faq-question:hover {
          cursor: pointer;
          color: rgb(0, 205, 0);
      }

      footer {
          background-color: #111;
          color: white;
          padding: 30px;
          text-align: center;
      }

      .footer-links {
          margin-top: 10px;
          font-size: 1rem;
      }

      .footer-links a {
          color: gray;
          margin: 0 15px;
          text-decoration: none;
      }

      .footer-links a:hover {
          color: white;
      }

      /* Responsive Design */
      @media screen and (max-width: 480px) {
          .faq-title {
              font-size: 2rem;
          }

          .faq-question {
              font-size: 1.25rem;
          }

          .faq-answer {
              font-size: 1rem;
          }
      }

      
    }

