* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Montserrat', sans-serif;
}

header {
    width: 100%;
    height: 50px;
    background: #333;
    color: #fff;
    
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    }

.contenedor {
    width: 98%;
    margin: auto;
}

h1 {
    float: left;
}

header .contenedor{ 
          display: table;
}

section {
    width: 100%;
    margin-bottom: 25px;
}

#Bienvenidos{
    text-align: center;
    padding: 10px;    
}

footer{
    font-size: 15px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 25px;
}
/*-------------------------------------------------menu-------------------------------*/

#menu-bar {
    display: none;
}

header label{
    float: right;
    font-size: 28px;
    margin: 6px 0;
    cursor: pointer;
}

.menu{
     position: absolute;
     top: 50px;
     left: 0;
     width: 100%;
     height: 100vh;
     background: rgba(51,51,51,0.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(255,255,255,0.3)
}

#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;
    }
    
    header label {
        display: none;
    }
}

/*-------------------------------------------------banner-------------------------------*/

#banner{
    margin-top: 50px;
    position: relative;
}

#banner img{
    width: 100%;
    height: 100%;
}

#banner .contenedor{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: #ffffff
}

#banner h2{
    font-size: 29px;
}


@media (min-width: 480px) {
    #banner h2 {
        font-size: 40px;
    }
}

@media (min-width: 768px){
    #banner {
        height: 300px;
        overflow: hidden;
     }
    #banner img {
        height: auto;
        margin-top: -100px;
    }
} 


@media (min-width: 1024px) {
    #banner h2 {
        font-size: 40px;
    }
}

@media (min-width: 768px){
    
     #banner img {
        margin-top: -100px;
    }
} 

/*-------------------------------------------------galleria-------------------------------*/

#fotos{
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
}

#fotos .contenedor{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#fotos article{
    margin: 15px;
}

#fotos img{
    width: 180%;
    max-width: 280px;
    border: 2px solid #fff;
}

#fotos h3{
    text-align: center;
}
/*-------------------------------------------------ancho web-------------------------------*/

@media (min-width:1024px) {
    .contenedor {
        width: 1000px;
    }
}
