/* =========================
   Global Reset
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: #000000;
  color: #ffffff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}


/* =========================
   Navigation
========================= */

.topnav {
  background: #000;
}

.topnav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 40px 22px;
}

.topnav__list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding: 0;
  margin: 0;
}

.topnav__link {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;

  display: inline-block;
  padding-bottom: 10px;
  position: relative;
}

.topnav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background: #219896;
}

.topnav__link:hover {
  opacity: 0.9;
}


/* =========================
   Page Layout
========================= */

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}


/* =========================
   Homepage
========================= */

.page--home {
  max-width: none;
  width: 100%;
  padding: 36px 24px 72px;
}

.home-notice {
  display: flex;
  justify-content: center;
  margin: 8px 0 56px;
}

.home-notice__image {
  width: min(720px, 90vw);
  height: auto;
}

.home-hero {
  display: flex;
  justify-content: center;
}

.home-hero__title {
  margin: 0;
}

.home-hero__image {
  display: block;
  width: min(900px, 90vw);
  height: auto;
}


/* =========================
   Default Page Typography
========================= */

.page:not(.page--home) h1 {
  margin: 0 0 10px;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page:not(.page--home) p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.85;
}


/* =========================
   Responsive
========================= */

@media (max-width: 1024px) {
  .topnav__list {
    gap: 40px;
  }

  .topnav__link {
    font-size: 18px;
  }

  .home-notice__image {
    width: min(600px, 92vw);
  }

  .home-hero__image {
    width: min(720px, 92vw);
  }
}

@media (max-width: 640px) {
  .topnav__list {
    gap: 20px;
    flex-wrap: wrap;
  }

  .topnav__link {
    font-size: 16px;
  }

  .page--home {
    padding: 24px 18px 60px;
  }

  .home-notice__image {
    width: min(480px, 94vw);
  }

  .home-hero__image {
    width: min(520px, 94vw);
  }
}

