html {
  scroll-behavior: smooth;
}

main {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
}

section {
  scroll-snap-align: start;
}

#brand {
  position: relative;
  width: 100%;
  height: 100vh
}

#brand #video {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#brand #video video {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#brand #video #video-overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(var(--color-brand-blue), 0.6);
}

#brand #access {
  position: absolute;
  top: 8px;
  right: 11px;
}

#brand #access a {
  text-decoration: none;
}

#brand #access button {
  text-decoration: none;
  text-transform: uppercase;
  border-width: 0px;
  background-color: unset;
  font-size: 24px;
  font-weight: 700;
  font-family: jost;
  transition: text-shadow 0.3s ease, color 0.3s ease;
  color: white !important;
}

#brand #access button:hover {
  color: rgb(var(--color-brand-pink)) !important;
  background-color: unset;
  text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
}

#brand #message {
  position: absolute;
  height: auto;
  width: calc(100% - 20px);
  max-width: 800px;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (max-height: 260px) {
  #brand #message {
    top: 98%;
    transform: translateY(-95%) translateX(-50%);
  }
}

#brand #logo {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
}

@media screen and (max-height: 230px) {
  #brand #logo {
    display: none;
  }
}

#brand #logo img {
  width: 100%;
}

#brand #teaser {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#brand #teaser p {
  text-align: center;
  font-size: 27px;
  font-weight: 470;
  color: white;
}

@media screen and (max-width: 599px) {
  #brand #teaser p.desktop {
    display: none;
  }
}

@media screen and (min-width: 600px) {
  #brand #teaser p.mobile {
    display: none;
  }
}

@media screen and (max-height: 625px) {
  #brand #teaser p {
    display: none;
  }
}

#brand #teaser button {
  margin-top: 22.5px;
  text-decoration: none;
  text-transform: uppercase;
  border-width: 0px;
  background-color: unset;
  font-size: 22px;
  font-weight: 700;
  font-family: jost;
  transition: text-shadow 0.3s ease, color 0.3s ease;
  color: rgba(255, 255, 255, 0.75) !important;
}

@media screen and (max-height: 480px) {
  #brand #teaser button {
    display: none;
  }
}

#brand #teaser button:hover {
  color: rgb(var(--color-brand-pink)) !important;
  background-color: unset;
  text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
}

#brand #lottie {
  position: absolute;
  bottom: 0px;
  display: flex;
  width: 100%;
  justify-content: center;
}

@media screen and (max-height: 299px) {
  #brand #lottie {
    display: none;
  }
}

#brand #lottie button {
  border-width: 0px;
  margin-bottom: calc(max(1vh - var(--vh, 1vh), 0px) * 100 + 15px);
}

#brand #lottie img {
  width: 24px;
  filter: invert(100%);
  animation: float 1s ease-in-out infinite;
  padding-top: 3px;
  margin-bottom: 2.5px;
}

@keyframes float {
  0%, 80%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(5px);
  }
}

#teaser-question {
  padding-top: 110px;
}

#teaser-question .teaser-container {
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
  padding: 10px;
  padding-left: 30px;
  padding-right: 30px;
}

#teaser-question .teaser-container > * {
  max-width: 900px;
}

#teaser-question :is(#question, #answer) {
  font-size: 34px;
  color: rgb(var(--color-brand-blue));
}

@media (prefers-color-scheme: dark) {
  #teaser-question :is(#question, #answer) {
    color: rgb(var(--color-text));
  }

  #teaser-question :is(#arrow) {
    filter: invert(95%);
  }
}

#teaser-question :is(#question, #answer, #arrow) {
  display: flex;
}

#teaser-question :is(#question, #answer, #arrow) p {
  text-align: center;
  font-size: 34px;
  font-weight: 600;
  flex-shrink: 1;
  flex-grow: 1;
  margin: 0px;
}

@media screen and (max-width: 768px) {
  #teaser-question :is(#question, #answer) p {
    font-size: 27px;
  }
}

#teaser-question :is(#question, #answer, #arrow) p {
  max-width: 565px;
}

