html,
body {
    height: 100%;
}

body {
    font-family: "Lato", sans-serif;
    font-size: 24px;
    margin: 0;
}

main {
    min-height: 100%;
}

header {
    background-color: #0E87C4;
    padding: 3px;
}

header a {
    color: #fefefe;
    text-decoration: none;
}

header a:hover {
    color: #d1eaf7;
}

h1 {
    font-family: "Lato", sans-serif;
    font-size: 28px;
    margin: 10px auto;
    text-align: center;
    width: auto;
    font-weight: 400;
    font-family: sans-serif;
}

h1#theWordID {
    font-size: 24px;
    margin: 30px auto 20px;
    display: block;
    padding: 0 0 0 10px;
    letter-spacing: 10px;
    transition: background-color, 0.4s;
    animation: fadein 2s ease;
}

span.playerCor {
    color: #51B057;
}

span.playerWro {
    color: #F05151;
}

h2 {
    font-size: 24px;
    text-align: center;
    font-family: "Lato", sans-serif;
    margin: 30px auto;
}

h2#attemptsLeftID {
    animation: fadein 2s ease;
}

.container {
    margin: 0 auto;
    max-width: 600px;
    padding: 0 10px;
    overflow: auto;
    padding-bottom: 80px;
}

.container p {
    text-align: center;
    animation: fadein 3s ease;
}

.container p.intro-text {
    font-size: 18px;
    text-align: left;
    line-height: 26px;
    font-weight: 300;
    margin-bottom: 30px;
}


/* Animations */

@keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/* List stuff */

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
    animation: fadein 2s ease;

    /* Makes sure that the player can not select letters of the alfabet, cause that was super annoying on mobile */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

ul.diff li.selected {
    background-color: #0E87C4;
    color: #fefefe;
    cursor: default;
}

ul.diff li.selected:hover {
    background-color: #0E87C4;
}

ul.diff li {
    font-size: 18px;
    background-color: #ededed;
    box-sizing: border-box;
    max-width: 300px;
    color: #333;
    display: block;
    width: auto;
    padding: 5px 20px;
    margin: 5px auto;
}

ul.diff li h2 {
    font-size: 22px;
    display: inline-block;
    padding: 0;
    margin: 0;
    text-align: left;
}

ul.diff li p {
    padding: 2px 0;
    margin: 0;
    animation: none;
}

ul.diff li:hover {
    text-decoration: none;
    background-color: #032a3e;
    color: #fefefe;
}

li {
    display: inline-block;
    font-weight: 300;
    font-size: 24px;
    margin: 2px;
    padding: 10px;
    width: 30px;
    text-align: center;
    background-color: #0E87C4;
    color: #fefefe;
    cursor: pointer;
    transition: background-color 0.4s;
}

li:hover {
    background-color: #032a3e;
    text-decoration: underline;
}

li.used {
    cursor: default;
}

li.used:hover {
    text-decoration: none;
}

li.wrong {
    color: #F05151;
    background-color: #EDE1DF;
}

li.correct {
    color: #51B057;
    background-color: #E0EDDF;
}


/* Button stuff */

button {
    font-size: 18px;
    width: 200px;
    height: 50px;
    line-height: 50px;
    display: block;
    text-align: center;
    margin: 30px auto 0px;
    border-radius: 5px;
    background-color: #0E87C4;
    color: #fefefe;
    border: none;
    cursor: pointer;
    transition: background-color 0.4s;
    animation: fadein 2s ease;
}

button:hover {
    background-color: #032a3e;
    text-decoration: underline;
}


/* Footer stuff */

footer {
    text-align: center;
    font-size: 16px;
    color: #fefefe;
    background-color: #1d1d1d;
    position: relative;
    margin-top: -50px;
    height: 50px;
    line-height: 50px;
    clear:both;
    font-weight: 300;
}

footer p {
    padding: 0;
    margin: 0;
}

footer a {
    color: #A1D4ED;
    transition: color, 0.4s;
}

footer a:hover {
    color: #57B0DE;
}
