/*Archivo: styles/reglas*/
/* ---------------------------------- */
/* BASE Y UTILITIES */
/* ---------------------------------- */
@font-face {
  font-family: 'Univers';
  src: url('../fonts/Universe/Univers-ExtraBlackExt.otf') format('opentype');
}
@font-face {
  font-family: 'PPEiko';
  src: url('../fonts/pp-eiko/ppeiko-medium.otf') format('opentype');
}
@font-face {
  font-family: 'Nike';
  src: url('../fonts/Nike/Nike Futura ND.ttf') format('truetype');
}
@font-face {
  font-family: 'Universe Extra Black';
  src: url('../fonts/Universe/Univers-ExtraBlack.otf') format('opentype');
}
@font-face {
  font-family: 'Universe Black Ext';
  src: url('../fonts/Universe/Univers-BlackExt.otf') format('opentype');
}
@font-face {
  font-family: 'Universe bold';
  src: url('../fonts/Universe/Univers-Bold.otf') format('opentype');
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #000;
  height: 100%;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------------------------------- */
/* Bloque: page-container */
/* ---------------------------------- */
.page-container {
  background-color: #fff;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  scale: 1; /* se agrego */
  transition: all 0.8s ease; /* se agrego */
}
.page-container.open {
  translate: -15rem -3rem;
  scale: 0.85;
  transition: all 0.8s ease;
}

/* ---------------------------------- */
/* Bloque: header */
/* ---------------------------------- */
.header {
  padding: 0.5rem 2rem;
  top: 0;
  width: 100%;
  z-index: 10;
  background-color: black;
  margin-top: 20px;
}

/* ---------------------------------- */
/* Bloque: nav */
/* ---------------------------------- */
.nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav__logo {
  width: 220px;
}

.nav__menu--desktop {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav__link {
  font-family: 'Univers', sans-serif;
  color: #fff;
  transition: color 0.3s ease;
  padding-left: 20px;
}
.nav__item-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 25px;
}

.nav__hamburger-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 3;
}

.nav__hamburger-line {
  width: 70px;
  height: 8px;
  border-radius: 10px;
  background-color: #acf93a; /* Color inicial negro */
  transition: background-color 0.3s ease;
}

.header.scrolled .nav__hamburger-line {
  background-color: #acf93a;
}

/* ---------------------------------- */
/* Bloque: sidebar (menú lateral) */
/* ---------------------------------- */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 60%;
  height: 100vh;
  background-color: #000;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  padding: 2rem 1rem;
}

.sidebar__close-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 2rem;
  position: absolute;
  top: 10px;
  right: 15px;
  color: #fff; /* Color blanco para la X */
}

.sidebar__menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  height: 100dvh;
  gap: 0.8rem;
}

.sidebar__link {
  font-family: 'Universe Extra Black', sans-serif;
  font-size: 0.9rem;
  color: #acf93a;
}

/* ---------------------------------- */
/* Bloque: main */
/* ---------------------------------- */

.hero {
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #050707;
  text-align: center;
}

.hero h1 {
  font-family: 'Univers', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  text-transform: uppercase;
  line-height: 1;
}

.hero h2 {
  font-family: 'Univers', sans-serif;
  font-size: clamp(1.2rem, 2vw, 2rem);
  text-transform: uppercase;
}

.hero p {
  font-family: 'PPEiko', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 600px;
  margin-top: 1.5rem;
}

/* ---------------------------------- */
/* Bloque: team */
/* ---------------------------------- */
.team {
  background-color: #000;
  color: #acf93a;
  text-align: center;
  padding: 40px 20px;
}

.team__heading {
  font-family: 'Univers', sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  text-transform: uppercase;
  line-height: 35px;
}

.team__subtitle {
  font-family: 'PPEiko', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-top: 0.5rem;
  padding: 2.5rem 0;
}

.team__cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
}

.team__card {
  border: 1px solid #acf93a;
  width: 100%;
  max-width: 300px;
  padding: 15px;
}

.team__card-title {
  font-family: 'Nike', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  text-transform: uppercase;
  line-height: 20px;
}


.documentos li a {
  /* ¡Aquí está la magia! Movemos todos los estilos al enlace */
  display: block;  /* <-- ESTA LÍNEA HACE QUE EL ENLACE OCUPE TODA LA CAJA */
  background-color: #000;
  color: #acf93a;
  font-size: 0.85rem;
  border-radius: 30px;
  text-transform: uppercase;
  font-family: 'Univers', sans-serif;
  padding: 7px 20px;
  text-decoration: none; /* Quita el subrayado del enlace */
  text-align: start; /* Centra el texto dentro de la caja */
}

/* (Opcional) Un efecto visual cuando pasas el mouse */
.documentos li a:hover {
  background-color: #333; /* Un gris oscuro para el efecto hover */
}

