@import url('https://fonts.googleapis.com/css?family=Muli&display=swap'); 

* {
  box-sizing: border-box;
}

body {
  font-family: 'Muli', sans-serif;
  overflow: hidden;
  margin: 0;
  background: linear-gradient(318deg, rgba(7,7,7,1) 0%, rgba(0,0,0,0.9391106784510679) 50%, rgba(12,12,12,1) 100%);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 100%;
  display: flex;
  padding: 0 20px;
}

.slide {
  height: 80vh;
  border-radius: 20px;
  margin: 10px;
  cursor: pointer;
  color: #999999;
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transition: all 500ms linear;
}

.slide h3 {
  position: absolute;
  font-size: 24px;
  margin: 0;
  left: 20px;
  bottom: 20px;
  opacity: 0;
}

.slide.active {
  flex: 10;
  background-size: 100% 100%;
}

.slide.active h3 {
  opacity: 1;
  transition: opacity .3s linear .4s;
}
