:root {
  --red: #EF4F4F;
  --yellow: #F1F169;
  --blue: #514FEF;
  --white: #F8F8F8;
  --grey: #AAAAAA;
  --black: #000000;

  --accent: var(--red);
  --accent-bg: var(--red);
  --text: var(--white);
}

html {
  /* Remove scroll bounce/overscroll effects */
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  letter-spacing: -0.28px;
  height: 100dvh;
  background-color: var(--white);
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caps {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
  @media (min-width: 600px) {
    font-size: 13px;
  }
}

main {
  padding: 64px 16px 32px;
  @media (min-width: 600px) {
    padding: 64px 16px;
  }
}

header, footer {
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: fixed;
  width: 100%;
  padding: 0 16px;
  z-index: 1;
}

header {
  background-color: var(--white);
}

header a:hover, footer a:hover {
  text-decoration: none;
}

header a[aria-current="page"], footer a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
}

#header {
  top: 0;
  @media (min-width: 600px) {
    flex-direction: row-reverse;
  }
}

#footer {
  bottom: 0
}

#menu a {
  @media (min-width: 600px) {
    margin-left: 24px;
  }
}

.hidden {
  display: none !important;
}

nav {
  display: none;
  @media (min-width: 600px) {
    display: flex;
  }
}

@media (max-width: 599px) {
  nav.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color: var(--accent-bg);
    position: fixed;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    z-index: -1;
  }
  nav.active a {
    color: var(--text);
    margin-bottom: 48px;
  }
  nav.active ~ #logo, nav.active ~ #burger, nav.active ~ #close {
    color: var(--text);
  }
  footer a[aria-current="page"] {
    color: inherit;
  }
  footer {
    display: none;
  }
  footer.active {
    background: none;
    color: var(--text);
    display: flex;
  }
}

#logo {
  color: var(--accent);
}

#burger, #close {
  color: var(--accent);
  border: none;
  background: none;
  appearance: none;
  padding: 0 4px;
  @media (min-width: 600px) {
    display: none;
  }
}

#notfound {
  padding: 64px;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

@font-face {
  font-family: 'Exposure';
  src: url('/assets/fonts/205TF-Exposure-[-60].woff2') format('woff2'),
       url('/assets/fonts/205TF-Exposure-[-60].woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

h1 {
  font-family: 'Exposure', 'Courier New', Courier, monospace;
  font-size: 35px;
  line-height: 1;
  margin: 4px 0;
  text-align: center;
  @media (min-width: 600px) {
    font-size: 50px;
  }
}
