@import url('https://fonts.googleapis.com/css?family=Luckiest+Guy');


#gui{
    position: absolute;
    width: 1200px;
    height: 675px;
    left: 0;
    top: 0;
    margin: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 999;
    font-family: 'Luckiest Guy', cursive;
    text-shadow: 0px 0px 2px rgba(150, 150, 150, 1);
    color: #589341;
}
#startbutton{
    position: absolute;
    width: 320px;
    padding-top: 16px;
    left: 440px;
    top: -120px;
    border-radius: 20px;
    font-size: 3em;
    border: 5px solid #589341;
    background-color: white;
    box-shadow: 0px 2px 15px 0px rgba(0,0,0,0.75);
    text-align: center;
    transition: 0.5s;
    pointer-events: all;
    cursor: pointer;
}
#scoredisplay{
    position: absolute;
    font-family: 'Luckiest Guy', cursive;
    color: white;
    top: 15px;
    left: 0;
    width: 1200px;
    text-align: center;
    font-size: 3em;
    text-shadow: 0 1px 0 #ccc,
               0 2px 0 #c9c9c9,
               0 3px 0 #bbb,
               0 4px 0 #b9b9b9,
               0 5px 0 #aaa,
               0 6px 1px rgba(0,0,0,.1),
               0 0 5px rgba(0,0,0,.1),
               0 1px 3px rgba(0,0,0,.3),
               0 3px 5px rgba(0,0,0,.2),
               0 5px 10px rgba(0,0,0,.25),
               0 10px 10px rgba(0,0,0,.2),
               0 20px 20px rgba(0,0,0,.15);
}
#endscreen{
    position: absolute;
    width: 1000px;
    padding-top: 16px;
    left: 100px;
    top: -700px;
    border-radius: 20px;
    font-size: 4em;
    border: 5px solid #589341;
    background-color: white;
    box-shadow: 0px 2px 15px 0px rgba(0,0,0,0.75);
    text-align: center;
    transition: 0.5s;
}
.smalltext{
    font-size: 0.5em;
    color: black;
}
#nick{
    pointer-events: all;
    cursor:text;
    border:1px solid #589341;
    background-color: #589341;
    margin: 10px 0;
    padding: 10px 0 0px;
    text-align: center;
    margin: 10px 0;
    font-size: 1em;
    font-family: 'Luckiest Guy', cursive;
    color: white;
    box-shadow: inset 1px 2px 5px 0px rgba(0,0,0,0.75);
    border-radius: 5px;
    text-shadow: 0 1px 0 #ccc,
               0 2px 0 #c9c9c9,
               0 3px 0 #bbb,
               0 4px 0 #b9b9b9,
               0 5px 0 #aaa,
               0 6px 1px rgba(0,0,0,.1),
               0 0 5px rgba(0,0,0,.1),
               0 1px 3px rgba(0,0,0,.3),
               0 3px 5px rgba(0,0,0,.2),
               0 5px 10px rgba(0,0,0,.25),
               0 10px 10px rgba(0,0,0,.2),
               0 20px 20px rgba(0,0,0,.15);
}
textarea, input, button { outline: none; }
#replaybutton,#maintitlebutton{
    position: relative;
    width: 320px;
    padding-top: 16px;
    margin: 18px 20px;
    display: inline-block;
    border-radius: 20px;
    font-size: 0.8em;
    border: 5px solid #589341;
    background-color: white;
    box-shadow: 0px 2px 15px 0px rgba(0,0,0,0.75);
    text-align: center;
    transition: 0.5s;
    pointer-events: all;
    cursor: pointer;
}
#replaybutton:hover,#maintitlebutton:hover{
    background-color: #589341;
    color: white;
}
#titlescreen{
    position: absolute;
    top: 0;
    left: 0;
    width: 1200px;
    height: 675px;
    background-image: url(../images/titelbild.jpg);
    transition: 0.5s;
}
#maintitle{
    position: absolute;
    left: 50px;
    top: 40px;
    font-size: 3.6em;
    color: white;
    text-shadow: 0 1px 0 #ccc,
               0 2px 0 #c9c9c9,
               0 3px 0 #bbb,
               0 4px 0 #b9b9b9,
               0 5px 0 #aaa,
               0 6px 1px rgba(0,0,0,.1),
               0 0 5px rgba(0,0,0,.1),
               0 1px 3px rgba(0,0,0,.3),
               0 3px 5px rgba(0,0,0,.2),
               0 5px 10px rgba(0,0,0,.25),
               0 10px 10px rgba(0,0,0,.2),
               0 20px 20px rgba(0,0,0,.15);
}
#mainstartbutton, #maininstructionbutton, #mainhighscorebutton{
    position: absolute;
    width: 350px;
    padding-top: 16px;
    left: 50px;
    border-radius: 20px;
    font-size: 3em;
    border: 5px solid #589341;
    background-color: white;
    box-shadow: 0px 2px 15px 0px rgba(0,0,0,0.75);
    text-align: center;
    transition: 0.5s;
    pointer-events: all;
    cursor: pointer;
}
#mainstartbutton{
    top: 140px;
}
#maininstructionbutton{
    top: 230px;
}
#mainhighscorebutton{
    top: 320px;
}
#startbutton:hover,#mainstartbutton:hover,#maininstructionbutton:hover,#mainhighscorebutton:hover{
    background-color: #589341;
    color: white;
}
#instruction, #highscore{
    position: absolute;
    width: 500px;
    height: 475px;
    left: 550px;
    top: -750px;
    padding: 50px;
    border-radius: 20px;
    font-size: 2em;
    line-height: 1.2em;
    background-color: white;
    box-shadow: 0px 2px 15px 0px rgba(0,0,0,0.75);
    transition: 0.5s;
    pointer-events: none;
}

#highscore{
    overflow: scroll;
    pointer-events: all;
}
#highscore .HSline{
    position: relative;
    display: block;
    border-bottom: 1px dashed #aaa;
    margin-bottom: 13px;
    line-height: 1em;
}
#highscore .HSleft{
    display: inline-block;
    width: 370px;
    text-align: right;
}
#highscore .HSrank{
    display: inline-block;
    width: 20px;
    margin-right: 24px;
    text-align: right;
    color: #aaa;
}
#highscore .HSname{
    display: inline-block;
    width: 350px;
    text-align: left;
}
#highscore .HSright{
    display: inline-block;
    width: 125px;
    text-align: right;
    color: #aaa;
}

#instruction{
    background-image: url(../images/instruction.jpg);
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
}
#mobilebtns{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 380px;
    height: 150px;
    pointer-events: all;
}
#up{
    position: absolute;
    top: 0;
    left: 10px;
    width: 140px;
    height: 140px;
    background-image: url(../images/btn_up.png);
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
    pointer-events: all;
}
#left{
    position: absolute;
    top: 0px;
    left: 900px;
    width: 140px;
    height: 140px;
    background-image: url(../images/btn_left.png);
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
    pointer-events: all;
}
#right{
    position: absolute;
    top: 0px;
    left: 1050px;
    width: 140px;
    height: 140px;
    background-image: url(../images/btn_right.png);
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
    pointer-events: all;
}