*{
    box-sizing: border-box;
}

body{
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    color: rgba(255,255,255, .9);
    letter-spacing: 1px;
}

/*Text*/
h1{
    margin-top: 0;
    padding-top: 0;
    font-size: 4.5em;
    line-height: 2em;
}

h3{
    font-weight: bold;
    font-size: 1.5em;
    line-height: 1.5em;
}

.text-center{
    text-align: center;
}

#heading{
    color: rgba(255,255,255, .9);
    letter-spacing: 3px;
}

.inset{
    background-color: #666666;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: rgba(255,255,255,0.5) 0px 2px 2px;
    z-index: 1000;
    text-align: center;
}

strong{
    font-weight: bold;
}

#wrong{
    text-transform: uppercase;
}

/*Letters*/
span.letter{
    display: inline-block;
}

.letter:first-child{
    text-transform: capitalize;
}

/*Stats Box*/
#results{
    position: relative;
}

/*Covers google fonts load in*/
#loadText{
    visibility: hidden;
    transition: visibility 2s ease;
}

#loadText.fadeIn{
    visibility: visible;
}

/*Layout*/
.container, .container-fullwidth{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

.fixed-wrap{
    background: #8e9eab; 
    background: -webkit-linear-gradient(-45deg, #ddd, #fff);  
    background: linear-gradient(-45deg, #ddd, #fff); 
    position: fixed;
    left: 0;
    width: 100vw;
    z-index: 1000;
    transition: all 2.5s ease;
    overflow: hidden;
}

#loaderWrapper{
    top: 0;
    height: 100vh;
}

#loaderWrapper.loaded{
    height: 0;
}

/*Win & Lose Screens*/

#finalWrapper{
    bottom: 0;
    height: 0vh;
}

#finalWrapper p, #finalWrapper h3{
    color: #666;
    padding: 1em;
}

.outcome p:not(:first-child){
    border-top: 1px solid #bbb;
}

.outcome{
    width: 100%;
    box-shadow: 1px 3px 12px #ccc inset, -2px -2px 8px #fff, 2px 1px 2px #fff;
    background-color: #ededed;
}

#finalWrapper.win, #finalWrapper.lose{
    height: 100vh;
}

#results, .outcome{
    border-radius: 1.5em;
    text-align: left;
    overflow: hidden;
}

#results p, .outcome p{
    padding: 1em;
}

/*Press any key to get started text*/
#initMessage{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hide{
    opacity: 0;
    visibility: hidden;
}


@media only screen and (min-width: 768px){
    .container{
        width: 50%;
        margin: 0 auto;
    }

}