@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Shadows+Into+Light&display=swap'); 

.galeria {
    font-family: 'Shadows Into Light';
    font-size: 2vmax;
    flex-direction: column;
    overflow: hidden;
    margin: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    }

.container {
    width: 100%;
    display: flex;
    padding: 0 20px;
  }
  
  
  .slide {
    position: relative;
    cursor: pointer;
    height: 80vh;
    flex: 1;
    margin: 10px;
    border-radius: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    transition: .5s
  }
  
  .slide > img {
    width: 100%;
    height: 100%;
  }
  
  .slide > h3 {
    position: absolute;
    color: #ffffff;
    bottom: 10px;
    left: 10px;
    opacity: 0;
    transition: .5s
    
  }
  
  .slide.active {
    flex: 10;
  }
  
  .slide.active > h3{
    opacity: 1
  }