@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;400;500;700&family=Roboto&family=Rubik&display=swap');
*{
    box-sizing: border-box;
}


body{
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
    margin: 0;
}
header{
    display: flex;
    flex-direction: column;
}
.container{
    display: flex;
    width: 90vw;
}
.panel{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 80vh;
    border-radius: 30px;
    color: aliceblue;
    cursor: pointer;
    flex:0.5;
    margin: 5px;
    position: relative;
    transition: flex 0.5s ease-in;
}
.panel h3{
    font-size: 24px;
    top: 20px;
    left: 20px;
    margin: 0;
    position:absolute;
    opacity: 0;
}
.panel.active{
    flex: 5;
}
.panel.active h3{
   opacity: 1; 
   transition: opacity 0.3s ease-in 0.4s;
}
