html {
  scroll-behavior: smooth;
}

body {
    font-family: "Trajan Pro", sans-serif;
    background-color: #000;
    font-family: Sp Ghost, sans-serif;
    margin: 0;
    padding: 0;
}

@font-face {
  font-family: "Trajan Pro";
  src: url("../fonts/TrajanPro-Bold.otf") format("opentype");
  src: url("../fonts/TrajanPro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Tsushima Font";
  src: url("../fonts/Tsushima.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --main-font:"Tsushima font", sans-serif;
  --description-font: "Inter", sans-serif;
  --off-white: #dbd9d0;
  --red: #9f0d0a;
  --gray: #808080;
  --dark-gray: #0b0b0b;
  --black: #000;
  --white: white;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.logo {
  left: 0;
  margin-top: 10px;
  margin-left: 10px;
  cursor: pointer;
}

.navbar {
  font-family: var(--main-font);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  display: grid;
  height: 80px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  background-color: black;
}

.nav-items {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.nav-items a {
  text-decoration: none;
}

.nav-item {
  color: white;
  font-size: 14px;
  letter-spacing: 2px;
  cursor: pointer;
  position: relative;
  transition: 0.3s;
}

.nav-item:hover {
  font-size: 15px;
}

.video-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 45px;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  transform: scale(1.02);
  display: block;
}

.hero-title-wrapper {
  position: absolute;
  top: 50%;
  left: 50%; 
}

.hero-title {
  transform: translate(-50%, -50%);
  width: 100%;
  opacity: 0.9;
}

.quote-section {
 background-color: var(--off-white);
  width: 100%;
  padding: 50px 0;
  margin-top: -28px;
  position: relative;
  z-index: 3;
}

.character-quote {
  margin: 0 auto;
  max-width: 600px;
  text-align: center;
}

.quote-text {
  font-family: var(--description-font);
  font-size: 30px;
  font-style: italic;
  letter-spacing: 1px;
}

.quote-author {
  font-family: var(--description-font);
  display: block;
  color: var(--red);
  font-size: 20px !important;
  letter-spacing: 2px;
}

.story-section {
  padding: 70px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  gap: 28px;
  margin: 0 auto;
}

.story-title {
  color: var(--red);
  font-size: 60px;
  font-family: var(--main-font);
  justify-content: center;
  white-space: nowrap;
  margin-bottom: 0;
}

.story-mini-title {
  font-family: var(--description-font);
  color: var(--gray);
  margin: 0;
}

.story-article {
  font-family: var(--description-font);
  display: flex;
  flex-direction: column;
  font-size: 20px;
  color: white;
}

.screens-section {
  background: var(--dark-gray);
  padding: 60px;
}

.section-title {
  font-family: var(--main-font);
  color: white;
  font-size: 30px;
  margin-bottom: 25px;
}

.screens-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 180px;
  gap: 20px;
}

.screens-grid img {
  cursor: pointer;
}

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

.big {
  grid-row: span 2;
}

.box {
  position: fixed;
  display: none;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.box-image {
  width: 70%;
  max-width: 80%;
  object-fit: contain;
}

.previous-button, .next-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

.previous-button {
  left: 30px;
}

.next-button {
  right: 30px;
}

.close-button {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 30px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.feature-section {
  font-family: var(--main-font);
  background-image: url("../images/feature-section-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  gap: 40px;
  color: var(--off-white);
  padding: 140px 40px;
}

.feature-section-item {
  flex: 1;
  text-align: center;
}

.feature-section h2 {
  letter-spacing: 3px;
  margin-bottom: 70px;
  font-size: 27px;
}

.feature-section img {
  width: 100%;
  max-width: 500px;
  object-fit: cover;
  margin-bottom: 15px;
  cursor: pointer;
}

.feature-section p {
  font-family: var(--description-font);
  font-size: 16px;
  letter-spacing: 1px;
}

.feedback-section {
  margin: 60px 0;
  text-align: center;
}

.feedback-section h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.feedback-section p {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 10px;
}

.feedback-section a {
  color: var(--red);
  font-size: 18px;
  font-weight: 600;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 30px 50px;

  vertical-align: top;
  border: 1px solid rgba(225, 225, 225, 0.1);
  padding: 60px 40px;
  text-align: center;
  font-size: 12px;
  margin-top: 80px;
}

.footer-esrb img {
  width: 70%;
  cursor: pointer;
}


.footer-esrb p {
  color: white;
  font-size: 16px;
}

.footer-platforms p {
  color: white;
  font-size: 20px;
}

.platform-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.platform-links a {
  font-size: 18px;
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.footer-credits {
  color: white;
  font-size: 18px;
}

@media (max-width: 768px) {

  .navbar {
    height: auto;
    grid-template-columns: auto;
    padding: 10px 0;
  }

  .nav-items {
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px;
  }

  .nav-item {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .hero-video {
    height: 100vh;
  }

  .quote-section {
    margin-top: -100px;
  }

  .hero-title {
    width: 80%;
  }

  .quote-text {
    font-size: 22px;
  }

  .quote-author {
    font-size: 16px !important;
  }

  .story-title {
    font-size: 32px;
    white-space: normal;
  }

  .story-article {
    font-size: 16px;
    padding: 0 10px;
  }

  .screens-section {
    padding: 30px 20px;
  }

  .screens-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .big {
    grid-row: auto;
  }

  .box-image {
    width: 90%;
  }

  .previous-button,
  .next-button {
    font-size: 30px;
  }

  .feature-section {
    flex-direction: column;
    padding: 80px 20px;
    gap: 60px;
  }

  .feature-section h2 {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .feature-section img {
    max-width: 100%;
  }

  .feedback-section {
    margin: 40px 0;
    padding: 0 20px;
  }

  .feedback-section h2 {
    font-size: 22px;
  }

  .feedback-section p {
    font-size: 16px;
  }

  .feedback-section a {
    font-size: 16px;
  }

  .site-footer {
    flex-direction: column;
    gap: 30px;
    padding: 40px 20px;
  }

  .footer-esrb img {
    width: 50%;
  }

  .footer-esrb p,
  .footer-platforms p,
  .platform-links a,
  .footer-credits {
    font-size: 14px;
  }
}