
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


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

.container {
    text-align: center;
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
}

.taskbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.taskbarSide {
    flex: 1;
    display: flex;
    align-items: center;
}

.taskbarTitle {
    flex: 0 1 auto;
    margin: 0;
    text-align: center;
}

.taskbarRight {
    justify-content: flex-end;
}

.taskbarButton {
    width: 32px;
    height: 32px;
    padding: 0;
    cursor: pointer;
}

.taskbarButton img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.gameButton {
    margin: 6px;
    padding: 8px 14px;
}

input, select {
    padding: 5px;
    margin: 5px;
}

/* Login page */

.loginContainer {
    width: min(400px, 100%);
    margin: 120px auto;
    text-align: center;
}

.loginContainer input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    box-sizing: border-box;
}

.loginButton,
.createAcctButton {
    margin-top: 10px;
    padding: 10px 20px;
    cursor: pointer;
    width: 150px;
}

.homeLink {
    text-decoration: none;
    color: inherit;
}

.homeLink:hover {
    cursor: pointer;
}

.leaderboardSection {
    margin-top: 30px;
}

.leaderboardTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.leaderboardTable th,
.leaderboardTable td {
    border: 1px solid black;
    padding: 10px;
    text-align: center;
}

.leaderboardTable th {
    background-color: #f2f2f2;
}

.backButton {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.constantGameRow {
    margin-bottom: 16px;
}

.gameButton {
    display: inline-block;
    margin: 6px;
    padding: 8px 14px;

    border: 1px solid #888;
    background-color: #eee;

    color: black;
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;

    cursor: pointer;
}

a.buttonStyle {

    display: inline-block;

    margin: 6px;
    padding: 8px 14px;

    border: 1px solid #888;
    background-color: #eee;

    color: black;
    text-decoration: none;

    font-family: inherit;
    font-size: inherit;

    cursor: pointer;
    vertical-align: middle;
}

.button,
button {

    display: inline-block;

    margin: 6px;
    padding: 10px 16px;

    border: 1px solid #999;
    background-color: #eee;

    font-family: inherit;
    font-size: 14px;

    cursor: pointer;

    text-decoration: none;
    color: black;

}

#leagueSelect {
    padding: 8px;
    margin: 6px;
    border: 1px solid #aaa;
    background-color: white;
    color: black;
    font-family: inherit;
    font-size: 16px;
}

#joinCodeDisplay,
#leagueNameDisplay {
    font-size: 14px;
}

.gameCard {
    border: 1px solid #aaa;
    padding: 16px;
    margin: 16px 0;
    text-align: center;
}

.gameCard h3 {
    margin-top: 0;
}

.gameScoreRow {
    margin-top: 12px;
}

.gameScoreInput {
    width: 80px;
    text-align: center;
}

.scoreMaxText {
    margin-left: 6px;
}

.submittedGame {
    opacity: 0.6;
}

.submittedGame input,
.submittedGame button {
    pointer-events: none;
}

.gameGenreText {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    font-style: italic;
}

#backToLeaguesButton {
    margin-right: 10px;
}

#leagueDateHeader {
    margin-top: 10px;
    font-weight: normal;
}

#currentLeaderDisplay {
    font-size: 18px;
    margin-top: 10px;
}

.leaderboardTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.leaderboardTable th,
.leaderboardTable td {
    border: 1px solid #aaa;
    padding: 10px;
    text-align: center;
}

.leaderboardTable th {
    background-color: #f2f2f2;
}