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

:root {
    --max-width: calc(45vh * (16 / 9));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo', sans-serif;
}

.top {
    height: 50vh;
    display: flex;
    justify-content: flex-end;
}

.container {
    height: 100%;
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-color: rgba(0, 0, 0, .9);
    padding: 0 1rem;
    position: relative;
    background-image: url('./assets/images/bg.gif');
    background-position: center;
}

.description {
    height: 100%;
    width: 40%;
    padding: .5rem;
    overflow: hidden;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: black;
}

.description h1 {
    margin-bottom: .75rem;
    font-size: 3rem;
    color: aliceblue;
}

.description p {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: aliceblue;
    font-weight: bold;
}

.bottom {
    height: 50vh;
    background-color: #FBFCFA;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #fff 0, rgba(0, 0, 0, .3), rgba(0, 0, 0, .7) 100%)
}

.game {
    height: 60%;
    width: 10%;
    border-radius: .5rem;
    max-width: 7.5rem;
    cursor: pointer;
    transition: box-shadow .3s, height .3s;
}

.game:hover {
    height: 65%;
    box-shadow: 0 0 .3rem rgba(0, 0, 0, .7);
}

.game.active {
    max-width: 30rem;
    width: 100%;
    height: 90%;
    box-shadow: 0 0 .3rem rgba(0, 0, 0, .7);
    animation: expand 1s ease-in;
}

.b2 {
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: .6;
    left: 0;
}

.b2 img {
    border-radius: none;
}

video {
    height: auto;
    width: 90%;
    box-shadow: 0 0 .7rem rgba(0, 0, 0, .7);
    outline: none;
    border-radius: .25rem;
    max-height: 45vh;
    max-width: var(--max-width);
    z-index: 3;
}

.game img {
    height: 100%;
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: .5rem;
}

@keyframes expand {
    from {
        width: 10%;
    }

    to {
        width: 100%;
    }
}

@media screen and (max-width: 1200px) {
    .description p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 1000px) {
    .description p {
        font-size: .9rem;
    }
}

@media screen and (max-width: 910px) {
    .description {
        display: none;
    }

    .container {
        width: 100%;
    }
}

@media screen and (min-width: 2300px) {
    .description p {
        font-size: 1.5rem;
    }
}

::selection {
    color: black;
    background: white;
}

::-webkit-scrollbar {
    width: .5rem;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .9);
}

::-webkit-scrollbar-thumb {
    background-color: #1f1d1d;
    border-radius: 100vw;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #666060;
}