.tournament-container {
    padding-top: 100px;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 50px; 
    width: 66%;           
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.finals-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.group-cell, .finals-cell {
    background-color: rgba(50,50,50,0.5);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

a {
    color: white;
}

.group-standings.row img {
    width: 32px;
    height: 32px;
}

.group-standings.row > div.col-4.desktop-only, .group-standings.row > div.col-1.desktop-only, .group-standings.row > div.col-1,  .group-standings.row > div.col-2 {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .groups-grid, .finals-grid {
        grid-template-columns: 1fr;
        padding-left: 0;
        padding-right: 0;
    }
}

.mobile-only {
    display: none;
}


@media screen and (max-width: 500px) {
    .tournament-container {
        width: 100%;
        padding: 20px;
    }

    .group-cell, .finals-cell {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .group-standings.row .col-5 {
        font-size: 12px;
    }
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: block;
    }
    
}