@import '../abstracts/variables.css';
:root {
  --border-radius: 0.5rem;
  --container-max-width: 1440px;
  --gap: 2rem;
  --color-bg-footer: #222;
  --color-bg-teaser: #dde5e8;
  --color-primary: ##1B383E;
  --color-shadow: rgba(0,0,0,0.25);
  --color-text-footer: #363030;
  --color-text-footer-muted: #aaa;
  --color-text-link: #fff;
  --color-text-main: #1B383E;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  font: inherit;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
}

html {
  color-scheme: dark light;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

@font-face {
  font-display: swap;
  font-family: "Prata";
  font-style: normal;
  font-weight: 400;
  src: url("../../fonts/prata-v21-latin-regular.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "BrownLL";
  font-style: normal;
  font-weight: 300;
  src: url("../../fonts/BrownLLWeb-Thin.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "BrownLL";
  font-style: normal;
  font-weight: 400;
  src: url("../../fonts/BrownLLWeb-Regular.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "BrownLL";
  font-style: normal;
  font-weight: 500;
  src: url("../../fonts/BrownLLWeb-Medium.woff2") format("woff2");
}
/* montserrat-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/montserrat-v30-latin-300.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/montserrat-v30-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/montserrat-v30-latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/montserrat-v30-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
body {
  background: rgba(243, 225, 216, 0.2);
  color: var(--color-text-main);
  font-family: "Montserrat", serif;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6, .hero__title, .intro__title, .teaser__title, .feature__title, .oyora-feature__title, .heading-section__title {
  font-family: "Prata", serif;
  font-weight: normal;
  line-height: 1.2;
}

.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__container {
  margin: 0 auto;
  max-width: 600px;
  padding: 0 2rem;
  align-items: center;
  display: flex;
  height: 80px;
  justify-content: space-between;
}
@media (min-width: 992px) {
  .header__container {
    max-width: 1440px;
    padding: 0 4rem;
  }
}

.header__logo {
  height: 60px;
}

.header__brand {
  align-items: center;
  color: var(--color-primary);
  display: flex;
  font-size: 1.5rem;
  font-family: "Prata", serif;
  gap: 1rem;
  text-decoration: none;
}

.header__nav {
  position: relative;
}

.header__menu {
  display: flex;
  gap: 2rem;
}

.header__item {
  align-items: center;
  display: flex;
  height: 80px;
  position: relative;
}

.header__item > a {
  color: var(--color-primary);
  text-decoration: none;
  padding: 0.75rem 0.5rem;
  display: block;
  transition: color 0.2s;
}

.header__item > a:hover {
  border-bottom: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.dropdown {
  display: none;
  background: #fff;
  box-shadow: 0 8px 24px 0 var(--color-shadow);
  left: 0;
  min-width: 240px;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
}

.header__item:hover > .dropdown {
  display: block;
}

.dropdown__item {
  color: var(--color-primary);
  text-decoration: none;
  display: block;
  padding: 0.5rem 1.5rem;
  transition: background 0.2s, color 0.2s;
}

.header__submenu li a:hover {
  background: var(--color-bg-teaser);
  color: var(--color-primary);
}

.header__burger {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.header__burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.header__close {
  display: none;
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 1100;
}

@media (max-width: 900px) {
  .header__menu {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100vw;
    left: auto;
    width: 80vw;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 16px 0 var(--color-shadow);
    padding: 2rem 1rem 1rem 1.5rem;
    gap: 1rem;
    transition: right 0.3s cubic-bezier(0.77, 0, 0.18, 1);
    z-index: 1050;
  }
  .header__menu.header__menu--open {
    right: 0;
  }
  .header__submenu {
    position: static;
    box-shadow: none;
    background: none;
    border-radius: 0;
    padding: 0.2rem 0 0.5rem 1rem;
  }
  .header__item:hover > .header__submenu,
  .header__item:focus-within > .header__submenu {
    display: none;
  }
  .header__item > a {
    padding: 1rem 0.5rem;
  }
  .header__burger {
    display: flex;
  }
  .header__close {
    display: block;
  }
}
.header__menu--open ~ .header__close {
  display: block;
}

.footer {
  background: #84A4B2;
  padding: 3rem 0;
}

.footer__container {
  margin: 0 auto;
  max-width: 600px;
  padding: 0 2rem;
  display: grid;
  gap: var(--gap);
}
@media (min-width: 992px) {
  .footer__container {
    max-width: 1440px;
    padding: 0 4rem;
  }
}
@media (min-width: 992px) {
  .footer__container {
    grid-template-columns: repeat(5, 1fr);
  }
}

.footer__logo {
  height: 100px;
}

.footer ul {
  list-style: none;
}
.footer ul li {
  margin-bottom: 0.5rem;
}
.footer ul a {
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer ul a:hover {
  color: var(--color-text-main);
}
.footer__icon {
  fill: #fff;
  height: 40px;
  width: 40px;
}

.feature {
  align-items: center;
  padding: 3rem 4rem;
  padding-top: 0;
}
@media (min-width: 992px) {
  .feature {
    padding-bottom: 6rem;
  }
}

.feature__container {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-areas: "image" "content";
  grid-template-columns: 1fr;
  margin: 0 auto;
  max-width: 500px;
}
@media (min-width: 992px) {
  .feature__container {
    gap: 4rem;
    grid-template-areas: "content image";
    grid-template-columns: 1fr 1fr;
    max-width: 1440px;
  }
}

.feature__image {
  align-items: center;
  display: flex;
  grid-area: image;
  justify-content: center;
}

.feature__img {
  border-radius: var(--border-radius);
}

.feature__content {
  grid-area: content;
}

.feature__title {
  display: inline;
  font-family: "BrownLL", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.feature__text {
  display: inline;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.4;
}

.heading-section {
  padding: 3rem 0 0 0;
}
@media (min-width: 992px) {
  .heading-section {
    padding: 6rem 0 0 0;
  }
}

.heading-section__container {
  margin: 0 auto;
  max-width: 600px;
  padding: 0 2rem;
  text-align: center;
}
@media (min-width: 992px) {
  .heading-section__container {
    max-width: 1440px;
    padding: 0 4rem;
  }
}

.heading-section__title {
  font-size: 4rem;
}

.heading-section__subline {
  font-size: 1.1rem;
}

.hero {
  align-items: center;
  background: url("../../images/hero-background.jpg") center center/cover no-repeat;
  display: flex;
  min-height: 580px;
  width: 100vw;
}

.hero__overlay {
  margin: 0 auto;
  max-width: 600px;
  padding: 0 2rem;
  text-align: center;
}
@media (min-width: 992px) {
  .hero__overlay {
    max-width: 1440px;
    padding: 0 4rem;
  }
}

.hero__subtitle {
  font-size: 1.2rem;
  padding: 1rem 0;
}
@media (min-width: 600px) {
  .hero__subtitle {
    font-size: 1.5rem;
  }
}

.hero__title {
  font-size: 2rem;
  padding: 1rem 0;
}
@media (min-width: 600px) {
  .hero__title {
    font-size: 4rem;
  }
}

.impressions {
  padding: 3rem 0;
}
@media screen and (min-width: 992px) {
  .impressions {
    padding: 6rem 0;
  }
}

.impressions__container {
  margin: 0 auto;
  max-width: 600px;
  padding: 0 2rem;
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr;
  justify-items: center;
}
@media (min-width: 992px) {
  .impressions__container {
    max-width: 1440px;
    padding: 0 4rem;
  }
}
@media screen and (min-width: 992px) {
  .impressions__container {
    grid-template-columns: 1fr 1fr;
  }
}

.impression {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 500px;
}
@media screen and (min-width: 992px) {
  .impression {
    max-width: 100%;
  }
}

.impression__image {
  border-radius: var(--border-radius);
  display: block;
  margin-bottom: 2rem;
  object-fit: cover;
  width: 100%;
}
@media screen and (min-width: 992px) {
  .impression__image {
    margin-bottom: 4rem;
  }
}

.impression__title {
  font-family: "BrownLL", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.impression__text {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.4;
}

.interferer-btn {
  align-items: center;
  background: #84A4B2;
  border: none;
  border-radius: 999px;
  bottom: 2rem;
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.18);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  gap: 0.7rem;
  padding: 0.7rem 1.4rem 0.7rem 0.9rem;
  position: fixed;
  right: 2rem;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  z-index: 2000;
}

.interferer-btn:hover, .interferer-btn:focus {
  background: #163036;
  box-shadow: 0 6px 24px 0 rgba(0, 0, 0, 0.22);
  outline: 2px solid #1da1f2;
  outline-offset: 2px;
  transform: translateY(-2px) scale(1.04);
}

.interferer-btn__text {
  display: block;
}

@media (max-width: var(--breakpoint-md)) {
  .interferer-btn {
    bottom: 1rem;
    font-size: 1rem;
    padding: 0.7rem 1rem 0.7rem 0.7rem;
    right: 1rem;
  }
  .interferer-btn__text {
    display: none;
  }
}
.intro {
  padding: 3rem 0;
}
@media (min-width: 992px) {
  .intro {
    padding: 6rem 0;
  }
}

.intro__container {
  margin: 0 auto;
  max-width: 600px;
  padding: 0 2rem;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 3rem;
  text-align: center;
}
@media (min-width: 992px) {
  .intro__container {
    max-width: 1440px;
    padding: 0 4rem;
  }
}

.intro__logo img {
  height: 260px;
}

.intro__title {
  font-size: 4rem;
}

.intro__text {
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.6;
}

.oyora-feature {
  background: #fff;
  padding: 4rem 0;
}
@media (min-width: 992px) {
  .oyora-feature {
    padding: 8rem 0;
  }
}

.oyora-feature__container {
  margin: 0 auto;
  max-width: 600px;
  padding: 0 2rem;
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 992px) {
  .oyora-feature__container {
    max-width: 1440px;
    padding: 0 4rem;
  }
}
@media (min-width: 992px) {
  .oyora-feature__container {
    gap: 4rem;
    grid-template-columns: 1fr 1fr;
  }
}

.oyora-feature__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
@media (min-width: 992px) {
  .oyora-feature__content {
    text-align: left;
  }
}

.oyora-feature__image {
  align-items: center;
  display: flex;
  justify-content: center;
}

.oyora-feature__img {
  display: block;
  height: auto;
}

.oyora-feature__title {
  font-weight: 500;
  font-size: 3rem;
}

.oyora-feature__text {
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.6;
}

.teaser {
  background: var(--color-bg-teaser);
  padding: 4rem 0;
}

.teaser__container {
  margin: 0 auto;
  max-width: 600px;
  padding: 0 2rem;
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}
@media (min-width: 992px) {
  .teaser__container {
    max-width: 1440px;
    padding: 0 4rem;
  }
}
@media (min-width: 992px) {
  .teaser__container {
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
  }
}

.teaser__item {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  justify-content: center;
  max-width: 500px;
  padding: 2rem;
}

.teaser__icon {
  align-items: center;
  display: flex;
  height: 4rem;
  justify-content: center;
}

.teaser__title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}

.teaser__text {
  font-size: 1.6rem;
  font-weight: 300;
  text-align: center;
}

.teaser__btn {
  border: 2px solid #1B383E;
  border-radius: 999px;
  color: #1B383E;
  cursor: pointer;
  font-size: 1.2rem;
  margin-top: auto;
  padding: 0.6rem 1rem;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}

.teaser__btn:hover, .teaser__btn:focus {
  background: #1B383E;
  color: #fff;
  text-decoration: none;
}

/* Breakpoint Variables */
:root {
  --breakpoint-sm: 600px;
  --breakpoint-md: 900px;
  --breakpoint-lg: 1200px;
}

/* To-Top-Link Styles */
.to-top-link {
  position: fixed;
  right: 2rem;
  bottom: 5.5rem;
  z-index: 1999;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #1B383E;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.4rem 0.7rem 0.9rem;
  font-size: 1.1rem;
  font-family: inherit;
  font-weight: 600;
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.to-top-link:hover, .to-top-link:focus {
  background: #163036;
  box-shadow: 0 6px 24px 0 rgba(0, 0, 0, 0.22);
  outline: 2px solid #1da1f2;
  outline-offset: 2px;
  transform: translateY(-2px) scale(1.04);
}

.to-top-link__text {
  display: block;
}

@media (max-width: var(--breakpoint-md)) {
  .to-top-link {
    right: 1rem;
    bottom: 4.2rem;
    padding: 0.7rem 1rem 0.7rem 0.7rem;
    font-size: 1rem;
  }
  .to-top-link__text {
    display: none;
  }
}
@media (max-width: 600px) {
  .hero__subtitle {
    font-size: 1rem;
  }
  .hero__title {
    font-size: 2rem;
  }
}
@media (max-width: 800px) {
  .footer__col {
    min-width: 0;
  }
  .footer__container {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }
}
@media (max-width: 900px) {
  .header__menu {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100vw;
    left: auto;
    width: 80vw;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 16px 0 var(--color-shadow);
    padding: 2rem 1rem 1rem 1.5rem;
    gap: 1rem;
    transition: right 0.3s cubic-bezier(0.77, 0, 0.18, 1);
    z-index: 1050;
  }
  .header__menu.header__menu--open {
    right: 0;
  }
  .header__submenu {
    position: static;
    box-shadow: none;
    background: none;
    border-radius: 0;
    padding: 0.2rem 0 0.5rem 1rem;
  }
  .header__item:hover > .header__submenu,
  .header__item:focus-within > .header__submenu {
    display: none;
  }
  .header__item > a {
    padding: 1rem 0.5rem;
  }
  .header__burger {
    display: flex;
  }
  .header__close {
    display: block;
  }
  .teaser__container {
    align-items: center;
    flex-direction: column;
  }
  .teaser__item {
    max-width: 100%;
  }
}
