
/* RESET */

*{
    margin: 0;
    padding: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

/* HEADER */

header{
    height: 80px;
    background-color: #228B22;
    padding: 50px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    /*text-transform: uppercase;*/
    color: #fff;
    font-weight: 430;
}

.menu a{
    color: #fff;
    text-transform: uppercase;
    padding: 0 10px;
    transition: 0.9s;
}

.mostrar-menu,
.esconder-menu{
    font-size: 30px;
    cursor: pointer;
    display: none; 
    transition: 0.8s;
}

.mostrar-menu{
    order: 1;
}

.menu a:hover,
.mostrar-menu:hover,
.esconder-menu:hover{
    color: #000000;
}

#check {
    display: none; 
} 

/* BANNER SECTION */

#banner {
    padding: 0 50px;
    background-image: url(../img/fondo.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 60vh;
}

.contenido-banner {
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contenido-banner h3 {
    font-size: 30px;
    font-weight: 400;
    padding: 10px 0px;
}

.contenido-banner h3 span {
    font-weight: 600;
}

.boton-empezar {
    color: #fff;
    border: 1px solid #6cc091;
    padding: 20px 40px;
    align-self: baseline;
    transition: 0.8s;
}

.boton-empezar:hover {
    background: #000000;
}

/* SECTION PERSONAS ¨*/

#personas {
    background: linear-gradient(45deg, #228B22 35%, rgb(90, 126, 7) 73%);
    padding: 20px 50px;
    display: flex;
    justify-content: center;
    text-align: center;
}

#personas img {
    border-radius: 100%;
}

#personas div {
    padding: 30px 30px;
}

#personas div h4 {
    color: #fff;
    font-size: 20px;
    margin: 15px 0px;
}

#personas div p {
    color: #fff;
    font-size: 18px;
}

.boton-saber-mas {
    display: inline-block;
    color: #fff;
    padding: 10px 30px;
    border: 3px solid #000000;
    border-radius: 30px;
    margin-top: 15px;
    transition: all 0.4s;
}

.boton-saber-mas:hover {
    background: #000000;
    color: #fff;
}

/* SECCION FORMULARIO */

#contacto {
    background: linear-gradient(45deg, #228B22 35%, rgb(90, 126, 7) 73%);
    padding: 50px 0px;
    color: #fff;
}

#contacto h4 {
    text-align: center;
    font-size: 25px;
    margin-bottom: 25px;
}

#contacto form{
    max-width: 80%;
    margin: 0 auto;
}

.datos-form {
    display: flex;
}

.datos-form div {
    padding: 10px;
    flex: 1;
}

form label {
    display: block;
    margin-bottom: 10px;
}

form input, 
form textarea {
    background: #6cc091;
    border-radius: 10px;
    border: 2px solid #6cc091;
    padding: 10px 5px;
    outline: 0;
    color: #fff;
    width: 100%;
}

form input:focus, 
form textarea:focus {
    border-color: #4bae77;
    box-shadow: 0 0 0 1px #4bae77;
}

form input::placeholder, 
form textarea::placeholder {
    color: #fff;
}

.mensaje {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.boton-formulario .boton-saber-mas {
    display: block;
    border: 1px solid #fff;
    color: #fff;
    text-align: center;
    transition: 0.4s;
}

.boton-formulario .boton-saber-mas:hover {
    background: #4fa776ad;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    /* HEADER */
    .mostrar-menu,
    .esconder-menu {
        display: block;
    }

    .menu {

        position: fixed;
        background-image: url(../img/fondo.jpg);
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        width: 100%;
        height: 100vh;
        /*background: #4D4D5C;*/
        right: -100%;
        top: 0;
        text-align: center;
        padding: 100px 0px;
        z-index: 100;
        transition: 0.8s;
    }

    .menu a {
        display: block;
        padding: 15px;
    }

    .esconder-menu {
        position: absolute;
        top: 40px;
        right: 40px;
    }
    
    #check:checked ~ .menu {
        right: 0;
    }

    /* PERSONAS */
    #personas {
        flex-direction: column;
    }

    /* FORMULARIO */

    .datos-form {
        flex-direction: column;
    }

}
