@font-face {
    font-family: 'Roboto Regular';
    src: url('./fonts/Roboto-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
  }

@font-face {
    font-family: 'Nunito Semibold';
    src: url('./fonts/Nunito-SemiBold.ttf') format('truetype');
  }

:root{
    --padding-container: 50px 0;
    --color-title: rgba(0, 137, 123, 1);
}


body{
    font-family: sans-serif !important;
}

a{
    color: #ffffff !important;
    text-decoration: none !important;
}

/* index y estilos reutilizables */

.container{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);
}

.nav-menu{
    --padding-container:0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 1rem;
}

.mobile{
    display: none;
}

.header{
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    position: relative;
    display: grid;
    grid-template-rows: 125px 1fr;
    color: #fff;
}

.header::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0000008c 0%, #0000008c 100%), url(../img/portada1.jpg) no-repeat center center fixed;
    background-size: cover;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    z-index: -1;
}

/* Menu de navegación */

.nav{
    --padding-container: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav__title{
    font-weight: 300;
}

.nav__link{
    margin-left: auto;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 2em;

}

.nav__items{
    list-style: none;
    color: #fff;
    text-decoration: none;
    --clippy: polygon(0 0, 0 0, 0 100%, 0% 100%);
}

.nav__items::after{
    content: "";
    display: block;
    background: #fff;
    width: 90%;
    margin-top: 3px;
    height: 3px;
    clip-path: var(--clippy);
    transition: clip-path .5s;
}

.nav__items:hover{
    --clippy:polygon(0 0, 100% 0, 100% 100%, 0 100%);
    color: #fff;
}

.nav__links {
    color: #fff;
    text-decoration: none;
}

.nav__links:hover{
    color: #fff;
}

.nav__img{
    display: block;
    width: 30px;
}

.nav__menu{
    margin-left: auto;
    cursor: pointer;
    display: none;
}

.nav__close{
    display: var(--show, none);
}


/* Encabezado */

.header__container{
    max-width: 800px;
    display: grid;
    --padding-container: 0;
    grid-auto-rows: max-content;
    align-content: center;
    gap: 1em;
    padding-bottom: 100px;
    text-align: center;
}

.header__title{
    font-size: 3rem;
}

.header__paragraph{
    margin-bottom: 20px;
}

.cta{
    display: inline-block;
    background-color: rgba(0, 137, 123, 1);
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 30px;
}

/* About */

.about {
    text-align: center;
}

.subtitle {
    color: var(--color-title);
    font-size: 2rem;
    margin-bottom: 25px;
}


.about__paragraph {
    line-height: 1.7;
}

.about__main {
    padding-top: 80px;
    display: grid;
    width: 90%;
    margin: 0 auto;
    gap: 1em;
    overflow: hidden;
    grid-template-columns: repeat(auto-fit, minmax(260px, auto));
}


.about__icons {
    display: grid;
    gap: 1em;
    justify-items: center;
    width: 260px;
    overflow: hidden;
    margin: 0 auto;
}

.about__icon {
    width: 40px;
}

/* Primera sección/Introducción */

.introduction-section {
    background-color: #e5e5f7;
    background-position: 0 0, 10px 10px;
    overflow: hidden;
}

.introduction__container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    align-items: center;
}

.introduction__picture{
    max-width: 500px;
}

.introduction__paragraph{
    line-height: 1.7;
    margin-bottom: 15px;
}

.introduction__img{
    width: 100%;
    display: block;
}


/* sección psicología */


