body{
    background-color: #E8E9ED;
   font-family: Arial, Helvetica, sans-serif;
}

.contenedor{

    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3,auto);
    grid-template-areas: "header header header"
                         "contenido contenido contenido"
                         "footer footer footer" ;     
} 

.contenedor header{
    grid-area: header;
    background-color: white; 
    width: 100%;
    box-shadow: 0 0 6px rgba(0,0,0,.5);
    padding: 3px 0px;    
    /*min-height: 280px; */
    /* height: 30vh; */    
	left: 0; 
	top: 0;
	position: fixed; 
} 

.contenedor nav{
    /* grid-area: nav;  */
    height: 70px;
    width: 90%;
    margin: auto;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

nav #logo{
    height: 70px;
    vertical-align: top;
}

nav a{
    text-decoration: none;
    font-weight: 300;
    color: #2C4393;
    margin-right: 10px;
}

.hamburguesa{
    height: 100%;
    width: 70px;
    text-align: center;
    display: none; 
}

.hamburguesa img{
    vertical-align: 0px;
    padding: 23px 0;
}

.contenedor main {
    grid-area: contenido;
    padding-left: 1%;
    padding-right: 1%;
    padding-top : 6%;
    padding-bottom: 4%;
}

 
.contenedor main h2{
    text-align: center;
     margin-top: 20px; 
    color: #2C4393;
}

.contenedor main .circuloServicios{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 2,auto; 
    row-gap: 35px;
    place-items: center; 
} 

.contenedor main .circuloServicios article{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(3,auto); 
    place-items: center;  
} 

.contenedor main .circuloServicios img{
    border-radius: 150px;
    border:5px solid white;
}

.button {
    font: bold 13px Arial;
    text-decoration: none;
    background-color: #009ED8;
    color: white;
    padding: 10px;
    border-radius: 9px;   
}

.contenedor main .circuloServicios #obrasCiviles{
    height: 237px;
    width: 237px;
}


footer{
    grid-area: footer;
    background-color: #181919 ;
    color: white;
    padding: 10px;
    text-align: center;
    /* display: flex; */
    
    
}

/* footer div{
    width: 50%;
} */

@media screen and (max-width: 768px){

    .contenedor{

        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3,auto);
        grid-template-areas: "header header header"
                             "contenido contenido contenido"
                             "footer footer footer" ;    
    } 
    
    .contenedor header{
        grid-area: header;
        background-color: white; 
        width: 100%;
        box-shadow: 0 0 6px rgba(0,0,0,.5);
        padding: 3px 0px;    
        /*min-height: 280px; */
        /* height: 30vh; */    
        left: 0; 
        top: 0;
        position: fixed; 
    } 

    .contenedor nav{
        height: 70px; 
        width: 90%;
        margin: auto;
        overflow: hidden;
        display: flex;
        justify-content: space-between;
        align-items: center; 
    
    }
       
    .hamburguesa{
        display: block;
        height: 100%;
        width: auto;
    }

    .hamburguesa img{
        vertical-align: 0px;
        /* padding: 23px 0; */
    }

    .enlaces{
        position: fixed;
        background-color: #2C4393;
        left: 0;
        top: 70px;
        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-direction: column;
        transform: translateX(-100%);
        z-index: 1000;
        font-size: 20px;
    }

    .enlaces2{
        transform: translateX(0%);
    }

    .enlaces a{
        color:white;
    }

    nav #logo{
        height: 50px;
        vertical-align: top;
    }

    .contenedor main {
        grid-area: contenido;
        background-color: #E8E9ED;
    }

    .contenedor main .circuloServicios{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(9,auto); 
        place-items: center;  
    } 

    .contenedor main .circuloServicios article{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2,1fr); 
        place-items: center;  
    } 
    
    .contenedor main .circuloServicios article img{
        width: 80%;
        grid-row: 1/3;
    }

    .contenedor main .circuloServicios article button{
        grid-row :2/3;
        grid-column: 2/3;
        width: 70%;
        align-self: flex-start; 
        background-color: #009ED8;
        color: white;
        font-size: large;
        padding: 3%;
    }

    .contenedor main .circuloServicios article h6{
        grid-row: 1/2;
        grid-column: 2/3;
        justify-self: center;  
        align-self: center;      
    }
    

}