@import url('https://fonts.googleapis.com/css2?family=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');
}

/*CAROUSEL PRIMER SECCION*/
    .carousel-fade .carousel-item {
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }
    .carousel-fade .carousel-item.active {
        opacity: 1;
    }
    .carousel-item {
        position: relative; 
    }
    .small-image {
        position: absolute;
        top: 50%; 
        left: 5%;
        transform: translateY(-50%);
        width: 20%;
        height: auto;
        animation: levitar 2s infinite;

    }
    .small-image:hover{
        cursor: pointer;
        width: 19%;
    }
 
   
    @keyframes levitar {
        0% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(10px); /* Ajusta la altura según lo desees */
        }
        100% {
            transform: translateY(0);
        }
    }
    .imgInicio1 {
        content: url("../../img/inicio/AGAPE_BANNER_1.webp");
    }
    .imgInicio2 {
        content: url("../../img/inicio/AGAPE_BANNER_2.webp");
    }
    .imgInicio3 {
        content: url("../../img/inicio/AGAPE_BANNER_3.webp");
    }
    @media screen and (max-width: 756px) {
        .imgInicio1 {
            content: url("../../img/inicio/banners_movil_1.webp");
        }
        .imgInicio2 {
            content: url("../../img/inicio/banners_movil_2.webp");
        }
        .imgInicio3 {
            content: url("../../img/inicio/banners_movil_3.webp");
        }
    }

