

/********* Sectiones de servicios **********/

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0; 
}

.servicio {
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Colores de la fundación */
#servicios-generales {
    background-color: rgba(135, 190, 65, 0.9);
    color: #fff;
}

#terapias-individuales {
    background-color: rgba(145, 196, 234, 0.9);
    color: #fff;
}

#actividades-recreativas {
    background-color: rgba(81, 123, 57, 0.8);
    color: #fff;
}

#prevencion-recaidas {
    background-color: rgba(250, 230, 5, 0.7);
    color: #000;
}

#grupos-apoyo {
    background-color: rgba(135, 190, 65, 0.8);
    color: #000;
}

/* Estilos para el texto */
h2 {
    text-align: center;
    margin-bottom: 20px;
}

p {
    text-align: justify; 
    margin: 0;
    line-height: 1.6;
}

h3 {
    color: #333;
}

/* Estilos para imágenes */
.servicio img {
    max-width: 80%;
    height: auto; 
    display: block; 
    margin: 0 auto;
    border-radius: 20px;
    opacity: 10;
    height: 70%
}

/* Animaciones */
.servicio:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
    .servicio {
        padding: 20px; 
    }

    h2 {
        font-size: 1.5em; 
    }

    p {
        font-size: 1em; 
    }
}
