body {
    font-family: Bai Jamjuree, sans-serif;
    color: #ffffff;
    background-color: #0b1e2a;
    border-color: #1b4965;
    margin: 0px;
}

#nav-bar {
    width: 100%;
    height: 64px;
    background-color: #102c3d;
    border-bottom: 1px solid #1b4965;
}

.nav-bar-title {
    padding: 12px 0px;
    font-size: 30px;
    font-weight: 600;
    width: 500px;
    margin: auto;
}

#main-content {
    margin: auto;
    max-width: 512px;
    min-height: calc(100vh - 65px - 100px);
}

.game-number {
    text-align: center;
    padding: 15px;
    color: #8e99ab;
    font-weight: 600;
}

#image-container {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 500px;
    height: 300px;
    border: 1px solid #1b4965;
}

.image-container-correct {
    border: 1px solid #16c60c !important;
}

.image-container-variant {
    border: 1px solid #d7700f !important;
}

.image-container-incorrect {
    border: 1px solid #e81224 !important;
}

.game-image {
    object-fit: cover;
}

.button:hover {
    cursor: pointer;
}

.button-inactive {
    background-color: #2a3c48 !important;
    cursor: not-allowed !important;
}

/* Game Nav */

#game-nav {
    position: relative;
}

.game-nav-button {
    display: block;
    position: absolute;
    color: #112331; 
    background-color: #57adf4;
    padding: 3px 5px;    
    border-radius: 4px 4px 4px 4px;
    margin: 7px;
}

.game-nav-button:visited { 
    text-decoration: none; 
    color: #112331; 
}

.game-nav-button .material-icons {
    font-size: 22px;
    line-height: 1.2;
}

.game-nav-button:hover {
    
}

.game-nav-button-active {
    background-color: #D7700F !important;
}

.next-button {
    right:0;
}

.last-button {
    left:0;
}

/* Image Nav */

#image-nav {
    padding: 8px 5px 0px 5px;
}

.image-nav-button {
    display: inline-block;
    background-color: #57adf4;
    color: #112331;
    padding: 2px 5px;
    border-radius: 4px 4px 4px 4px;
    font-size: 20px;
    margin: 1px;
    min-height: 26px;
    min-width: 20px;
    text-align: center;
    font-weight: 600;
}

#game-answer {
    display: block;
    text-align: center;
    margin: 10px;
    font-size: 20px;
    font-weight: 600;
}

#share-button {
    display: inline-block;
    background-color: #57adf4;
    padding: 5px 10px;
    border-radius: 4px 4px 4px 4px;
    margin-bottom: 7px;
    color: #112331;
    font-weight: 700;
    width: auto;
}

/* Search */

#search-container {
    padding: 8px 5px;
}

#search-input {
    border: 1px solid #1d4964;
    border-radius: 5px;
    font-size: 20px;
    height: 36px;
    padding-left: 10px;
    width: calc(100% - 14px);
}

#submit-button {
    display: block;
    background-color: #5aaef1;
    color: #112331;
    height: 36px;
    width: 100%;
    margin-top: 10px;
    border-radius: 5px;
    font-size: 20px;
    text-align: center;
    line-height: 34px;
    font-weight: 600;
}

#search-results-container {
    background-color: white;
    border: 1px solid #1d4964;
    border-radius: 5px;
    overflow-y: scroll;
    max-height: 150px;
}

.result {
    color: black;
    font-weight: 600;
    padding: 5px;
}

.result:hover {
    cursor: pointer;
    background-color: #e1e1e1;
}

/* Hints */

#hint-container {
    position: absolute;
    margin-top: -300px;
}

.hint-box {
    background-color: #8080808f;
    padding: 5px 10px 5px 5px;
    border-radius: 0px 0px 10px 0px;
    font-weight: 500;
}

/* Guesses */

.guess {
    border: 1px solid #1b4965;
    border-radius: 5px;
    margin: 5px;
    padding: 3px 5px;
    color: #ADD3EB;
    font-weight: 500;
}

.correct-guess {
    color: #D7700F !important;
}

/* Footer */

#footer {
    background-color: #131a21;
    height: 100px;
    width: 100%;
}

#footer-container {
    margin: auto;
    max-width: 350px;   
    text-align: center;
    color: #cfdee8;
    padding-top: 20px;
}