@media screen and (max-width: 1024px) {
  #teaser-question :is(#question, #answer, #arrow) p {
    max-width: 700px;
  }

  #teaser-question #answer {
    margin-top: 120px;
  }
}

@media screen and (max-width: 930px) {
  #teaser-question :is(#question, #answer, #arrow) p {
    max-width: 600px;
  }

  #teaser-question #answer {
    margin-top: 70px;
  }
}

@media screen and (max-width: 880px) {
  #teaser-question #answer {
    margin-top: 90px;
  }
}

@media screen and (max-width: 824px) {
  #teaser-question #answer {
    margin-top: 100px;
  }
}

@media screen and (max-width: 768px) {
  #teaser-question #answer {
    margin-top: 110px;
  }
}

@media screen and (max-width: 625px) {
  #teaser-question #answer {
    margin-top: 110px;
  }
}

@media screen and (max-width: 580px) {
  #teaser-question #answer {
    margin-top: 100px;
  }
}

@media screen and (max-width: 540px) {
  #teaser-question #answer {
    margin-top: 90px;
  }
}

@media screen and (max-width: 490px) {
  #teaser-question #answer {
    margin-top: 80px;
  }
}

@media screen and (max-width: 460px) {
  #teaser-question #answer {
    margin-top: 80px;
  }
}

#teaser-question #answer {
  justify-content: flex-end;
}

#teaser-question #answer p {
  position: relative;
  justify-content: flex-end;
}

#teaser-question #answer p img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-53%) translateX(-50%);
  width: calc(100% + 50px);
}

@media screen and (max-width: 460px) {
  #teaser-question #answer p img {
    transform: translateY(-50%) translateX(-50%);
    width: calc(100% + 10px);
  }
}

#animated-headline {
  background-color: #e1e1ff;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#animated-headline p {
  text-align: center;
  padding: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: black;
  font-size: 40px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  #animated-headline p {
    font-size: 29px;
  }
}

#animated-headline {
  margin-top: 197px;
}

#form {
  background-color: #060644;
  background-position-x: 100%;
  background-position-y: 100%;
  background-repeat: no-repeat;
  padding-top: 80px;
  padding-bottom: 80px;
  padding-left: 20px;
  padding-right: 20px;
}

@media screen and (max-width: 1160px) {
  #form {
    padding-bottom: 200px;
  }
}

@media screen and (max-width: 768px) {
  #form {
    padding-top: 40px;
    padding-bottom: 250px;
  }
}

#form form {
  max-width: 726px;
  margin-left: auto;
  margin-right: auto;
}

#form form .columns {
  display: flex;
  flex-wrap: wrap;
  gap: 27px;
}

#form form .columns > * {
  flex-grow: 1;
}

@media screen and (max-width: 768px) {
  #form form {
    width: 100%;
    max-width: unset;
  }

  #form form .columns {
    gap: 0px;
  }

  #form form .columns > * {
    width: 100%;
  }
}

#form form :is(input#name, input#id_email) {
  height: 35px;
  font-size: 24px;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 6px;
  padding-bottom: 6px;
  background-color: white;
  bordr-color: rgb(105, 114, 125);
  border-radius: 4px;
  border-width: 0px;
  margin-bottom: 24px;
}

@media screen and (max-width: 768px) {
  #form form :is(#form-field-name, #form-field-email) {
    font-size: 20px;
  }
}

#form form #form-field-privacy {
  color: rgb(var(--color-text-contrast));
  font-size: 24px;
  margin-bottom: 24px;
  height: 33px;
  align-content: center;
}

@media screen and (max-width: 768px) {
  #form form #form-field-privacy {
    font-size: 20px;
  }
}

#form form #form-field-privacy input {
  margin: 0px;
}

#form form button[type="submit"] {
  height: 70px;
  color: rgb(var(--color-brand-pink));
  font-size: 24px;
  border-radius: 4px;
  border-width: 0px;
  text-transform: uppercase;
  width: 100%;
  background-color: white;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-family: "jost";
}

#form form button[type="submit"]:hover {
  background-color: rgb(var(--color-brand-pink));
  color: rgb(var(--color-text-contrast));
}
