/* Paleta de colores */
:root {
  --azul-marino: #111053;   /* Azul marino profundo */
  --azul-suave: #d7d9e5;    /* Azul verdoso suave */
  --blanco-roto: #f5f5f0;   /* Fondo neutro */
  --gris-claro: #eef0f7;       /* nuevo tono más claro */
  --azul-hover: rgba(111,170,192,0.4); /* azul transparente */


}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
 font-family: Verdana, Geneva, Tahoma, sans-serif;
  background: var(--blanco-roto);
  color: #333;
  line-height: 1.6;
}

header {
 background-color: #111053;
 padding: 2rem;
 color: var(--blanco-roto);
}

.encabezado .fila {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  font-size: larger;
  color: white;
}


.encabezado .titulo h3 {
  color: var(--blanco-roto);
  font-size: 1.8rem;
  font-weight: lighter;
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}






table {
  width: 60%;
  margin: 2rem auto;
  border-collapse: collapse;
  background: var(--azul-marino);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  color: var(--blanco-roto);
}

caption {
  caption-side: top;
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}





td {
  padding: 0.8rem;
  border: 1.5px solid #030253; 
}


tr:nth-child(even) {
  background: #eef0f7; 
  color: #031639;
}



tr:hover {
  background-color: rgba(111, 170, 192, 0.4); /* azul con transparencia */
  transition: background-color 0.3s ease;
}



a.boton {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: none;
  color: var(--gris-claro);
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

a.boton:hover {
  background: var(--azul-suave);
  color: #fff;
}


footer {
  background: var(--azul-marino);
  color: var(--blanco-roto);
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}


@media (max-width: 768px) {
  .encabezado .fila {
    flex-direction: column;
    text-align: center;
  }

  table {
    font-size: 0.9rem;
  }

  th, td {
    padding: 0.5rem;
  }

  a.boton {
    display: block;
    margin: 0.3rem 0;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.9rem;
  }

  .encabezado .titulo h3 {
    font-size: 1.2rem;
  }

  table {
    width: 100%;
  }
}




