html {
    scroll-behavior: smooth;
}

body {
    font-family: Barlow, sans-serif;
    margin: 0;
    color: #363636;
    height: auto;
    font-size: 16px;
    line-height: 150%;
}

.background-gris, footer {
    background-color: #f7f7f7;
}

/*--------------------------------------------------COLOR-------------------------------------------------------------*/

form, .gris-clar, .texto-beneficio  {
    color: grey;
}

.claim-footer {
    color: #5EAFDB;
}

.text-portada {
    color: white;
}

/*------------------------------------------------LINE-HEIGHT---------------------------------------------------------*/
.copy-beneficio, .title-modules {
    line-height: 100%;
}

.copy-portada, .title-portada {
    line-height: 120%;
}

.intro, .testimonio {
    line-height: 150%;
}


/*------------------------------------------------FONT-SIZE-----------------------------------------------------------*/

footer, input, select, .gris-clar {
    font-size: 1.1em;
}

.titulo-beneficio, .text-portada, .copy-portada {
    font-size: 1.2em;
}

.intro {
    font-size: 1.5em;
}

.title-features {
    font-size: 2em;
}

.title-modules,.title-portada {
    font-size: 2.5em;
}


@media (max-width: 500px) {
    body {
        font-size: 12px;
    }

    .text-portada {
        margin-top: 7em;
    }

    .title-modules,.title-portada {
        font-size: 1.5em;
    }

    .intro {
        font-size: 1.2em;
    }
}

/*---------------------------------------------TEXT-ALIGN-------------------------------------------------------------*/

.copy-form, .form-module > h2, .form-module > p, .intro, button, .title-modules,footer,.getup-module  {
    text-align: center;
}

.gris-clar{
    text-align: justify;
}

/*------------------------------------------------FLEX------------------------------------------------------------*/

.portada, .beneficios-flex, #feature-invert-block, #feature-block, #feature-block-4, footer, .testimonial-flex {
    display: flex;
    flex-flow: row wrap;
    width: auto;
    justify-content: space-between;
    align-items: center;
}

.portada, .beneficios-flex,.intro, .title-modules, .getup-module, footer, .background-gris, .slider, .testimonial-flex  {
    padding: 2% 14%;
}

#feature-invert-block, #feature-block, .feature-min-module, #feature-block-4 {
    padding: 2% 0;
}

/*-------------------------------------------------PORTADA------------------------------------------------------------*/

.portada {
    height: 50em;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    align-items: center;
}

.text-portada {
    width: 50%;
    vertical-align: middle;
    max-width: 100%;
}

.title-portada {
    display: block;
}

.inherit {
    position: absolute;
    top: 2%;
    left: 14%;
}

.logo-salle {
    width: 200px;
    height: auto;
    max-width: 100%;
}

#logo-salle {
    padding-top: 1em;
    padding-left: 95%;
}

.title-portada {
    padding-top: 0;
    margin-top: 0;
}

/*------------------------------------------formulario----------------------------------------------------------------*/


.form-module {
    width: 20em;
    max-width: 100%;
    padding: 1em;
    background-color: white;
}

label {
    margin-top: 15px;
    margin-left: 50%;
    width: 0;
}

form > label {
    margin-top: 15px;
    margin-left: 0;
}

input, select {
    border: 1px solid #C9C9C9;
    margin-bottom: 0.8em;
    margin-top: 0.3em;
    background-color: white;
}

input {
    padding: 0.5em 0 0.5em 0.5em;
    width: 95%;
}

select {
    padding: 0.5em 1em 0.5em 0.5em;
    width: 98%;
}

button {
    background-color: #f73b51;
    color: white;
    font-weight: bold;
    border: 0;
    cursor: pointer;
    padding: 1em;
    width: 98%;
    margin-top: 1em;
}

/*--------------------------------------------intro-------------------------------------------------------------------*/


/*-----------------------------------------beneficios-----------------------------------------------------------------*/

.beneficio {
    padding: 5px;
    width: 330px;
    display: inline-flex;
}

.icon-beneficio {
    width: 6em;
    margin-right: 1em;
    height: 6em;
}

.titulo-beneficio {
    display: block;
    margin-bottom: 1em;
    font-weight: bold;
}

/*-------------------------------------button-top---------------------------------------------------------------------*/
.top {
    --offset: 50px;
    position: sticky;
    bottom: 50px;
    margin:10px;
    place-self: end;
    margin-top: calc(100vh + var(--offset));

    /* visual styling */
    text-decoration: none;
    padding: 10px;
    color: #fff;
    background: #5eafdb;
    border-radius: 100%;
    white-space: nowrap;
}

/*---------------------------------------features---------------------------------------------------------------------*/

