header {
    min-width: 100%;
    margin: 0;
    padding: 0;
}

header nav {
    background-color:#ffffffc5;
    position: fixed;
    min-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    font-family: 'Poppins', sans-serif;
}

header nav #logo {
    height: 40px;
    padding: 10px;
    display: flex;
    align-items: center;
}

header nav ul {
    color: #2dabe1bb;
    font-size: 16px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    min-width: 70%;

}

header nav ul li {
    justify-content: flex-end;
    margin-left: 15px;

}

header nav #acceso {
    height: 30px;
    padding: 5px 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    background-color: #EA9427;
    margin: 10px;
    border-radius: 5px;
    color:#ffffff;
}

#acceso:hover {
    opacity: 0.50;
  }

a:hover {
    opacity: 0.65;
    color: #EA9427;
}


body {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #0A4056;
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
    color:unset;
}

#cabecera {
    background-image: url("./resources/contacto.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-top: 65px;
    min-height: 650px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #2e2e2ea2;
    margin-top: 60px;
}

#cabecera h1 {
    font-size: 48px;
    color: #928f8a;
    text-align: center;
}

#cabecera h4 {
    font-size: 28px;
    text-align: center;
    color: #928f8a;
    max-width: 75%;

}

#cabecera h5 {
    font-size: 36px;
}

#entradilla {
    font-size: 48px;
    font-family: 'Ubuntu', sans-serif;
    text-align: center;
    color: #EA9427;
    width: 50%;
    height: 250px;
    display: flex;
    align-items: center;
}


.contacto {
    width: 100%;
    background-color: #5e780f0e;
    text-align: center;
    padding-bottom: 5%;
}

.contacto h1 {
    text-align: center;
    font-size: 36px;
    color: #78290F;
    padding: 50px 0px;
    font-family: 'IBM Plex Mono', monospace;
}

.contacto ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    list-style: none;
}

.contacto ul li {
    padding: 0px 100px;
}

.contacto form {
    padding: 0px 0px;
}

.contacto img {
    width: 250px;
    padding-top: 10px;
}

.contacto input {
    background-color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color:  #EA9427;
    border: 1px;
    width: 200px;
    height: 40px;
    padding: 0px 10px;
    border-radius: 15px;

}

.contacto textarea {
    font-size: 18px;
    color:  #EA9427;
    font-family: 'Poppins', sans-serif;
    border: 1px;
    width: 438px;
    height: 160px;
    padding: 10px 10px;
    border-radius: 15px;

}

.contacto button {
    background-color: #EA9427;
    font-family: 'Poppins', sans-serif;
    border: 0;
    padding: 7px 20px;
    border-radius: 15px;
    color: #ffffff;
    font-size: 18px;
    width: 458px;
    height: 40px;
}

.contacto button:hover {
    color: #FEECD1;
    margin-top: 5px;
    opacity: 75%;
}



footer {
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #2DAAE1;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    text-align: center;
    width: 100%;
    font-size: 13px;

}

footer ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
}

footer ul #logo2 {
    width: 100px;
}

footer ul p {
    max-width: 100%;
}

footer ul li #linkedin {
    width: 50px;
}



@media only screen and (max-width: 550px) {
    
    body {
        font-size: 14px;
    }

    header nav {
  
        min-width: 100%;
        
    }
    
    header nav #logo {
        height: 30px;
        padding: 3px;
        padding-left: 5px;
 
    }
    
    header nav ul {
        font-size: 12px;
        padding-right: 0px;
        margin-right: 5px;

    }
    
    header nav ul li {
        margin-right: 5px;

        min-width: 20%;

    
    }
    
    header nav #acceso {
        display: none;

    }
    
    #cabecera {
        min-height: 600px;
    }

    #cabecera h1 {
        font-size: 38px;
        text-align: center;
    }

    #cabecera h4 {
        font-size: 22px;
        text-align: center;
        width: 90%;
    }

    #cabecera h5 {
        font-size: 32px;
    }

    #entradilla {
        font-size: 30px;
        width: 80%;
        height: 250px;
    }

    .contacto h1 {
        font-size: 24px;
        padding: 10px 0px;
    }
    
    .contacto ul {
        margin-right: 35px;
    }

    .contacto ul li {
        padding: 0px 30px;
    }
    
    .contacto form {
        padding: 0px 0px;
    }
    
    .contacto input {
        font-size: 14px;
        border: 1px;
        width: 100px;
        height: 30px;
    }
    
    .contacto textarea {
        font-size: 14px;
        width: 238px;
        height: 160px;
        padding: 10px 10px;
        border-radius: 15px;
    
    }
    
    .contacto button {
        border: 0;
        padding: 7px 20px;
        font-size: 14px;
        width: 258px;
        height: 40px;
    }


    footer {
        padding-top: 0px;
        padding-bottom: 0px;
    }
    
    footer ul #logo2 {
        display: none;
    }

    footer ul li p {
        font-size: 12px;
    }
    
    footer ul li #linkedin {
        display: none
    }

    
}

/* @media only screen and (max-width: 1200px) {



    #valores #nuestrosvalores h1 {
        font-size: 32px
    }
    
    #valores #nuestrosvalores h3 {
        font-size: 12px;
    }
        
    #valores #nuestrosvalores ol li h3 {
        font-size: 14px;
    }
    
    #valores #nuestrosvalores ol li p {
        font-size: 12px;
    }

    #contactanos {
        min-height: 500px; 
    }
    
    #contactanos h5 {
        font-size: 22px;
    }
    
    #contactanos #boton {
        font-size: 16px;
    }

    footer {
        padding: 10px 0;
    }

    footer ul {
        display: flex;
        justify-content: space-around;
        align-items: center;
        list-style: none;
    }

    footer ul #logo2 {
        width: 60px;
}

    footer ul p {
        font-size: 14px;
    }

    footer ul li #linkedin {
        width: 30px;
    }
}   