@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f4f4f9;
  color: #333;
  margin: 0;
  padding: 0;
}

header {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-bottom: 2px solid #4a4a4a;
}

header h1, header h2 {
  margin: 0;
  color: white;
}

nav {
  background-color: #755353;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
}

nav ul li {
  margin: 5px;
}

nav ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover {
  background-color: #ddd;
  color: #444;
}

.section-cuadro {
  background-color: white;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 1rem 0;
  text-align: center; /* Alineación centrada para el contenido del cuadro */
}

.section-cuadro h3 {
  color: #5a67d8;
}

.section-cuadro p {
  color: #333;
}

/* Estilos para el contenedor de OSDE */
.osde-cartel {
  background-color: #004080; /* Color azul de OSDE */
  color: white;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 5px;
  text-align: center;
}
.osde-cartel a {
  color: white;
  text-decoration: underline;
}

footer {
  background-color: #333;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer a {
  color: #5a67d8;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* Centrar el contenido del botón */
  padding: 10px 20px;
  background-color: #25D366; /* Color de WhatsApp */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  font-weight: bold;
  margin: 10px auto; /* Centrar el botón */
  transition: background-color 0.3s;
}

.button img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.button:hover {
  background-color: #1EBB57; /* Color más oscuro para el hover de WhatsApp */
}

.instagram-button {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* Centrar el contenido del botón */
  padding: 10px 20px;
  background-color: #E4405F; /* Color de Instagram */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  font-weight: bold;
  margin: 10px auto; /* Centrar el botón */
  transition: background-color 0.3s;
}

.instagram-button img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.instagram-button:hover {
  background-color: #D73653; /* Color más oscuro para el hover de Instagram */
}

/* Estilos para la ventana modal */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 80%; 
  max-width: 600px;
  border-radius: 8px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Contenedor flex para colocar los cuadros en fila */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .flex-container {
    flex-direction: column;
  }
}




  
.instagram-button-footer img {
  margin-right: 5px;
  margin-top: auto;
  width: 30px;
}







/* Estilos para pantallas más grandes */
@media (min-width: 768px) {
  .instagram-button-footer {
    padding: 10px 20px;
  }

  .instagram-button-footer img {
    width: 24px;
  }


}
