@font-face {
    font-family: Mulish;
    src: url('/assets/fonts/Mulish.ttf');
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    display: flex;
    height: 100vh;
    overflow: hidden;
    font-family: 'Mulish', sans-serif;
    align-items: center;
    justify-content: center;
    background-color: black;
}

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

.panel {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 80vh;
    color: rgb(255, 255, 255);
    cursor: pointer;
    flex: .5;
    margin: 3px;
    position: relative;
    transition: flex 0.3s ease-in;
}

.panel p {
    font-size: 12px;
    font-weight: 800;
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin: 0;
    opacity: 0;
}

.panel .number {
    opacity: 1;
}

.panel.active {
    flex: 10;
}

.panel.active .text {
    opacity: 1;
    transition: opacity 0.3s ease-in 0.3s;
}

.panel.active .number {
    opacity: 0;
}


@media(max-width: 1024px) {
    .container {
        width: 100vw;
    }
    .panel:nth-of-type(4), .panel:nth-of-type(5)
    {
        display: none;
    }
}