/* ===== RESET Y ESTILOS BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
  padding: 0px;
}

.logo_size {
  height: 30px;
  width: 30px;
  margin: 0 5px;
}

.logo_color_blanco {
  filter: invert(97%) sepia(0%) saturate(6393%) hue-rotate(209deg) brightness(120%) contrast(87%); 
}

.text-justify {
  text-align: justify;
}


.header, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Distribuye el espacio entre los elementos */
  padding: 10px 20px;
  background-color: #004A98;
}

.header img {
  height: 100px; /* Ajusta según necesites */
  width: auto; /* Mantiene la proporción */
  margin: 5px 10px;
}

/* Contenedor para el menú de navegación */
.nav-container, .logos_redes_sociales {
  flex-grow: 1; /* Ocupa todo el espacio disponible */
  display: flex;
  justify-content: left; /* Centra el menú horizontalmente */
}

/* Ajustes para la lista de navegación */
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #004A98;
  display: inline-block; /* Permite que el menú no ocupe todo el ancho */
}

li {
  float: left;
}

li a, .dropbtn {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn {
  background-color: #5DA9E9;
}

li.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {background-color: #f1f1f1;}

.dropdown:hover .dropdown-content {
  display: block;
}

.footer > p{
  color: white;
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border-left-color: #09f;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
