@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/lexend-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Oxygen";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/oxygen-300-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Oxygen";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/oxygen-400-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Oxygen";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/oxygen-700-latin.woff2") format("woff2");
}

html {
  scroll-behavior: smooth;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 6px;
  color: #08090a;
  background: #fff;
  box-shadow: 0 0 0 3px #08090a;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button):focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px #08090a;
}

main :where(a, button):focus-visible,
.cookie-banner :where(a, button):focus-visible {
  outline-color: #08090a;
  box-shadow: 0 0 0 5px #fff;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  background-color: #f8f8f8;
  padding: 14px 20px;
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  font-family: "Oxygen", sans-serif;
  color: #08090a;
}

.cookie-banner p {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.45;
}

.cookie-banner-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.cookie-banner button {
  min-width: 96px;
  background-color: #242d32;
  color: #fff;
  border: 1px solid #242d32;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
}

.cookie-banner button:hover,
.cookie-banner button:focus-visible {
  background-color: #37444b;
  border-color: #37444b;
}

.cookie-banner button[data-cookie-accept] {
  background-color: #1561eb;
  border-color: #1561eb;
}

.cookie-banner button[data-cookie-accept]:hover,
.cookie-banner button[data-cookie-accept]:focus-visible {
  background-color: #0d409c;
  border-color: #0d409c;
}

.reveal-pending {
  visibility: hidden;
}

@media only screen and (max-width: 480px) {
  .cookie-banner-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-banner button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-pending {
    visibility: visible;
  }
}
