


@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
}

.contenedor {
    padding: 60px 0;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

.titulo {
    color: #558C03;
    font-size: 30px;
    text-align: center;
    margin-bottom: 60px;
}

/* Header */
header {
    width: 100%;
    height: 700px;
    background: #56ab2f;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, hsla(84, 71%, 83%, 0.40), hsla(84, 63%, 59%, 0.40)), url(../img/portada2.jpg);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, hsla(84, 71%, 83%, 0.40), hsla(84, 63%, 59%, 0.40)), url(../img/daniel-watson-8vBpYpTGo90-unsplash.jpg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

header .contenedor-nav {
    height: 100px;
    width: 100%;
    background: hsla(84, 63%, 59%, 0.8);
    margin: auto;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: fixed;
    z-index: 100;

    /*width: 100%;
    height: 100px;
    background: hsla(84, 63%, 59%, 0.8);
    color: #000;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;*/
}

header .contenedor-nav .logo {
    height: 70px;
    margin-left: 60px;
}

header .contenedor-nav .logo img {
    height: 100%;
    vertical-align: top;
}

nav {
    text-align: right;
    padding: 30px 50px 30px 0;
}

nav a {
    color: #000;
    font-weight: 300;
    text-decoration: none;
    margin-right: 10px;
}

nav a:hover {
    text-decoration: underline;
}

header .textos-header {
    display: flex;
    height: 620px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.textos-header img {
    width: 60%;
}

.textos-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
}

.textos-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 300;
}

.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.hamburguesa {
    height: 100%;
    width: 50px;
    text-align: center;
    display: none;
}

.hamburguesa img {
    vertical-align: top;
    /*padding: 23px;*/
}

/* Acerca de nosotros */
main .sobre-nosotros {
    padding: 30px 0 60px 0;
}

.contenedor-sobre-nosotros {
    display: flex;
    justify-content: space-between;
}

.imagen-sobre-nosotros {
    width: 48%;
    border: solid 10px #558C03;
    border-radius: 15px;
    box-shadow: 10px 10px 20px 0 rgba(0, 0, 0, 0.4);
}

.sobre-nosotros .contenido-textos {
    width: 48%;
}

.contenido-textos h3 {
    margin-bottom: 15px;
}

.contenido-textos h3 span {
    background: #8C4014;
    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, 0.5);
    margin-right: 10px;
}

.contenido-textos p {
    padding: 0px 0px 30px 15px;
    font-weight: 300;
    text-align: justify;
}

/* Servicios */
.servicios {
    background: #f2f2f2;
    padding-bottom: 30px;
}

.servicio-contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.servicio-individual {
    width: 28%;
    text-align: center;
}

.servicio-individual img {
    width: 90%;
    height: 290px;
}

.servicio-individual h3 {
    margin: 10px;
}

/*.servicio-individual p {
    font-weight: 300;
    text-align: justify;
}*/

/* Contacto */
.contenedor-formularios {
    padding-top: 60px;
    margin: auto;
    overflow: hidden;
}

.formularios {
    display: flex;
    background-image: url(../img/portada2.jpg);
    background-size: cover;
    padding: 50px;
}

form {
    width: 400px;
    height: 450px;
    background: #56ab2f;
    padding: 30px;
    margin: auto;
    border-radius: 10px;
    box-shadow: 7px 13px 37px rgba(0, 0, 0, 0.5);
}

/*.formulario {
    width: 400px;
    height: 450px;
    background: #56ab2f;
    padding: 30px;
    margin: auto;
    border-radius: 10px;
    box-shadow: 7px 13px 37px rgba(0, 0, 0, 0.5);
}*/

.formulario h4 {
    font-size: 22px;
    margin-bottom: 20px;
}

.control {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 16px;
    border: 1px solid #9be02c;
    font-size: 18px;
}

.formulario p {
    height: 40px;
    text-align: center;
    font-size: 18px;
    line-height: 35px;
}

.formulario .boton {
    width: 100%;
    background: #81cf28;
    border: none;
    padding: 12px;
    margin: 16px 0;
    font-size: 16px;
    border-radius: 50px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}

.formulario .boton:hover {
    background: #28cf44;
    transform: scale(1.1);
}

.segundo-formulario {
    width: 300px;
    height: 600px;
    background: #28cf44;
    padding: 30px;
    margin: auto;
    border-radius: 10px;
    box-shadow: 7px 13px 37px rgba(0, 0, 0, 0.5);
    flex-direction: column;
}

