:root {
  --primary-color: #5da0a2;
  --text-white: #f4f7f7;
  --text-black: #1c1c1c;
  font-size: 16px;
}

body {
  height: 100%;
  font-size: 16px;
  color: var(--text-white);
  margin: 0;
  background-color: black;
  font-family: "Cutive Mono", monospace;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #1a1a1a;
  height: 40px;
  width: 100%;
  z-index: 100;
  color: white;
}

header div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  height: 100%;
}

h1 {
  color: #84d7e6;
}

hr {
  width: 0px;
  opacity: 0;
  animation: dividerAnimation 1s ease-out 0.4s forwards;
}

input {
  padding: 8px;
  border-radius: 8px;
}

input:focus {
  border: 3px #84d7e6 solid;
}

.bg-image {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.bg-image::before {
  content: "";
  background-image: url("/assets/main-background.jpg");
  background-size: cover;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  opacity: 0.25;
}

.container {
  position: relative;
  font-size: 1.3rem;
  line-height: 0.9;
  text-align: center;
}

.container-two {
  height: 1080px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #030606;
}

.video-container {
  width: 51%;
  height: 60%;
}

.main-logo {
  width: 512px;
}

.animate-opacity {
  animation: opac 0.6s;
}

.animate-name {
  animation: slideDownTitle 0.8s ease forwards;
}

.early-email-container {
  height: 2.5rem;
  display: flex;
}

.early-button {
  padding: 12px 8px;
  cursor: pointer;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 8px;
  box-shadow: 0px 0px 2px white;
  color: var(--text-white);
  transition: 0.3s ease all;
}

.early-button:hover {
  background-color: #358796;
}

.early-button:active {
  background-color: #19535e;
  transition: none;
}

.coming-soon {
  overflow: hidden;
  height: 2rem;
}

.coming-soon-text {
  font-size: 2rem;
  transform: translateY(-40px);
  animation: slideDownSoon 1s ease 0.6s forwards;
}

.no-spam-promise {
  font-size: 0.9rem;
  padding: 0 24px;
}

.email-input-error {
  font-size: 1rem;
  color: rgb(238, 54, 54);
  margin-top: 0.4rem;
}

.email-input-success {
  font-size: 1.5rem;
  margin-top: 0.8rem;
}

.learn-more-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  bottom: 8px;
  position: absolute;
}

.down-arrow {
  margin-top: 14px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid white;
  animation: bounce 1.2s ease-in-out infinite;
}

.hide-element {
  display: none;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes opac {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDownTitle {
  from {
    transform: translateY(-20px);
  }

  to {
    transform: translateY(5px);
  }
}

@keyframes slideDownSoon {
  from {
    transform: translateY(-40px);
  }

  to {
    transform: translateY(0px);
  }
}

@keyframes dividerAnimation {
  from {
    width: 0px;
    opacity: 1;
  }
  to {
    width: 325px;
    opacity: 1;
  }
}

@media only screen and (max-width: 768px) {
  :root {
    font-size: 12px;
  }

  body {
    font-size: 12px;
  }

  .main-logo {
    width: 256px;
  }

  .video-container {
    width: 95%;
    height: 25%;
  }

  @keyframes dividerAnimation {
    from {
      width: 0px;
      opacity: 1;
    }
    to {
      width: 200px;
      opacity: 1;
    }
  }
}
