@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: #fff; 
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.container-wrapper h1 {
  text-align: center;
}
.container-wrapper .heading {
  display: flex;
  justify-content: space-around;
  align-items: center;
  /* background: green; */
}
.btn {
  border: dashed darkgrey 1px;
  padding: 5px 20px;
  border-radius: 10px;
  font-size: 20px;
  margin-right: 10px;
}
a {
  text-decoration: none;
  color: darkgrey;
}
.container {
  width: 100%;
  display: flex;
  padding:  0 20px;
}

.slide {
  height: 80vh;
  border-radius: 20px;
  margin: 10px;
  cursor: pointer;
  color: #111;
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transition: all 2s linear;
  border: 1px black dashed;
  overflow: hidden;
}
.slide-heading {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  align-self: center;
  /* background: blue; */
}
.slide p {
  margin: 10px;
  margin-left: 20px;
  line-height: 2;
  font-size: 20px;
  /* background: yellow; */
}
.slide h3 {
  /* position: absolute; */
  font-size: 24px;
  /* top: 20px;
  left: 20px; */
  margin: 5px 20px;
  color: rgb(58, 50, 50);
}
.slide p {
  opacity: 0;
  float: left;
}
.slide img {
  float: right;
}
.slide.active {
  flex: 10;
  background-size: contain;
  /* background:  */
}
.slide.active h3 {
  opacity: 1;
  transition: opacity 0.3s ease-in 0.4s; 
}
.slide.active p {
  opacity: 1;
  transition: opacity 0.3s ease-in 0.4s; 
}