@import url('https://fonts.googleapis.com/css2?famil    y=Fira+Sans+Extra+Condensed:wght@500;600;700&family=Nunito:wght@200;300;400;500;600;700;800&family=Open+Sans:wght@300;400&display=swap');

@font-face {
    font-family: 'Just';
    src: url('../css/fonts/Just.otf') format('opentype');
}


/* ----------------------------Servicios-------------------------------------------------- */
.image-banner {
    background: url('../../img/servicios/banner_servicios.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    /* background-attachment: fixed; */
}


.text-banner {
    font-family: Just;
    font-size: 100px;
    color: white;
    text-align: center;
}

.texto-Bann {
    font-size: 34px;
    background-color: #fdf9e7d4;
    color: #3360AA;
    font-family: Nunito;
    font-weight: 600;
    width: 70%;
    border-radius: 80px;
    padding: 3%;
    line-height: 50px;
}




.fondo-nina-feliz {
    background: url(../../img/servicios/fondo-chica-feliz.webp);
    background-size: cover;
    background-position: top;
}

.seccion-ninofeliz{
    position: relative;
    top: -10vh;
}


.img-ninofeliz {
    -webkit-transform: rotate(354deg);
    border-radius: 100px;
    width: 100%;
}


.card-ninofeliz {
    border-radius: 100px;
    -webkit-transform: rotate(6deg);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: #FF9080;
    border: 0px;
    margin: 0px;
    box-shadow: none;
}

.texto-ninofeliz {
    font-size: 50px;
    color: white;
    font-weight: bold;
    text-align: center;
    font-family: Nunito;
    margin: 0;
    text-align: left;
    font-weight: 700;
}


.poligono-imagen {
    width: 100%;
    margin-top: 5px;
    animation: levitar 5s infinite;
}


@keyframes levitar {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(30px); /* Ajusta la altura según lo desees */
    }
    100% {
        transform: translateY(0);
    }
}



.fondoServiciosAgape {
    background: url(../../img/servicios/fondo.png);
    background-size: cover;
}



.card1, .card2, .card3, .card4, .card5, .card6 {
    padding: 10%;
    border-radius: 50px;
    width: 90%;
    margin: auto;
    height: auto;
    border: none;
    margin-bottom: 5%;
}


.card1 {
    background-color: #FF9080;
}
.card2 {
    background-color: #3360AA;
}
.card3 {
    background-color: #E51A31;
}
.card4{
    background-color: #1B9F68;
}
.card5{
    background-color: #4497D3;
}
.card6{
    background-color: #1AAF9B;
    
}

.imagenes-cards {
    width: 50%;
    margin: auto;
    padding-bottom: 10%;
}

.AutismoNeurodesarrolloProgresoTitulo {
    font-family: Just;
    text-align: center;
    color: white;
    font-size: 40px;
    padding-bottom: 5%;
}

.AutismoNeurodesarrolloProgresoTexto {
    color: white;
    font-size: 30px;
    font-family: Nunito;
    text-align: left;
    font-weight: 400;
}

.cardNegritas{
    font-weight: 700;
    margin-top: 10px;

}
.cardNegritasP{
    padding-top: 1%;
}
.row.jovenFeliz {
    padding-top: 5vh;
}

.fondoinferiorServicios {
    background: url(../../img/servicios/fondoInferior.png);
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
}

.AutismoNeurodesarrolloProgresoTexto {
    position: relative;
    max-height: 100px; /* Ajusta este valor según el tamaño del contenedor */
    overflow: hidden;
    transition: max-height 0.3s ease; /* Suaviza la transición al mostrar más texto */
}

.more-text {
    display: block;
}

.show-more {
    max-height: none; /* Elimina el límite de altura cuando se muestra más texto */
}

.toggle-button {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    font-size: 18px;
    font-weight: 800;
    justify-content: center;
    padding-top: 5%;
}

.toggle-button:hover {
    font-weight: bold;
}


.toggle-text {
    margin-right: 10px; /* Espacio entre el texto y el símbolo "+" */
}

