.galeria {
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #4F55A6, #3FB8A2);
    font-family: sans-serif;
}
.galeria h1{
    font-size: 70px;
    color:#fff;
    text-align: center;
}
.contenedor1{ 
  width:100%;
    margin: auto;
}
.galeria img{
    width: 100%;
    border-radius: 20px;
    border-style: solid;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.85);
}
.persona__columna{
    margin: 5px; 
}
.personas .contenedor1{
    display: grid;
    }
@media(min-width:520px){
    .personas .contenedor1{     
  grid-template-columns: repeat(2,50%);
    }
}
@media(min-width:728px){
   .personas .contenedor1{
  grid-template-columns: repeat(3,33.3%);
    }
}
@media(min-width:1024px){
   .personas .contenedor1{
    
grid-template-columns: repeat(4,25%);
    }
    .contenedor1{
         width: 1024px;
    }
}
@media(min-width:1200px){
    .contenedor1{
         width: 1200px;
    }
}


.contenedor{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contenedor figure{
   position:relative;
    cursor: pointer;
    overflow: hidden;

}
.contenedor figure img{
    transition: all 400ms ease-out;
    will-change: transform;
}
.contenedor figure .capa{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,103,123,0.7);
    transition: all 400ms ease-out;
    opacity: 0;
    visibility: hidden;
   text-align: center;
}
.contenedor figure:hover > .capa {
    opacity: 1;
    visibility: visible;
}
.contenedor figure:hover > .capa h3{
    margin-top: 70px;
    margin-bottom: 15px;
}
.contenedor figure:hover > img{
    transform: scale(1.3);
}
.contenedor figure .capa h3{
    color: #fff;
    font-weight: 400;
    margin-bottom: 120px;
    transition: all 400ms ease-out;
     margin-top: 30px;
}
.contenedor figure .capa p{
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
    margin: auto;
}