/* roboto-100 - cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100;
  src: url("/.assets/fonts/roboto-v32-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-100.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-100italic - cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: italic;
  font-weight: 100;
  src: url("/.assets/fonts/roboto-v32-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-100italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-300 - cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  src: url("/.assets/fonts/roboto-v32-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-300.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-300italic - cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: italic;
  font-weight: 300;
  src: url("/.assets/fonts/roboto-v32-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-300italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-regular - cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: url("/.assets/fonts/roboto-v32-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-italic - cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: italic;
  font-weight: 400;
  src: url("/.assets/fonts/roboto-v32-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-500 - cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  src: url("/.assets/fonts/roboto-v32-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-500italic - cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: italic;
  font-weight: 500;
  src: url("/.assets/fonts/roboto-v32-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-500italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-700 - cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  src: url("/.assets/fonts/roboto-v32-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-700italic - cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: italic;
  font-weight: 700;
  src: url("/.assets/fonts/roboto-v32-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-700italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-900 - cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: normal;
  font-weight: 900;
  src: url("/.assets/fonts/roboto-v32-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-900.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-900italic - cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: italic;
  font-weight: 900;
  src: url("/.assets/fonts/roboto-v32-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext_vietnamese-900italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
* {
  box-sizing: border-box;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: inherit;
}

:root {
  --ol-blue: #00aff0;
  --ol-darkblue: #008ccf;
  --ol-black: #242529;
  --ol-darkgray: #8a96a3;
  --ol-lightgray: #adb6bf;
  --ol-extralightgray: #e2e5e8;
  --ol-white: #ffffff;
  --ol-blue-dark-50: #005878;
  --ol-darkblue-dark-50: #004668;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  overflow-y: scroll;
  color: var(--ol-black);
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
body:has(header) main {
  height: unset;
  padding: 4.5rem 1rem;
}

main {
  flex-grow: 1;
  height: 0;
}

header {
  position: fixed;
  width: 100%;
  height: 3.5rem;
  padding-inline: 1rem;
  background: var(--ol-extralightgray);
  display: flex;
  align-items: center;
}
header .logo {
  height: 1.5rem;
  font-size: 1.5rem;
  display: flex;
}
header .logo img {
  height: 100%;
}
header .logo img.ol-with-onlylenz {
  margin-right: 0.27em;
  padding-bottom: 0.16em;
}

button {
  cursor: pointer;
  outline: var(--ol-darkblue);
}
button:disabled {
  cursor: default;
}

#hero {
  min-height: 100vh;
  height: 45rem;
  background: #00aff0;
  display: flex;
}
#hero > * {
  position: relative;
  width: 100%;
  padding-block: 6rem;
  background-blend-mode: multiply;
  background-color: #222;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
#hero > :first-child {
  background-image: url("/.assets/imgs/sauna.jpg");
}
#hero > :first-child .hero-logo-wrapper {
  justify-content: flex-end;
}
#hero > :first-child .hero-logo-wrapper img {
  margin-bottom: 15px;
}
#hero > :first-child .hero-cover-wrapper {
  background-color: var(--ol-darkblue-dark-50);
  background-image: url("/.assets/imgs/hero-bg-left.webp");
  background-position-x: right;
}
#hero > :first-child:has(button:hover) .hero-cover-wrapper {
  left: 100%;
}
#hero > :last-child {
  background-image: url("/.assets/imgs/shop.jpg");
}
#hero > :last-child .hero-cover-wrapper {
  background-color: var(--ol-blue-dark-50);
  background-image: url("/.assets/imgs/hero-bg-right.webp");
  background-position-x: left;
}
#hero > :last-child:last-child:has(button:hover) .hero-cover-wrapper {
  right: 100%;
}

.hero-logo-wrapper {
  flex-grow: 1;
  z-index: 1;
  padding-inline: 0.27em;
  font-size: 6rem;
  display: flex;
  align-items: center;
}

.hero-button-wrapper {
  display: flex;
  justify-content: center;
}
.hero-button-wrapper button {
  position: relative;
  min-width: 50%;
  padding: 1rem;
  border-radius: 10rem;
  background: var(--ol-blue);
  color: var(--ol-white);
  font-size: 2rem;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.125s ease-in-out;
}
.hero-button-wrapper button:hover {
  background: var(--ol-darkblue);
}

.hero-cover-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  transition: all 0.25s ease-in-out;
}

.hero-logo-wrapper img,
.hero-button-wrapper button {
  filter: drop-shadow(0 0 1rem var(--ol-darkblue));
}

h1 {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--ol-extralightgray);
  padding-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
}

p {
  line-height: 1.5;
}
p + p {
  margin-top: 0.5rem;
}

label {
  display: block;
  font-weight: 500;
}
label + input {
  margin-top: 1rem;
}

*:not(h1) + label {
  margin-top: 2rem;
}

input {
  display: block;
  border: 1px solid var(--ol-black);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  outline-color: var(--ol-blue);
}
input.invalid {
  background: rgb(255, 224, 224);
}

#submit-button {
  margin-top: 3rem;
  border-radius: 10rem;
  padding: 1rem;
  background: var(--ol-blue);
  color: white;
  font-weight: 500;
  text-transform: uppercase;
}
#submit-button:disabled {
  background: var(--ol-extralightgray);
}

@media screen and (max-width: 640px) {
  #hero {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  #hero > * {
    height: 50%;
    padding-block: 0;
    gap: 3rem;
  }
  #hero > *:first-child {
    padding-top: 3rem;
    flex-direction: column-reverse;
  }
  #hero > *:first-child .hero-logo-wrapper {
    margin-bottom: 0.25em;
  }
  #hero > *:first-child .hero-logo-wrapper img {
    margin-bottom: 0;
  }
  #hero > *:last-child {
    padding-bottom: 3rem;
  }
  #hero > *:last-child .hero-logo-wrapper {
    margin-top: 0.25em;
  }
  .hero-cover-wrapper {
    display: none;
  }
  .hero-logo-wrapper {
    flex-grow: 0;
    height: 1em;
    padding-inline: 3rem;
    font-size: 3rem;
    justify-content: center !important;
  }
  .hero-logo-wrapper img {
    height: 100%;
  }
  .hero-button-wrapper {
    flex-grow: 1;
    align-items: center;
  }
  .hero-button-wrapper button {
    flex-grow: 0;
    font-size: 1rem;
  }
  input,
  #submit-button {
    width: 100%;
  }
}
