.contenedor{
    width: 40%;
    /*border-style: double;*/
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55vh;
}

.contenedor figure{
    position: relative; 
    display: flex;  
    height: 460px;
    width: 300px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.contenedor figure img{
    width: 100;
    height: 100;
    transition: all 500ms ease-in-out;
}

.contenedor figure .capa{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 49, 43, 0.8);
    transition: all 500ms ease-in-out;
    opacity: 0;
    visibility: hidden;
    text-align: center;
}

.contenedor figure:hover > .capa{
    opacity: 4;
    visibility: visible;
}

.contenedor figure:hover > .capa h3{
    margin-top: 70px;
    margin-bottom: 15px;
}

.contenedor figure .capa h3{
    color: #fff;
    font-weight: 400;
    margin-bottom: 120px;
    transition: all 500ms ease-out;
    margin-top: 30px;
}

.contenedor figure .capa p{
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
    width: 100%;
    max-width: 220px;
    margin: auto
}