*{
    box-sizing: border-box;
}

body{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: blanchedalmond;
}

.container{
    display: flex;
    width: 90vw;
}

.panel{
    background-size: auto 100%;
    height: 80vh;
    width: 80vw;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50px;
    position: relative;
    flex: 0.5;
    cursor: pointer;
    margin: 10px;
    transition: flex 0.7s;
}

.active{
    flex: 5;
}

@media  screen and (max-width: 480px) {
    .container {
        width: 100vw;
    }
    .panel:nth-child(4){
        display: none;
    }
    .panel:nth-child(5){
        display: none;
    }
}