root { 
    display: block;
}

body{
    background-color: #000;
    background-repeat: repeat-x;
    background-position: top;   
}

*, *:before, *:after {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
     
input, input:before, input:after {
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
}

::selection { background: transparent;color:inherit; }
::-moz-selection { background: transparent;color:inherit; }

#canvas{
    position: fixed;
}

canvas {
    image-rendering: optimizeSpeed;
    image-rendering:-o-crisp-edges;
    image-rendering:-webkit-optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
	-ms-touch-action: none;
}

.ani_hack{
    -webkit-perspective: 1000;
    -webkit-backface-visibility: hidden;
    
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
    -webkit-tap-highlight-color: transparent; /* mobile webkit */
}

.historyTableTop{
    color: white;
    font-size: 30pt;
    z-index: 1000;
    position: absolute;
    top: 125px;
    left: 30px;
}

.moreInfoButton{
    position: absolute;
    top: 10px;
    right: 10px;
}
.moreInfoButton img{
    width: 73px;
}

/***************FONTS*******************/
@font-face {
    font-family: 'arialbold';
    src: url('arialbd-webfont.eot');
    src: url('arialbd-webfont.eot?#iefix') format('embedded-opentype'),
         url('arialbd-webfont.woff2') format('woff2'),
         url('arialbd-webfont.woff') format('woff'),
         url('arialbd-webfont.ttf') format('truetype'),
         url('arialbd-webfont.svg#arialbold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
	font-family: 'Digital-7';
	src: url('Digital-7.eot?') format('eot'), 
	     url('Digital-7.woff') format('woff'), 
	     url('Digital-7.ttf')  format('truetype'),
	     url('Digital-7.svg#Digital-7') format('svg');
}

/* --- Pop-Up Box --- */

.popup {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 50px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.7);
    /* Black w/ opacity */
}


.hint_button_home{
    line-height: 0;
    font-size: 22pt;
    text-align: center;
    color: white;
    position: absolute;
    top: 10px;
    right: 190px;
    width: 150px;
    background: linear-gradient(to bottom, #0076bd 0%,#004e79 100%);
    height: 40px;
    border: 3px solid white;
    border-radius: 7px;
}


/* --- Pop-Up Box --- */

.popup {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 50px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.7);
    /* Black w/ opacity */
}

/* PopUp Content */

.popup-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Add Animation */

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}
@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */

.close {
    color: #fff !important;
    float: right;
    font-size: 58px;
    font-weight: bold;
    width: 40px;
    margin-right: 10px;
}
.close:hover,
.close:focus {
    color: #fff;
}
.popup-header {
    background-color: deepskyblue;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 60px;
    margin-top: -20px;
}

.popup-header h2{
    text-align: center;
    padding-top: 14px;
    font-size: 25pt;
}

.popup-body {
    margin-top: 10px;
    padding: 2px 16px;
    min-height: 520px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.popUpInfo{
    text-align: left;
}

.popUpInfo h2{
    font-size: 20pt;
}

.pictureSlot{
    margin-top: 40%;
}

.infoButtons button{
    background-color: deepskyblue;
    color: white;
    font-size: 16px;
    margin-right: 15px;
}