:root{
    --verde: #97d700;
    --black:#252a34;
    --azul:#1d2d5c;
    --celeste: #36ac91;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
}

.contenedor {
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.titulo {
    color: var(--azul);
    font-size: 30px;
    text-align: center;
    margin-bottom: 60px;
}

/* Header */

header {
    width: 100%;
    height: 690px;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(240, 1%, 15%, 0.459), hsla(240, 2%, 10%, 0.664)), url(../img/anuncio_congreso.jpg);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(240, 1%, 15%, 0.459), hsla(240, 2%, 10%, 0.664)), url(../img/anuncio_congreso.jpg);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    align-items: center;
}

/* Menu de navegacion */
.menu{
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 60px;
    background:var(--verde);

    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;

}
.menu .log-box{
    margin-left: 20px;
}
.menu .logo-box h1 a{
    text-decoration: none;
    font-size: 35px;
    font-weight: 400;
    color:#fff;
}
.menu .list-container{
    margin-right: 20px;
}
.menu .list-container .lists{
    display: flex;
}
.menu .list-container .lists li{
    list-style: none;
}
.menu .list-container .lists li a{
    text-decoration: none;
    margin:0px 10px;
    padding: 8px;
    color:#fff;
    border-radius: 24px;
    font-size: 16px;
    transition: 0.3s;

}
.menu .list-container .lists li a.activo{
    background: var(--verde);
    color: #fff;
}
.menu .list-container .lists li a:hover{
    background: var(--azul);
    color: #fff;
}
.btn-menu > .fa-bars{
    display: none;
}


header .textos-header{
    display: flex;
    height: 600px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.textos-header h1{
    font-size: 50px;
    color:var(--verde);
}

.textos-header h2{
    font-size: 30px;
    font-weight: 300;
    color:var(--verde);
}

.textos-header button{
    width: 170px;
    height: 40px;
    background: var(--verde);
    border-radius: 24px;
    border:none;
    outline: none;
    font-size: 22px;
    color: #fff;
    text-align: center;
    margin-top: 20px;
    cursor: pointer;
    transition: 0.5s;
}
.textos-header button:hover{
    background: var(--azul);
}





.wave{
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* About us */
.contenedor-nosotros{
    columns: 2;
}
main .sobre-nosotros{
    padding: 30px 0 60px 0;
    
}
.contenedor-sobre-nosotros{
    display: flex;
    justify-content: space-evenly;
    
}

.imagen-about-us{
    width: 48%;
}

.sobre-nosotros .contenido-textos{
    width: 48%;
}

.contenido-textos h3{
    margin-bottom: 15px;
    color: var(--azul);
}

.contenido-textos h3 span{
    background: var(--azul);
    color: #fff;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    padding: 2px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
    margin-right: 5px;
}

.contenido-textos p{
    padding: 0px 0px 30px 15px;
    font-weight: 300;
    text-align: justify;
}

/* Nosotros*/
.contenido-textos p{
    padding: 0px 0px 30px 15px;
    font-weight: 300;
    text-align: justify;
}
/*Galeria*/


.portafolio{
    background: #f2f2f2;
}

.galeria-port{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.imagen-port{
    width: 24%;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
}

.imagen-port > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.imagen-port h4{
    color: var(--azul);
}
.hover-galeria{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: hsla(246, 90%, 16%, 0.459);
    transition: transform .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover-galeria h6{
    color: #fff;
}

.imagen-port:hover .hover-galeria{
    transform: scale(1);
}

/* Clients */

.cards{
    display: flex;
    justify-content: space-evenly;
    
}

.cards .card{
    background: var(--azul);
    display: flex;
    width: 30%;
    height: 200px;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.6);
    
}

.cards .card img{
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    display: block;
}

.cards .card > .contenido-texto-card{
    width: 60%;
    color: #fff;
}

.cards .card > .contenido-texto-card p{
    font-weight: 300;
    padding-top: 5px;
}

/*  Our team */

.about-services{
    background: #f2f2f2;
    padding-bottom: 30px;
}


.servicio-cont{
    display:flex;
    justify-content: space-between;
    align-items: center;
}

.servicio-ind{
    width: 28%;
    text-align: center;
    
    align-items: center;
}

.servicio-ind img{
    width: 90%;
}

.servicio-ind h3{
    margin: 10px 0;
}

.servicio-ind p{
    font-weight: 300;
    text-align: justify;
}

/* footer */

footer{
    padding: 20px 0 10px 0;
    margin: auto;
    overflow: hidden;
    border-bottom: 1px solid #ccc;
    background: -webkit-linear-gradient(to right, hsla(240, 1%, 15%, 0.459), hsla(240, 2%, 10%, 0.664)), url(../img/Foto_grupal.jpg);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(240, 1%, 15%, 0.459), hsla(240, 2%, 10%, 0.664)), url(../img/Foto_grupal.jpg);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    align-items: center;
}

.contenedor-footer{
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 10px;
}

.content-foo{
    text-align: center;
}

.content-foo h4{
    color: #fff;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.content-foo p{
    color: #fff;
}

.titulo-final{
    text-align: center;
    font-size: 24px;
    margin: 20px 0 0 0;
    color: #fff;
}

/**Footer*/

.footer .footer-content{
    width: 100%;
    padding-top: 50px;
    margin: auto;
}
.footer .footer-content .footer-title h2{
    text-align: center;
    color: #fff;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 5px;
}
.footer .footer-content .footer-title hr{
    width: 30%;
    margin: auto;
}
.footer .footer-content .formulario-content{
    width: 40%;
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--azul);
    margin: 50px auto;
    padding: 30px;
    margin-bottom: 150px;
 }
 .footer .footer-content .formulario-content #formulario{
    display: flex;
    justify-content: center;
    flex-direction: column;
 }
 .footer .footer-content .formulario-content #formulario label{
     text-align: center;
     color: var(--azul);
     font-size: 22px;
     margin: 30px 0px 10px 0px;
 }
 .footer .footer-content .formulario-content #formulario input{
     width:90% ;
     height: 40px;
     margin: auto;
     border: 1px solid var(--azul);
     border-radius: 24px;
     outline: none;
     font-size: 15px;
     color: var(--black);
     padding: 20px;
 }
 .footer .footer-content .formulario-content #formulario textarea{
     width: 90%;
     height: 200px;
     margin: auto;
     border: 1px solid var(--azul);
     border-radius: 24px;
     outline: none;
     font-size: 15px;
     color: var(--black);
     padding: 20px;
 }
 .footer .footer-content .formulario-content #formulario .send{
     width: 100%;
     display: flex;
     justify-content: center;
     margin: 40px 0px;
 }
 .footer .footer-content .formulario-content #formulario .send button{
     width: 150px;
     height: 40px;
     background: var(--verde);
     border-radius: 24px;
     border: none;
     outline: none;
     font-size: 22px;
     color: #fff;
     text-align: center;
     margin-top: 10px;
     cursor: pointer;
     transition: 0.5s;
 }
 .footer .footer-content .formulario-content #formulario .send button:hover{
     background: var(--azul);
 }

