*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    font-family: 'IM Fell Great Primer SC', serif;
    font-size: 34px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
    height: 100%;
}

.container {
    position: fixed;
    top: 0;
    left: 0;
    margin: 0 auto;
    height: 100%;
    /* Preserve aspet ratio */
    min-width: 100%;
}

#menu.main {
    background-image: url('../images/menu.png');
    height: 100%;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#gameScreen.main {
    background-image: url('../images/mainBG.jpg');
    height: 100%;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#credits.main {
    background-image: url('../images/sunsetintheswamp.png');
    height: 100%;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#credits {
    display: none;
}

#gameScreen {
    display: none;
}

#main {
    display: block;
    margin-top: 22%;
}

#main h1 {
    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    font-size: 70px;
}

.button {
    display: block;
    width: 150px;
    margin: 0 auto;
    height: 40px;
    line-height: 30px;
    border: 1px solid #053a0c;
    color: white;
    font-weight: bold;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    background-color: #0f4d29;
    background-image: -webkit-linear-gradient(bottom, #0f4d29 0%, #053a0c 100%);
    background-image: linear-gradient(to bottom, #0f4d29 0%, #053a0c 100%);
    border-radius: 5px;
    font-size: 20px;
}

.button:hover {
    background-color: #0db360;
    background-image: -webkit-linear-gradient(bottom, #0f4d29 0%, #053a0c 100%);
    background-image: linear-gradient(to bottom, #0f4d29 0%, #053a0c 100%);
}

#menu {
    display: none;
    position: relative;
    border: 1px solid black;
    z-index: 2;
    text-align: center;
    background-color: grey;
}

#gameScreen {
    display: none;
    border: 1px solid black;
    z-index: 2;
    text-align: center;
    background-color: grey;
    overflow: auto;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0
}

li {
    padding: 10px 0;
}

a {
    text-decoration: none;
    color: inherit;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

a:hover {
    text-decoration: none;
    color: rgb(179, 178, 178);
}

.center-screen {
    margin: 0 auto;
    text-align: center;
    padding-top: 20%;
    color: white;
}

/* Scrolling Credits */

.marquee {
    top: 6em;
    position: relative;
    box-sizing: border-box;
    animation: marquee 15s linear infinite;
}

/* Make it move! */

@keyframes marquee {
    0% {
        top: 38em
    }
    100% {
        top: -50em
    }
}

/* Make it look pretty */

.microsoft .marquee {
    margin: 0;
    padding: 0 1em;
    line-height: 1.5em;
    font-family: 'Arial', Tahoma, Helvetica, Sans-Serif;
    font-size: 25px;
    color: white;
    text-align: center;
}

.microsoft:before,
.microsoft::before,
.microsoft:after,
.microsoft::after {
    left: 0;
    z-index: 1;
    content: '';
    position: absolute;
    pointer-events: none;
    width: 100%;
    height: 2em;
    background-image: linear-gradient(180deg, #FFF, rgba(255, 255, 255, 0));
}

.microsoft:after,
.microsoft::after {
    bottom: 0;
    transform: rotate(180deg);
}

.microsoft:before,
.microsoft::before {
    top: 0;
}

#gameConsole {
    background-color: darkslategray;
    color: white;
    margin-top: 20px;
    font-size: 25px;
    padding: 10px;
    border: 5px solid black;
}

#gameboardContainer {
    float: left;
    color: white;
    margin-top: 10px;
}

#hideWord {
    float: left;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 5px solid black;
    background-color: #4d4b48;
    border-right: 3px;
    letter-spacing: 3px;
}

#scoreBoard {
    float: left;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 5px solid black;
    border-left: 3px;
    background-color: #a1a1a1;
    color: black;
}

#hint {
    margin-top: 10px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 5px solid black;
    background-color: whitesmoke;
    color: black;
}

#currentGuesses {
    margin-top: 10px;
    clear: both;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 5px solid black;
    background-color: forestgreen;
    color: black;
}

#tryAgain {
    display: none;
    margin-top: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 5px solid black;
    background-color: mediumseagreen;
    color: white;
}