@import url('https://fonts.googleapis.com/css?family=Muli&display=swap'); 

* {
  box-sizing: border-box;
}

.containerr {
    width: 100%;
    display: flex;
    padding: 0 20px;
    background-color: transparent;
  }
  
  .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 > h5 {
    position: absolute;
    color: #fff;
    bottom: 10px;
    left: 10px;
    opacity: 0;
    transition: .5s;
    background-color: transparent;
    font-size: 2rem;
    /*text-shadow: 2px 2px black;*/
    
  }

  .slide.active {
    flex: 10;
  }
  
  .slide.active > h5{
    opacity: 1;
  }