@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/bebas-neue-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20AC;
}

@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/bebas-neue-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-wrap: break-word;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

.skip-link {
  position: fixed;
  z-index: 100000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 12px 16px;
  border-radius: 10px;
  background: #ffd45b;
  color: #070a12;
  font-weight: 800;
  text-decoration: none;
}

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

:focus-visible {
  outline: 3px solid #ffd45b;
  outline-offset: 3px;
}

.generic-page {
  min-height: 65vh;
  padding-block: 72px 100px;
}

.generic-page > article {
  max-width: 820px;
  margin-inline: auto;
}

.generic-page h1 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  line-height: .95;
}

.course-nav {
  position: relative;
  z-index: 20;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px max(24px, calc((100vw - 1180px) / 2));
}

.course-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.course-footer a {
  color: inherit;
}

@media (max-width: 720px) {
  .course-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