.segundo-formulario h4 {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

.segundo-formulario .botonwhats {
    width: 100%;
    background-color: #81cf28;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    border: none;
    padding: 12px;
    margin: 120px 0 20px 0;
    font-size: 16px;
    border-radius: 50px;
    text-align: center;
    display: inline-block;
}

.segundo-formulario .botonwhats a {
    text-decoration: none;
    color: black;
}

.segundo-formulario p {
    text-align: center;
    line-height: 30px;
}

.segundo-formulario .botonwhats:hover {
    background: #018a18;
    transform: scale(1.1);
}

.segundo-formulario .botonfb {
    width: 100%;
    background-color: #2f66db;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.5);
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
    border: none;
    padding: 12px;
    margin: 0px 0 120px 0;
    font-size: 16px;
    border-radius: 50px;
    text-align: center;
    display: inline-block;
}

.segundo-formulario .botonfb a {
    text-decoration: none;
    color: white;
}

.segundo-formulario .botonfb:hover {
    background: #5e87df;
    transform: scale(1.1);
}

/* Galeria */
.slide-contenedor {
    max-width: 100%;
    max-height: 100vh;
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    /*margin: auto;*/
}

.miSlider {
    display: block;
    transition: 2s;
    max-height: 100vh;
}

.miSlider img {
    width: 100%;
    max-height: 100vh;
    height: inherit;
    object-fit: cover;
    vertical-align: top;
    transition: 2s;
}

.direcciones {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
}

.direcciones a {
    color: #fff;
    display: inline-block;
    padding: 20px;
    text-decoration: none;
}

.direcciones a:hover {
    background: rgba(0, 0, 0, 0.5);
    transition: 0.5s;
}

.barras {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.barra {
    cursor: pointer;
    height: 2px;
    width: 25px;
    margin: 0 2px;
    background: #dcdde1;
    display: inline-block;
    margin-left: 3px;
}

.active {
    background-color: #e74c3c;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: 0.4;}
    to {opacity: 1;}
}

/* Clientes */
.contenedor-clientes {
    background: #f2f2f2;
    padding-top: 30px;
}

.cartas {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    flex-wrap: wrap;
}

.cartas .carta {
    margin: 20px;
    background: #558C03;
    display: flex;
    width: 25%;
    height: 200px;
    align-items: center;
    justify-content: space-around;
    font-size: 28px;
    border-radius: 5px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}

.cartas .carta img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    display: block;
}

.cartas .carta > .contenido-texto-carta {
    width: 60%;
    color: #fff;
}

/*.cartas .carta > .contenido-texto-carta p {
    font-weight: 300;
    padding-top: 5px;
}*/



/* Social */
.contenedor-social {
    padding: 60px 0;
    overflow: hidden;
}

.banner-social {
    background: url(../img/Social/Bioverde_educacion.jpg);
    background-size: cover;
    height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-social .texto-banner-social {
    margin-top: 400px;
    margin-right: 600px;
}

.texto-banner-social h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    color: #154ec9;
    text-shadow: 2px 2px 6px #000;
}

.texto-banner-social h3 {
    font-size: 20px;
    color: white;
    text-shadow: 2px 2px 6px #000;
}

.social .acerca-de-social {
    padding: 60px 0;
    width: 90%;
    margin: auto;
    overflow: hidden;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    background-image: url(../img/bgsocial.jpg);
    background-size: cover;
}

.social .acerca-de-social img {
    width: 35%;
    border-radius: 20px;
    box-shadow: -10px 10px 8px rgba(0, 0, 0, 0.3);
    border: solid 16px #7494da;
}

.acerca-de-social .texto-social {
    padding-top: 10px;
    line-height: 25px;
    width: 48%;
    height: 70%;
    background:  #7494dab2;
    border: solid 10px #265dd3b2;
    border-radius: 20px;
    margin-top: 100px;
    font-size: 120%;
}

.acerca-de-social .texto-social h3 {
    margin-bottom: 15px;
    text-align: center;
}

.acerca-de-social .texto-social p {
    font-weight: 300;
    text-align: justify;
    margin: 15px;
}

/* footer */
footer {
    background: #8C4014;
    padding: 60px 0 30px 0;
    margin: auto;
    overflow: hidden;
}

.contenedor-footer {
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 50px;
    border-bottom: 1px solid #ccc;
}

.contenido-footer {
    text-align: center;
}

.contenido-footer h4 {
    color: #fff;
    border-bottom: 3px solid #A4D955;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.contenido-footer p {
    color: #fff;
}

.titulo-final {
    text-align: center;
    font-size: 12px;
    margin: 20px 0 0 0;
    color: #fff;;
}

/* para dispositivos moviles */
@media screen and (max-width: 900px) {
    
    /* header */
    header .contenedor-nav .logo {
        
    }

    header {
        background-position: center;
    }

    .contenedor-sobre-nosotros {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sobre-nosotros .contenido-textos {
        width: 90%;
    }

    .imagen-sobre-nosotros {
        width: 90%;
        margin-bottom: 30px;
    }

    .hamburguesa {
        display: block;
    }

    .links {
        position: fixed;
        background: rgb(172, 235, 136);
        left: 0;
        top: 100px;
        width: 60%;
        height: 100vh;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: column;
        transform: translateX(-100%);
    }

    .links2 {
        transform: translateX(0%);
    }

    /* contacto */
    .formularios {
        flex-direction: column;
        align-items: center;
        padding: 30px;
    }

    form {
        margin-top: 50px;
    }

    form {
        width: 300px;
    }

    /* clientes */
    .cartas {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .cartas .carta {
        width: 90%;
    }

    .cartas .carta p {
        text-align: justify;
    }

    .cartas .carta:first-child {
        margin-bottom: 30px;
    }

    /* servicios */
    .servicio-contenedor {
        justify-content: center;
        flex-direction: column;
    }

    .servicio-individual {
        width: 100%;
        text-align: center;
    }

    .servicio-individual:nth-child(1), .servicio-individual:nth-child(2) {
        margin-bottom: 60px;
    }

    .servicio-individual img {
        width: 70%;
    }

    /* social */
    .banner-social {
        height: 400px;
        background-size: cover;
    }

    .banner-social .texto-banner-social {
        margin-top: 300px;
        margin-right: 300px;
        margin-left: 15px;
        /*margin-top: 400px;
        margin-right: 600px;*/
    }
    
    .texto-banner-social h2 {
        font-size: 30px;
        /*font-family: 'Poppins', sans-serif;
        font-size: 40px;
        color: #154ec9;
        text-shadow: 2px 2px 6px #000;*/
    }
    
    .texto-banner-social h3 {
        font-size: 13px;
        /*font-size: 20px;
        color: white;
        text-shadow: 2px 2px 6px #000;*/
    }
}

@media screen and (max-width: 500px) {

    nav {
        text-align: center;
        padding: 20px 30px 20px 0px;
    }

    nav > a {
        margin-right: 5px;
    }

    .textos-header img {
        width: 80%;
    }

    /* acerca de nosotros */
    .imagen-sobre-nosotros {
        margin-bottom: 60px;
        width: 99%;
        box-shadow: 0px 5px 10px 0 rgba(0, 0, 0, 0.5);
    }

    .sobre-nosotros .contenido-textos {
        width: 95%;
    }

    /* Servicios */
    .servicio-individual img {
        height: 200px;
    }

    /* clientes */
    .cartas .carta {
        height: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
    }

    .cartas .carta h4 {
        text-align: center;
    }

    .cartas .carta p {
        text-align: justify;
    }

    .cartas .carta img {
        width: 90px;
        height: 90px;
    }

    /* social */
    .banner-social {
        height: 200px;
        background-size: cover;
    }

    .banner-social .texto-banner-social {
        margin-top: 110px;
        margin-right: 100px;
        margin-left: 15px;
        /*margin-top: 400px;
        margin-right: 600px;*/
    }
    
    .texto-banner-social h2 {
        font-size: 18px;
        /*font-family: 'Poppins', sans-serif;
        font-size: 40px;
        color: #154ec9;
        text-shadow: 2px 2px 6px #000;*/
    }
    
    .texto-banner-social h3 {
        font-size: 8px;
        /*font-size: 20px;
        color: white;
        text-shadow: 2px 2px 6px #000;*/
    }

    .social .acerca-de-social {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px, 0, 0, 0;
    }

    .social .acerca-de-social img {
        width: 100%;
        border-radius: 20px;
        margin-top: 20px;
    }

    .acerca-de-social .texto-social {
        width: 90%;
        padding: 20px;
        margin-top: 50px;
    }

    /* footer */
    .contenedor-footer {
        flex-direction: column;
    }

    .contenido-footer {
        margin-bottom: 20px;
        text-align: center;
    }

    .contenido-footer h4 {
        border: none;
    }

    .contenido-footer p {
        border-bottom: 3px solid #A4D955;
        padding-bottom: 20px;
    }
}