*:focus{
    outline: 0 !important;
}

p{ 
    margin-bottom: 0;
}

body{
    /* background: url("../images/background.9e75635bd953.png"); */
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

p, h1, h2, h3, h4, h5, h6, div, span, strong{
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

.title{
    font-size: 6.7vw;
    color: white;
    font-weight: 600;
    letter-spacing: .18em;
    line-height: 1.1em;
    margin-bottom: 1vh;
}

/* MENU */

.page__menu, .page__large__menu{
    position: fixed;
    top: 0;
    flex-direction: row;
    min-height: 50px;
    height: 50px;
    background-color: white;
}

.page__menu{
    display: flex;
    z-index: 10;
    width: 100%;
}

.open-menu-button{
    display: flex;
    align-items: center;
    width: 60px;
    background: none;
    border: none;
    padding-left: 1em;
    z-index: 10;
}

.page__menu__background{
    display: none;
}

.page__menu .menu__logo{
    padding: .7em 1.2em;
}

.menu-open, .menu-close{
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 8;
    height: 100vh;
    width: 100vw;
    background-color: white;
}

.menu-open{
    animation: openMenuBackground;
    animation-duration: 0.7s;
    animation-fill-mode: forwards;
}

.menu-close{
    animation: closeMenuBackground;
    animation-duration: 0.7s;
    animation-fill-mode: forwards;
}

.menu-open .page__list, .menu-close .page__list{
    display: flex;
    flex-direction: column;
    padding: 5em 0 3em 0;
    align-items: flex-start;
    justify-content: start;
}

.menu-open .page__list{
    animation: openMenuContent;
    animation-duration: .7s;
    animation-fill-mode: forwards;
    opacity: 0;
    top: -100px;
}

.menu-close .page__list{
    animation: closeMenuContent;
    animation-duration: .7s;
    animation-fill-mode: forwards;
    opacity: 1;
    left: 0;
}

.menu-open .page__header__bottom, .menu-close .page__header__bottom{
    align-items: center;
    margin: 0;
}

.menu-open .page__list .page__list__element p, .menu-close .page__list .page__list__element p{
    width: auto;
    padding: .5em 1.5em;
}

.is-opened{
    animation-name: openMenuButton;
    animation-duration: .7s;
    animation-fill-mode: forwards;
}

.is-opened::before{
    animation-name: openMenuButtonBefore;
    animation-duration: .7s;
    animation-fill-mode: forwards;
}

.is-opened::after{
    animation-name: openMenuButtonAfter;
    animation-duration: .7s;
    animation-fill-mode: forwards;
}

.is-closed{
    animation-name: closeMenuButton;
    animation-duration: .7s;
    animation-fill-mode: forwards;
}

.is-closed::before{
    animation-name: closeMenuButtonBefore;
    animation-duration: .7s;
    animation-fill-mode: forwards;
}

.is-closed::after{
    animation-name: closeMenuButtonAfter;
    animation-duration: .7s;
    animation-fill-mode: forwards;
}

.hamburguer{
    width: 100%;
    height: 2px;
    background-color: #4c4a47;
}

.hamburguer::after{
    content: "";
    display: block;
    height: 2px;
    background-color: #4c4a47;
    position: relative;
    top: 6px;
}

.hamburguer::before{
    content: "";
    display: block;
    height: 2px;
    background-color: #4c4a47;
    position: relative;
    bottom: 8px;
}

.menu__logo{
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.menu__logo a{
    display: flex;
    width: 100%;
    height: 100%;
    object-fit: contain;
    align-items: center;
    justify-content: flex-end;
    margin: .3em 0;
}

.menu__logo img{
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

@keyframes openMenuButton{
    0% {background-color: #4c4a47;}
    30% {background-color: #ffffff00;}
    100% {background-color: #ffffff00;}
}

@keyframes openMenuButtonBefore{
    0% {left: 0px}
    20% {left: 20px;}
    70% {transform: rotate(-45deg); bottom: 12px; left: 12px}
    100% {transform: rotate(-45deg); bottom: -1px; left: 0}
}

@keyframes openMenuButtonAfter{
    0% {left: 0px}
    100% {transform: rotate(45deg); top: -1px; left: 0}
}

@keyframes closeMenuButton{
    0% {background-color: transparent;}
    100% {background-color: #4c4a47;}
}

@keyframes closeMenuButtonBefore{
    0% {transform: rotate(45deg); bottom: -1px; left: 0}
    80% {left: 20px; transform: rotate(0)}
    100% {left: 0px}
}

@keyframes closeMenuButtonAfter{
    0% {transform: rotate(-45deg); top: -1px; left: 0}
    50% {left: 20px; transform: rotate(0)}
    100% {left: 0px}
}

@keyframes openMenuBackground{
    0% {opacity: 0;}
    100% {opacity: 1;}
}

@keyframes closeMenuBackground{
    0% {opacity: 1;}
    100% {opacity: 0;}
}

@keyframes openMenuContent{
    0% {top: -100px; opacity: 0}
    100% {top: 0; opacity: 1}
}

@keyframes closeMenuContent{
    0% {left: 0; opacity: 1}
    100% {left: -200px; opacity: 0}
}

 
/* LARGE MENU */

.page__large__menu{
    display: none;
    position: absolute;
    width: 18em;
    background-color: transparent;
    border-bottom-right-radius: .3em;
    background-size: cover;
}

.page__large__menu .menu-open, .page__large__menu .menu-close{
    width: 100%;
    background: linear-gradient(to right, #000000bb, #4c4a4700);
}

.page__large__menu .page__list{
    padding-left: 1.4em;
    align-items: flex-start;
    justify-content: start;
}


/* HEADER */

.page__header{
    position: relative;
    display: none;
    flex-direction: column;
    min-width: 250px;
    width: max-content;
    max-width: 320px;
    background: linear-gradient(to right, #00000044, #00000000);
}

.header__logo{
    width: auto;
    height: auto;
}

.header__logo img{
    width: 12em;
    object-fit: contain;
    padding: 1em 0 0 1em;
    margin: 1em 0 0 1em;
}

.carbon-logo{
    display: flex;
}

.white-logo{
    display: none;
}

.page__list{
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2em 0 0 2em;
    height: 100%;
}

.page__list__link{
    color: #4c4a47;
    font-size: 3.9vw;
    letter-spacing: .05em;
}

/* .page__list__subelement{
    letter-spacing: .04em;
    color: #4c4a47cc;
}

.page__list__subelement p{
    margin-left: 20px;
} */

.page__list__subelement{
    margin-top: -10px;
}

.page__list__subelement p{
    margin-left: 30px;
    padding-top: 0.1em !important;
    padding-bottom: 0.1em !important;
}

.page__list__link:hover{
    color: #decdb9;
    text-decoration: none;
}

.page__list__emphasis{
    font-size: 1.1em;
    font-weight: 400;
    color: #a66033;
}

.page__list__emphasis:hover{
    color: #decdb9;
}

.page__list__separator{
    height: 1.4em;
}

.page__header__bottom, .page__bottom__icons{
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    position: absolute;
    padding: .5em 0;
    width: 12em;
    border-top-left-radius: .3em;
    border-bottom-left-radius: .3em;
    z-index: 10;
    bottom: 2em;
    right: 0;
}

.page__header__bottom{
    display: flex;
    background: #4c4a4766;
    padding-right: 1.5em;
}

.page__bottom__icons{
    display: none;
    background: #ffffff44;
}

.page__bottom__element{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.page__header__bottom a:hover{
    color: #decdb9;
    text-decoration: none;
}

.page__bottom__element img{
    max-width: 24px;
    min-width: 24px;
    object-fit: contain;
}

.selected-page p{
    font-weight: 400 !important;
    text-decoration: underline !important;
}


/* PAGE CONTENT */

.page-body{
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: start;
    flex-direction: column;
    width: 100%;
    height: 100%;
    z-index: 3;
}


/* PAGE TEMPLATE */

.page__content{
    position: relative;
    height: min-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em;
    border-radius: .6em;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

.page__content .title{
    text-align: center;
    text-transform: uppercase;
}

.page__content .subtitle p{
    display: flex;
    text-align: center;
    max-width: 100%;
}

.page__text{
    color: #4c4a47;
    font-size: 3vw;
    padding-top: .4em;
    text-align: justify;
    letter-spacing: 0.05em;
    font-weight: 300;
    line-height: 1.3;
}

.background-image{
    position: relative;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin-top: 50px;
}

.scrollable-page{
    overflow-y: scroll !important;
}

/* HOME PAGE */

.home__promo{
    display: flex;
    position: absolute;
    bottom: 0em;
    width: 100%;
    background-color: #decdb9e3;
    z-index: 14;
    padding: .5em;
}

.promo__close{
    background: none;
    border: none;
    position: absolute;
    top: 1em;
    right: 1.5em;
    width: 20px;
    height: 20px;
}

.promo__close__content{
    height: 1.5px;
    width: 20px;
    transform: rotate(45deg);
    background-color: #4c4a47;
}

.promo__close__content::before{
    content: "";
    display: block;
    height: 1.5px;
    width: 20px;
    transform: rotate(90deg);
    background-color: #4c4a47;
}

.promo__content{
    margin: 2em 3em 2em 1em;
    display: flex;
    justify-content: start;
    align-items: flex-start;
    flex-direction: column;
}

.promo__title{
    font-size: 1.9em;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: .7em;
}

.promo__text p{
    font-weight: 300 !important;
    font-size: 1.5em;
    line-height: 1.1;
    margin-bottom: .8em;
}


.home__promo-close{
    animation-name: closePromo;
    animation-duration: .6s;
    animation-fill-mode: forwards;    
}

@keyframes closePromo{
    0% {opacity: 1}
    100% {opacity: 0}
}


.images-carousel{
    display: none;
    align-items: flex-start;
    justify-content: start;
    max-width: 100%;
    max-height: 100%;
}

.carousel{
    width: 100%;
}

.images-scroll{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    overflow-x: hidden;
    margin-top: 50px;
    padding-bottom: 2em;
}

.scroll-image{
    padding: 1em 0;
    width: 100%;
}
.scroll-image img{
    width: 100%;
}

.subtitle{
    display: flex;
    font-size: 5vw;
    color: white;
    font-weight: 300;
    letter-spacing: .18em;
    max-width: 100%;
}

.page__content .subtitle:hover{
    text-decoration: none;
    color: #decdb9;
}


/* ABOUT PAGE */

.about__content{
    display: flex;
    border-image-slice: 1;
}

.about__content .title{
    color: white;
}

/* CONTACTO */

.contact-page{
    display: flex;
    flex-direction: column;
    width: 100%;
    z-index: 11;
    padding-top: 50px;
    /* overflow: scroll;
    -webkit-overflow-scrolling: touch; */
}

.contact-form{
    display: flex;
    flex-direction: column;
    padding: 1.4em;
}

.contact-form__row{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.contact-form__row .contact-form__input{
    display: flex;
    flex-grow: 1;
}

.contact-form__input, .contact-form__text{
    background-color: #decdb9;
    margin: .3em;
    border: none;
    padding-left: .4em;
    border-radius: .2em;
}

.contact-form__input{
    height: 40px;
}

.contact-form__input::placeholder, .contact-form__text::placeholder{
    color: white;
}

.contact-form__text{
    height: 6.6em;
    resize: none;
}

.contact-form__error li{
    color: red;
}

.contact-form__error ul{
    padding: 0;
    margin: 0.3em 0 0 .3em;
    list-style-type: none;
}

.button-submit{
    background: none;
    border: none;
    background-color: #4c4a47;
    color: white;
    padding: .36em .7em;
    margin: .5em .3em 0 .3em;
    border-radius: .2em;
}

.button-submit:hover{
    color: #decdb9;
    text-decoration: none;
}

.contact-page .links{
    display: flex;
    flex-direction: column;
    padding: 1em;
    justify-content: space-evenly;
    min-height: 30vh;
}

.contact-page__link{
    display: flex;
    flex-direction: row;
    color: #4c4a47;
    align-items: center;
    padding: .5em 0;
    height: 25%;
}

.contact-page__link:hover{
    text-decoration: none;
    color: #decdb9;
}

.contact-page__text:hover{
    color: white;
}

.contact-page__link .link__direction, .contact-page__link .link__text, .contact-page__link a{
    font-size: 1.1em;
    text-decoration: none;
    font-weight: 200;
    width: auto;
}

.contact-page__link .link__direction:hover{
    color: #decdb9;
}

.contact-page .links img{
    object-fit: contain;
    max-height: 1.8em;
    margin-right: .8em;
    width: 3em;
}

.contact-image-carbon{
    display: flex;
}

.contact-image-white{
    display: none;
}

/* SERVICES */

.hidden-background-image{
    display: none;
}

.services__tables{
    width: 100vw;
    padding-bottom: 4em;
    padding-top: 50px;
}

.table__header{
    display: flex;
    position: relative;
    flex-direction: row;
    height: 10vh;
    margin-top: 5vh;
    margin-bottom: 2vh;
    background-color: #eeeeeecc;
}
 
.table-title{
    display: flex;
    align-items: center;
    font-size: 3vh; 
    font-weight: 500; 
    background-color: #ffffff77; 
    padding: .5vh 2vw; 
    border-top-left-radius: .3em; 
    border-top-right-radius: .3em;
}

.table-subtitle{
    display: flex;
    align-items: center;
    margin: .4vh 1vw;
    font-size: 2vh;
    font-weight: 400;
}

.table__row{
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: .5vh 1vw;
    height: 10vh;
    border-bottom: .5px solid #cccccc;
}

.table__heading p, .table__element__heading
{
    font-weight: bold;
}

.table__element{
    display: flex;
    align-items: center;
    width: 25vw;
    line-height: 95%;
    justify-content: center;
}

.table__element__heading{
    text-align: start;
    justify-content: start;
    margin-left: 1vw;
}

.table__element__double{
    width: 50vw;
}

.table__element__triple{
    width: 75vw;
}


/* FREE SESSION */

.button-access{
    width: 100%;
    display: flex;
    align-items: center;
    padding-top: 2em;
}

.button-access .button-submit{
    background-color: #decdb9;
    color: #4c4a47;
}

/* LEGAL */

.legal-documents{
    position: absolute;
    bottom: .5em;
    width: 100%;
    z-index: 11;
    color: #decdb9;
    padding: .6em 0;
    font-size: .9em;
}

.legal-documents a{
    color: #decdb9;
    margin: 0em .4em;
    display: inline-block;
    font-size: inherit;
}

.legal-documents a:hover{
    color: white;
}

/* RESOLUCIONES */


@media(min-width: 630px){
    body{
        flex-direction: row;
    }
    .page-body{
        align-items: center;
        justify-content: center;
        height: 100vh;
        overflow: hidden;
    }
    .page__header{
        display: flex;
    }
    .page__menu{
        display: none;
    }
    .page__content{
        position: absolute;
        left: 2em;
        bottom: 1em;
        align-items: center;
        width: 85%;
        padding: 1em;
        margin: 3em 1em;
        background-color: rgba(0, 0, 0, .42);
        overflow-y: hidden;
    }
    .background-image{
        margin-top: 0;
        position: absolute;
        max-width: 120%;
        max-height: 120%;
        object-fit: contain;
    }
    .page__text{
        color: white;
        font-size: 1em;
        width: 90%;
        text-align: start;
        font-weight: 200;
    }
    .title{
        font-size: 2.35em;
    }
    .subtitle{
        font-size: 1.7em !important;
    }
    .page__list{
        opacity: 1;
    }
    .page__list__element{
        margin-bottom: .35em;
    }
    .page__list__element p{
        font-weight: 200;
    }
    .page__list__link{
        font-size: .9em;
    }
/*     .page__list__subelement{
        font-size: .9em;
    } */
    .contact-page{
        overflow-y: hidden;
    }
    .contact-page__link .link__title{
        font-size: 1.5em;
    }
    .contact-page__link .link__direction, .contact-page__link .link__text, .contact-page__link a{
        font-size: 1em;
    }
    .page__bottom__icons{
        display: flex;
    }
    .page__header__bottom{
        display: none;
    }        
    .page__large__menu{
        display: flex;
    }
    .home-page{
        height: 100vh;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    .images-carousel{
        display: flex;
    }
    .images-scroll{
        display: none;
    }
    .page__list__link{
        color: white;
    }
/*     .page__list__subelement{
        color: white;
    } */
    .page__list__emphasis{
        color: #e2eff0;
    }
    .is-opened, .is-opened::after, .is-opened::before{
        background-color: #decdb9;
    }
    .hidden-background-image{
        display: unset;
    }
    .services__tables{
        display: flex;
        position: relative;
        flex-direction: column;
        height: 100%;
        width: 100%;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin-bottom: 2em;
        z-index: 10;
    }
    .table-container{
        width: 45%;
    }
    .table__header{
        height: unset;
        width: 45%;
        margin-bottom: 0;
    }
    .contact-page{
        align-items: flex-end;
        justify-content: center;
        padding-right: 2em;
    }
    .contact-form{
        background-color: rgba(0, 0, 0, .42);
        padding: 1.4em;
        border-radius: .6em;
        margin-top: 2em;
    }
    .contact-page form{
        width: 65.5%;
    }
    .contact-form__row{
        flex-direction: row; 
    }
    .contact-form__row .contact-form__input{
        display: flex;
        flex-grow: 1;
        max-width: 48%;
    }
    .contact-page .links{
        background-color: rgba(0, 0, 0, .42);
        width: 65.5%;
        border-radius: .6em;
    }
    .contact-page__link{
        color: white;
        padding: .5em 1.5em;
    }
    .contact-image-carbon{
        display: none;
    }
    .contact-image-white{
        display: flex;
    }
    .table-title{
        font-size: 1.4em; 
    }
    .table-subtitle{
        font-size: .95em;
    }
    .table__row{
        height: unset;
        width: 45%;
        background-color: #ffffffbb;
    }
    .table__element{
        width: 25%;
    }
    .table__element{
        width: 50%;
    }
    .table__element{
        width: 75%;
    }
    .scrollable-page{
        overflow-y: hidden !important;
    }
    .button-access{
        align-items: flex-start;
        padding-left: 1.8em;
    }
    .home__promo{
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 14;
        border-radius: .3em;
        bottom: unset;
        width: unset;
    }
    .promo__content{
        margin: 2.2em 6em 1.5em 2.5em;
    }
}


@media(min-width: 900px){
    .page-body{
        align-items: center;
        justify-content: center;
    }
    .page__content{
        position: absolute;
        left: 2em;
        bottom: 1em;
        align-items: center;
        max-width: 48em;
        width: 70%;
        padding: 1em;
        margin: 2em 3em;
    }
    .title{
        font-size: 2.8em;
        padding-bottom: .3em;
    }
    .subtitle{
        font-size: 2.2em;
    }
    .page__text{
        width: 90%;
        text-align: start;
    }
    .contact-page{
        align-items: flex-end;
        justify-content: center;
        padding-right: 4em;
    }
    .contact-page__link .link__title{
        font-size: 1.7em;
    }
    
    .contact-page__link .link__direction, .contact-page__link .link__text, .contact-page__link a{
        font-size: 1.15em;
    }
    .contact-form{
        width: 34em;
    }
    .contact-page form{
        width: unset;
    }
    .contact-page .links{
        width: 34em;
    }
}

@media(min-width: 1170px){
    .page-body{
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .page__content{
        position: absolute;
        right: 2em;
        left: unset;
        bottom: unset;
        top: 0;
        align-items: flex-end;
        width: 22em;
        padding: 2em 2em 2em 0;
        margin: 2em 3em;
    }
    .page__content .title{
        width: min-content;
        min-width: 10em;
        width: 70%;
        text-align: end;
    }
    .page__content .subtitle p{
        width: max-content;
        text-align: end;
    }
    .page__text{
        width: 90%;
        text-align: start;
    }
    .subtitle{
        justify-content: flex-end;
    }

    .home-page .title, .home-page .subtitle{
        text-align: center;
    }

    .contact-page{
        align-items: center;
        justify-content: center;
        padding-right: 0;
    }

    .contact-page__link{
        align-items: center;
    }

    .contact-page .title, .contact-page .subtitle{
        text-align: center;
    }
}