/*PRIMER SECCIÓN*/
    .seccion-ninofeliz{
        position: relative;
        top: -10vh;
    }
    .alturaPrimerseccion {
        height: 38vh;
    }
    .alturaPrimerseccionsegundaparte {
        height: 35vh;
    }
    .textoSecc {
        color: #FFFFFF;
        font-size: 35px;
        text-align: left;
        font-weight: 600;
        font-family: Nunito;
    }
    .fondoAutismoNeurodesarrollo {
        background: url(../../img/inicio/autismo-desarrollo-fondo.png);
        background-size: cover;
        background-position: right;
    }
    .imgninoautismoynuerodesarrollo {
        padding-top: 5vh;
        width: 100%;
    }
    .img-ninofeliz {
        -webkit-transform: rotate(354deg);
        border-radius: 100px;
        width: 100%;
    }
    .img-ninofeliz:hover{
        cursor: pointer;
        -webkit-transform: rotate(0deg);
    }
    .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;
    }
    .card-ninofeliz:hover{
        cursor: pointer;
        -webkit-transform: rotate(0deg);
    }
    .texto-ninofeliz{
        font-size: 50px;
        color: white;
        font-weight: bold;
        text-align:center;
        font-family: Nunito;
        margin: 0; /* Opcional: elimina márgenes si es necesario */
        text-align: left; /* Opcional: centra el texto horizontalmente */
        font-weight: 700;
    }
    .poligono-imagen {
        margin-top: 5px;
        width: 100%;
        animation: levitar 5s infinite;
    }
    .poligono-imagen:hover{
        -webkit-transform: rotate(180deg);
    }
    /*BOTÓN - BOTÓN - BOTÓN - BOTÓN - BOTÓN - BOTÓN*/
    .seccion-ninofeliz2{
        position: relative;
        top: -8vh;
    }
    /*DESARROLLO DEL AUTISMO*/
    .encabezadoAutismoNeurodesarrolloProgreso {
        text-align: center;
        color: white;
        font-size: 60px;
        font-family: 'Nunito';
        font-weight: 700;
    }
    .alturasegundaseccion{
        height: 35vh;
    }
    .alturasegundaseccion2 {
        height: 35vh;
    }
    .fondoAutismoNeurodesarrolloProgreso {
        background: url(../../img/inicio/fondoAutismoNeurodesarrolloProgreso.webp);
        background-repeat: no-repeat;
        background-size: cover;
    }
    .imagenes-cards{
        width: 50%;
        margin: auto;
        padding-bottom: 10%;
    }
    .card1{
        background-color: #FF9080;  
    }

    .card2{
        background-color: #22C4B0;  
    }

    .card3{
        background-color: #FCC417;  
    }

    .card4{
        background-color: #81B4D9;  
    }
    .card5{
        background-color: #1B9F68;
    }
    .card6{
        background-color: #3360AA;
    }
    .card1, .card2, .card3, .card4, .card5, .card6 {
        padding: 5%;
        border-radius: 50px;
        width: 90%;
        margin: auto;
        height: 45rem;
        border: none;
    }
    .AutismoNeurodesarrolloProgresoTitulo{
        font-family: Just;
        text-align: center;
        color: white;
        font-size: 38px;
        padding-bottom: 5%;
    }
    .AutismoNeurodesarrolloProgresoTexto{
        color: white;
        font-size: 28px;
        font-family: Nunito;
        text-align: left;
        font-weight: 300;
    }



    /********************CARROUSEL*********************/
 
    .owl-prev {
        background: none; /* Elimina el fondo por defecto */
        border: none;
        cursor: pointer;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
        display: flex; /* Para centrar el triángulo en el botón */
        align-items: center;
        justify-content: center;
        font-size: 0; /* Elimina el texto */
        left: 10px; /* Ajusta según sea necesario */
        content: none; /* Elimina cualquier contenido */
    }
    .owl-prev::before {
        content: '';
        display: block;
        position: absolute;
        border-style: solid;
        width: 0;
        height: 0;
        border-width: 1em;
        border-color: transparent #fff transparent transparent;
    }
    .owl-next {
        background: none; /* Elimina el fondo por defecto */
        border: none;
        cursor: pointer;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
            display: flex; /* Para centrar el triángulo en el botón */
        align-items: center;
        justify-content: center;
        font-size: 0; /* Elimina el texto */
        right: 10px; /* Ajusta según sea necesario */
    }
    .owl-next::before {
        content: '';
        display: block;
        position: absolute;
        border-style: solid;
        width: 0;
        height: 0;
        border-width: 1em;
        border-color: transparent transparent transparent #fff; /* Triángulo derecho */
    }
    .owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot {
        color: transparent;
      
    }
    
      /*******************/
    .card-secc7 {
        border-radius: 100px;
        -webkit-transform: rotate(6deg);
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        background-color: #FF9080;
        z-index: 1000;
    }
    .card-secc7-2 {
        border-radius: 100px;
        -webkit-transform: rotate(6deg);        
        display: flex;
        justify-content: center;
        align-items: center;
        width: 58vh;
        height: 83vh;
        background-color: #FCC417;
        position: absolute;
        z-index: 1;
        left: 30vh;    
    }
    section#cardPreguntas {
        position: relative;
        top: -15vh;
        z-index: 1;
    }
    @media (max-width:1950px){
        .card-secc7-2 {
            width: 46vh;
            height: 59vh;
            left: 17vh;
        }
    }
    @media (max-width:1800px) {
            .textoSecc {
                font-size: 30px;
            }
            .texto-ninofeliz {
                font-size: 25px;     
            }
    }
    @media (max-width:1400px) {
        section#cardPreguntas {
            top: -5vh;
        }
        .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: 1000px) {
        .agapeBotonEsc{
            display: none;
        }
        .small-image {
            top: 50%;
            width: 30%;
        }
        .fondoAutismoNeurodesarrollo {
            background: url(../../img/inicio/autismo-desarrollo-fondo-movil.webp);
            background-size: cover;
        }
        .textoSecc {
            font-size: 20px;
        }
        .alturaPrimerseccion {
            height: 13vh;
        }
        .alturaPrimerseccionsegundaparte {
            height: 0vh;
        }
        .seccion-ninofeliz {
            position: relative;
            top: 5vh;
        }
        .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: 20px;
            padding: 5% !important;
            padding-left: 8% !important;
        }
        .boton-agendarCita{
            width: 100%;
            background-color: #2A57A4;
            font-size: 15px;
            color: white;
            height: 30px;
            line-height: 15px;
        }
        .boton-agendarCita:hover {
            width: 99%;
            background-color: #2A57A4;
            font-size: 14px;
            color: white;
        }
        .seccion-ninofeliz2 {
            position: relative;
            top: 6vh;
            padding-bottom: 5vh;
        }
        .fondoAutismoNeurodesarrolloProgreso {
            background: url(../../img/inicio/fondoAutismoNeurodesarrolloProgreso-movil.webp);
            background-repeat: no-repeat;
            background-size: auto;
        }
        .encabezadoAutismoNeurodesarrolloProgreso {
            font-size: 30px;
        }
        .AutismoNeurodesarrolloProgresoTitulo {
            font-size: 25px;
        }
        .AutismoNeurodesarrolloProgresoTexto {
            font-size: 20px;
        }
        .card1, .card2, .card3, .card4, .card5, .card6 {
            padding: 5%;
            border-radius: 15px;
            width: 80%;
            height: 100%;
        }
        .espacio-cards-movil {
            padding-top: 6% !important;
            padding-bottom: 0px !important;
        }
        .alturasegundaseccion {
            height: 15vh;
        }
        .alturasegundaseccion2 {
            height: 5vh;
        }
        .card-secc7-2 {
            width: 38vh;
            height: 26vh;
            left: 8vh;
        }
        .content-form {
            margin-top: 9%;
        }
        .espcio{
            display: none;
        }
        .imagenes-cards{
            width: 30%;
        }
        .card-secc7 {
            border-radius: 30px;
            padding: 10%;
            margin-bottom:10%;
        }
        .card-secc7-2 {
            border-radius: 30px;
            -webkit-transform: rotate(8deg);
            display: flex;
            justify-content: center;
            align-items: center;
            width: 34vh;
            height: 22vh;
            background-color: #FCC417;
            position: absolute;
            z-index: 100;
            left: 17vh;
        }
    }
    @media (max-width: 799px){
        .card-secc7-2 {
            width: 39vh;
            height: 27vh;
            left: 16vh;
        }
        section#cardPreguntas {
            top: -1vh;
        }
    }
    @media (min-width:700px) {
        .agapeBotonMov{
            display: none;
        } 
    }
    @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;
        }
    }