body{
    background-color: #f5f5f5;
}

section h2{
    margin-top: 20px;
    margin-bottom: -31px;
    text-align: center;
}

.gallery{
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    padding:  60px 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.gallery_img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery_img:hover{
    filter:opacity(30%);
}
.gallery_picture{
    min-width: 200px;
    flex: 350px;
    height: 300px;
}


.gallery_picture h1{
    font-weight: 500;
    margin: 100px 0px 0px 40px;
    position:absolute; 
    font-size: 25px;
    left: 0;
    top:30px; 
    transform:translateX(-120%);
    transition:all .8s ease;
   /* text-shadow: 1px 1px 10px #000;*/
 } 

 .gallery_picture {
    display: block;
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
    position:relative; 
    top:20px;  
    background-size:100% 100%;
     overflow:hidden;
    /* color:rgb(180, 180, 202);*/
    color:#000;
}

.gallery_picture a {
    color:black;
}
     
     .contenedor p{
        margin: 90px 0px 0px 40px;
        font-size: 15px;
        position:absolute; 
        left:0px;
        top:200px; 
        transform:translateX(120%); 
        transition:all .4s ease;  
       } 
    .gallery_picture:before{
        position: absolute;
        top:285px; 
        left:20px;
        content:""; 
        width:0%; 
        height:3px; 
        background: #000;
        transition:all .3s ease;
        } 
        
    .gallery_picture:after{ 
         position: absolute; 
         top:10px; 
         right:20px; 
         content:""; 
         width:0%; 
         height:3px; 
        background:#000;
        transition:all .3s ease;
  } 

.gallery_picture:hover:before{ 
 width: 90%;
  }
.gallery_picture:hover:after {
    width: 90%;
  }
 .gallery_picture:hover h1 {
 transform:translateX(0%); 
 transition:all .3s ease;
  }
.gallery_picture:hover{
 background-size: 110% 110%;
 transition:all .5s ease;

}

