@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --padding-container: 100px 0;
    --color-title: #4fc17e;
}

body {
    font-family: 'Poppins', sans-serif;
}

@media only screen and (min-width:320px) and (max-width:768px){
    .btn-wsp{
        position:fixed;
        width:63px;
        height:63px;
        line-height: 66px;
        bottom:25px;
        right:25px;
        background:#25d366;
        color:#FFF;
        border-radius:50px;
        text-align: center;
        font-size:35px;
        box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.548);
        transition: all 300ms ease;
    }
    .btn-wsp:hover{
        background: #20ba5a;
    }
}


.btn-wsp{
    width:63px;
    height:63px;
    line-height: 66px;
    bottom:25px;
    right:25px;
    color:#FFF;
}


.logo img {
    padding-top: 45px;
    width: 250px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);
}


.hero {
    width: 100vw;
    height: 100vh;
    min-height: 500px;
    max-height: 800px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #fff;

    
}


.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 95%, 0 80%);
    z-index: -1;
    animation: hero 28s infinite alternate ease;
}

@keyframes hero {
    0%{background-image: linear-gradient( to bottom, #43646d, rgba(61, 61, 61, 0)), url('../images/slider1.jpg');}
    25%{background-image: linear-gradient( to bottom, #43646d, rgba(61, 61, 61, 0)), url('../images/slider1.jpg');
    background-position: 100%;}

    26%{background-image: linear-gradient( to bottom, #43646d, rgba(61, 61, 61, 0)), url('../images/slider2.jpg');}
    50%{background-image: linear-gradient( to bottom, #43646d, rgba(61, 61, 61, 0)), url('../images/slider2.jpg');
        background-position: 50%;}

    51%{background-image: linear-gradient( to bottom, #43646d, rgba(61, 61, 61, 0)), url('../images/slider3.jpg');}
    75%{background-image: linear-gradient( to bottom, #43646d, rgba(61, 61, 61, 0)), url('../images/slider3.jpg');}

    76%{background-image: linear-gradient( to bottom, #43646d, rgba(61, 61, 61, 0)), url('../images/slider4.jpg');}
    100%{background-image: linear-gradient( to bottom, #43646d, rgba(61, 61, 61, 0)), url('../images/slider4.jpg');}
}


/* Nav */

.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;
    text-transform: uppercase;
}

.nav__items a:hover {
    list-style: none;
    color: #4fc17e;
}

.nav__links {
    color: #fff;
    text-decoration: none;
}

.nav__links__active {
    color: #4fc17e;
    text-decoration: none;
}

.nav__menu {
    margin-left: auto;
    cursor: pointer;
    display: none;
}

.nav__img {
    display: block;
    width: 30px;
}


.nav__close {
    display: var(--show, none);
}


/* Hero container */


.hero__container {
    max-width: 800px;
    --padding-container: 0;
    display: grid;
    grid-auto-rows: max-content;
    align-content: center;
    gap: 1em;
    padding-bottom: 100px;
    text-align: center;
}

.hero__title {
    font-size: 3rem;
}

.hero__paragraph {
    margin-bottom: 20px;
}

.cta {
    display: inline-block;
    background-color: #2091F9;
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 32px;
}

/* About */

.about {
    text-align: center;
}

.subtitle {
    color: var(--color-title);
    font-size: 2rem;
    margin-bottom: 25px;
    text-transform: uppercase;
}


.about__paragraph {
    line-height: 1.7;
    font-size: 22px;
}

.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;
}

.about__title {
    font-size: 24px;
}


/* Alianzas */

.alianzas_cont {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.alianzas_cont_2 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.alianza_1 {
    width: 300px;
    max-height: 188px;
    background-image: url(../images/L9.png);
    background-size: 100%;
    margin: 1px;
}

.alianza_1:hover {
    transform: scale(105%);
    transition: .1s;
    box-shadow: 5px 5px 14px rgba(0, 0, 0, 0.281);
}

.alianza_2 {
    width: 300px;
    height: 188px;
    background-image: url(../images/L10.png);
    background-size: 100%;
    margin: 1px;
}

.alianza_2:hover {
    transform: scale(105%);
    transition: .1s;
    box-shadow: 5px 5px 14px rgba(0, 0, 0, 0.281);
}

.alianza_3 {
    width: 300px;
    height: 188px;
    background-image: url(../images/L11.png);
    background-size: 100%;
    margin: 1px;
}

.alianza_3:hover {
    transform: scale(105%);
    transition: .1s;
    box-shadow: 5px 5px 14px rgba(0, 0, 0, 0.281);
}

.alianza_4 {
    width: 300px;
    height: 188px;
    background-image: url(../images/L12.png);
    background-size: 100%;
    margin: 1px;
}

.alianza_4:hover {
    transform: scale(105%);
    transition: .1s;
    box-shadow: 5px 5px 14px rgba(0, 0, 0, 0.281);
}

.alianza_5 {
    width: 300px;
    height: 188px;
    background-image: url(../images/L13.jpg);
    background-size: 100%;
    margin: 1px;
}

.alianza_5:hover {
    transform: scale(105%);
    transition: .1s;
    box-shadow: 5px 5px 14px rgba(0, 0, 0, 0.281);
}

.alianza_6 {
    width: 300px;
    height: 188px;
    background-image: url(../images/L14.png);
    background-size: 100%;
    margin: 1px;
}

.alianza_6:hover {
    transform: scale(105%);
    transition: .1s;
    box-shadow: 5px 5px 14px rgba(0, 0, 0, 0.281);
}

.alianza_7 {
    width: 300px;
    height: 188px;
    background-image: url(../images/L15.png);
    background-size: 100%;
    margin: 1px;
}

.alianza_7:hover {
    transform: scale(105%);
    transition: .1s;
    box-shadow: 5px 5px 14px rgba(0, 0, 0, 0.281);
}

.alianza_8 {
    width: 300px;
    height: 188px;
    background-image: url(../images/L16.png);
    background-size: 100%;
    margin: 1px;
}

.alianza_8:hover {
    transform: scale(105%);
    transition: .1s;
    box-shadow: 5px 5px 14px rgba(0, 0, 0, 0.281);
}

/* Mejor solucion */

.mejor_solucion {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    width: 100vw;
    padding: 60px 10px 60px 10px;
    background-color: rgb(230, 230, 230);
}

.info_solucion {
    width: 100%;
}

.info_solucion h2{
    font-size: 30px;
    text-transform: uppercase;
    color: #4fc17e;
    margin-bottom: 8px;
}

.info_solucion p{
    font-size: 16px;
}

.contacto_info {
    background-color: #4fc17e;
    border-radius: 2px;
}

.mejor_solucion a {
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 15px;
    color: #000;
    margin-top: 14px;
}


/* Footer */

.footer{
    background-color: #555555;
    width: 100vw;
}

.footer__title{

    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 5px;
    padding-bottom: 20px;
}

.title {
    width: 50%;
}

.title p {
    color: white;
}

.footer_icon {
    width: 25px;
}

.contacto {
    display: flex;
    flex-wrap: wrap;
    color: white;
    width: 40%;
    padding-bottom: 50px;
}


.contacto h3 {
    width: 100%;
    font-weight: 200;
    text-transform: uppercase;
    padding-bottom: 40px;
    text-align: center;
}

.contact {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding-bottom: 10px;
}

.footer_icon {
    width: 20px;
    padding-right: 5px;

}
.fot-icon {
    font-size: 14px;
}

.footer__title, .footer__newsletter{
    color: #fff;
}


.footer__container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #fff;
    padding-bottom: 40px;
}

.nav--footer{
    padding-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    grid-auto-flow: row;
    height: 100%;
}

.nav__link--footer{
    display: flex;
    margin: 0;
    margin-right: 20px;
    flex-wrap: wrap;

}

.footer__inputs{
    margin-top: 10px;
    display: flex;
    overflow: hidden;
}


.footer__copy{
    --padding-container: 30px 0;
    text-align: center;
    color: #fff;
}

.footer__copyright{
    font-weight: 300;
}

.footer__social {
    margin-bottom: 10px;
}


.logo_f img {
    width: 300px;
    margin-left: 350px;
}

/* Media queries */

@media (max-width:800px){
    .nav__menu{
        display: block;
    }

    .nav__link--menu{
        position: fixed;
        background-color: #000;
        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;
    }

    .hero__title{
        font-size: 2.5rem;
    }


    .about__main{
        gap: 2em;
    }

    .about__icons:last-of-type{
        grid-column: 1/-1;
    }


    .knowledge__container{
        grid-template-columns: 1fr;
        grid-template-rows: max-content 1fr;
        gap: 3em;
        text-align: center;
    }

    .knowledge__picture{
        grid-row: 1/2;
        justify-self: center;
    }

   

    .questions__copy{
        width: 100%;
    }

    .footer__container{
        flex-wrap: wrap;
    }

    .nav--footer{
        width: 100%;
        justify-items: center;
    }

    .nav__link--footer{
        width: 100%;
        justify-content: space-evenly;
        margin: 0;
    }

    .footer__form{
        width: 100%;
        justify-content: space-evenly;
    }

    .footer__input{
        flex: 1;
    }

}

@media (max-width:600px){
    
    .info_solucion h2 {
        text-align: center;
    }

    .info_solucion p {
        text-align: center;
    }
    
    .servicios_cards img {
        margin-left: 116px;
    }
    
    .s_cards {
        width: 280px;
        height: 280px;
    }

    .s_cards_2 {
        width: 280px;
        height: 280px;
        background-size: 105%;
    }

    .s_cards_3 {
        width: 280px;
        height: 280px;
        background-size: 105%;
    }


    
    .alianzas_body img {
        width: 80%;
        padding: 20;
    }

    .clientes_body img {
        width: 100%;
        padding: 20;
    }


    .hero__title{
        font-size: 2rem;
    }

    .hero__paragraph{
        font-size: 1rem;
    }

    .subtitle{
        font-size: 1.8rem;
    }


    .price__price{
        font-size: 2rem;
    }

    
    .questions__title{
        font-size: 1rem;
    }

    .footer__title{
        justify-self: start;
        margin-bottom: 15px;
    }

    .nav--footer{
        padding-bottom: 60px;
    }

    .nav__link--footer{
        justify-content: space-between;
    }

    .footer__inputs{
        flex-wrap: wrap;
    }

    .footer__input{
        flex-basis: 100%;
        margin: 0;
        margin-bottom: 16px;
    }

    .footer__submit{
        margin-right: auto;
        margin-left: 0;
        

        /* 
        margin:0;
        width: 100%;
        */
    }
}










