body {
    font-family: Bahnschrift;
    color: white;
    background-color: #1c1c1c;
    position: relative;
    margin: auto;
    text-align: center;
}

#headerWrapper {
    display: inline-flex;
    justify-content: center;
    vertical-align: center;
    align-items: center;
    align-content: center;
    width: 90%;
}

#headerLogo {
    width: 100%;
}

.headerButtonsL {
    margin-top: 0.5em;
    width: 15%;
    justify-content: left;
    text-align: left;
    fill: white;
    cursor: pointer;
}

#logoutButton {
    fill: red;
    cursor: pointer;
}

.headerButtons {
    background-color: #1c1c1c;
    border-width: 0px;
    cursor: pointer;
}

.headerButtons:hover {
    opacity: 65%;
}

.headerButtonsR {
    margin-top: 0.5em;
    width: 15%;
    justify-content: right;
    text-align: right;
    fill: white;
}



h1 {
    margin-top: -0.1em;
    margin-bottom: -0.2em;
    margin-left: -0.9em;
    font-family: Onyx;
    font-weight: normal;
    font-size: 2.25em;
}

h2 {
    font-family: Bahnschrift;
    font-weight: normal;
}

#guesses {
    margin-top: 0.65em;
    width: 90%;
    display: inline-flex;
    flex-direction: column;
    gap: 0.5em;
    margin-bottom: 2em;
}

#player {
    position: absolute;
}

.guessDiv_parent {
    border: solid #808080;
    border-width: 2px;
    border-radius: 4px;
    padding: 0.4em 0.5em 0.4em 0.5em;
}

.guessDiv2 {
    line-height: 1.5;
    min-height: 1.5em;
    font-size: 1.5em;
    width: 100%;
    justify-content: left;
    text-align: left;
    align-items: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    word-wrap: break-word;
}

.guessDiv_parent {
    display: flex;
    align-items: center;
}

#playButtonDiv {
    display: inline-flex;
    justify-content: center;
    align-content: center;
    width: 90%;
}

#counter {
    width: 47.5%;
    text-align: left;
}

#play-button {
    color: #1c1c1c;
    font-size: larger;
    background-color: white;
    border-radius: 5em;
    border-width: 0em;
    padding: 0.5em;
    text-align: center;
    width: 2.3em;
    margin-bottom: 0.75em;
    cursor: pointer;
}

#maxTime {
    width: 47.5%;
    text-align: right;
}

#play-button:hover {
    opacity: 60%;
}

input.btnclass {
    color: white;
    font-size: larger;
    background-color: #224B54;
    border-radius: 4px;
    border-width: 0em;
    padding: 0.5em;
    margin: auto;
    cursor: pointer;
}

input.btnclassAccount {
    color: white;
    font-size: larger;
    background-color: #224B54;
    border-radius: 4px;
    border-width: 0em;
    padding: 0.5em;
    margin: auto;
    margin-top: 1em;
    cursor: pointer;
}

.smallLink {
    color: white;
}

#songname {
    color: white;
    font-size: 1.5em;
    margin-bottom: 0.25em;
}

.gamename {
    font-size: 1.5em;
    margin-bottom: -1em;
}

input.btnclass:hover {
    opacity: 60%;
}

input.btnclassAccount:hover {
    opacity: 60%;
}

input.btnclass:disabled {
    color: #224B54;
    background-color: #242424;
    cursor: default;
}

progress {
    background-color: #f3f3f3;
    margin-bottom: 1em;
    width: 90%;
    border: 0;
}

#progress-bar {
    margin-top: 1em;
}

#kill
{
    margin-top: 2em;
    background-color: darkred;
}

#guessInput {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-content: center;
}

#guessForm {
    width: 100%;
    vertical-align: center;
}

input.guessText {
    padding: 0.5em;
    border-radius: 4px;
    border-width: 0em;
    font-size: large;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    width: 85%;
}

input.formText {
    padding: 0.5em;
    border-radius: 4px;
    border-width: 0em;
    font-size: 1.4em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    width: 70%;
}

#correct {
    color: mediumseagreen;
    font-size: 2em;
    margin-top: 0em;
    margin-bottom: 0em;
}

#wrong {
    color: red;
    font-size: 2em;
    margin-top: 0em;
    margin-bottom: 0em;
}

#errorMessage {
    font-size: 1.5em;
    color: red;
}

#loginName {
    font-size: 1.3em;
}

.statRow {
    display: inline-flex;
    gap: 2em;
}

.stat {
    font-size: 2em;
    margin-top: 0em;
}

#countdown {
    margin-top: 0.5em;
    font-size: 2.5em;
}

#about-div {
    background-color: #1c1c1c;
    border-radius: 4px;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px;
    width: 80%;
    max-width: 400px;
    z-index: 10;
}

#statistics-div {
    background-color: #1c1c1c;
    border-radius: 4px;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px;
    width: 80%;
    max-width: 400px;
    z-index: 10;
}

#help-div {
    background-color: #1c1c1c;
    border-radius: 4px;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px;
    width: 80%;
    max-width: 400px;
    z-index: 10;
}

#login-div {
    background-color: #1c1c1c;
    border-radius: 4px;
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px;
    width: 80%;
    max-width: 400px;
    z-index: 10;
}

.overlay {
    position: fixed; /* position it on top of everything */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
    backdrop-filter: blur(0.2em);
}

.close-popup {
    position: absolute;
    top: 0;
    right: 2px;
    padding: 5px;
    font-size: 20px;
    cursor: pointer;
}

#countdownDiv {
    margin-bottom: 2em;
}

.ui-autocomplete {
    top: 4px;
    border-radius: 4px;
    font-size: 1.2em;
    max-height: 130px;
    overflow-y: scroll;
}

.ui-menu-item {
    border-bottom: 1.5px dashed #999999;
}

@media only screen and (min-width: 768px) {
    #guesses {
        width: 50%;
    }
    #headerWrapper {
        width: 50%;
    }
    #guessInput {
        width: 50%;
    }
    input.guessText {
        width: 40%;
    }
    progress {
        width: 50%;
    }
    #playButtonDiv {
        width: 50%;
    }
    .headerButtonsL {
        width: 10%;
    }
    .headerButtonsR {
        width: 10%;
    }
    h1 {
        margin-left: 0em;
        font-size: 3em;
    }
}