/* If the screen size is 600px or less: */
@media screen and (max-width: 600px) {
    .nav-bar-title {
        padding: 1.6vw 2vw;
        font-size: 5vw;
        font-weight: 600;
        width: calc(100vw - 4vw);
    }

    #nav-bar {
        width: 100%;
        height: 15vw;
        background-color: #102c3d;
        border-bottom: 1px solid #1b4965;
    }

    .nav-bar-title {
        padding: 0px;
        padding-left: 2vw;
        font-size: 8vw;
        font-weight: 600;
        width: calc(100vw - 2vw);
        margin: 0px;
        line-height: 15vw;
    }

    #main-content {
        width: calc(100vw - 4vw);
        max-width: 600px;
        min-height: calc(100vh - 45vw - 1px);
        padding: 0px 2vw;
        padding-top: 2vw;
    }

    .game-nav-button {
        display: block;
        position: absolute;
        color: #112331;
        background-color: #57adf4;
        padding: 1.2vw 0px;
        border-radius: 1vw;
        height: calc(10vw - 2.4vw);
        width: 10vw;
        text-align: center;
        margin: 0px;
    }

    .game-nav-button .material-icons {
        font-size: 6.5vw;
        line-height: 1.2;
    }

    .game-number {
        text-align: center;
        color: #8e99ab;
        font-weight: 600;
        height: 10vw;
        font-size: 4vw;
        padding: 0px;
        line-height: 10vw;
    }

    #image-container {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: calc(96vw - 4px);
        height: 60vw;
        border: 1px solid #1b4965;
        margin-top: 2vw;
    }

    #hint-container {
        position: absolute;
        margin-top: -60vw;
    }

    .hint-box {
        background-color: #8080808f;
        padding: 0px 2vw 1vw 1vw;
        border-radius: 0px 0px 1vw 0px;
        font-weight: 500;
        font-size: 5vw;
    }

    #image-nav {
        padding: 2vw 0px 0px 0px;
    }

    .image-nav-button {
        display: inline-block;
        background-color: #57adf4;
        color: #112331;
        padding: 2vw 2vw;
        border-radius: 1vw;
        font-size: 5vw;
        margin: 0.5vw;
        height: calc(10vw - 4vw);
        width: calc(10vw - 4vw);
        text-align: center;
        font-weight: 600;
        min-height: 0px;
        min-width: 0px;
    }

    #skip-button {
        float: right;
        width: auto;
    }

    #skip-button .material-icons {
        vertical-align: middle;
        font-size: 7vw;
        margin-top: -1.5vw;
    }

    #game-answer {
        display: block;
        text-align: center;
        margin-top: 2vw;
        font-size: 20px;
        font-weight: 600;
        font-size: 6vw;
    }

    #share-button {
        display: inline-block;
        background-color: #57adf4;
        padding: 1vw 2vw;
        border-radius: 1vw;
        margin-bottom: 7px;
        color: #112331;
        font-weight: 700;
        width: auto;
        font-size: 5vw;
        margin-top: 2vw;
    }

    #search-container {
        margin-top: 2vw;
        padding: 0px;
    }

    #search-input {
        border: 1px solid #1d4964;
        border-radius: 1vw;
        font-size: 5vw;
        height: 10vw;
        padding-left: 2vw;
        width: calc(100% - 2vw - 4px);
    }

    #search-results-container {
        background-color: white;
        border: 1px solid #1d4964;
        border-radius: 1vw;
        max-height: 40vw;
    }

    .result {
        color: black;
        font-weight: 600;
        padding: 1vw;
        font-size: 5vw;
    }

    #submit-button {
        display: block;
        background-color: #5aaef1;
        color: #112331;
        height: 10vw;
        width: 100%;
        margin-top: 2vw;
        border-radius: 1vw;
        font-size: 7vw;
        text-align: center;
        line-height: 9vw;
        font-weight: 600;
    }

    #guess-history-container {
        margin-top: 2vw;
    }

    .guess {
        border: 1px solid #1b4965;
        border-radius: 1vw;
        margin-bottom: 2vw;
        padding: 1vw 1vw;
        color: #ADD3EB;
        font-weight: 500;
        font-size: 5vw;
    }

    #footer {
        height: 28vw;
        width: 100vw;
    }

    #footer-container {
        margin: auto;
        max-width: 512px;
        text-align: center;
        color: #cfdee8;
        padding-top: 20px;
    }
    }