
body {
  font-family: 'Poppins', sans-serif;
  background-image: url("2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #f4f4f4;
  color: #333;
  margin: 0;
  padding: 20px;
}


header {
  background-color: #00695c;
  color: white;
  padding: 20px;
  text-align: center;
}


nav a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
}


section {
  padding: 20px;
  border-bottom: 1px solid #ccc;
}


footer {
  background-color: #004d40;
  color: white;
  text-align: center;
  padding: 10px;
}


.carrusel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}


button {
  font-family: 'Poppins', sans-serif;
  background-color: #3498db;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #2980b9;
}

/* Contenedor del presidente */
#presidente-container {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: auto;
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}

#presidente-container.fade-out {
  opacity: 0;
}


.ficha-presidente {
  background-color: #fff;
  padding: 1rem 2rem;
  margin: 1rem auto;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  width: 100%;
  max-width: none;
}

.ficha-presidente.fade-out {
  opacity: 0;
}


.contenido {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap; /* Para que se acomode en pantallas pequeñas */
}
.texto {
  flex: 1;
}
.imagen {
  flex: 0 0 250px; /* Tamaño fijo pero flexible */
  text-align: center;
}
.imagen img
 {
  width: 220px;       
  height: 300px;       
  object-fit: cover;  
  border-radius: 8px; 
  box-shadow: 0 0 5px rgba(0,0,0,0.2); 
}
.seccion-lateral {
  display: flex;
  align-items: stretch;             /* Estira verticalmente */
  justify-content: space-between;  /* Imagen a la derecha */
  gap: 20px;
  margin-bottom: 40px;
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  height: auto;                     /* Se adapta al contenido */
}

.contenido-texto {
  flex: 1;                          /* Ocupa todo el espacio disponible */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.imagen-lateral {
  flex: 0 0 300px;                  /* Fijo en ancho */
  display: flex;
  align-items: stretch;            /* Estira verticalmente */
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
}

.imagen-lateral-ajustada {
  width: 100%;
  height: 100%;                    /* 🔥 Estira verticalmente */
  object-fit: cover;               /* 🔥 Recorta si es necesario */
  border-radius: 12px;
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
}


.imagen img:hover 
{
  transform: scale(1.05);
}


.nombre {
  font-family: 'Black Ops One', sans-serif;
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #2c3e50;
}

#presidente-container h3 {
  font-size: 1.5em;
  color: #2c3e50;
  margin-bottom: 10px;
}

#presidente-container p {
  font-size: 1em;
  line-height: 1.6;
  margin: 8px 0;
}

#presidente-container strong {
  color: #fbc02d;
}
.cuadro-blanco {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}
.seccion-con-imagen {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.contenido-texto {
  flex: 1;
  font-size: 1.3rem; /* Letra más grande */
  font-family: 'TuTipografiaElegida', sans-serif; /* Reemplaza con tu fuente */
}

.cuadro-blanco {
  background-color: white;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.imagen-lateral {
  max-width: 300px;
  height: auto;
  border-radius: 12px;
}

.izquierda {
  order: -1;
}

.derecha {
  order: 1;
}
.linea-tiempo-texto {
  font-size: 1.3rem; /* Tamaño más grande */
  font-family: 'Black Ops One', sans-serif; /* Tu fuente personalizada */
  line-height: 1.4;
  color: #222; /* Puedes ajustar según tu paleta */
}
@media (max-width: 768px) {
  .seccion-lateral {
    flex-direction: column;
    align-items: center;
  }

  .imagen-lateral-ajustada {
    width: 100%;
    max-width: 320px;
    margin-top: 20px;
  }
}
.cuadro-blanco {
  background-color: #ffffff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.video-grid {
  display: flex;
  flex-wrap: wrap;               
  gap: 20px;
  justify-content: space-between;
}


.video-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #333;
}
.video-item {
  flex: 0 0 48%;                 /* 🔥 Dos columnas en pantallas grandes */
  box-sizing: border-box;
}


