/*
Theme Name: ALEA Theme
Theme URI: https://www.rokias.com
Author: Niklas Vöhl / Rokias GmbH
Version: 1.0
*/

.button {
  display: block;
  margin: 0;
  padding: 10px;
  background: transparent;
  border: none;
  outline: none;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  cursor: pointer;
  text-align: inherit;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  width: fit-content;
}
.button:disabled {
  cursor: not-allowed;
}

.button--default {
  background-color: #fff;
  box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.2509803922);
  color: #777667;
  transition: background-color 120ms;
}
.button--default:hover {
  background-color: rgb(244.8, 244.8, 244.8);
}
.button--default:focus {
  background-color: rgb(234.6, 234.6, 234.6);
}

.button--primary {
  background-color: #777667;
  color: #fff;
  transition: background-color 120ms;
}
.button--primary:hover {
  background-color: rgb(108.0648648649, 107.1567567568, 93.5351351351);
}
.button--primary:focus {
  background-color: rgb(97.1297297297, 96.3135135135, 84.0702702703);
}

@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100;
  src: url("./fonts/roboto-v48-latin-100.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 200;
  src: url("./fonts/roboto-v48-latin-200.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  src: url("./fonts/roboto-v48-latin-300.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/roboto-v48-latin-regular.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  src: url("./fonts/roboto-v48-latin-500.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 600;
  src: url("./fonts/roboto-v48-latin-600.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/roboto-v48-latin-700.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 800;
  src: url("./fonts/roboto-v48-latin-800.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 900;
  src: url("./fonts/roboto-v48-latin-900.woff2") format("woff2");
}
body {
  margin: 0;
  background-color: #fff;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: initial !important;
  color: var(--color-text);
}

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

.container {
  max-width: 86%;
  margin-inline: auto;
}

.overline {
  margin-block: 0;
  line-height: 1.2;
  font-weight: 300;
  text-transform: uppercase;
  font-size: 24px;
}
@media (min-width: 768px) {
  .overline {
    font-size: 32px;
  }
}

.h1 {
  margin-block: 0;
  line-height: 1.2;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-size: 32px;
}
@media (min-width: 768px) {
  .h1 {
    font-size: 48px;
  }
}
@media (min-width: 1024px) {
  .h1 {
    font-size: 72px;
  }
}

.h2 {
  margin-block: 0;
  line-height: 1.2;
  font-weight: 300;
  text-transform: uppercase;
  font-size: 28px;
}
@media (min-width: 768px) {
  .h2 {
    font-size: 36px;
  }
}
@media (min-width: 1024px) {
  .h2 {
    font-size: 48px;
  }
}

.p1 {
  margin-block: 0;
  line-height: 1.5;
  font-weight: 300;
  font-size: 16px;
}
@media (min-width: 768px) {
  .p1 {
    font-size: 20px;
  }
}

.p2 {
  margin-block: 0;
  line-height: 1.5;
  font-weight: 300;
  font-size: 16px;
}

.desktop-header {
  position: sticky;
  top: 0;
  font-weight: 300;
  font-size: 20px;
  font-style: normal;
  text-transform: uppercase;
  z-index: 10;
  background-color: #fff;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
  color: var(--color-header);
}

.desktop-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 46px;
}
.desktop-header__container a {
  text-decoration: none;
  color: inherit !important;
}
.desktop-header__container li.current-menu-item > a,
.desktop-header__container .current-menu-parent > a {
  font-weight: 500;
}
.desktop-header__container > nav {
  align-self: normal;
  display: flex;
}
.desktop-header__container .menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 46px;
}
.desktop-header__container .menu.menu--language {
  gap: 10px;
  font-size: 16px;
}
.desktop-header__container .menu > li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 8px;
}
.desktop-header__container .menu > li:hover > .sub-menu {
  display: grid;
}
.desktop-header__container .sub-menu {
  display: none;
  list-style-type: none;
  margin: 10px auto auto -12px;
  padding: 4px;
  position: absolute;
  left: 0;
  top: 100%;
  gap: 4px;
  border-radius: 3px;
  background-color: #fff;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
}
.desktop-header__container .sub-menu::before {
  content: "";
  position: absolute;
  bottom: 100%;
  width: 100%;
  height: 20px;
}
.desktop-header__container .sub-menu > li {
  display: block;
  padding: 6px 10px;
}
.desktop-header__container .sub-menu > li > a {
  white-space: pre;
}

.desktop-header__logo {
  display: block;
  height: 53px;
  margin-block: 8px;
}

.mobile-header {
  position: sticky;
  top: 0;
  font-weight: 300;
  font-size: 20px;
  font-style: normal;
  text-transform: uppercase;
  z-index: 10;
  padding-block: 8px;
  background-color: #fff;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
  color: var(--color-header);
}

.mobile-header__container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-header__menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0 auto 0 0;
  margin: 0;
  padding: 0;
  width: auto;
  height: 53px;
  background: none;
  border: none;
  appearance: none;
}
.mobile-header__menu-toggle > svg {
  display: block;
  width: 24px;
  height: 24px;
}

.mobile-header__logo {
  display: block;
  height: 53px;
}

.mobile-header__menu {
  overflow: hidden;
  max-height: 0;
  transition: max-height 200ms;
}
.mobile-header__menu a {
  text-decoration: none;
  color: inherit !important;
}
.mobile-header__menu .current-menu-item > a,
.mobile-header__menu .current-menu-parent > a {
  font-weight: 500;
}
.mobile-header__menu .menu {
  display: grid;
  flex-direction: column;
  gap: 6px;
  list-style-type: none;
  margin: 0;
  padding: 10px 0;
}
.mobile-header__menu .sub-menu {
  display: grid;
  flex-direction: column;
  gap: 6px;
  list-style-type: none;
  margin: 0;
  padding: 6px 0 6px 20px;
}

.mobile-header--open .mobile-header__menu {
  max-height: 900px;
}

.footer {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  align-items: start;
  place-items: start;
  justify-items: center;
  text-align: center;
  padding-block: 80px;
  gap: 30px;
}

.footer__logo {
  display: block;
  max-width: 80%;
  max-height: 80px;
  width: auto;
  height: auto;
}

.footer__widget {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.footer__widget > * {
  margin: 0;
}

.footer__widget > h2 {
  font-size: 18px;
  font-weight: 600;
  color: #4E4E4E;
}

.footer__widget > p {
  font-size: 14px;
  font-weight: 300;
  color: #5F5351;
}

.footer__widget > p > a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  text-transform: uppercase;
  color: inherit;
}

.footer__widget > p > a:hover {
  text-decoration: underline;
}

.footer__widget > p > a > svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: currentColor;
}

@media (min-width: 768px) {
  .footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: start;
    text-align: start;
  }
  .footer__widget {
    justify-items: start;
  }
}
@media (min-width: 1024px) {
  .footer {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.copyright {
  padding-block: 12px;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  text-align: center;
}
.copyright > .container > p {
  margin: 0;
}

.alea-hero {
  position: relative;
  background-color: #B3B35D;
  background-size: cover;
  background-position: center center;
}

.alea-hero__overlay {
  position: absolute;
  inset: 0;
}

.alea-hero__content {
  position: relative;
  display: grid;
  gap: 20px;
  padding-block: 24% 7%;
}
.alea-hero__content > * {
  line-height: 1;
  color: #fff !important;
}

.desktop-header {
  display: none;
}

@media (min-width: 768px) {
  .mobile-header {
    display: none;
  }
  .desktop-header {
    display: block;
  }
}