/* ~~~~~~~~~~~~~~~~ */
/* Timer */
/* ~~~~~~~~~~~~~~~~ */

#timerBar {
    display: block;
    background-image: linear-gradient(rgb(37, 207, 37), rgb(18, 105, 18));
    height: 18px;
    text-align: left;
    box-shadow: 2px 2px navy;
    margin: 20px auto;
    border: 1px solid navy;
}

#timerBarContainer {
    width: 705px;
}

/* ~~~~~~~~~~~~~~~~ */
/* Interactive Fields */
/* ~~~~~~~~~~~~~~~~ */

input {
    width: 430px;
    height: 100px;
    font-size: 50px;
    font-family: 'Overpass Mono', monospace;
    text-align: center;
    background: rgb(225, 246, 255);
    color: navy;
    border-radius: 5px;
    margin-right: 2px;
}

#gameSpace {
    
    background: rgb(225, 246, 255);
    border: 3px solid rgb(225, 246, 255);
    width: 713px;
    height: 190px;
    margin-left: 0px;
    text-align: center;
    border-radius: 5px;
    position: relative;
}

canvas {
    position: relative;
}

#end-game-alert {
    color: navy;
    margin: 20px 0px 0px 100px;
    width: 200px;
}

#endGameP {
    color: navy;
    width: 520px;
    margin-top: 50px;
    margin-bottom: 10px;
    display: inline-block;
}

/*Score*/
main h2 {
    font-family: 'Slackey', cursive;
    float: right;
    margin-top: 10px;
    margin-right: 15px;
    color: navy;
    position: absolute;
    top: 0;
    right: 0;
}

#userName {
    font-size: 20px;
    width: 300px;
    height: 30px;
    font-size: 20px;
    font-family: 'Overpass Mono', monospace;
    text-align: center;
    background: rgb(225, 246, 255);
    color: navy;
    float: left;
    margin-left: 50px;
    margin-bottom: 10px;
    display: inline-block;
    border-radius: 5px;
}

#alerts {
    height: 20px;
    width: 680px;
    text-align: center;
    margin: 15px 15px 15px 15px;
    color: rgb(225, 246, 255);
    font-size: 1.1em;
    font-weight: bolder;
    text-shadow: 1px 2px navy;
}

/* ~~~~~~~~~~~~~~~~ */
/* Buttons */
/* ~~~~~~~~~~~~~~~~ */
#submit-score {
    width: 200px;
    height: 36px;
    display: inline-block;
    margin: 0px auto;
    font-family: 'Slackey', cursive;
    font-size: 20px;
    background-color: rgb(21, 218, 208);
    color: rgb(225, 246, 255);
    border: 3px solid rgb(225, 246, 255);
    border-radius: 5px;
    float: left;
    margin-left: 15px;
    margin-top: 1px;
    border-radius: 5px;
}

#startGame {
    width: 200px;
    height: 60px;
    display: block;
    margin: 20px auto;
    font-family: 'Slackey', cursive;
    font-size: 20px;
    background-color: rgb(21, 218, 208);
    color: rgb(225, 246, 255);
    border: 3px solid rgb(225, 246, 255);
    border-radius: 5px;
}

#restartGame {
    width: 200px;
    height: 60px;
    display: block;
    margin: 20px auto;
    font-family: 'Slackey', cursive;
    font-size: 20px;
    background-color: rgb(21, 218, 208);
    color: rgb(225, 246, 255);
    border: 3px solid rgb(225, 246, 255);
    border-radius: 5px;
    visibility: hidden;
}

#scramble-submit {
    height: 103px;
    width: 90px;
    font-size: 16px;
    font-family: 'Slackey', cursive;
    background-color: rgb(21, 218, 208);
    color: rgb(225, 246, 255);
    border: 3px solid rgb(225, 246, 255);
    border-radius: 5px;
    margin: 1px 3px 0px 3px;
    text-align: center;
}

#skipWord {
    height: 103px;
    width: 90px;
    font-size: 16px;
    font-family: 'Slackey', cursive;
    background-color: rgb(21, 218, 208);
    color: rgb(225, 246, 255);
    border: 3px solid rgb(225, 246, 255);
    border-radius: 5px;
    margin: 1px 3px 0px 3px;
    text-align: center;
}

#shuffle {
    height: 103px;
    width: 90px;
    font-size: 16px;
    font-family: 'Slackey', cursive;
    background-color: rgb(21, 218, 208);
    color: rgb(225, 246, 255);
    border: 3px solid rgb(225, 246, 255);
    border-radius: 5px;
    margin: 1px 3px 0px 3px;
    text-align: center;
}

#startGame:hover, #scramble-submit:hover, #skipWord:hover, #submit-score:hover, #shuffle:hover{
    color: navy;
    border: 3px solid navy;
    transition: .5s;
}

.flex-container {
    display: flex;
    width: 620px;
    /* margin: 0px auto; */   /* changed to comment it out */
}

a:hover li:hover {
    color: navy;
    border: 3px solid navy;
    transition: .5s;
  }