@font-face {
	font-family: "Joystix";
	src: url("fonts/joystix.ttf");
}

@font-face {
	font-family: "Joust";
	src: url("fonts/joust.ttf");
}

body {
    background-color: #000000;
	background-image: url('images/space-tile.png');
	background-position: 0px 0px;
	background-repeat: repeat;
	/* animation: animatedBackground 5s linear infinite; */
}

body::-webkit-scrollbar {
    display: none;
}

/* @keyframes animatedBackground {
    from { background-position: 0 0; }
    to { background-position: 0 500px; }
} */

/* hide the EJS menu bar entirely */
.ejs_menu_bar {
    opacity: 0;
}

#main {
    position: relative;
    width: 100%;
    min-width: 1500px;
    min-height: 3400px;
    transition-property: opacity;
    transition-duration: 1s;
    overflow: hidden;
}

.main_loading {
    opacity: 0%;
}

#loading {
    position: absolute;
    top: 0px;
    left: 0px;
    min-height: 3500px;
    width: 100%;
    overflow: hidden;
    z-index: 10;
}

#loading_message {
    position: absolute;
    top: 400px;
    width: 100%;
    text-align: center;
}

#insert_coin {
    position: absolute;
    top: 300px;
    left: 50%;
    transform: translateX(-50%);
    width: 401px;
    height: 533px;
    margin-left: auto;
    margin-right: auto;
    background-image: url('images/insert-coin.png');
}

.loading_done {
    display: none;
}

#main_title {
	text-align: center;
	position: relative;
	top: 20px;
}

.title {
    font-family: "Joystix";
    font-size: 40pt;
}

.subtitle {
    font-family: "Joystix";
    font-size: 30pt;
}

.controls {
    font-family: "Joystix";
    font-size: 10pt;
}

.green {
    color: #00ff00;
    text-shadow: 0 0 5px #4bf145;
}

.red {
	color: #ff0000;
	text-shadow: 0 0 5px #fe2e2e;
}

.yellow {
    color: #ffff00;
	text-shadow: 0 0 5px #F4FA58;
}

.white {
    color: #e5e5e5;
	text-shadow: 0 0 5px #ffffff;
}


/* Donkey Kong */
#dk_all {
    position: absolute;
    width: 785px;
    height: 990px;
    /* margin-left: 10px;
    margin-right: auto;
    margin-top: 100px; */
    left: 30px;
    top: 400px;
    padding: 0px;
    /* border: #ff0000;
    border-width: 3px;
    border-style: solid; */
}
#dk_marquee {
    position: absolute;
    width: 785px;
    height: 262px;
    margin: 0px;
    padding: 0px;
    /* overflow: hidden; */
    /* background-color: rgb(32, 32, 32); */
}
#dk_marquee_img {
    position: absolute;
    top: -45px;
    left: -95px;
    width: 970px;
    margin-left: auto;
    margin-right: auto;
}
#dk_main {
    position: absolute;
    top: 240px;
    width: 785px;
    height: 720px;
    background-color: #000000;
    margin: 0px;
    padding: 0px;
}

#dk_bezel {
    position: absolute;
    top: 10px;
    z-index: 1;
    width: 785px;
    height: 720px;
    pointer-events: none;
    /* opacity: 75%; */
    /* transform: rotateX(-30deg) */
    margin: 0px;
    padding: 0px;
}
#dk_screen {
    position: absolute;
    top: 140px;
    left: 80px;
    /* transform: rotateX(-15deg) */
    width:640px;
    height:480px;
    margin: 0px;
    padding: 0px;
}

#dk_controls {
    position: absolute;
    top: 970px;
    left: 250px;
}

#dk_message {
    position: absolute;
    top: 800px;
    right: 100px;
    width: 500px;
    text-align: center;
}

#dk_message:hover + #billy_mitchell{
    right: -80px
}

#billy_mitchell {
    position: absolute;
    top: 1050px;
    right: -240px;
    height: 300px;
    rotate: -50deg;
    transition: 1s ease-in-out;
}

/* Joust */
#jt_all {
    position: absolute;
    top: 1500px;
    right: 20px;
    width: 990px;
    height: 1250px;
    /* margin-left: auto;
    margin-right: auto;
    margin-top: 50px; */
    padding: 0px;
    /* border: #ff0000;
    border-width: 3px;
    border-style: solid; */
    padding: 0px;
}

#jt_marquee {
    position: absolute;
    top: 0px;
    width: 990px;
    margin: 0px;
    padding: 0px;
}

#jt_main {
    position: absolute;
    top: 300px;
    width: 990px;
    height: 900px;
    background-color: #000000;
    margin: 0px;
    padding: 0px;
}

#jt_bezel {
    position: absolute;
    top: 10px;
    z-index: 1;
    width: 990px;
    height: 900px;
    pointer-events: none;
    margin: 0px;
    padding: 0px;
}
#jt_screen {
    position: absolute;
    top: 170px;
    left: 175px;
    width:640px;
    height:480px;
    margin: 0px;
    padding: 0px;
}

#jt_controls {
    position: absolute;
    top: 1140px;
    left: 370px;
    z-index: 1;
}

#jt_message {
    position: absolute;
    top: 1800px;
    left: 60px;
    width: 400px;
    text-align: center;
    font-family: "Joust";
    line-height: 1.5;
    text-shadow: 0 0 8px #F4FA58;
}

#jt_message:hover + #lich{
    opacity: 100%
}


#lich {
    position: absolute;
    top: 2200px;
    left: -100px;
    height: 800px;
    transition: 1s ease-in-out;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

#bottom_message {
    position: absolute;
    top: 2850px;
    width: 100%;
    height: 800px;
    text-align: center;
}

#details {
    position: absolute;
    top: 0px;
    width: 80%;
    text-align: center;
    padding-left: 10%;
    padding-right: 10%;
}

#address {
    position: absolute;
    width: 100%;
    top: 260px;
    text-align: center;
}

#phone {
    position: absolute;
    top: 420px;
    width: 100%;
    text-align: center;
}

a:link {
    text-decoration: none;
    color: #ffff00;
}

a:visited {
    text-decoration: none;
    color: #ffff00;
}

a:hover {
    text-decoration: none;

}

@keyframes beer {
    100% { background-position: -240px;}
}

.beer {
    background-image: url('images/beer.png');
    /* size of one frame */
    width: 80px;
    height: 80px;
    /* size of the whole sheet */
    background-size: 240px 80px;
    /* coordinates of the desired frame (negated) */
    background-position: -0px 0px;
    animation: beer 1s steps(3) infinite;
}

#beer1 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    transform: scaleX(-1);
}

#beer2 {
    position: absolute;
    bottom: 20px;
    right: 20px;
}
