/* ———————— SETUP ———————— */
@font-face {
  font-family: 'Funkertale';
  src: url('../fonts/Funkertale.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

body {
  background-position: center;
  background-color: black;
  background-size: cover;
  color: white;
  font-family: 'Funkertale';
  margin: 0;
  padding: 0;
}

/* ———————— TEXT ———————— */
h1 {
  margin-top: 10px;
  margin-bottom: 10px;
  word-wrap: normal;
  line-height: 1;
}

h2 {
  color: white;
  margin-bottom: 10px;
  text-align: center;
  font-size: 19px;
}

p {
  color: white;
  line-height: 1;
  margin-bottom: 10px;
  max-width: 850px;
  word-wrap: normal;
  max-width: 850px;
  line-height: 1.2;
}

.undertale-font {
  font-family: 'Funkertale';
}

/* ———————— INTRO SCREEN ———————— */
.intro-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Funkertale';
  text-align: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease;
  cursor: pointer;
  opacity: 1;
  transition: opacity 2.5s ease;
}

.intro-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.main-content {
  opacity: 0;
  transition: opacity 2.5s ease;
}

.main-content.visible {
  opacity: 1;
}

/* ———————— IMAGES & VIDEOS ———————— */
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.funkModeTrailers {
  display: flex;
  justify-content: center;
  gap: 25;
  flex-wrap: wrap;
  margin: 40px auto;
}

.trailerEmbed {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  border: none;
}

body {
  justify-content: center;
  align-items: center;
  align-content: center;
  text-align: center;
}

/* ———————— SOCIAL LINKS ———————— */
#LINKS {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 0;
  list-style: none;
  padding: 0;
}

#LINKS li {
  display: inline-block;
  cursor: pointer;
}

#LINKS li img {
  display: block;
  max-width: 100px;
  height: auto;
  object-fit: contain;
  transition: filter 0.3s ease;
}

#LINKS li:hover img {
  filter: brightness(1.5);
}