/* ---------------------------------- */
/* Bloque: footer */
/* ---------------------------------- */
.footer {
  background-color: #000;
  padding: 20px 0;
  display: flex;
  justify-content: center;
}

.footer__logo {
  width: 300px;
  max-width: 100%;
}

/* ---------------------------------- */
/* MEDIA QUERIES */
/* ---------------------------------- */
@media (max-width: 1100px) {
  .nav__menu--desktop {
    display: none;
  }

  .nav__hamburger-button {
    display: flex;
  }
}

.reglas-titulo {
  width: 100%;
  text-align: start;
  padding-left: 20px;
  font-size: 2rem;
}

ul {
  text-align: start;
}
li {
  padding: 8px 0;
  font-size: 1.2rem;
  font-family: 'PPEiko', sans-serif;
  line-height: 20px;
}
.hero__h3 {
  font-family: 'Universe Black Ext', sans-serif;
  text-align: center;
  color: #acf93a;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: -2px;
}
.hero__h4 {
  color: #c4f638;
  font-family: 'Univers', sans-serif;
  text-align: center;
  line-height: 20px;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: -1px;
}
.hero__h5 {
  padding: 15px 0;
  color: #c4f638;
  font-family: 'Univers', sans-serif;
  text-align: center;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: -1px;
}
.hero__h3-SM {
  font-family: 'Universe Black Ext', sans-serif;
  text-align: center;
  color: #acf93a;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -2px;
}
.custom-list {
  list-style-type: none; /* Elimina el estilo de lista predeterminado */
  padding-left: 20px;
}
.custom-list li {
  position: relative; /* Necesario para posicionar la imagen */
  padding-left: 30px; /* Asegura que haya espacio para el ícono */
}
.custom-list li::before {
  content: ''; /* No queremos texto en el ::before */
  background-image: url('../images/checkList.png'); /* Ruta de la imagen */
  background-size: contain; /* Asegura que la imagen se ajuste bien al tamaño */
  background-repeat: no-repeat; /* No repetir la imagen */
  position: absolute;
  left: 0; /* Coloca la imagen a la izquierda */
  top: 50%; /* Centra la imagen verticalmente */
  transform: translateY(-50%); /* Ajusta para que se alinee perfectamente */
  width: 20px; /* Tamaño de la imagen (ajústalo según sea necesario) */
  height: 20px; /* Tamaño de la imagen (ajústalo según sea necesario) */
}
.custom-list-error {
  padding-left: 2.5rem;
  list-style: disc;
}
/* --- CÓDIGO CORREGIDO --- */

.documentos li {
  /* Dejamos el li casi sin estilos */
  list-style-type: none; /* Asegura que no haya puntos de lista */
}

.documentos li a {
  /* ¡Aquí está la magia! Movemos todos los estilos al enlace */
  display: block;  /* <-- ESTA LÍNEA HACE QUE EL ENLACE OCUPE TODA LA CAJA */
  background-color: #000;
  color: #acf93a;
  border-radius: 30px;
  text-transform: uppercase;
  font-family: 'Univers', sans-serif;
  padding: 7px 20px;
  font-size: 0.85rem;
  text-decoration: none; /* Quita el subrayado del enlace */
  text-align: start; /* Centra el texto dentro de la caja */
}

/* (Opcional) Un efecto visual cuando pasas el mouse */
.documentos li a:hover {
  background-color: #333; /* Un gris oscuro para el efecto hover */
}

/* Es necesario agregar la clase date-input-container al div del HTML para que funcione */
@media (min-width: 769px) {
  .nav {
    background-color: black;
    padding: 3px 0;
    justify-content: space-around;
  }
  .nav__link {
    color: #acf93a;
  }
  .hero {
    align-items: start;
  }
  .team__cards {
    flex-direction: row;
    gap: 40px;
  }
  .contenedor-principal {
    display: flex;
    justify-content: center;
    padding: 1rem 5rem;
    height: auto;
    gap: 10rem;
  }
  li {
    font-size: 1rem;
  }

  .custom-list-error li {
    padding-right: 10rem;
  }
  .contenedor-principal .content {
    width: 40%;
  }
  .contenedor-principal .content-2 {
    width: 40%;
  }

  .documentos li a {
    /* ¡Aquí está la magia! Movemos todos los estilos al enlace */
    display: block;  /* <-- ESTA LÍNEA HACE QUE EL ENLACE OCUPE TODA LA CAJA */
    background-color: #000;
    color: #acf93a;
    border-radius: 30px;
    text-transform: uppercase;
    font-family: 'Univers', sans-serif;
    padding: 7px 20px;
    text-decoration: none; /* Quita el subrayado del enlace */
    text-align: start; /* Centra el texto dentro de la caja */
  }

  /* (Opcional) Un efecto visual cuando pasas el mouse */
  .documentos li a:hover {
    background-color: #333; /* Un gris oscuro para el efecto hover */
  }
}
