* {
    font-family: 'Ubuntu', sans-serif;
}

body{
    background-color: #f7f7f7;
}

.title{
    font-family: 'Days One', sans-serif;
}

header, footer{
    padding: 3vh 5%;
}

header{
    background-color: #212121;
    height: 15vh;
    display: grid;
    grid-template-columns: 30% 70%;
    grid-template-rows: 100%;
    justify-content: center;
    align-items: center;
}

header > * {
    max-height: 100%;
}

header > a{
    height: 100%;
}

header img{
    max-height: 100%;
}

.nav a{
    align-self: center;
    font-family: 'Days One', sans-serif;
    color: white;
    padding: 1rem 3rem;
}

.nav a.boton{
    font-family: 'Days One', sans-serif;
    color: black;
    background-color: #EC7004;
}

footer{
    background-color: #000000;
    display: grid;
    grid-template-columns: 30% 5% 40% 5% 20%;
    grid-template-rows: 100%;
}

.informacion{
    width: 100%;
    height: 100%;
    color: white;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 24% 76%;
}

.informacion h1{
    grid-area: 1 / 1 / 2/ 3;
    color: white;
    font-family: 'Days One', sans-serif;
    font-size: 1.5vw;
}

.sede{
    margin-right: 1vw;
}

.sede h2{
    font-size: 1.2vw; 
}

.sede p{
    font-size: 0.85vw;
}

.redes{
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.redes a{
    font-family: 'Days One', sans-serif;
    font-size: 1.25vw;
}

main{
    padding: 0 ;
}

#section-c, #section-e {
    padding: 13vh 8%;
    
}

#section-a, #section-b, #section-d {
    padding: 5vh 8%;
    
}

#section-a h1, #section-c h1, #section-e h1{
    font-family: 'Days One', sans-serif;
    font-size: 2.5vw;
    line-height: 0.8;
}

#section-a{
    height: 60vh;
    display: grid;
    grid-template-columns: 40% 10% 10% 40%;
    grid-template-rows: 60% 40%;
    overflow: hidden;
}

#section-a h2{
    grid-area: 1 / 1 / 2 / 4;
    align-self: end;
    margin: 0;
    font-size: 3.3vw;
    font-family: 'Days One', sans-serif;
}
#section-a h1{
    grid-area: 2 / 1 / 3 / 5;
    align-self: start;
    color: #EF8C36;
    margin: 0;
    font-size: 4.1vw;
}

#section-a img{
    grid-area: 1 / 3 / 3 / 5;
    align-self: start;
    color: #EF8C36;
    margin: 0;
    font-size: 5rem;
    justify-self: center;
    align-self: center;
    max-height: 100%;
}



#section-b{
    background-color: #EF8C36;
}

#section-b, #section-d{
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#section-b h1, #section-d h1{
    font-family: 'Days One', sans-serif;
    font-size: 1.6vw;
}

#section-b p, #section-d p{
    font-size: 1.25vw;
    text-align: justify;
}

#section-b a.boton{
    background-color: white;
    font-size: 0.85vw;
}

#section-b a.boton, #section-d a.boton{
    font-family: 'Days One', sans-serif;
    color: black;
    
    padding: 1rem 3rem;
    margin-top: 1.5rem;
}

#section-c{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#section-c .servicios{
    
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
}

.servicio{
    max-width: 28%;
    margin-top: 3rem;
}

.servicios .titulo{
    font-family: 'Days One', sans-serif;
    font-size: 1vw;
}

.servicios p{
    font-size: 0.85vw;
}


#section-d{
    background-color: #212121;
    color: white;
}

#section-d a.boton{
    background-color: #EC7004;
}

#section-e{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#section-e p{
    font-size: 1.25vw;
    margin-top: 1.5rem;
}

#section-e .clientes{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 1.5rem;
}

.clientes img{
    height: 8rem;
    filter: grayscale(100%);
}

#section-e a{
    display: flex;
    align-items: center;
    align-self: end;
    margin-top: 1.5rem;
    font-size: 1.25vw;
}

#section-e a svg{
    height: 3rem;
}

@media only screen and (max-width: 501px) {
    #section-a {
        height: 60vh;
        display: grid;
        grid-template-columns: 40% 10% 10% 40%;
        grid-template-rows: 80% 20%;
        overflow: hidden;
    }

    #section-a h2{
        font-size: 6vw;
    }

    #section-a h1{
        font-size: 6.3vw;
    }

    #section-a img{
        grid-area: 1 / 1 / 2 / 5;
        align-self: start;
        color: #EF8C36;
        margin: 0;
        justify-self: center;
        align-self: center;
        max-height: 100%;
    }

    #section-b h1, #section-d h1{
        font-size: 3.8vw;
    }

    #section-b p, #section-d p{
        font-size: 3vw;
    }

    #section-b a.boton, #section-d a.boton{
        font-size: 2.2vw;
    }

    #section-c h1, #section-e h1{
        font-size: 5vw;
    }

    .servicio{
        max-width: 100%;
    }

    .servicios .titulo{
        font-size: 3.5vw;
    }

    .servicios p{
        font-size: 2.5vw;
    }

    #section-e a{
        font-size: 2.5vw;
    }
    #section-e p{
        font-size: 3vw;
    }

    .nav{
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .nav a{
        width: 45%;
        font-size: 2vw;
        padding: 1.5vw 4vw;
        text-align: center;
    }

    header > a{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    header > a > img {
        height: auto;
    }

    footer{
        grid-template-columns: 100%;
        grid-template-rows: auto auto;
        height: auto;
    }

    footer > a, .divisor{
        display: none;
    }

    .informacion h1{
        font-size: 5vw;
    }

    .sede h2{
        font-size: 3.3vw;
    }

    .sede p{
        font-size: 2.5vw;
    }

    .redes{
        margin-top: 4vw;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-around;
    }
    .redes a{
        font-size: 4vw;
        width: 50%;
    }
  }