#feature-block, #feature-invert-block, .feature-min-module {
    max-width: 100%;
}

.feature-block, .feature-image {
    display: inline-block;
    max-width: 100%;
}

.feature-block {
    width: 50%;
    padding-top: 0.05em;
    padding-bottom: 0.05em;
}

#feature-invert-block, #feature-block-4 {
    border-top: 1px solid #C9C9C9;
}

.feature-image {
    align-items: center;
    width: 470px;
    max-width: 100%;
}

.feature-img {
    padding: 0;
}

/*testimonial------------------------------------------------------------------------------------------------**********/

.testimonial-flex {
    list-style: none;
    text-align: center;
}

.testimonio {
    text-align: center;
    padding: 1rem;
    color: grey;
    width: 30rem;
    display: block;
    transition: all 0.5s ease 0s;
}

.testimonio:hover {
    background-color: #f7f7f7;
    transition: all 0.5s ease 0s;
}

.img-testimonial {
    border-radius: 50%;
    width: 100px;
    height: auto;
}

/*footer------------------------------------------------------------------------------------------------------------****/

.claim-footer {
    text-align: center;
    font-weight: normal;
    display: inline-block;
}


.links-web {
    font-weight: bold;
    display: inline-block;
    max-width: 100%;
    text-decoration: none;
    color: #393d42;
    padding-right: 2em;
    padding-left: 2em;
}

.social {
    padding: 1em 0;
    display: inline-block;
}

.links-social {
    text-decoration: none;
}

.social-icon {
    padding-right: 1em;
}

/*Extra------------------------------------------------------------------------------------------------------------**/

@media all and (max-width: 1450px) {
    .beneficios-flex {
        justify-content: center;
    }
}


@media all and (max-width: 1310px) {
    .background-gris, .feature-min-module {
        justify-content: center;
    }

    .footer {
        justify-content: center;
    }
}

@media all and (max-width: 1050px) {

    .testimonial-flex, footer, .background-gris {
        justify-content: center;
    }

    #portada, .beneficios-flex,  .intro, .title-modules, .getup-module, footer, .testimonial-flex, footer  {
        padding: 2% 7%;
    }

    .portada {
        justify-content: center;
        height: 70em;
    }

    .text-portada {
        width: auto;
        max-width: 100%;
    }

    .testimonial-flex{
        padding: 0;
    }

}

@media (max-width: 1000px) {

    .portada {
        height: 50em;
    }

    .portada, .features, .beneficios-flex, .feature-block {
        justify-content: center;
    }

    #logo-salle {
        width: 200px;
        height: auto;
        padding-top: 1em;
        padding-left: 35%;
    }

    #feature-block, #feature-invert-block, .feature-min-module4 {
        display: flex;
        flex-flow: column nowrap;
    }

    .portada {
        height: auto;
    }


    .feature-image {
        align-items: center;
        justify-content: center;
    }

    .feature-img {
        width: 100%;
        height: auto;
        padding: 0;
        z-index: 0;
    }

    .text-portada {
        width: auto;
        max-width: 100%;
        text-align: center;
        margin-top: 7em;
    }

    .beneficio {
        width: 100%;
        padding-top: 1.2em;
        padding-bottom: 1.2em;
    }

    .copy-beneficio {
        margin-top: 0;
    }

    #feature-block, .feature-min-module, #feature-invert-block {
        justify-content: center;
    }

    .background-gris > section, .feature-image, .feature-block, .title-features, .gris-clar {
        width: 100%;
        max-width: 100%;
    }

    #boton-start {
        width: auto;
    }
}

@media (max-width: 720px) {
    label {
        margin-top: 15px;
        margin-left: 30%;
        text-align: right;
        width: 0;
    }
}

@media (max-width: 585px) {
    label {
        margin-top: 15px;
        margin-left: 1%;
        text-align: right;
        width: 0;
    }
}


/*-----------------------------------------amplicacion pantalla-------------------------------------------------------*/

@media (-webkit-max-device-pixel-ratio: 1) {
    .title-portada {
        /*margin-top: 4em;*/
    }

    .portada {
        margin-bottom: 0.1em;
    }

    input, select {
        padding: 0.1em 0 0.1em 0.1em;
    }
}

/*-------------------------------------------animaciones--------------------------------------------------------------*/

.animate__animated.animate__fadeInUp {
    --animate-duration: 2s;
}

@keyframes example {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(-5%)
    }
}

@keyframes example2 {
    0% {
        transform: translateY(-5%);
    }
    100% {
        transform: translateY(0%)
    }
}

.beneficio:hover {
    animation: example 1s forwards;
}

.beneficio:not(hover) {
    animation: example2 1s forwards;
}