/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.page {
  max-width: 1440px;
  padding: 15px;
  margin: 0 auto;
}

/* FONTS */

body {
  font-family: "Roboto Mono", monospace;
  background: #fff;
  color: #000;
  line-height: 1.6;
  font-size: 14px;
  font-weight: 400;
}

h1 {
  font-family: "Ugly Dave", cursive;
  font-weight: normal;
}

h2 {
  font-family: "Ugly Dave", cursive;
  font-weight: normal;
}

.nav-links a {
  font-family: "Ugly Dave", cursive;
  font-weight: normal;
  text-decoration: none;
  color: #000;
}

a {
  color: #000;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}


@font-face {
  font-family: "Ugly Dave";
  src: url("../assets/fonts/UglyDave.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Ugly Dave Alternates";
  src: url("../assets/fonts/UglyDave-Alternates.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}


/* NAVIGATION */
.nav {

  width: 100%;
}

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px;

  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.nav-logo img {
  display: block;
  max-width: 200px; /* adjust if needed */
  height: auto;
}

.nav-links {
  list-style: none;
  text-align: right;
}

.nav-links li {
  margin-top: 4px;
}

.nav-links a {
  text-decoration: none;
  color: #000;
}

@media (max-width: 900px) {
  .nav-inner {
    padding-left: 10px;
    padding-right: 10px;
  }
}


/* INTRO */
.intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.tagline {
  margin-bottom: 24px;
}

.credits {
  list-style: none;
  margin: 0 0 24px;
}

/* DOWNLOAD BUTTON */

.epk-button {
  position: relative;
  display: inline-block;
}

.epk-button img {
  display: block;
}

.epk-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.epk-button:hover .epk-hover {
  opacity: 1;
}

.epk-button:hover .epk-default {
  opacity: 0;
}


/* PHOTOS */
.photos {
  margin-bottom: 40px;
}

.photos h2 {
  margin-bottom: 24px;
}

.photo-grid {
  columns: 3;
  column-gap: 10px;
}

.photo-grid img {
  width: 100%;
  display: block;
  margin-bottom: 10px;
  break-inside: avoid;
}

@media (max-width: 900px) {
  .photo-grid {
    columns: 2;
  }
}

@media (max-width: 450px) {
  .photo-grid {
    columns: 1;
  }
}

/* PRESS */
.press {
  margin-bottom: 100px;
}

.press h2 {
  margin-bottom: 24px;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.press h3 {
  margin-bottom: 12px;
}

/* FOOTER */
.footer {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  column-gap: 50px;
  align-items: start;
  margin-top: 80px;
}

.footer-title {
  font-family: "Ugly Dave", cursive;
  font-size: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  text-decoration: none;
  color: #000;
}

.footer-gif img {
  max-width: 120px;
  height: auto;
}

@media (max-width: 900px) {
  .footer {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-gif {
    grid-column: span 2;
  }
}

@media (max-width: 450px) {
  .footer {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* TABLET */
@media (max-width: 900px) {
  .intro {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .press-grid {
    grid-template-columns: 1fr;
  }
}
