HTML, BODY{
    margin: 0;
    width: 100%;
    height: 100%;
    background-image: Url(/media/background.jpg);
    background-position: center;
    background-repeat: no-repeat;
    font-family: arial;
}

H1{
    margin: 0;
    padding: 0;
}

#gamewrapper{
    width: 100%;
    max-width: 950px;
    max-height: 661px;
    margin: 0 auto;
}

#gameheader{
    width: 900px;
    height: 88px;
    background-color: #008198;
    margin: 0 auto;
    margin-bottom: 20px;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow:    0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow:         0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    background: #0091ab;
    background: -moz-linear-gradient(top, #0091ab 0%, #006e82 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0091ab), color-stop(100%,#006e82));
    background: -webkit-linear-gradient(top, #0091ab 0%,#006e82 100%);
    background: -o-linear-gradient(top, #0091ab 0%,#006e82 100%);
    background: -ms-linear-gradient(top, #0091ab 0%,#006e82 100%);
    background: linear-gradient(to bottom, #0091ab 0%,#006e82 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0091ab', endColorstr='#006e82',GradientType=0 );
}

#gamebody{
    width: 900px;
    margin: 0 auto;
}

#playerpicture{
    margin: 10px;
    -webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow:    0px 0px 2px 0px rgba(0, 0, 0, 0.75);
    box-shadow:         0px 0px 2px 0px rgba(0, 0, 0, 0.75);
    float: left;
}

#playername{
    color: white;
    font-weight: bold;
    margin: 0;
    padding-top: 10px;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);
}

#loginform{
    border: solid green 1px;
}

#welcomemenuwrapper{
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    margin-top: 80px;
}

