*,
html {
  margin: 0;
  padding: 0;
  /* overflow-x: hidden; */
}

html,
body {
  overflow-x: hidden;
}

*,
html,
head,
body {
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #fbf8ec;
  color: #1d1d1d;
}

.first-page {
  background-image: url(./assets/Hero.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
}
.second-page {
  background-image: url(./assets/About\ Us.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
}

.third-page {
  background-image: url(./assets/Product.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
}

.fourth-page {
  background-image: url(./assets/Contact\ Us.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
}

.footer {
  background-image: url(./assets/Footer.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.fade {
  animation: fade ease-in-out both;
  animation-timeline: view();
  animation-range: entry 50% cover 50%;
}

.fade-right {
  animation: fadeRight ease-out both;
  animation-timeline: view();
  animation-range: cover 0% cover 100%;
}

.fade-bottom {
  animation: fadeRight both;
  animation-timeline: view();
  animation-range: cover 0% cover 100%;
}

.fade-left {
  animation: fadeLeft both;
  animation-timeline: view();
  animation-range: cover 0% cover 100%;
}

.shopnow-btn {
  transition: ease 0.5s;
  &:hover {
    box-shadow: 0px 22px 20px -1px rgba(0, 0, 0, 0.76);
    -webkit-box-shadow: 0px 22px 20px -1px rgba(0, 0, 0, 0.76);
    -moz-box-shadow: 0px 22px 20px -1px rgba(0, 0, 0, 0.76);
    transform: translateY(-0.4rem);
    border-radius: 0.5rem;
  }
}

.home-bar {
  animation: homeAnimation 7.5s infinite;
  animation-delay: 1s;
}

@keyframes homeAnimation {
  0% {
    letter-spacing: 0rem;
  }
  10% {
    letter-spacing: 0;
  }
  20% {
    letter-spacing: 0.75rem;
  }
  30% {
    letter-spacing: 2rem;
  }
  40% {
    letter-spacing: 0.75rem;
  }
  50% {
    letter-spacing: 0rem;
  }
  60% {
    letter-spacing: 0.5rem;
  }
  70% {
    letter-spacing: 3rem;
  }
  80% {
    letter-spacing: 1.5rem;
  }
  90%,
  100% {
    letter-spacing: 0rem;
  }
}

@keyframes fade {
  from {
    opacity: 1;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeLeft {
  from {
    opacity: 1;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeRight {
  from {
    opacity: 1;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeBottom {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(15px);
  }
}
