@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(http://weloveiconfonts.com/api/?family=fontawesome|typicons);
@import url(carrousel.css);
@import url(proyectos.css);
@import url(servicio.css);
@import url(mapa.css);
@import url(contactos_arriba.css);



[class*="fontawesome-"]:before {
  font-family: 'FontAwesome', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
}



header {
    width: 100%;
    height: 55px;
    background: rgb(255, 255, 255);
    color: #fff;
    
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.contenedor {
    width: 95%;
    margin: auto;
}

.contenedor h1{
    font-size: 28px;
    margin-top: 5PX;
}

.contenedor img{
    margin-top: 8px;
    width: 40%; 
}

h1 {
    color: black;
    float: left;
}

header .contenedor {
    
    display: table;
}


#menu-bar {
    display: none;
}

header label {
    float: right;
    font-size: 28px;
    margin: 6px 0;
    cursor: pointer;
}

.menu {
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
    height: 459%;
    background: rgb(40, 27, 70,0.6);
    transition: all 0.5s;
    transform: translateX(-100%);
}

.menu a {
    display: block;
    color: #fff;
    height: 42px;
    text-decoration: none;
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

.menu a:hover {
    background: rgba(255,255,255,0.3);
}

#menu-bar:checked ~ .menu {
    transform: translateX(0%);
}


@media (min-width:768px){
    .contenedor img{
    margin-left: 5px;;
    margin-top: 5px;
    width: 20%; 
}
}

@media (min-width:500px){
    .contenedor img{
    margin-left: 5px;;
    margin-top: 5px;
    width: 20%; 
}
}

@media (min-width:900px){
    .contenedor img{
    margin-left: 5px;;
    margin-top: 5px;
    width: 18%; 
}
}



@media (min-width:1024px) {
    .menu {
        position: static;
        width: auto;
        height: auto;
        background: white;
        transform: translateX(0%);
        float: right;
        display: flex;
    }
    
    .menu a {
        color: black;
        border: none;
    }
    
    header label { 
        display: none;
    }
    
    header{
        margin-top: 25px;
    }
    
    .contenedor h1{
    font-size: 38px;
        margin-top: 0PX;
}
 
    .contenedor img{
    margin-left: 5px;;
    margin-top: 3px;
    width: 18%; 
        height: 50px;
}
    
}