@media screen and (max-width:900px){
    header{
        background-position: center;
    }

    .btn-menu > .fa-bars{
        display:block;
        position: absolute;
        top:20px;
        right: 30px;
        font-size: 28px;
        cursor: pointer;
        color: #fff;
    }
    .btn-menu > .fa-bars:hover{
        color:var(--azul);
    }
    .btn-menu > .fa-times{
        color:#fff;
    }
    .menu .list-container{
        position: absolute;
        top:60px;
        left:-100%;
        width: 100%;
        height: calc(100vh-60px);
        background:#fff;
    }
    .menu .list-container .lists{
        width: 100%;
        height: 100%;
        display:flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        border-top: 5px solid var(--azul);
    }
    .menu .list-container .lists li{
        width:90%;
        margin: 10px 0px;
        border-bottom: 1px solid var(--azul);
        text-align: center;
        
    
    }
    .menu .list-container .lists li a{
        font-size: 20px;
        color: var(--azul);
    }
    .menu .list-container .lists li a.activo{
        background: none;
        color:var(--azul);
    }
    .menu .list-container .lists li a:hover{
        background: none;
        color:var(--azul);
    }
    
    .contenedor-sobre-nosotros{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sobre-nosotros .contenido-textos{
        width: 90%;
    }

    .imagen-about-us{
        width: 90%;
    }

    /* Galeria */

    .imagen-port{
        width: 44%;
    }

    /* Clientes */

    .cards{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .cards .card{
        width: 90%;
    }

    .cards .card:first-child{
        margin-bottom: 30px;
    }

    /* servicios */

    .servicio-cont{
        justify-content: center;
        flex-direction: column;
    }

    .servicio-ind{
        width: 50%;
        text-align: center;
    }

    .servicio-ind:nth-child(1), .servicio-ind:nth-child(2){
        margin-bottom: 60px;
    }

    .servicio-ind img{
        width: 90%;
    }
}

@media screen and (max-width:500px){
    nav{
        text-align: center;
        padding: 30px 0 0 0;
    }

    nav > a{
        margin-right: 5px;
    }

    
    .textos-header h1{
        font-size: 35px;
    }

    .textos-header h2{
        font-size: 20px;
    }

    /* ABOUT US */

    .imagen-about-us{
        margin-bottom: 60px;
        width: 99%;
    }

    .sobre-nosotros .contenido-textos{
        width: 95%;
    }

    /* Galeria */

    .imagen-port{
        width: 95%;
    }

    /* Clients */

    .cards .card{
        height: 450px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cards .card img{
        width: 90px;
        height: 90px;
    }

    /* Footer */

    .contenedor-footer{
        flex-direction: column;
        border: none;
    }

    .content-foo{
        margin-bottom: 20px;
        text-align: center;
    }

    .content-foo h4{
        border: none;
    }

    .content-foo p{
        color: #ccc;
        border-bottom: 1px solid #f2f2f2;
        padding-bottom: 20px;
    }

    .titulo-final{
        font-size: 20px;
    }
}

.ir-arriba{
    display: none;
    padding: 20px;
    background: var(--verde);
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
}
.ir-arriba:hover{
    background: var(--azul);
}