/* TIPOGRAFÍA */
@font-face {
  font-family: 'AetherBMono';
  src: url('fonts/Aether-BMono.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'NeueHaasDisplayLight';
  src: url('fonts/NeueHaasDisplayLight.woff') format('woff');
}
body {
  margin: 0;
  background-color: #191a1b;
  color: #1d1d1b;
  font-family: 'NeueHaasDisplayLight', sans-serif;
}
/* LOGO */
.logo-proyecto {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  pointer-events: none;
}
.logo-proyecto img {
  height: 50px;
  display: block;
}

/* Fixed HOME link */
.fixed-home-link {
  position: fixed;
  top: 30px; /* Adjust as needed for desired spacing from the top */
  right: 30px; /* Adjust as needed for desired spacing from the right */
  z-index: 100; /* Ensures it stays on top of other content */
}

.fixed-home-link a {
  font-family: 'NeueHaasDisplayLight', sans-serif;
  font-size: 1rem; /* Adjust font size as needed */
  color: #8ca7ad; /* Changed to be visible on dark background */
  text-decoration: none;
  transition: color 0.3s ease;
}

.fixed-home-link a:hover {
  color: #f2f2df; /* Adjust hover color as needed */
}

/* VIDEO PRINCIPAL */
.project-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 100vh;
}

/* SECCIÓN DE PROYECTO */
.proyecto {
  background-color: #f2f2df;
  padding: 8vh 10vw;
  color: #1d1d1b;
}

/* TÍTULO */
.proyecto h1 {
  font-family: 'AetherBMono', monospace;
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

/* CRÉDITOS */
.creditos {
  list-style: none;
  padding: 0;
  margin-bottom: 3rem;
  font-size: 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem 2rem;
  max-width: 800px;
}

.creditos li {
  display: contents;
}

.creditos strong {
  font-weight: normal;
  font-family: 'AetherBMono', monospace;
  color: #000;
}

/* GALERÍA FULL BLEED */
.galeria {
  margin: 0;
  padding: 0;
}

.galeria img {
  display: block;
  width: 100vw;
  height: auto;
  object-fit: cover;
}

/* EMBED VIMEO */
.vimeo-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

.vimeo-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* VOLVER AL INICIO */
.volver {
  font-family: 'AetherBMono', monospace;
  text-decoration: none;
  font-size: 0.9rem;
  color: #1d1d1b;
  border-bottom: 1px solid transparent;
  transition: border 0.3s ease;
}

.volver:hover {
  border-bottom: 1px solid #1d1d1b;
}

.volver-wrap {
  background-color: #f2f2df;
  padding: 5vh 10vw;
  text-align: center;
}


/* RESPONSIVO */
@media (max-width: 768px) {
  .proyecto {
    padding: 5vh 8vw;
  }

  .creditos {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .vimeo-container {
    padding-bottom: 56.25%;
  }
  /* Logo adjustments for mobile */
  .logo-proyecto {
    height: auto; /* Remove fixed height on container to let image define it */
  }
  .logo-proyecto img {
    height: 30px; /* Adjust logo image height for smaller screens */
  }
  /* Adjust fixed home link for mobile */
  .fixed-home-link {
    top: 20px; /* Slightly less padding from top */
    right: 20px; /* Slightly less padding from right */
  }
}