.bigbutton{
    
    margin: 0 auto;
    margin: 20px;
    padding: 20px;
    padding-left: 25px;
    padding-right: 25px;
    font-weight: bolder;-webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow:    0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow:         0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    background: #0091ab;
    background: -moz-linear-gradient(top, #0091ab 0%, #006e82 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0091ab), color-stop(100%,#006e82));
    background: -webkit-linear-gradient(top, #0091ab 0%,#006e82 100%);
    background: -o-linear-gradient(top, #0091ab 0%,#006e82 100%);
    background: -ms-linear-gradient(top, #0091ab 0%,#006e82 100%);
    background: linear-gradient(to bottom, #0091ab 0%,#006e82 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0091ab', endColorstr='#006e82',GradientType=0 );
    
    position: relative;
    font-size: 30px;
    color: black;
    
    cursor: pointer;
}


.bigbutton:active{
    -webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 1);
    -moz-box-shadow:    0px 0px 2px 0px rgba(0, 0, 0, 1);
    box-shadow:         0px 0px 2px 0px rgba(0, 0, 0, 1);
    transform:scale(0.99,0.99);
    
}

.bigbutton:before, .bigbutton:after{
    text-align: center;
    padding-top: 20px;
    content: attr(title);
    color: white;
    position: absolute;
    width: 100%;
}

.bigbutton:before { top: 1px; left: -1px }
.bigbutton:after  { top: 1px; left: -1px }

#levelsquareswrapper{
    max-width: 640px;
    max-height: 500px;
    width: 640px;
    overflow: hidden;
    clear: both;
}

#levelsquaresscrollable{
    width: 640px;
    max-height: 500px;
    overflow-y: scroll;  
}

.levelsquarel{
    margin: 15px;
    margin-top: 10px;
    width: 50px;
    height: 50px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;    
    -webkit-box-shadow: inset 0px 1px 2px 0px rgba(0, 0, 0, 1), inset 1px -1px 0px 0px rgba(255, 255, 255, 0.8);
    -moz-box-shadow:    inset 0px 1px 2px 0px rgba(0, 0, 0, 1), inset 1px -1px 0px 0px rgba(255, 255, 255, 0.8);
    box-shadow:         inset 0px 1px 2px 0px rgba(0, 0, 0, 1), inset 1px -1px 0px 0px rgba(255, 255, 255, 0.8);    
    background-color:rgba(0,0,0,0.4);
    float: left;
    color: #7f7f7f;
    font-size: 24px;
    font-weight: bolder;
    text-align: center;
    vertical-align: middle;
    line-height: 50px;    
    
}

.levelsquarelblue{
    margin: 15px;
    margin-top: 10px;
    width: 50px;
    height: 50px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;    
    -webkit-box-shadow: inset 0px 1px 2px 0px rgba(0, 0, 0, 1), inset 1px -1px 0px 0px rgba(255, 255, 255, 0.8), 0px 0px 10px 2px rgba(0, 145, 171, 1);
    -moz-box-shadow:    inset 0px 1px 2px 0px rgba(0, 0, 0, 1), inset 1px -1px 0px 0px rgba(255, 255, 255, 0.8), 0px 0px 10px 2px rgba(0, 145, 171, 1);
    box-shadow:         inset 0px 1px 2px 0px rgba(0, 0, 0, 1), inset 1px -1px 0px 0px rgba(255, 255, 255, 0.8), 0px 0px 10px 2px rgba(0, 145, 171, 1);    
    float: left;
    font-size: 24px;
    font-weight: bolder;
    text-align: center;
    vertical-align: middle;
    line-height: 50px;    
    
    background-color:rgba(0,147,173,0.8);
    color: white;
}

.levelsquarer{
    margin: 15px;
    margin-top: 10px;
    width: 50px;
    height: 50px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;    
    -webkit-box-shadow: inset 0px 1px 2px 0px rgba(0, 0, 0, 1), inset 1px -1px 0px 0px rgba(255, 255, 255, 0.8);
    -moz-box-shadow:    inset 0px 1px 2px 0px rgba(0, 0, 0, 1), inset 1px -1px 0px 0px rgba(255, 255, 255, 0.8);
    box-shadow:         inset 0px 1px 2px 0px rgba(0, 0, 0, 1), inset 1px -1px 0px 0px rgba(255, 255, 255, 0.8);    
    background-color:rgba(0,0,0,0.4);
    float: right;
    color: #7f7f7f;
    font-size: 24px;
    font-weight: bolder;
    text-align: center;
    vertical-align: middle;
    line-height: 50px;    
}

.levelsquarerblue{
    margin: 15px;
    margin-top: 10px;
    width: 50px;
    height: 50px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;    
    -webkit-box-shadow: inset 0px 1px 2px 0px rgba(0, 0, 0, 1), inset 1px -1px 0px 0px rgba(255, 255, 255, 0.8), 0px 0px 10px 2px rgba(0, 145, 171, 1);
    -moz-box-shadow:    inset 0px 1px 2px 0px rgba(0, 0, 0, 1), inset 1px -1px 0px 0px rgba(255, 255, 255, 0.8), 0px 0px 10px 2px rgba(0, 145, 171, 1);
    box-shadow:         inset 0px 1px 2px 0px rgba(0, 0, 0, 1), inset 1px -1px 0px 0px rgba(255, 255, 255, 0.8), 0px 0px 10px 2px rgba(0, 145, 171, 1);    
    float: right;
    font-size: 24px;
    font-weight: bolder;
    text-align: center;
    vertical-align: middle;
    line-height: 50px;   
    background-color:rgba(0,147,173,0.8);
    color: white; 
}

#gamelauncher{
    width: 400px;
    height: 225px;
    background-color: #008198;
    position: relative;
    margin: 0 auto;
    margin-top: 75px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow:    0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow:         0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    background: #0091ab;
    background: -moz-linear-gradient(top, #0091ab 0%, #006e82 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0091ab), color-stop(100%,#006e82));
    background: -webkit-linear-gradient(top, #0091ab 0%,#006e82 100%);
    background: -o-linear-gradient(top, #0091ab 0%,#006e82 100%);
    background: -ms-linear-gradient(top, #0091ab 0%,#006e82 100%);
    background: linear-gradient(to bottom, #0091ab 0%,#006e82 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0091ab', endColorstr='#006e82',GradientType=0 );
}

#gamelauncherbtns{
    height: 75px;
    width: 100%;
    position: absolute;
    bottom: 0;
    background-color: white;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;   
    cursor: pinter;
}

#gamelauncherlevel{
    float: right;
    color: white;
    font-weight: bold;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);
    font-size: 36px;
    text-align: right;
    margin: 10px;
}

#gamelauncherlevelstats{
    float: left;
    color: white;
    font-weight: bold;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);
    text-align: left;
}

#gamelauncherbtnl{
    float: left;
    width: 50%;
    height: 100%;
    -webkit-box-shadow: inset -1px 0px 0px 0px #e5e5e5;
    -moz-box-shadow:    inset -1px 0px 0px 0px #e5e5e5;
    box-shadow:         inset -1px 0px 0px 0px #e5e5e5;
    text-align: center;
    color: #a4a4a4;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0px 1px 0px #4a4a4a;
    line-height: 75px;
}