.section-psicologia{
    min-height: 420px;
    background: linear-gradient(180deg, #0000008c 0%, #0000008c 100%),
    url(../img/consultorio1.jpg) no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.8rem;
}

.section-psicologia > .title {
    display: flex;
    font-size: 2.5rem;
}

.texto {
    line-height: 30px;
    font-weight: 500;
    font-size: 16px;
    padding: 20px 20px 20px 0px;
}

/* Sección talleres/workshops */

.workshops{
    margin: 1.5rem;
}

.workshops__subtitle{
    text-align: center;
}

.title__workshops{
    text-align: center;
}

.workshops__container{
    display: grid;
    gap: 2em;
    padding-top: 50px;
    padding-bottom: 100px;
}

.workshops > h4 {
    text-align: center;
}

.workshops__padding{
    padding: 0;
    transition: padding .3s;
    border: 1px solid rgba(0, 137, 123, 1);
    border-radius: 6px;
}

.workshops__padding--add{
    padding-bottom: 30px;
}

.workshops__answer{
    padding: 0 30px 0;
    overflow: hidden;
}

.workshops__title{
    text-align: left;
    display: flex;
    font-size: 20px;
    padding: 30px 0 30px;
    cursor: pointer;
    color: var(--color-title);
    justify-content: space-between;
}

.workshops__arrow{
    border-radius: 50%;
    background-color: var(--color-title);
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
    margin-left: 10px;
    transition:  transform .3s;
}

.workshops__arrow--rotate{
    transform: rotate(180deg);
}

.workshops__show{
    text-align: left;
    height: 0;
    transition: height .3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.workshops__img{
    display: block;
}

.workshops__copy{
    width: 60%;
    margin: 0 auto;
    margin-bottom: 30px;
}

.workshops__paragraph {
    font-weight: 600;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.taller-text-web:hover{
    font-weight: bold;
}

.taller-text-mobile{
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.taller-text-mobile

.taller-tamaño{
    height: 300px;
}

.carousel-item{
    height: auto;
}

.item{
    display: flex;
    align-items: center;
}

.item > span{
    padding-right: 10px;
}

.texto > i{
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255,  0.2);
    margin: 0 10px 0 10px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}

.seccion-personas{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 2em 0;
}

.persona{
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 250px;
    border-radius: 50%;
    justify-content: center;
    color: #fff;
}

.persona > img {
    height: 100px;
    width: 100px;
    border-radius: 50%;
}

.persona > h4{
    margin-top: 15px;
}

.persona > h4, .persona > p{
    text-align: center;
    padding: 10px;
    font-size: 20px;
}


.btn-taller{
    text-align: center;
}

/* sección psicopedagogía */

.section-psicopedagogia{
    min-height: 420px;
    background: linear-gradient(180deg, #0000008c 0%, #0000008c 100%),
    url(../img/consul-psicopedagogia.jpg) no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.8rem;
}

.section-psicopedagogia > .title {
    display: flex;
    font-size: 2.5rem;
}

.section-psicopedagogia > .texto {
    line-height: 30px;
    font-weight: 500;
    font-size: 16px;
    padding: 20px 20px 20px 0px;
}


/* Nuestro Equipo */

#team{
    background-color: #e5e5f7;
}

.team__container{
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    gap: 1em;
    align-items: center;
}

.team__body{
    display: grid;
    grid-template-columns: 1fr max-content;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
    grid-column: 2/3;
    grid-row: 1/2;
    opacity: 0;
    pointer-events: none;
}


.team__body--show{
    pointer-events: unset;
    opacity: 1;
    transition: opacity 1.5s ease-in-out;
    background-color: #ddfff4;
    padding: 2rem;
    border-radius: 30px;
}

.team__img{
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 30%;
}

.team__texts{
    max-width: 700px;
}

.team__course{
    background-color: royalblue;
    color: #fff;
    display: inline-block;
    padding: 5px;
}

.team__arrow{
    width: 90%;
    cursor: pointer;
}

.team__subtitle{
    font-weight: bold; 
    font-size: 20px; 
    margin-bottom: 12px !important;
}

.team__review{
    margin-top: 20px;
    font-size: 20px;
}

/* Formulario de contacto */

.content{
    margin-right: auto;
    padding: 1.5em;
    color: #fff;
    background: #94d2bd;

}

.logo-text{
    font-size: 30px;
    padding: 15px;
}

.contact-wrapper > * {
    padding: 1em;
}

.contact-form{
    background: rgba(5, 7, 12, 0.40);
}


.contact-form form p{
    margin: 0;
    padding: 1em;
}

.contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contact-form form .block{
    grid-column: 1 / 3;
}

.contact-form form button,
.contact-form form input,
.contact-form form textarea {
    width: 100%;
    padding: 12px;
    border: none;
    background: none;
    outline: 0;
    border-bottom: 1px solid #bbbbbb;
    color: #fff;
}

.contact-form form button {
    background: #fff;
    border: 0;
    text-transform: uppercase;
    padding: 1em;
    color: #000;
    font-weight: bold;
    border-radius: 10px;
}

.contact-form form button:hover,
.contact-form form button:focus {
    cursor: pointer;
}

.contact-info{
    background: #0a9396;
}

.contact-info h4, 
.contact-info ul,
.contact-info p{
    text-align: center;
    margin: 0 0 1rem 0;
}

.contact-info ul{
    list-style: none;
    padding: 0;
}

.contact-info ul li {
    padding: .3em;
}


/* Footer de la pagina */


.footer{
    background-color: rgba(0, 137, 123, 1);
    padding: 70px 0;
}

.row-footer{
    display: flex;
    flex-wrap: wrap;
}

.container-footer{
    max-width: 1170px;
    margin: auto; 
}

.footer-col{
    width: 25%;
    padding: 0 15px;
}

.footer-col > ul {
    list-style-type: none;
}

.footer-col h4{
    color: #fff;
    font-size: 18px;
    text-transform: capitalize;
    margin-bottom: 30px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #9ccbda;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li a{
    font-size: 16px;
    text-transform: capitalize;
    text-decoration: none;
    font-weight: 300px;
    color: #ffffff;
    display: block;
    transition: all 0.3s ease;
    line-height: 30px;
}

.footer-col ul li a:hover{
    padding-left: 8px;
}

.footer-col .social-icons a{
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255,  0.2);
    margin: 0 10px 0 10px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}

.footer-col .social-icons a:hover{
    color: #24262b !important;
    background-color: #ffffff;
}

.footer-ul{
    padding-left: 0;
}

/* Media queries */

@media (max-width:800px){
    .mobile{
        display: block;
    }

    .web{
        display: none;
    }
    
    .nav__menu{
        display: block;
    }


    .nav__link--menu{
        position: fixed;
        background-color: rgba(0, 137, 123, 1);
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: .7s opacity;
    }

    .nav__link--show{
        --show: block;
        opacity:1 ;
        pointer-events: unset;
    }

    .nav__close{
        position: absolute;
        top: 30px;
        right: 30px;
        width: 30px;
        cursor: pointer;
    }

    .header__title{
        font-size: 2.5rem;
    }


    .about__main{
        gap: 2em;
    }

    .about__icons:last-of-type{
        grid-column: 1/-1;
    }


    .introduction__container{
        grid-template-columns: 1fr;
        grid-template-rows: max-content 1fr;
        gap: 3em;
        text-align: center;
    }

    .introduction__picture{
        grid-row: 1/2;
        justify-self: center;
    }

    .team__container{
        grid-template-columns: 30px 1fr 30px;
    }

    .team__body{
        grid-template-columns: 1fr;
        grid-template-rows: max-content max-content;
        gap: 3em;
        justify-items:center ;
    }


    .team__img{
        width: 200px;
        height: 200px;
        
    }

    .workshops__copy{
        width: 100%;
    }

}

@media (max-width:600px){
    .header__title{
        font-size: 2rem;
    }

    .header__paragraph{
        font-size: 1rem;
    }

    .subtitle{
        font-size: 1.8rem;
    }

    .team{
        --padding-container: 60px 0;
    }

    .team__container{
        grid-template-columns: 28px 1fr 28px;
        gap: .9em;
    }

    .team__arrow{
        width: 100%;
    }

    .team__course{
        margin-top: 15px;
    }

    .workshops__title{
        font-size: 1rem;
    }
}

@media (min-width:700px) {
    .contact-wrapper {
        display: grid;
        grid-template-columns: 2fr 1fr;
    }

    .contact-wrapper > * {
        padding: 2em;
    }

    .contact-info h4,
    .contact-info ul,
    .contact-info p {
        padding: 1em;
        text-align: left;
    }
}

@media(max-width: 767px) {

    .footer-col{
        width: 50%;
        margin-bottom: 30px;
    }
}

@media(max-width: 574px) {

    .footer-col{
        width: 100%;
    }

    
}

@media (max-width:767px){
    .seccion-personas{
        display: flex;
        flex-direction: column;
    }

    .persona{
        width: 250px;
        height: 250px;
        margin: 10px 0;
    }
}


/* otras vistas */


/* nuestro espacio */

.sub-espacio{
    display: flex;
    justify-content: center;
}

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

.contenedor-img{
    text-align: center;
}

.contenedor-img img{
    width: 450px !important;
    height: 550px !important;
    border-radius: 5px;
}

@media (max-width:767px){
    .contenedor-img img{
        width: 250px !important;
        height: 350px !important;
        border-radius: 5px;
    }

}



/* contacto */

.div-contact{
    display: flex;
    margin-top: 20px;
}

.info-contact{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 30px;
}

.subtitle-contact{
    margin: 1em 0;
}

.info-contact a{
    text-decoration: none;
    color: #000;
    margin: 10px 0px;
}

.info-contact i{
    padding: 10px;
    height: 40px;
    width: 40px;
    text-align: center;
    border-radius: 50%;
    font-size: 20px;
}

.facebook{
    color: #fff;
    background-color: #4867aa;
    padding: 10px;
    border-radius: 10px;
}

.instagram{
    color: #fff;
    background-color: #dd3e56;
    padding: 10px;
    border-radius: 10px;
}

.gmail{
    color: #fff;
    background-color: #c5221e;
    padding: 10px;
    border-radius: 10px;
}

.linkedin{
    color: #fff;
    background-color: #0a66c2;
    padding: 10px;
    border-radius: 10px;
}

.whatsapp{
    color: #fff;
    background-color: #2cd348;
    padding: 10px;
    border-radius: 10px;
}

.info-contact span{
    padding-left: 10px;
    color: #000;
}

@media (max-width:767px){
    .div-contact{
        display: flex;
        flex-direction: column;
    }
}

.green-whatsapp{
    display: flex;
    background-color: #4dc247;
    position: fixed;
    bottom: 3%;
    right: 3%;
    z-index: 1;
    width: 55px;
    height: 55px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.green-whatsapp img {
    width: 35px;
    height: 35px;
}