/*  Google fonts 
    link to collection (for future edits): 
    https://www.google.com/fonts#UsePlace:use/Collection:Play:400,700|Orbitron:400,700|Russo+One
*/
/*  Font inclusion: remote method
    -move the following line out of the comment to activate this method of loading the fonts
    -requires internet connection,
    @import url(http://fonts.googleapis.com/css?family=Play:400,700|Orbitron:400,700|Russo+One);
*/
/*  Font inclusion: local method (no internet connection required--instead uses files relatively 
    -these are the @font-face rule(s) below

    -note about the font urls below:
     in order to get all three formats, used the remote load method in IE, Chrome, FF 
     each returns a different font format (woff, woff2, ttf) which can be saved locally, moved to the fonts folder 
     and renamed appropriately
*/
@font-face {
    font-family: 'Orbitron';
    font-weight: normal;
    font-style: normal;
    src: url("fonts/Orbitron/Orbitron.woff") format("woff"),
         url("fonts/Orbitron/Orbitron.woff2") format("woff"),
         url("fonts/Orbitron/Orbitron-Regular.ttf") format("truetype");
}

body {
    font-family: 'Orbitron', sans-serif;

    /* alternative fonts -- you might need to use the remote method above, or download the woff and woff2 files and set up a font-face rule above */
    _font-family: 'Play', sans-serif;
    _font-family: 'Russo One', sans-serif;

    margin:0; padding:0;
    overflow-x: hidden;
    overflow-y: scroll;
	color: #aaaa88;

    /* based on "carbon fibre" from http://lea.verou.me/css3patterns/#carbon-fibre */
    background:
        radial-gradient(black 15%, transparent 16%) 0 0,
        radial-gradient(black 15%, transparent 16%) 8px 8px,
        radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 0 1px,
        radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 8px 9px;
    background-color: #211923;
    background-size: 16px 16px;
}

input[type=button] {
	color: #DDAABB;
	background-color: #331111;
	background-image: url(images/button_background.gif);
    background-size: 30%;
    border:1px #333 solid;
    border-radius: 5px;
}

.button_bar_ui {
    margin-left: auto;
    margin-right: auto;
    margin:0; padding:0;
    margin-top: 25px;
    text-align: center;
}

.button_bar_ui input[type=button]:hover {
    background-color: #552244;
    color: #fff;
}

.intro_ui_container {
    margin-top: 20px;
}

.intro_ui {
    position:relative;
    padding: 15px;
    overflow: hidden;
    margin-left: auto;
    margin-right:auto;

    /* shadow */
    -webkit-box-shadow: 33px 22px 95px 14px rgba(0,0,0,0.98);
    -moz-box-shadow: 33px 22px 95px 14px rgba(0,0,0,0.98);
    box-shadow: 33px 22px 95px 14px rgba(0,0,0,0.98);

    /* box corners and border */
    background: #050010;
}

.ui_panel_data { 
    /* these contain information, but are revealed by ui actions */
    display: none; 
}

.ui_l1, 
.ui_l2,
.ui_WxH {
    margin: 0; padding: 0;
}
.ui_rel_box {
    position: relative;
    z-index: 10;
}
.ui_l1 {
    position: absolute;
    top: 0; left: 0;
    z-index: 11;
}
.ui_l2 {
    position: absolute;
    top: 0; left: 0;
    z-index: 12;
}

.center_x, 
.center_xy {
    position: absolute;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%);
}
.center_xy {
    top: 50%;
    transform: translate(-50%, -50%);
}

.notes { 
    margin-top: 50px;
    width: 60%; 
    font-size: .6em;
}

/* START: fade in effect, from http://stackoverflow.com/questions/11679567/using-css-for-fade-in-effect-on-page-load 
    usage: add "fadein" as a css class
*/
.fadein {
    -webkit-animation: fadein 4s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 4s; /* Firefox < 16 */
        -ms-animation: fadein 4s; /* Internet Explorer */
         -o-animation: fadein 4s; /* Opera < 12.1 */
            animation: fadein 4s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/* END: fade in effect */

/* and the items that need to be dynamic based on responsive media queries */
@media screen and (min-width: 0px /* 320px */ ) {
    body{
    	font-size: 1em;
    }
    .intro_ui,
    .ui_l1, .ui_l2,
    .ui_WxH {
        width: 320px; height: 200px; /* scale up the original screen mode 13 assets (they were 320x200) */
    }
    input[type=button] {
        width: 100px; height: auto;
    }
    .intro_ui {
        padding: 5px;
        border-radius: 0px 60px 0px 60px;
        -moz-border-radius: 0px 60px 0px 60px;
        -webkit-border-radius: 0px 60px 0px 60px;
        border: 3px solid #666;
    }
    .me { width: 32px; height: 24px; }
}
@media screen and (min-width: 670px /* 640px */ ) {
    body{
    	font-size: 1.5em;
    }
    .intro_ui,
    .ui_l1, .ui_l2,
    .ui_WxH {
        width: 640px; height: 400px; /* scale up the original screen mode 13 assets (they were 320x200) */
    }
    input[type=button] {
        font-size: .75em;
    }
    .intro_ui {
        border-radius: 0px 80px 0px 80px;
        -moz-border-radius: 0px 80px 0px 80px;
        -webkit-border-radius: 0px 80px 0px 80px;
        border: 6px solid #666;
    }
    .me { width: 64px; height: 48px; }
}
@media screen and (min-width: 1000px /* 960px */ ) {
    body{
    	font-size: 2em;
    }
    .intro_ui,
    .ui_l1, .ui_l2,
    .ui_WxH {
        width: 960px; height: 600px; /* scale up the original screen mode 13 assets (they were 320x200) */
    }
    input[type=button] {
        font-size: 1em;
        width: 235px; height: 50px;
    }
    .intro_ui {
        border-radius: 0px 100px 0px 100px;
        -moz-border-radius: 0px 100px 0px 100px;
        -webkit-border-radius: 0px 100px 0px 100px;
        border: 10px solid #666;
    }
    .me { width: 96px; height: 72px; }
}

::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,1);
	background-color: #333;
}

::-webkit-scrollbar
{
	width: 10px;
	background-color: #636;
}

::-webkit-scrollbar-thumb
{
	background-color: #636;
	border: 1px solid #303;
}

