.home-title {
    display: flex;
    gap: 0.5rem;
}

.home-subtitle {
    color: var(--color-secondary);
}

.home-subtitle a,
.win a {
    color: var(--color-secondary);
}

.home-subtitle a:hover,
.win a:hover {
    color: var(--color-primary);
}

.home-subtitle a:active,
.win a:active {
    filter: brightness(130%);
}

.home-section {
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
}

.home-games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.home-games {
    max-width: 100%;
    gap: 20px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: var(--color-background-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-games:hover {
    filter: brightness(115%);
    transform: scale(1.075);
    background-color: rgba(49, 62, 97, 0.5)
}

.home-game-container {
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    max-height: 300px;
    box-shadow: 5px 5px 15px var(--color-background);
}

.home-game-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.1s ease-in-out;
    scale: 1.1;
}

.home-game-container:hover {
    transform: scale(1.05);
}

.home-game-container:hover img {
    transform: scale(1.05);
    filter: brightness(115%);
}

.home-game-container-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-game-container-name {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    width: 100%;
    min-height: 120px;
    background: rgba(9, 17, 36, 0.75); /* rgba is var(--color-background) */
    box-shadow: 10px 10px 1px rgba(0, 0, 0, 1);
    margin-bottom: 20px;
}

.home-game-container-description {
    display: flex;
    padding-left: 30px;
    padding-right: 30px;
}

.game-link {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 768px) {
    .home-games-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1200px) {
    .home-games-grid {
      grid-template-columns: repeat(3, 1fr);
    }
}
