
.contenedor-1 figure {
    position: relative;
    height: 250px;
    width: 350px;
    overflow: hidden;  /* sirve para ocultar objetos que estan afuera del contenedor */
    border-radius: 6px;
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.5);
}

.contenedor-1 figure img {
    width: 100%;
    height: 100%;
    transition: all 500ms ease-out;
}

.contenedor-1 figure .capa {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 103, 123, 0.8);
    transition: all 500ms ease-out;
    opacity: 0;
    visibility: hidden;
    text-align: center;
}
.contenedor-1 figure:hover > .capa{
    opacity: 1;
    visibility: visible;
}
.contenedor-1 figure:hover > .capa h5{
    margin-top: 65px;
    margin-bottom: 15px;
}

.contenedor-1 figure:hover > img{
transform: scale(1.2);
}
.contenedor-1 figure .capa h5 {
    color: #fff;
    font-weight: 400;
    margin-bottom: 120px;
    transition: all 500ms ease-out;
    margin-top: 30px;
}
.contenedor-1 figure .capa p {
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
    width: 100%;
    max-width: 220px;
    margin: auto;
}

@media screen and (max-width: 400px) {

}

@media screen and (max-width: 1200px) {
    .contenedor-1 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
}

}