#gamelauncherbtnr{
    float: right;
    width: 50%;
    height: 100%;
    -webkit-box-shadow: inset 1px 0px 0px 0px #b2b2b2;
    -moz-box-shadow:    inset 1px 0px 0px 0px #b2b2b2;
    box-shadow:         inset 1px 0px 0px 0px #b2b2b2;
    text-align: center;
    color: #a4a4a4;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0px 1px 0px #4a4a4a;
    line-height: 75px;
}

#timerclock{
    color: white;
    font-size: 36px;
    font-weight: bold;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
}

#clock{
    width: 100px;
    float: left;
}

#timerbarclipper{
    margin-top: 12px;
    height: 15px;
    width: 800px;
    float: right;
    /* higher then half the height */
    -webkit-border-radius: 10px; 
    -moz-border-radius: 10px;
    border-radius: 10px;   
    overflow: hidden;
}

#timergrowingbar{
    height: 15px;
    width: 0%;
    float: left;
    background-color: #00c6ff;
}

.timergrowingbarstripes{
    background-size: 15px 15px;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
                        transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
                        transparent 75%, transparent);            
    
    animation: animate-stripes 3s linear infinite;             
}

@keyframes animate-stripes {
    100% {background-position: 0 0;} 0% {background-position: 60px 0;}
}


#timerbar{
    height: 15px;
    margin-top: -15px;
    width: 800px;
    float: right;
    /* higher then half the height */
    -webkit-border-radius: 10px; 
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: inset 0px 1px 1px 0px rgba(0, 0, 0, 0.8), inset 1px -1px 0px 0px rgba(255, 255, 255, 0.8), inset 0px 0px 10px 0px black;
    -moz-box-shadow:    inset 0px 1px 1px 0px rgba(0, 0, 0, 0.8), inset 1px -1px 0px 0px rgba(255, 255, 255, 0.8), inset 0px 0px 10px 0px black;
    box-shadow:         inset 0px 1px 1px 0px rgba(0, 0, 0, 0.8), inset 1px -1px 0px 0px rgba(255, 255, 255, 0.8), inset 0px 0px 10px 0px black; 
}

#puzzlewrapper{
    position: realtive;
    min-height: 100px;
    top: 200px;
    border: solid red 1px; 
    width: auto;
}

#puzzlebuttons{
    position: absolute;
    border :solid blue 1px;
    margin: 0 auto;
    
    min-width: 100px;
}

#puzzleletter{
    width: 75px;
    height: 75px;
    
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;    
    -webkit-box-shadow: inset 0px 1px 2px 0px rgba(0, 0, 0, 1), inset 1px -1px 0px 0px rgba(255, 255, 255, 0.8);
    -moz-box-shadow:    inset 0px 1px 2px 0px rgba(0, 0, 0, 1), inset 1px -1px 0px 0px rgba(255, 255, 255, 0.8);
    box-shadow:         inset 0px 1px 2px 0px rgba(0, 0, 0, 1), inset 1px -1px 0px 0px rgba(255, 255, 255, 0.8);    
    background-color:rgba(0,0,0,0.4);
    float: left;
    color: #7f7f7f;
    font-size: 24px;
    font-weight: bolder;
    text-align: center;
    vertical-align: middle;
    line-height: 75px; 
}