/* Here I do a reset of the page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: auto;
}
/* Here I give the style to the header */
header {
    padding-top: 30px;
    background-color: #000;
    width: 100%;
    height: 570px;
    background-size: cover;
    color: #fff;
    font-family: sans-serif;
}

.header-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 100px;
}

h1 {
    font-weight: bolder;
}

.header-text h1 {
    font-size: 50px;
}

.blog {
    font-weight: normal;
}

ul {

    display: flex;
    list-style: none;
}

li {
    padding: 0px 20px;
}

header h2 {
    display: flex;
    justify-content: center;
    padding-top: 70px;
    margin-bottom: 0px;
}

header p {
    margin: 0;
    display: flex;
    justify-content: center;
    font-size: 10px;
}

/* Here we give the style to the form */
section {
    padding: 20px;
    max-width: 800px;
    margin: auto;
    background-color: white;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  


form{
    background-color: transparent;
    padding: 20px 0;
    max-width: 500px;
    margin: auto;
    box-shadow: 0 0 55px #fff2 ;
    margin-top: 50px;
    font-size: 14px;
    margin-bottom: 40px;
    border-radius: 8px;
}


.form_input{
    padding: 10px 20px;
}

input, textarea, select{
    width: 100%;
    box-sizing: border-box;
    padding: 6px 12px;
    border: none;
    border: 1px solid #666;
    box-shadow: 0px 0px 15px #0003;
    background-color: transparent;
    border-radius: 4px;
    color: #ddd;
    
}
option{
    background-color: #222;

}

textarea{
    min-width: 100%;
    resize: none;
    min-height: 102px;
    font-family: sans-serif;
}

label{
    font-size: 0.88em;
    line-height: 2.1;
}

.checkbox{
    width: auto;
    height: 10px;
}

fieldset{
    border-radius: 5px;
    border: 1px solid #666;
    padding: 8px 6px 20px 6px;
    margin: 20px;
}

legend{
    padding: 0 6px;
    color: #777;
}

/* Here we remove the underline from the links to give the navbar a better style */
.nosotros {
    text-decoration: none;
    color: #fff;
}
/* Here we give the style to the footer */
.footer {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #000;
    color: #fff;
    padding: 20px 100px;
}

.footer h1 {
    font-size: 50px;
}

.footer li {
    font-size: 20px;

}

/* Responsive for desktop */
@media (min-width:1024px){
    .first img{
        width: auto;
        height: auto;
    }

    .second img{
        width: auto;
        height: auto;
    }
    body{
        width: 100%;
    }
}




/* Responsive for tablet */
@media (max-width:768px) {

    .header-text,
    .footer {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .text-header {
        display: flex;
        flex-direction: column;
        width: auto;
        height: auto;
        text-align: center;
        padding-bottom: 40px;
    }

    p {
        text-align: justify;
    }

    nav {

        padding: 30px;
    }

    ul {
        display: flex;
        flex-direction: column;
    }

    li {
        padding: 10px;
        font-size: 20px;
    }

    header,
    footer {
        width: 100%;
        height: 100%;
    }

    body, html{
        height: auto;
    }


}

/* Responsive for mobil */
@media (max-width:440px) {

    .header-text,
    .footer {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .text-header {
        display: flex;
        flex-direction: column;
        width: auto;
        height: auto;
        text-align: center;
        padding-bottom: 30px;
    }

    p {
        text-align: justify;
    }

    nav {

        padding: 30px;
    }

    ul {
        display: flex;
        flex-direction: column;
    }

    li {
        padding: 10px;
        font-size: 20px;
    }


    .first img {
        width: 100%;
        height: 100%;
    }

    .second img{
        width: 100%;
        height: 100%;
    }

    header,
    footer {
        width: 100%;
        height: 100%;
    }


} 
