@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.middle {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.index_banner {
  font-family: 'Inter', sans-serif;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url(./images/banner.png) center/cover no-repeat;
  color: #fff;
  animation: fadeIn 2s ease-in;

}

.index_banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: 58px;
    margin: 50px 0 20px !important;
    animation: fadeInUp 2.5s ease-out;
    color: #fff;
    align-items: center;
    height: 100px;
}
.reveal-row {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  align-items: center;
}

.static-left {
  flex: 0.1;
}
.reveal-words {
    position: relative;
    height: 100px;
    width: 280px;
    overflow: hidden;
    flex: 0.1;
    min-width: 240px;
    margin: 35px 0 0px 10px;
}
.reveal-words span {
  position: absolute;
  opacity: 0;
  text-align: center;
  font-size: 58px;
  color: #fff;
  animation: wordReveal 15s linear infinite;
  border-radius: 10px;
}

.reveal-words span:nth-of-type(1) {
  animation-delay: 0s;
  color: #f27b9b;
}

.reveal-words span:nth-of-type(2) {
  animation-delay: 3.75s;
  color: #65a8a7;
}

.reveal-words span:nth-of-type(3) {
  animation-delay: 7.5s;
  color: #f5a74b;
}

.reveal-words span:nth-of-type(4) {
  animation-delay: 11.25s;
  color: #8150a0;
}

@keyframes wordReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  10% {
    opacity: 1;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(0);
  }

  40% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.time-box #days {
  background-color: #f27b9b;
}

.time-box #hours {
  background-color: #65a8a7;
}

.time-box #minutes {
  background-color: #f5a74b;
}

.time-box #seconds {
  background-color: #8150a0;
}

.index_banner p {
  font-size: 26px;
  margin-bottom: 30px;
  color: #fff;
  animation: fadeInUp 2s ease-out;
  max-width: 80%;
  line-height: 50px;
}

.index_banner .timer {
  font-size: 48px;
  margin-bottom: 20px;
  letter-spacing: 2px;
  animation: fadeInUp 2.5s ease-out;
  font-family: 'Inter', serif;
  color: #fff;
  font-weight: 800;
}

.index_banner .timer:first-child {
  background-color: #fff;
}

.index_banner .logo {
  margin-bottom: 30px;
}

.index_banner .logo img {
  width: 400px;
}

.index_banner .socials a {
  margin: 0 10px;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.3s;
}

.index_banner .socials a:hover {
  transform: scale(1.2);
}

.index_banner {
  text-align: left;
  margin-right: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes floatUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 36px;
  }

  p {
    font-size: 18px;
  }

  .timer {
    font-size: 22px;
  }
}

.countdown-wrapper {
  display: flex;
  justify-content: start;
  gap: 30px;
  margin-bottom: 30px;
  animation: fadeInUp 2s ease-out;
}

.time-box {
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.time-box div {
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 10px;
  min-width: 70px;
}

.time-box span {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  color: #ccc;
}

.launching_soon {
  background-color: #fff;
  padding: 20px 40px;
  border-radius: 5px;
  width: fit-content;
  margin-bottom: 20px;
}

.launching_soon p {
  font-size: 24px;
  color: #000;
  margin-bottom: 10px;
  font-weight: 700;
}

.index_banner p b {
  color: #f5a74b;
  text-transform: capitalize;
}

.launching_soon h5 {
  color: #8150a0;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 0px;
  font-family: Playfair Display, serif;
}

@media(max-width:575.98px) {
  .index_banner .logo img {
    width: 250px;
  }

  .reveal-row {
    display: grid;
    justify-content: start;
    gap: 0px;
    text-align: center;
  }

  .reveal-words {
    text-align: left;
    margin: 40px 0 0px;
  }

  .reveal-words span {
    width: 320px;
  }

  .index_banner p {
         font-size: 22px;
        max-width: 100%;
        line-height: 46px;
  }

  .countdown-wrapper {
    gap: 20px;
  }

  .index_banner h1 {
    font-size: 58px;
    height: inherit;
  }

  .reveal-words span {
    font-size: 58px;
  }

  .time-box div {
    font-size: 25px;
    padding: 10px 10px;
    min-width: 60px;
  }

}

@media (min-width:576px) and (max-width:767.98px) {
  .index_banner .logo img {
    width: 250px;
  }

  .reveal-row {
    display: grid;
    justify-content: start;
    gap: 0px;
    text-align: center;
  }

  .reveal-words {
    text-align: left;
    margin: 40px 0 0px;
  }

  .reveal-words span {
    width: 320px;
  }

  .index_banner p {
          font-size: 22px;
        max-width: 100%;
        line-height: 46px;
  }

  .countdown-wrapper {
    gap: 20px;
  }

  .index_banner h1 {
    font-size: 58px;
    height: inherit;
  }

  .reveal-words span {
    font-size: 58px;
  }

  .time-box div {
    font-size: 25px;
    padding: 10px 10px;
    min-width: 60px;
  }
  
}

@media (min-width:768px) and (max-width:991.98px) {
  .index_banner .logo img {
    width: 250px;
  }
.index_banner{
  background-position: right;
}
  .reveal-row {
    display: grid;
    justify-content: start;
    gap: 0px;
    text-align: center;
  }

  .reveal-words {
    text-align: left;
    margin: 40px 0 0px;
  }

  .reveal-words span {
    width: 320px;
  }

  .index_banner p {
    font-size: 24px;
        max-width: 100%;
        line-height: 46px;
  }

  .countdown-wrapper {
    gap: 20px;
  }


  .index_banner h1 {
    font-size: 58px;
    height: inherit;
  }

  .reveal-words span {
    font-size: 58px;
  }

  .time-box div {
    font-size: 25px;
    padding: 10px 10px;
    min-width: 60px;
  }
}