@import url('https://fonts.googleapis.com/css?family=Poppins:300,900');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    width: 100%;
    height: 80px;
    background:#007c47;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.contenedor a{
    font-family: 'Poppins', sans-serif;
}
.contenedor {
    width: 98%;
    margin: auto;
    
}

.contenedor img {
    float: left;
    padding-top: 8px
}

header .contenedor {
    display: table;
        
}

#menu-bar {
    display: none;
    
}


header label {
    float: right;
    font-size: 28px;
    margin: 24px  0; 
    cursor: pointer;
    color: #ffffff;
}


.menu {
    position:absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10,130,100,.9);
    transition: all 0.5s;
    transform: translateX(-100%);
}

.menu a {
    display: block;
    color: #fff;
    height: 50px;
    text-decoration: none;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.menu a:hover {
    background: rgba(100,100,10,0.8);
}

#menu-bar:checked ~ .menu {
    transform: translateX(0%);
}

@media (min-width:1024px){
    .menu {
        position: static;
        width: auto;
        height: auto;
        transform: translateX(0);
        float: right;
        display: flex;
    }
    
    .menu a {
        border: none;
        padding: 30px;
        height: 80px;
        background:#007c47;
    }
    
    
    
    header label {
        display: none;
    }
}
@media (min-width:1024px) {
    header{
        box-shadow: 
            0 1px 5px #3e3e3e;
    }
    .contenedor {
        width: 1000px;
    }
    
 
}

