
main {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 3rem;
}

section {
    display: flex;
    height: 70%;
}

#global-scores {
    padding: 20px;
    border-radius: 10px;
    flex: 3;
}

#personal-scores {
    padding: 20px;
    border-radius: 10px;
    flex: 2;
}

.scores-label {
    font-weight: bold;
}

table {
    width: 95%;
    text-align: center;
}

th {
    border: gray 1px solid;
    border-bottom-color: black;
    padding: 3px;
}

td {
    border: gray 1px solid;
    padding: 3px;
}

@media (max-width: 1050px) {
    main {
        flex-direction: column;
    }
    #global-scores {
        flex: 1;
        width: 98%;
    }
    #personal-scores {
        flex: 1;
        width: 98%;
    }
}

@media (max-width: 700px) {
    main {
        padding: 1rem;
    }
    section {
        flex-direction: column;
        align-items: center;
    }
    table {
        height: 90%;
    }
}