/* Estilos del artículo y secciones de contacto */
article {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

article h2 {
    font-size: 1.8em;
    margin-top: 0;
    padding: 10px;
    border: 2px solid #444;
    background-color: #ddd;
    border-radius: 5px;
    text-align: center;
    color: #333;
}

article h3, article h4 {
    font-size: 1.2em;
    line-height: 1.6;
    color: #333;
    text-align: center;
}

article a {
    display: block;
    margin: 10px auto;
    text-align: center;
    color: #25D366;
    font-weight: bold;
    text-decoration: none;
}

article a:hover {
    color: #1EBB57;
}



/* Botón de WhatsApp */
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    font-weight: bold;
    margin: 10px 0;
    transition: background-color 0.3s;
}

.whatsapp-button img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.whatsapp-button:hover {
    background-color: #1EBB57;
}


/* Contenedor de contactos usando flexbox */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos para las secciones dentro del contenedor de contactos */
.contact-container section {
    flex: 1 1 300px;
    max-width: 400px;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    background-color: #f9f9f9;


    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.contact-container section:hover { 
    transform: scale(1.05); 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); }


.contact-container h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.contact-container h3, .contact-container h4 {
    font-size: 1.2em;
    color: #555;
}

.contact-container iframe {
    border: 0;
    border-radius: 8px;
    margin-top: 10px;
}

/* Botón de WhatsApp */
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.whatsapp-button img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.whatsapp-button:hover {
    background-color: #1EBB57;
}


.instagram-button-footer img {
    margin-right: 5px;
    margin-top: auto;
    width: 30px;
  }