body {
  height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #f6f4ef;
}

h1 {
  color: #3a3a3a;
  font-family: "Outfit", sans-serif;
  font-size: 52px;
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

p {
  font-size: 18px;
  font-family: "Poppins", sans-serif;
}

span {
  color: #5d6dff;
}

.container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.main-content {
  margin-top: 25px;
}

.main-content h1 {
  animation: slideIn 0.8s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.main-content p:nth-of-type(1) {
  animation: slideIn 0.8s ease-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.main-content p:nth-of-type(2) {
  animation: slideIn 0.8s ease-out forwards;
  animation-delay: 1s;
  opacity: 0;
}

.btn button {
  border: none;
  background-color: white;
  width: 120px;
  height: 40px;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  border-radius: 50px;
  cursor: pointer;
}

.btn button::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(270deg, cyan, magenta, cyan);
  z-index: -1;
  border-radius: 50px;
  background-size: 600% 600%;
  animation: rotateGradient 3s linear infinite;
}

@keyframes rotateGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.tagline p {
  animation: slideIn 0.8s ease-out forwards;
  animation-delay: 1.4s;
  opacity: 0;
}

.tagline {
  margin-top: 15rem;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media only screen and (max-width: 500px) {
  .container {
    padding: 0 20px;
  }

  h1 {
    font-size: 39px;
    width: 100%;
  }

  .tagline {
    width: 95%;
  }
}

@media only screen and (max-width: 468px) {
  h1 {
    font-size: 31px;
  }
}

@media only screen and (max-width: 400px) {
  h1 {
    font-size: 32px;
  }
}

@media only screen and (max-width: 353px) {
  h1 {
    font-size: 28px;
  }
}
