html,
body {
    height: 100%;
    margin: 0;
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    font: 'Open Sans', sans-serif;
}

header,
footer {
    height: 80px;
    background-color: #1a2336;
    padding: 1rm;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

a:link, 
a:visited {
    color: white;
}

a:hover {
    color: #5bd9d9;
}

button {
    background: none;
    color: white;
    border: solid 1px;
    border-radius: 4px;
    padding: 12px;
}

button:hover {
    background-color: #5bd9d9;
    border-color: #5bd9d9;
}

input {
    padding: 12px;
    border: 1px solid white;
    width: 160px;
    color: white;
    background-color: transparent;
    border-radius: 4px;
}

.game-container {
    height: calc(100vh - 100px);
    padding: 10px;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(7, 1fr);
    height: 100%;
    width: 100%;
    max-width: 800px;
    gap: 5px;
    margin: 0 auto;
}

.pinButton {
    width: 100%;
    height: 100%;
    font-size: 20px;
    font-weight: 700;
    border: solid white;
    border-radius: 8px;
    background: none;
    color: white;
    cursor: pointer;
}

.pinButton.selected {
    background-color: #5bd9d9;
    border-color: #5bd9d9;
}

#playerList,
#playerListWin {
    grid-column: span 3;
    border: solid white 3px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 10px;
    align-items: center;
}

.player-list {
    font-family: 'Open Sans', sans-serif;
}

.player-name {
    font-size: 1.1em;
    font-weight: bold;
}

.player-points {
    font-size: 1.5em;
    margin-top: 5px;
}

.player-strikes {
    font-size: 0.5em;
    margin-top: 5px;
}

#submitPoints,
#allButton {
    grid-column: span 2;
}

#settingsButton,
#submitPoints {
    border-width: 3px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
}

#settingsCog {
    font-size: 35px;
}

#settingsButton #settingsCog {
    display: inline-block;
    transition: transform 0.6s ease;
}

#settingsButton:hover #settingsCog {
    transform: rotate(180deg);
}

#submitPoints:hover {
    background: none;
    border-color: white;
}

#nameInputBox {
    padding: 100px 0;
}
