@import url('https://fonts.googleapis.com/css?family=Muli&display=swap');
* {
    box-sizing: border-box;
}

body {
    font-family: 'Muli', sans-serif;
    width: 100%;
    overflow: hidden;
    margin: 0;
}

.header_container {
    margin: 0 10px;
}

.header_container h3 {
    color: #155988;
    text-transform: capitalize;
}

.cards_container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 85vh;
    color: #fff;
    cursor: pointer;
    flex: 0.5;
    margin: 0 10px;
    position: relative;
    -webkit-transition: all .5s ease-in;
}

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

.card.active {
    flex: 5;
}

.card.active h3 {
    opacity: 1;
    transition: opacity 0.3s ease-in 0.4s;
}

@media (max-width: 480px) {
    .cards_container {
        width: 100vw;
        overflow: hidden;
    }
    .card:nth-of-type(3),
    .card:nth-of-type(4),
    .card:nth-of-type(5) {
        display: none;
    }
}