
.foto-galeria{
    display: block;
    padding: 0px 0px 50px 0px;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;      
    }
  
   
    
  .galeria{
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, auto));
      grid-auto-rows: minmax(300px, auto);
      justify-content: center;
      align-content: center;
      overflow: hidden;    
      }
        
  .galeria img{
      width: 90%;     
      object-fit: cover;
      border-radius: 15px;  
      margin: 10px 25px;
      transition: transform 0.4s;   
  }

  .galeria a{
    margin: 5px 0px 5px 0px;
  }
  
  .galeria a:hover img{
     transform: scale(1.1); 
  }
  
 
  
      
  @media screen and(min-width: 640px){
      .galeria{
          grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

}

@media only screen and (max-width: 768px){
    .content_section_ph{
    background-position: center top;
    background-size: 70vh;
}}

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-device-pixel-ratio: 3){
    .content_section_ph{
        background-position: center top;
        background-size: 70vh;
    }
}


@media only screen and (min-device-width: 768px) and (max-device-width: 1024px)  and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2){
    .content_section_ph{
        background-position: center top;
    }
    
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1112px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2){
    .content_section_ph{
        background-size: 70vh;
    }
}