*{
   margin: 0;
    padding: 0;
    box-sizing: border-box;
   
}
 /**/
.galeria{
   font-family: "Arial";
}
 /**/
.galeria h1{
    text-align: center;
    margin:20px 0 15px 0;
    font-weight: 300;
}
 /**/

 /**/
.contenedor-imagenes{
    display:flex;
    width: 85%;
    margin: auto;
    justify-content: space-around;
    flex-wrap: wrap;
    border-radius:6x;
    /*box-shadow: 0px 15px 25px rgba(0,0,0,0.50);*/
    will-change: transform;

}
 /**/
.contenedor-imagenes .imagen{
    position:relative;
    height: 250px;
    width: 32%;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom:7px;
    box-shadow: 0px 15px 25px rgba(0,0,0,0.50);

}
 /**/
.imagen img{
    width: 100%;
    height: 100%;
    transition: all 400ms ease-out;
    will-change: transform;
    object-fit: cover;

    
}
 /**/
.overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(11,103,123,0.6);/*para dar un color trasparente en la imagen*/
    width: 100%;
    height: 0%;
    overflow: hidden;
    transition: all 400ms ease-out;
    
}

 /**/
.overlay h2{
    color: #fff;
    font-weight: 300;
    font-size:30px;
    position: absolute;
    top: 10%;
    left:50%;
    text-align: center;
    transform: translate(-50%, -50%);
}
.overlay p{
    color: #fff;
    /*max-width: 220px;*/
    line-height: 1.5;
    width: 100%;
    font-size:15px;
    position: absolute;
    top: 30%;
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
       

    
}

 /**/
.imagen:hover .overlay{
    height:100%;
    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%;
    }
}