*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

nav{
    padding: 10px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgb(223,255,223);
    background: linear-gradient(90deg, rgba(223,255,223,1) 0%, rgba(255,221,233,1) 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 101;
}

nav img{
    width: 140px;
}

nav a{
    cursor: pointer;
}

nav ul{
    display: flex;
    align-items: center;
    gap: 50px;
    list-style: none;
    margin-bottom: 0px;
    position: relative;
}

nav ul li a{
    color: black;
    text-decoration: none;
    font-weight: 600;
}

nav ul li{
    display: flex;
    flex-direction: column;

}

.lineaConocenos{
    width: 0%;
    height: 2px;
    background: rgb(242,62,118);
    background: linear-gradient(83deg, rgba(242,62,118,1) 0%, rgba(69,191,69,1) 100%);
    transition: all 0.5s;
}

.lineaServicios{
    width: 0%;
    height: 2px;
    background: rgb(242,62,118);
    background: linear-gradient(83deg, rgba(242,62,118,1) 0%, rgba(69,191,69,1) 100%);
    transition: all 0.5s;
}

.lineaNuestroEspacio{
    width: 0%;
    height: 2px;
    background: rgb(242,62,118);
    background: linear-gradient(83deg, rgba(242,62,118,1) 0%, rgba(69,191,69,1) 100%);
    transition: all 0.5s;
}

.lineaContacto{
    width: 0%;
    height: 2px;
    background: rgb(242,62,118);
    background: linear-gradient(83deg, rgba(242,62,118,1) 0%, rgba(69,191,69,1) 100%);
    transition: all 0.5s;
}

.menuMobile{
    display: none;
}

.botonMenu{
    display: none;
}

.botonMenu i{
    cursor: pointer;
    font-size: 40px;
}

.header{
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 10%;
    flex-wrap: wrap;
}


.headerTexto{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 40%;

}

.headerVideo{
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.headerVideo video{
    width: 80%;
}

.headerTexto h1{
    color: black;
    font-weight: 300;
    font-size: 80px;
}

.headerTexto span{
    color: #F23E76;
    font-weight: 300!important;
}

.headerTexto small{
    font-size: 18px;
}

.seccionUno{
    padding: 60px 10%;
    background: rgb(223,255,223);
    background: linear-gradient(0deg, rgba(223,255,223,1) 0%, rgba(255,221,233,1) 100%);  
    display: flex;
    flex-direction: column;
    align-items: center;  
}

.tituloSeccionUno{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
}

.videoTexto{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: -250px;
}

.tituloSeccionUno h2{
    color: black;
    font-weight: 600;
    text-align: end;
    margin-bottom: 20px;
    margin-right: 100px;
    font-family: 'Gochi Hand', cursive;
    font-size: 40px;
}

.tituloSeccionUno h2 strong{
    color: #45BF45;
    font-family: 'Gochi Hand', cursive;
}

.tituloSeccionUno h2 strong span{
    color: #F23E76;
    font-family: 'Gochi Hand', cursive;
}

.seccionUno iframe{
    width: 100%;
    height: 720px;
    border-radius: 50px;
    -webkit-box-shadow: 0px 0px 15px -2px #000000; 
    box-shadow: 0px 0px 15px -2px #000000;
}



.seccionTarjeta{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.seccionTarjetaTitulo{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seccionTarjetaTitulo h2{
    color: black;
    font-weight: 600;
    margin-top: 80px;
    font-family: 'Gochi Hand', cursive;
    text-align: center;
}

.seccionTarjetaTitulo h2 strong{
    font-family: 'Gochi Hand', cursive;
}

.cardBarbara{
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: 150px;
}

.cardBarbara .front{
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: 0.5s all;
    border-radius: 50px;
    -webkit-box-shadow: 0px 0px 15px -8px #000000; 
box-shadow: 0px 0px 15px -8px #000000;
}


.front{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 50px 10%;
    background: rgb(223,255,223);
    background: linear-gradient(0deg, rgba(223,255,223,1) 0%, rgba(255,221,233,1) 100%);  
    transform: perspective(500px) rotateY(0deg);
}

.frontTexto{
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.frontTexto h3{
    font-size: 35px;
}

.frontTexto small{
    text-align: end;
    font-size: 15px;
}

.frontTexto ul{
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 15px;
}

.front img{
    position: absolute;
    margin-left: 250px;
    left: 0;
    bottom: 0;
    height: 550px;
}

@media screen and (min-width: 1773px){
    .informacionBarbara {
        width: 50%!important;
        font-size: 14px;
    }
}


@media screen and (max-width: 1773px){
    .front img{
        margin-left: 100px;
    }
}

.back{
    background-color: white;
    display: flex;
    height: max-content;
    align-items: center;
    justify-content: center;
    padding: 14px 10%;
}

.back h3{
    font-weight: 400;
    font-size: 15px;
    line-height: 40px;
    text-align: center;
}

.informacionBarbara{
    display: none;
    text-align: center;
    transition: all 0.5s;
    line-height: 25px;
    width: 60%;
}

/* .cardBarbara:hover .front{
    transform: perspective(500px) rotateY(180deg);
}

.cardBarbara:hover{
    margin-top: 50px;
}

.cardBarbara:hover .back{
    transform: perspective(500px) rotateY(360deg);
} */

.infoBarbara{
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 1;
    transition: all 0.5s;
    align-items: flex-end;
}

.botonesBarbara{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-end;
}

.botonVolver{
    display: none!important;
}

.desactivarBotonVolver{
    display: none!important;
}

.activarBotonVolver{
    display: flex!important;
    align-items: center;
    gap: 15px;
}

.desactivarBotonInfo{
    display: none!important;
}

.activarBotonInfo{
    display: flex!important;
    align-items: center;
    gap: 15px;
}


.botonBarbara{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 10px;
    color: white;
    background-color: #C9C0FF;
    cursor: pointer;
}

.botonBarbara i{
    font-size: 25px;
}

.seccionTarjetas{
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
}

.profesionalCard{
    position: relative;
    width: 350px;
    height: 370px;
    border-radius: 50px;
}


.profesionalCard .front{
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100%;
    height: 100%;
    /* backface-visibility: hidden; */
    transition: 0.5s all;
    border-radius: 50px;
    -webkit-box-shadow: 0px 0px 15px -8px #000000; 
box-shadow: 0px 0px 15px -8px #000000;
    border-radius: 50px;
    padding: 0px 0px!important;
    opacity: 1;
    z-index: 100;
}

.profesionalCard .front img{
    position: relative!important;
    width: 100%;
    height: 80%;
    margin-left: 0px!important;
    border-radius: 50px;
    margin-top: 20px;
}

.profesionalCard .back{
    position: absolute;
    width: 100%!important;
    height: 100%!important;
    /* backface-visibility: hidden; */
    transition: 0.5s all;
    border-radius: 50px;
    -webkit-box-shadow: 0px 0px 15px -8px #000000; 
    box-shadow: 0px 0px 15px -8px #000000;
    border-radius: 50px;
    padding: 0px 0px!important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    opacity: 0;
    z-index: 99;
}

.profesionalCard .back i{
    font-size: 60px;
    color: #F23E76;
}

.verMasContainer{
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px 0px 50px 50px;
    -webkit-backdrop-filter: blur(2rem);
    backdrop-filter: blur(1rem);
    background-color: rgb(0 0 0 / 4%);
    color: white;
    cursor: pointer;
}

/* .girarFront{
    transform: perspective(500px) rotateY(180deg);
}

.girarBack{
    transform: perspective(500px) rotateY(360deg);
} */


.modalVideo{
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: #00000000;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.modalVideo iframe{
    width: 70%!important;
    height: 70%!important;
}

.botonCerrar i{
    position: absolute;
    top: 0;
    right: 0;
    font-size: 40px;
    color: white;
    margin-right: 30px;
    margin-top: 20px;
    cursor: pointer;
}

.seccionServicios{
    display: flex;
    flex-direction: column;
}

.gradient-text {
    background: linear-gradient(#00cd00,#ff2373);
    -webkit-background-clip: text;
    color: transparent; 
    text-align: center;
}
  
.gradient-text{
    font-size: 50px;
}

.serviciosLista{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0px 10%;
}

.seccionServicios h2{
    margin-bottom: 50px;
    font-weight: 600;
}

.servicio{
    display: flex;
    flex-direction: column;
    padding: 50px 10%;
    width: 100%;
    border-top: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    transition: all 0.5s;
    border-radius: 50px;
}

.servicioTextoImagen{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.servicioTextoImagen h3{
    font-size: 34px;
}

.servicioTextoImagen img{
    height: 100px;
}


.botonServicio{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.botonServicio button{
    border: none;
    color: white;
    background-color: #C9C0FF;
    border-radius: 20px;
    padding: 10px 30px;
    width: max-content;
}

.parrafoOculto{
    display: none;
}

.parrafoOculto ul{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

/* .servicio:hover h3{
    transition: all 0.5s;
    scale: 1.2;
}

.servicio:hover img{
    transition: all 0.5s;
    scale: 1.2;
}

.servicio:hover .parrafoOculto{
    display: unset;
} */

.psicologia{
    background-color: #fdb4ff7e;
}

/* .psicologia:hover{
    background-color: #FDB4FF;
    transition: all 0.5s;
}
 */
.pedagogia{
    background-color: #86E9FF7e;
}

/* .pedagogia:hover{
    background-color: #86E9FF;
    transition: all 0.5s;
} */

.logopedia{
    background-color: #87FFDB7e;
}

/* .logopedia:hover{
    background-color: #87FFDB;
    transition: all 0.5s;
} */

.terapiaOcupacional{
    background-color: #C9C0FF7e;
}

/* .terapiaOcupacional:hover{
    background-color: #C9C0FF;
    transition: all 0.5s;
} */

.otrosServicios{
    background-color: #EDFF7E7e;
}

/* .otrosServicios:hover{
    background-color: #EDFF7E;
    transition: all 0.5s;
}
 */
.seccionNuestroEspacio{
    margin-top: 80px;
    padding: 0px 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.seccionNuestroEspacio h2{
    margin-bottom: 30px;
    font-weight: 600;
}

.carousel {
    width: 100%;
 
}

.carousel-inner {
    height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.imagenItem{
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.seccionContacto{
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.seccionContacto h2{
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
}

.agradecimientoContainer{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    background: rgb(239,239,239);
    background: linear-gradient(83deg, rgba(239,239,239,1) 0%, rgba(255,255,255,1) 100%);
    width: 100%;
}


.agradecimientoTexto{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 60%;
}

.agradecimientoTexto h3{
    font-size: 50px;
    font-weight: 600;
    text-align: center;
}

.agradecimientoContainer p{
    text-align: center;
}

.imagenContainer{
    background-color: #FFF4F4;
    padding: 40px 80px;
    border-radius: 80px 0px 0px 80px;
    width: 40%;
}

.imagenContainer img{
    height: 200px;
}

.cardsContacto{
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    gap: 20px;
    margin-top: -31px;
    flex-wrap: wrap;
}

.cardContacto{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 50px;
    border-radius: 30px;
    -webkit-box-shadow: 0px 0px 15px -8px #000000; 
    box-shadow: 0px 0px 15px -8px #000000;
    background-color: white;
    text-decoration: none;
    color: black;
}

.cardContacto i{
    font-size: 50px;
}

.cardContacto strong{
    font-size: 22px;
    text-align: center;
}

.cardContacto small{
    font-size: 18px;
    
    text-align: center;
}

.mensajeFinal{
    text-align: center;
    font-weight: 400;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 60%;
}

.redesContainer{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 15px;
    background-color: #D9D9D9;
    width: 100%;
}

.redesContainer a{
    text-decoration: none;
    color: black;
}

.redesContainer a i{
    font-size: 40px;
}

.redesContainer .ig i:hover{
    color: #F2167D;
    transition: all 0.5s;
}

.redesContainer .fc i:hover{
    color: #0C87F2;
    transition: all 0.5s;
}

.redesContainer .wp i:hover{
    color: green;
    transition: all 0.5s;
}

.imagenCarrouselModal{
    height: 90%;
}

.cardContacto a{
    text-decoration: none;
    color: black;
}

.containerCreadoPor{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.containerCreadoPor a{
    text-decoration: none;
    color: black;
}

.containerCreadoPor small{
    text-align: center;
}

@media screen and (max-width: 1213px){
    .imagenContainer img {
        height: 140px;
    }
    .agradecimientoTexto h3 {
        font-size: 40px;
        font-weight: 600;
        text-align: center;
    }
}

@media screen and (max-width: 1003px){
    .agradecimientoTexto {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        width: 100%;
        padding: 40px;
    }
    .imagenContainer {
        display: flex;
        background-color: #FFF4F4;
        padding: 50px 80px;
        border-radius: 0px 0px 0px 80px;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
}

@media screen and (max-width: 1573px){
    .front img{
        margin-left: 50px;
        height: 450px;
    }
}

@media screen and (max-width: 1557px){
    .videoTexto {
        margin-top: -180px;
    }
}


@media screen and (max-width: 1373px){
    .cardBarbara{
        margin-top: 50px;
    }
    .front img{
        margin-left: 15px;
        height: 400px;
    }
    .frontTexto h3{
        font-size: 25px;
        text-align: end;
    }
    
    .frontTexto small{
        text-align: end;
        font-size: 15px;
    }
    
    .frontTexto ul{
        display: flex;
        flex-direction: column;
        gap: 25px;
        margin-top: 15px;
    }
    .front{
        padding: 50px 5%;
    }
}

@media screen and (max-width: 1219px){
    .frontTexto ul li{
        font-size: 12px;
    }
}

@media screen and (max-width: 1181px){
    .videoTexto {
        margin-top: -129px;
    }
}


@media screen and (max-width: 1025px){
    .cardBarbara{
        height: 100%;
    }
    .cardBarbara .front{
        flex-direction: column;
        height: max-content;
        padding-top: 50px!important;
        padding-bottom: 0px!important;
        padding-left: 50px!important;
        padding-right: 50px!important;
    }
    .infoBarbara {
        display: flex;
        flex-direction: column;
        gap: 20px;
        opacity: 1;
        transition: all 0.5s;
        align-items: center;
    }
    .frontTexto h3 {
        font-size: 25px;
        text-align: center;
    }
    .cardBarbara .back{
        height: max-content;
    }

    .cardBarbara .back h3{
        font-size: 15px;
    }
    .front img{
        position: relative;
    }
    .informacionBarbara {
        width: 100%;
    }
    .botonesBarbara {
        align-items: center;
        justify-content: center;
    }
}


@media screen and (max-width: 953px){
    .videoTexto {
        margin-top: -75px;
    }
    .tituloSeccionUno h2 {
        margin-bottom: 20px;
        margin-right: 20px;
        font-size: 25px;
    }
    .waveUno{
        margin-bottom: -30px!important;
    }
    .seccionTarjetas {
        align-items: center;
        justify-content: center;
    }
    .seccionUno iframe{
        width: 100%;
        height: 450px;
    }
    .modalVideo iframe{
        width: 80%!important;
        height: 60%!important;
    }
}

@media screen and (max-width: 881px){
    .imagenCarrouselModal{
        height: 70%;
    }
}

@media screen and (max-width: 857px){
    .menuMobile{
        display: unset;
        background-color: white;
        width: 100%;
        padding: 20px;
        position: fixed;
        top: 0;
        margin-top: 78px;
        z-index: 101;
        -webkit-box-shadow: 0px 16px 15px 0px rgba(0,0,0,0.28); 
        box-shadow: 0px 16px 15px 0px rgba(0,0,0,0.28);
        transition: 0.5s all;
        transform: translateX(-100vw);
    }
    .menuMobile ul{
        display: flex;
        flex-direction: column;
        align-items: start;
        list-style: none;
        gap: 50px;
    }
    .menuMobile ul li{
        border-bottom: 1px solid lightgray;
        padding-bottom: 10px;
        width: 100%;
    }
    .menuMobile ul li a{
        color: black;
        text-decoration: none;

    }
    .botonMenu{
        display: unset;
    }
    .menuDesktop{
        display: none;
    }
    .headerTexto{
        width: 100%;
    }
    .headerTexto br{
        display: none;
    }
    .waveUno{
        margin-bottom: -45px;
    }
    .headerVideo {
        width: 100%;
    }
}

@media screen and (max-width: 820px){
    .servicioTextoImagen {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .botonServicio {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .botonServicio button {
        margin-bottom: 20px;
    }
    .servicioTextoImagen h3 {
        font-size: 34px;
        text-align: center;
    }
}

@media screen and (max-width: 707px){
    .seccionUno {
        padding: 60px 5%;
    }
    .header{
        padding-right: 10%!important;
        padding-left: 10%!important;
        padding-top: 60px!important;
        padding-bottom: 0px!important;
    }
}

@media screen and (max-width: 625px){
    .informacionBarbara {
        font-size: 15px;
    }
}

@media screen and (max-width: 643px){
    .imagenCarrouselModal {
        height: auto;
        width: 100%;
    }
    .modalVideo iframe{
        width: 90%!important;
        height: 35%!important;
    }
    .cardContacto {
        padding: 40px;
        margin: 0px 30px;
    }
}

@media screen and (max-width: 585px){
    .headerTexto h1{
        font-size: 50px;
    }
    .carousel-inner {
        border-radius: 50px;
        height: 400px;
    }
    .servicioTextoImagen {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .headerTexto small {
        font-size: 13px;
    }
}

@media screen and (max-width: 577px){
    .botonesBarbara {
        width: 100%;
        display: flex;
        gap: 15px;
        justify-content: center;
        align-items: center;
    }
    .botonBarbara{
        font-size: 15px;
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 10px;
            border-radius: 10px;
            color: white;
            background-color: #C9C0FF;
            cursor: pointer;
    }

    .botonBarbara i{
        font-size: 15px;
    }
}

@media screen and (max-width: 530px){
    .seccionUno iframe{
        width: 100%;
        height: 252px;
    }
    .seccionServicios h2 {
        font-size: 35px;
    }
    .seccionNuestroEspacio h2 {
        font-size: 35px;
    }
    .seccionContacto h2 {
        font-size: 35px;
    }
}

@media screen and (max-width: 491px){
    .waveUno{
        margin-bottom: -16px!important;
    }
}


@media screen and (max-width: 441px){
    .cardBarbara .back h3 {
        font-size: 13px;
    }
    .servicioTextoImagen h3 {
        font-size: 24px;
    }
}


@media screen and (max-width: 375px){
    .informacionBarbara {
        font-size: 13px;
    }
    .cardBarbara .front {
        flex-direction: column;
        height: max-content;
        padding-top: 50px!important;
        padding-bottom: 0px!important;
        padding-left: 20px!important;
        padding-right: 20px!important;
    }
}
