/* ─────────────────────────────────────────
   FONTS
───────────────────────────────────────── */

@font-face {
  font-family: "fs";
  src: url(Fonts/FieldSans-Regular.woff) format("woff");
}

@font-face {
  font-family: "fsd";
  src: url(Fonts/FieldSans-Display.woff) format("woff");
}

.text-title {
  font-family: "fsd";
  font-size: 10em;
  color: rgb(187, 21, 21);
  text-align: center;
}

.text-body {
  font-family: "fs";
  font-size: 1.5em;
  line-height: 1.2em;
  color: rgb(212, 10, 10);
  width: 45%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
/* ─────────────────────────────────────────
   GENERAL
───────────────────────────────────────── */

body {
  background-color: rgb(9, 9, 9);
}

body.locked {
  overflow: hidden;
  height: 100vh;
}

.enter-prompt {
  cursor: pointer;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

.container-open.fade-out {
  transition: opacity 0.8s ease;
  opacity: 0;
}

div.container-open {
  width: 70%;
  height: 100vh;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
  align-items: center;
  display: flex;
  justify-content: center;
  align-content: center;
}

div.container {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

div.container-space {
  width: 70%;
  height: 100vh;
  margin-left: auto;
  margin-right: auto;
}

.height-full {
  height: 150vh;
}

.flex-col {
  display: flex;
  flex-direction: column;
  margin-bottom: 5em;
}

.flex-row {
  display: flex;
  flex-direction: row;
  gap: 1em;
}

video {
  width: auto;
  height: 750px;
  display: block;
  object-fit: contain;
  padding: 1em;
}

.flex-row video {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: 100%;
}

.margin-top {
  margin-top: 2em;
}

.margin-bot {
  margin-bottom: 5em;
}

.align-left {
  margin-right: auto;
}

.align-right {
  margin-left: auto;
}

.align-center {
  margin-left: auto;
  margin-right: auto;
}

/* ─────────────────────────────────────────
   MOBILE
───────────────────────────────────────── */

@media (max-width: 768px) {
  .text-title {
    font-size: 3.5em;
  }

  .text-body {
    width: 85%;
    font-size: 1em;
  }

  div.container,
  div.container-open,
  div.container-space {
    width: 90%;
  }

  video {
    width: 100%;
    height: auto;
    padding: 0.5em 0;
  }

  .flex-row {
    flex-direction: column;
    gap: 1em;
  }

  .flex-row video {
    width: 100%;
    height: auto;
    flex: none;
  }
}
