#logo {
    position: relative;
    top: 0;
    right: 0;
    width: 25vw;
}

.container {
    width: 100%;
    padding: 0;
    align-items: center;
}

.underTitle {
    color: white;
    font-family: 'Quicksand';
    font-size: 2rem;
}

.games {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 5rem;
    justify-items: center;
    align-items: stretch;
}

.game-card {
    gap: 3vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: rgb(225, 225, 225);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    width: 300px;
}

.game-card p {
    margin: 0;
    font-size: 1rem;
    color: #222;
    font-family: 'Tilt Warp';
}

.game-card img {
    width: 50%;
    height: auto;
}

.btn-game {
    color: #E83151;
    padding: 0.8vh 0.8vw;
    background: none;
}

.btn-game:hover {
    color: white;
}

.inactive {
    opacity: 0.7;
    background-color: #ccc;
    color: #555;
    cursor: not-allowed;
}

.inactive .btn-game {
    box-shadow: none;
    border: 2px black solid;
}

.inactive a {
    cursor: default;
    pointer-events: none;
}

@media screen and (max-width: 1024px) {
    #logo {
        margin-bottom: 0;
        /* height: 10vw !important; */
    }

    .underTitle {
        margin: 0;
        text-align: center;
    }

    .games {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 5vh;
    }

    .game-card {
        width: unset;
    }

    .btn-game {
        color: white;
        padding: 1.5vh 1.5vh;
        transition: none;
        background-color: #E83151;
    }
}

@media screen and (max-width: 540px) {
    .underTitle {
        font-size: 1.5rem;
    }

    .games {
        display: flex;
        flex-direction: column;
        grid-gap: 0;
        gap: 5vh;
    }
}