:root {
    --background-color: white;
    --keyboard-background-color: white;
    --keyboard-text-color: #6c757d;
    --text-color: black;
	--icon-color:#007bff;
    --active-key-color: #333333;
    --inverted-text-color: white;
    --toast-background-color: black;
    --background-absent: rgb(120, 124, 126);
    --color-correct: rgb(15, 153, 221);
    --color-present: rgb(201, 180, 88);
}

.night-mode {
    --background-color: black;
    --text-color: white;
    --inverted-text-color: black;
    --keyboard-background-color: rgb(129, 131, 132);
    --keyboard-text-color: white;
    --toast-background-color: white;
    --background-absent: #3a3a3c;
    --active-key-color: #dddddd;
}
body{
	font-family: 'Nunito', sans-serif;
}
#settingsIcon:hover,
#statsIcon:hover,
#helpIcon:hover,
#homeIcon {
    text-decoration: none;
}

#ot-sdk-btn-floating.ot-floating-button {
    display: none;
}

.color-blind {
    --color-correct: #f5793a;
    --color-present: #85c0f9;
}

#wordgame-nav .nav-link {
    padding: 0.25rem 0.5rem;
}

footer {
    display: none;
}

#gameContainer {
    background-color: #ffffff;
    max-height: calc(100vh - 100px);
    flex-direction: column;
}

#hint-button {
    color: #fff;
    background-color: #28a745;
}

#hint-button.hint-disabled {
    color: #fff;
    background-color: var(--background-absent);
}

@keyframes explode {
    from {
        z-index: 1000;
        transform: scale(1);
    }
    50% {
        transform: scale(2);
    }
    to {
        transform: scale(1);
    }
}

.explode {
    animation: explode 0.5s ease;
}

#countdownClock {
    font-variant-numeric: tabular-nums;
}

#wordhurdlechallenge {
    border-top: 1px solid rgb(222, 226, 230);
    margin-left: -12px;
    margin-right: -12px;
}

.stat-label {
    font-size: 0.8rem;
}

.histogram-bar {
    display: inline-block;
    background-color: #6c757d;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding-right: 5px;
    text-align: right;
    min-width: 18px;
}

.histogram-bar.won {
    background-color: #28a745;
}

#wordhuntGameOver .modal-footer {
    display: block;
}

#wordhunt-container {
    flex-grow: 1;
    overflow: auto;
    padding-bottom: 240px;
}

.wordBreak {
    margin-top: 10px;
}

#container {
    width: 100%;
    max-width: 1200px;
    background-color: white;
    margin: 0px auto;
    padding: 0px 0px;
    border-radius: 1.5em;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gotd {
    display: inline-block;
    position: relative;
    top: -3px;
}

/*nav bar*/

.nav_bar {
    text-align: center;
    height: 33px;
    margin-top: 11px;
}

/*game*/

.game_area {
    margin-top: 5px;
    flex-grow: 1;
    overflow-y: auto;
}

.wordhunt-row {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 10px;
    border-bottom: 1px solid #dddddd;
    transition: background-color 0.5s ease;
    padding-left: 5px;
    padding-right: 5px; 
}

.wordhunt-row:last-of-type {
    border-bottom: none;
}

.wordhunt-row.current-row {
    background-color: #05864d33;
    transition: background-color 0.5s ease;
}

.row_block {
    display: inline-block;
    margin: 1px;
    text-align: center;
    font-size: 29px;
    vertical-align: top;
    font-weight: bold;
    line-height: 1.5;
    border: 2px solid;
    width: 56px;
    height: 51px;
    z-index: 0;
}

.row_block.instructions {
    margin: 0 2px;
}

/*notification*/

#notification {
    text-align: center;
    letter-spacing: 1px;
    height: 30px;
}

#keyboard-container {
    position: fixed;
    bottom: 0;
    padding-bottom: 5px;
    width: 100vw;
    background-color: #ffffff;
    border-top: 1px solid #eeeeee;
}

/* keyboard */

#keyboard {
    text-align: center;
    margin-top: 5px;
}

#topKeys,
#midKeys,
#botKeys {
    display: flex;
    justify-content: center;
}

.keyboardKey_s,
.keyboardKey_m,
.keyboardKey_l {
    margin: 1px;
    padding-right: 6px;
    padding-left: 6px;
    display: flex;
    justify-content: center;
    cursor: pointer;
    color: #6c757d;
    border: 1px solid #6c757d;
    border-radius: 0.25rem;
    font-size: 1rem;
    line-height: 2.8;
    height: 58px;
    padding: 0.375rem 0.5rem;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.keyboardKey:active {
    background-color: #dddddd;
    transition: background-color 0.5s ease;
    transform: scale(0.98);
}

.keyboardKey_s {
    width: 52px;
}

.keyboardKey_m {
    width: 52px;
}

.keyboardKey_l {
    width: 81px;
}

.blockGreen,
.blockGrey,
.blockGold,
.blockPurple {
    color: #fff;
}

.blockPurple {
    background-color: purple;
    border-color: purple;
}

.blockGreen {
    background-color: #05864d;
    border-color: #05864d;
}

.row_block.blockSpace {
    background-color: transparent;
    border-color: transparent;
    width: 14px;
}

.blockGrey {
    background-color: #737373;
    border-color: #737373;
}

.blockGold {
    background-color: #d5923b;
    border-color: #d5923b;
}

#gameName {
    line-height: 1em;
    font-size: 25px;
}

@media only screen and (max-width: 800px) {
    #site-header {
        display: none;
    }
    #m1-container {
        min-height: 50px;
    }
    .game_area {
        margin-top: 1px;
    }
    .row_block {
        width: 30px;
        height: 32px;
        font-size: 20px;
    }
    #wordhunt-container {
        padding-right: 3px;
        padding-left: 3px;
    }
    #notification,
    .nav_bar {
        margin-top: 0;
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 575px) {
    #gameName {
        line-height: 1.5em;
        font-size: 20px;
    }
}

@media only screen and (max-width: 350px) {
    #game-icons {
        font-size: 14px;
    }
    #button-4-letter,
    #button-5-letter,
    #button-6-letter,
    #button-phrazle,
    #button-all-games {
        font-size: 3vw;
    }
    .keyboardKey_m {
        width: 42px;
    }
}