* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

header {
    width: 100%;
    height: 70px;
    background-color: rgb(255, 255, 255);
    left: 0px;
    top: 0px;
    /*position: fixed;*/
    display: flex;
    justify-content: center;
}

header>div {
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header img {
    height: 65%;
}


/*Menu hamburguesa*/

#panelhamburguesa,
#botonhamburguesa {
    display: none;
}

#asidemenuhamburguesa {
    display: flex;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 70px;
    width: 100%;
    z-index: 1;
    left: 0;
}

#asidemenuhamburguesa a {
    display: block;
    padding: 5%;
}

nav a {
    text-decoration: none;
    color: rgba(0, 0, 0, .7);
    transition: all .4s ease-in-out;
}

nav a:hover {
    color: black;
    font-weight: bolder;
}


/*main*/

.bloqueuno {
    width: 100%;
    height: 400px;
    background-image: url(../img/portada.jpg);
    text-align: center;
    background-size: cover;
    display: flex;
}

.fondonegroconopacidad {
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.letrero {
    font-size: 3vw;
    text-shadow: rgb(54, 54, 54) 2px 2px 7px;
    letter-spacing: 0px;
    /*text-transform: uppercase;*/
    color: white;
    transition: all 4s ease-in-out;
}

.letrero:hover {
    letter-spacing: 2px;
}


/*Bloque dos*/

#bloquedos {
    width: 100%;
    padding: 30px;
    display: flex;
    justify-content: center;
}

#infodos {
    display: flex;
    width: 85%;
    justify-content: space-between;
}

.infodos {
    width: 45%;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
}

.infodos img {
    width: 100%;
    margin: 0px auto;
    display: block;
}


/*tipografias bloque 2*/

.infodos p,
.infodos h1 {
    margin: 10px;
}

.infodos h1 {
    font-size: 2vw;
    margin: 0px 0px 5px 10px;
}

.infodos p {
    font-size: 1.05vw;
    margin: 0px 0px 5px 10px;
}

#fondoprueba {
    background-image: url("../img/recurso.png");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
}

#botonblq2 {
    margin: 0px 0px 5px 10px;
    background-color: transparent;
    color: #019678;
    padding: 5px 10px;
    border-radius: 11px;
    border: solid 1pt;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05vw;
    width: 30%;
    text-align: center;
}

.coll {
    height: 10px;
    display: block;
}


/*Bloque 3*/

#bloquetres {
    width: 100%;
    padding: 30px;
    display: flex;
    justify-content: center;
}

#infotres {
    display: flex;
    width: 85%;
    flex-direction: column;
}

#infotres>div>h2 {
    text-align: center;
    margin: 15px;
}

#queofrecemos {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

#queofrecemos img {
    width: 65%;
}

.infotresservicios {
    width: 17%;
}


/*Bloque 4*/

#bloquecuatro,
#bloquesiete {
    width: 100%;
    display: flex;
    justify-content: center;
}

#infocuatro,
#infosiete {
    display: flex;
    width: 85%;
    justify-content: space-between;
}


/*Bloque 5 - intermedio */

#bloquecinco {
    width: 100%;
    background-color: #29323a;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

#bloquecinco h2 {
    font-size: 3vw;
    text-align: center;
}

#bloquecinco span {
    color: #008863;
}


/*Bloque seis*/

#bloqueseis h1 {
    align-self: center;
    margin: 15px 0px;
}

#bloqueseis .infodos {
    width: 100%;
}

.compotrabajos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 13vw 13vw;
    width: 85%;
    align-self: center;
    overflow: hidden;
}

.compotrabajos img {
    filter: grayscale(100%);
    z-index: 3;
}

.compotrabajos img:hover {
    filter: none;
    z-index: 3;
}


/*bloque 7*/

#bloquesiete {
    margin: 35px 0px 0px 0px;
}

#bloquesiete .infodos {
    width: 35%;
}

#bloquesiete .infodos img,
#bloquesiete .infodos p {
    margin: 0px;
}

#rotuloequipo {
    width: 35%;
}

.spanverde {
    color: #008863;
}


/*Footer*/

footer {
    width: 100%;
    background-color: #29323a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.textocentrado {
    text-align: center;
}

footer>div {
    width: 85%;
    display: flex;
    justify-content: space-around;
    margin: 15px;
}

footer>div>div {
    width: 24%;
    text-align: center;
}

#footerlogo {
    width: 90%;
    margin: 0 auto;
}

.divlogos {
    margin: 15px auto;
    width: 70%;
    display: flex;
    justify-content: space-around;
}

.divlogos img {
    width: 80%;
}


/*--------------Media-----------------------*/

@media (max-width: 700px) {
    /*Menu hamburguesa*/
    #panelhamburguesa,
    #botonhamburguesa {
        display: block;
    }
    #menuescritorio {
        display: none;
    }
    /*Bloque 2 media 700*/
    #infodos {
        width: 100%;
    }
    #recurso001 {
        display: none;
    }
    .infodos {
        width: 100%;
    }
    .infodos h1 {
        font-size: 6vw;
    }
    .infodos p {
        font-size: 3vw;
    }
    #botonblq2 {
        font-size: 3.5vw;
        width: 45%;
        text-align: center;
        align-self: center;
        margin: 10px 0px
    }
    /*Bloque 3*/
    #infotres {
        width: 90%;
    }
    #queofrecemos p {
        font-size: 12px;
    }
    /*Bloque 4*/
    #infocuatro {
        flex-direction: column;
    }
    /*Bloque 5*/
    #bloquecinco {
        height: 270px;
    }
    #bloquecinco h2 {
        font-size: 4vw;
    }
    /*Footer*/
    footer>div {
        flex-direction: column;
        align-items: center;
    }
    footer>div>div {
        width: 82%;
        margin: 12px 0;
    }
    #footerlogo {
        width: 53%;
        margin: 10px;
    }
}