@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}

.container{
  display: flex;
  gap: 10px;
  width: 90%;
}

.panel{
  height: 80vh;
  position: relative;
  border-radius: 50px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  flex:0.5;
  transition: flex 0.7s ease-in-out;
  
}

.active{
  flex:5
}
.panel h3 {
opacity: 0;
position: absolute;
left: 25px;
bottom:0px;
}

.panel.active h3{
  opacity:1;
  color: white;
  font: "Roboto, sans-serif";
  font-size: 24px;
  text-align: initial;
  transition: opacity 0.5s ease-in 0.3s;
}