.toggle-icon {
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    line-height: 100%;    
    border-radius: 50%;
    background-color: white;
    color: #3360AA;
    font-size: 25px;
    font-weight: bold;
}


.alturaCardsServicios{
    height: 25vh;
}
.alturaCardsServicios2{
    height: 21vh;

} 

.alturaFoot{
    height: 5vh;
}



.img-ninofeliz {
    -webkit-transform: rotate(354deg);
    border-radius: 100px;
    width: 100%;
}

.img-ninofeliz:hover{
    cursor: pointer;
    -webkit-transform: rotate(0deg);
}

.card-ninofeliz:hover{
    cursor: pointer;
    -webkit-transform: rotate(0deg);
}

@media (max-width:1800px) {
    .textoSecc {
        font-size: 30px;
    }
    .texto-ninofeliz {
        font-size: 25px;     
    }
}


@media (max-width:1400px) {
    .textoSecc {
        font-size: 21px;
    }
    .texto-ninofeliz {
        font-size: 25px;
    }
    .card-secc7-2 {
        width: 61vh;
        height: 100vh;
        left: 18vh;
    }
    .encabezadoAutismoNeurodesarrolloProgreso {
        font-size: 40px;
    }
    .alturasegundaseccion2 {
        height: 15vh;
    }

}


@media (max-width:799px) {
    .image-banner {
        background: url(../../img/servicios/banner_servicios_movil.png);
        background-size: cover;
    }

    
    .fondoServiciosAgape {
        background: url(../../img/servicios/fondo-movil.webp);
        background-size: cover;
    }

    .text-banner {
        font-size: 60px;
        padding-top: 0vh;
    }

    .texto-Bann {
        font-size: 18px;
        width: 90%;
        border-radius: 20px;
        padding: 2%;
        line-height: 26px;
        text-align: center;
    }

    .img-ninofeliz {
        -webkit-transform: rotate(354deg);
        border-radius: 30px;
        width: 80%;
        float: right;
    }

    .img-ninofeliz:hover{
        -webkit-transform: rotate(354deg);
    }

    .card-ninofeliz {
        border-radius: 30px;
        width: 80%;             
        float: left;

    }
    .card-ninofeliz:hover{
        -webkit-transform: rotate(6deg);

    }
    .texto-ninofeliz {
        font-size: 13px;
        padding: 5% !important;
        padding-left: 8% !important;
    }
    .AutismoNeurodesarrolloProgresoTitulo {
        font-size: 25px;
    }

    .AutismoNeurodesarrolloProgresoTexto {
        font-size: 20px;
    }
    .card1, .card2, .card3, .card4, .card5, .card6 {
        padding: 5%;
        border-radius: 15px;
        width: 80%;
        height: auto;
    }
    .espacio-cards-movil {
        padding-top: 6% !important;
        padding-bottom: 0px !important;
    }

    .alturasegundaseccion {
        height: 15vh;
    }

    .alturasegundaseccion2 {
        height: 5vh;
    }
    .alturaCardsServicios {
        height: 15vh;
    }
   
    
    .botonAzul {
        padding-left: 0% !important;
        padding-right: 0% !important;
        padding-bottom: 0px !important;
        padding-top: 10% !important;
        z-index: 1000;
    }
    .jovenFeliz{
        padding-top: 5%;
    }
}






@media (max-width: 699px) {
    .card-secc7-2 {
        width: 19vh;
        height: 22vh;
        left: 9vh;
    }       
    .agapeBotonEsc{
        display: none;
    }
    .alturaPrimerseccion {
        height: 0vh;
    }
    .texto-ninofeliz {
        font-size: 13px;
    }
    .encabezadoAutismoNeurodesarrolloProgreso {
        font-size: 20px;
    }
    .seccion-ninofeliz2 {
        top: 7vh;
    }
}


@media (max-width:500px) {
    section#Servicios-Agape {
        position: relative;
        top: -5vh;
    }
    section#niniaFeliz {
        padding-top: 5vh;
    }
    
    
}