:root{
    --color-1: #000 ;
}
body{
    line-height: 1.5;
    margin: 0;
    display: grid;
    font-size: 14px;
    font-family: 'open sans';


}
*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    
}
a{
    text-decoration: none;
}
ul{
    list-style:  none;
}
.container{
    max-width: 1170px;
    
    margin: auto;
}
.row{
    display: flex;
    flex-wrap: wrap;
}
.aling-items-center{

}
.anuncio{
    text-align: center;
}
.anuncio1{
    
    margin-top: -19px;
}
.justify-content-between{
    justify-content: space-between;
}
/*header*/
.header{
    background-color: var(--color-1);
    padding: 12px 0;
    position: relative; 
}
.header .logo,
.header .nav{
    padding: 0 15px;
}
.header .logo a{
    font-size: 30px;
    color: #ffffff;
    text-transform: capitalize;
    list-style: none;
    margin-right: 5px;
}
.header .nav ul li{
    display: inline-block;
    margin-left: 40px;
}
.header .nav ul li a{
    display: block;
    font-size: 16px;
    padding: 16px 0;
    color: rgba(255,255,255,0.7);
    text-transform: capitalize;
    transition: all 0.5s ease;
}
.header .nav ul li a:hover,
.header .nav ul li a.active{
    color: #ffffff;
}
.header #nav-check{
    position: absolute;
    opacity: 0;
    pointer-events: none;

}
.nav-toggler{
    height: 34px;
    width: 44px;
    background-color: #ffffff;
    border-radius: 4px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    margin-right: 15px; 
}
.nav-toggler span{
    display: block;
    height: 2px;
    width: 20px;
    background-color: var(--color-1);
    position: relative; 
}
.nav-toggler span::before,
.nav-toggler span::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-1);
    left: 0;

}
.nav-toggler span::before{
    top: -6px;
}
.nav-toggler span::after{
    top: 6px;
}

@media(max-width: 991px ){
    .nav-toggler{
    display:flex;
    }
    .header .nav{
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background-color: var(--color-1);
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity:0;
    visibility: hidden;
    }
    .header .nav ul li{
        display: block;
        margin: 0;
    }
    .header #nav-check:checked ~ .nav{
        opacity: 1;
        visibility: visible;

    }
    .header #nav-check:focus ~ .nav-toggler{
        box-shadow: 0 0 15px #000000;
    }
    .header #nav-check:checked ~ .nav-toggler span{
        background-color: transparent;
    }
    .header #nav-check:checked ~ .nav-toggler span::before{
        top: 0;
        transform: rotate(45deg);
    }
    .header #nav-check:checked ~ .nav-toggler span::after{
        top: 0;
        transform: rotate(-45deg);

    }


}


.galeria{
    font-family: 'open sans';
    margin-top: 10px;
    color: #2874A6;
    font-weight: bold;
    text-decoration: none;

}


.galeria h1{
    text-align: center;
    margin:20px 0 15px 0;
    font-weight: 300;
}

.linea{
    border-top: 5px solid #0077C0;
    margin-bottom: 40px;
}

.contenedor-imagenes{
    display:flex;
    width: 80%;
    margin: auto;
    justify-content: space-around;
    flex-wrap: wrap;
    border-radius:3px;
    text-align: center;

}

.contenedor-imagenes .imagen{
    width: 28%;
    position: relative;
    height:250px;
    margin-bottom:120px;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, .75)
    margin-top: 1px;
}
.imagen img{
    width: 100%;
    height:91%;
    object-fit: cover;
    
}

.overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    background:rgba(0, 118, 192, 0.781) ;
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: .5s ease;

}

.overlay h2{

    color: #fff;
    font-weight: 300;
    font-size:30px;
    position: absolute;
    top: 50%;
    left:50%;
    text-align: center;
    transform: translate(-50%, -50%);
    
}

.imagen:hover .overlay{
    height:92%;
    cursor: pointer;

}

@media screen and (max-width:1000px){
    .contenedor-imagenes{
        width: 95%;
    }
}

@media screen and (max-width:700px){
    .contenedor-imagenes{
        width: 90%;
    }
    .contenedor-imagenes .imagen{
        width: 48%;
    }
}

@media screen and (max-width:450px){
    h1{
        font-size:22px;
    }
    .contenedor-imagenes{
        width: 98%;
    }
    .contenedor-imagenes .imagen{
        width: 80%;
    }
}
.footer{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-flow: row wrap;
    padding: 50px;
    color: #fff;
    background: #262626;

}
.footer > *{
    flex: 1 100%;
}
.l-footer{
    margin-right: 1.25em;
    margin-bottom: 2em;
}
h2{
    font-weight: 900;
    font-size: 16px;
}
.footer ul{
    list-style: none;
    padding-left: 0;
}
.footer li{
    line-height: 2em;
}
.footer a{
    text-decoration: none;
}
.r-footer{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-flow: row wrap;

}
.r-footer > *{
    flex: 1 50%;
    margin-right: 1.25em;
}
.box a{
    text-decoration: none;
    color: #fff;
}
.h-box{
    column-count: 2;
    column-gap: 1.25em;
}
.b-footer{
    text-align: center;
    color: #999;
    margin-top: 30px;
}

.l-footer p{
    padding-right: 20%;
    color: #999;
}
@media screen and (min-width: 600px){
    .r-footer > *{
        flex: 1;
    }
    .features{
        flex-grow: 2;
    }
    .l-footer{
        flex: 1 0px;
    }
    .r-footer{
        flex: 2 0px;
    }
}
