@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.gradient {
  --size: 75px;
  --speed: 50s;
  --easing: cubic-bezier(0.8, 0.2, 0.2, 0.8);

  width: var(--size);
  height: var(--size);
  filter: blur(calc(var(--size) / 5));
  background-image: linear-gradient(hsl(263, 85%, 52%), hsl(165, 40%, 50%));
  animation: rotate var(--speed) var(--easing) alternate infinite;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;

  position: absolute;
  z-index: 0;
}

@media (min-width: 720px) {
  .gradient {
    --size: 500px;
  }
}

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  background-color: #000000;
  color: white;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  place-content: center;
  align-items: center;
  overflow: hidden;
}

* {
  transition: all 0.5s ease-out;
}

header {
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  padding: 1rem;
  box-sizing: border-box;
}

.logo {
  height: 40px;
}

main {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  text-align: center;
}

h1 {
  font-size: 2rem;
  font-weight: 800;
  margin: 2rem 0 0rem;
}

.subtitle {
  font-size: 1.25rem;
  color: #ddd;
  margin-bottom: 2rem;
}

.email-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.email-form input {
  padding: 0.5rem;
  font-size: 1rem;
  width: 250px;
  margin-bottom: 1rem;
  border: none;
  border-radius: 5px;
}

.email-form button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background: #00b894;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.email-form button:hover {
  background: #019875;
}