/* General Styles */
@import url("https://fonts.googleapis.com/css2?family=Rubik+Iso&family=Tac+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Jacquard+12&family=Rubik+Iso&family=Tac+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fugaz+One&family=Jacquard+12&family=Rubik+Iso&family=Tac+One&display=swap");
body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #161718;
  color: #ffffff;
  font-family: "Arial", sans-serif;
}

/* Container Styles */
#vantajs {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}
#txt {
  display: flex;
  align-items: center;
  justify-content: center;
  /* flex: 1; */
  font-family: sans-serif;
  letter-spacing: 3.5px;
  font-size: 3.5rem;
  font-weight: 700;
  position: relative;
  transform-style: preserve-3d;
  perspective: 100px;
  -webkit-transform-style: preserve-3d;
  -webkit-perspective: 100px;
  margin-bottom: 20px;
}
#txt > b {
  height: 4.4rem;
  box-shadow: 0 0.4rem 0.3rem -0.3rem #aaa;
  color: #979c9f;
  background: linear-gradient(#aaf, #acf, #afc);
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform-origin: bottom;
  transform: rotateX(-85deg);
  -webkit-transform-origin: bottom;
  -webkit-transform: rotateX(-85deg);
  animation: getUp 7s infinite;
  font-family: "Fugaz One", sans-serif;
  font-weight: 400;
  font-style: normal;
}
#txt > b:nth-child(2) {
  animation-delay: 0.25s;
}
#txt > b:nth-child(3) {
  animation-delay: 0.5s;
}
#txt > b:nth-child(4) {
  animation-delay: 0.75s;
}
#txt > b:nth-child(5) {
  animation-delay: 1s;
}
#txt > b:nth-child(6) {
  animation-delay: 1.25s;
}
#txt > b:nth-child(7) {
  animation-delay: 1.5s;
}
#txt > b:nth-child(8) {
  animation-delay: 1.75s;
}
@keyframes getUp {
  10%,
  50% {
    transform: rotateX(0);
  }
  0%,
  60%,
  100% {
    transform: rotateX(-85deg);
  }
}
/* Heading and Paragraph Styles */

h2 {
  color: #fff !important;
  font-size: 2.5em;
  margin-bottom: 0.5em;
  /* font-family: "Tac One", sans-serif; */
  font-family: "Jacquard 12", system-ui;
  font-weight: 400;
  font-style: normal;
}

p {
  font-size: 1.8em;
  margin-bottom: 1.5em;
  font-family: "Tac One", sans-serif;
}

/* Countdown Styles */
#countdown {
  display: flex;
  justify-content: center;
  margin-bottom: 2em;
}
#countdown div {
  background: #fff;
  height: 8vh;
  width: 100%;
  margin: 0 40px;
  color: #451a8c;
  padding: 8px 15px;
  text-align: center;
  border-top-left-radius: 25px;
  border-bottom-right-radius: 25px;
}

#countdown span {
  display: block;
  font-size: 2em;
}

/* Form Styles */
form {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

input[type="email"] {
  padding: 10px;
  font-size: 1em;
  border: none;
  border-radius: 5px;
  margin-right: 10px;
  width: 280px;
  color: #451a8c;
  outline: none;
}

button {
  padding: 10px 20px;
  font-size: 1em;
  border: none;
  border-radius: 5px;
  background-color: #61dafb;
  color: #282c34;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #21a1f1;
}

/* Animated Button Styles */
a {
  font: 50 10px consolas;
  color: rgb(255, 255, 255);
  text-decoration: none;
  text-transform: uppercase;
  padding: 10px 15px;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  transition: all 0.2s ease 0s;
  transform: scale(2);
  margin-top: 20px;
}

a span {
  position: relative;
  z-index: 0;
  color: #fff;
  font-size: 13px;
}

a .liquid {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 200px;
  background: #7293ff;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.7);
  z-index: -1;
  transition: 0.6s;
}

a .liquid::after,
a .liquid::before {
  position: absolute;
  content: "";
  width: 200%;
  height: 200%;
  top: 0;
  left: 0;
  transform: translate(-25%, -75%);
}

a .liquid::after {
  border-radius: 45%;
  background: rgba(20, 20, 20, 1);
  box-shadow: 0 0 10px 5px #7293ff, inset 0 0 5px #7293ff;
  animation: animate 5s linear infinite;
  opacity: 0.8;
}

a .liquid::before {
  border-radius: 40%;
  box-shadow: 0 0 10px rgba(26, 26, 26, 0.5),
    inset 0 0 5px rgba(26, 26, 26, 0.5);
  background: rgba(26, 26, 26, 0.5);
  animation: animate 7s linear infinite;
}

/* Keyframes Animation */
@keyframes animate {
  0% {
    transform: translate(-25%, -75%) rotate(0);
  }
  100% {
    transform: translate(-25%, -75%) rotate(360deg);
  }
}

a:hover .liquid {
  top: -120px;
}

a:hover {
  box-shadow: 0 0 5px #7293ff, inset 0 0 5px #7293ff;
  transition-delay: 0.2s;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  #vantajs {
    max-height: 100vh;
  }
}

@media screen and (max-width: 720px) {
  #countdown {
    flex-direction: row;
  }
  #countdown span {
    font-size: 1em;
  }
}
