/*
==============================
BASIC SETUP
==============================
*/

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: #fbfbfb;
    background-image: url("../images/linedpaper.png");
}

.container {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    padding: 15px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Impact, Charcoal, sans-serif;
}

h1 {
    font-size: 3em;
    text-transform: uppercase;
}

::selection {
    background: #ff8;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fbfbfb; 
}

::-webkit-scrollbar-thumb {
    background: #036; 
    background-image: linear-gradient(#036, #0f2e40);
}

/*
==============================
HEADER
==============================
*/

header {
    background: #036;
    background-image: linear-gradient(#036, #0f2e40);
    color: #fff;
    padding: 15px;
}

header .container {
    text-align: center;
    padding-right: 15px;
    padding-left: 15px;
}

/*
==============================
SECTION
==============================
*/

.subhead {
    background: #ccc;
    text-align: center;
    font-size: 1.5em;
}

.absolute {
    position: absolute;
    width: 90px;
    background: #ff8;
    font-weight: bold;
    text-align: center;
    border-radius: 8px 0 0 8px;
    padding: 15px;
    right: 0;
    top: 173px;
    box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
}

.grid > * {
    /* border: 2px solid red; */
    padding: 15px;
}

#characterImage {
    border: 15px solid #fff;
    box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
    transform: rotate(1deg);
    width: 500px;
    max-width: 100%;
}

#guessMe {
    grid-column: span 2;
    font-size: 3em;
    font-family: 'Special Elite', monospace;
    text-align: center;
    margin-bottom: 6px;
}

#messageToUser {
    align-self: center;
    font-size: 1.5em;
    text-align: left;
}

.gameStats {
    text-align: center;
}

.wrongGuesses {
    text-align: left;
    font-size: 1.5em;
}

#wins, #losses, #guessesLeft {
    margin-top: 0.3em;
    font-family: 'Special Elite', monospace;
    font-size: 2em;
    font-weight: normal;
}

#incorrectGuesses {
    margin-top: 0.3em;
    font-family: 'Special Elite', monospace;
    font-size: 1.9em;
}

.gameStats {
    background: #efefef;
    border-radius: 15px;
}

/*
==============================
FOOTER
==============================
*/

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: calc(76px + 1.5rem);
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

footer {
    background: #036;
    background-image: linear-gradient(#036, #0f2e40);
    color: rgba(255, 255, 255, 0.9);
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: all .75s;
}

footer a:hover {
    color: #ff8;
}

footer nav ul {
    display: flex;
}

footer nav li {
    flex-basis: auto;
    padding-right: 2em;
}

nav a {
    text-decoration: none;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    transition: all .75s;
}

nav a:hover {
    color: #ff8;
}

.copyright {
    text-align: right;
}