/* Basic Setup */
body{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 0px;
}

h1, h2, h3, h4, h5 {
    color: black;
    font-family: 'Bubblegum Sans', cursive;
    text-shadow: 2px 2px 0px rgba(128,128,128,0.6);
    font-weight: normal;
}

h1 {
    position: relative;
}

p {
    color: black;
}

hr {
    border: 0;
    height: 2px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

table, tr, td {
    border: none;
    margin: 0px;
    padding: 0px;
}

/* Header Menu */

#header, #header ul {
    background: rgb(2, 0, 59);
    display: block;
    margin: 0px;
    padding: 0px;
    width: 100%;
    text-align: center;
}

#header li {
    display: inline-block;
    line-height: 55px;
    padding: 0 20px;
}

#header a {
    color: white;
    
    font-size: 1.1em;
    text-decoration: none;
    text-transform: uppercase;
}

#header a:hover {
    color: rgb(255, 182, 86);
}

@media all and (max-width: 1000px) {
    #header li {
        width: 48%;
        margin: 0px;
        padding: 0px;

        line-height: 40px;
    }
    
}


/* new background */
#title-sequence {
    position: relative;
    width: 100%;
    padding-bottom: 50%;

    overflow: hidden;
}

#t-sky {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -10;
    width: 100%;
}

#t-clouds {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -9;
    width: 100%;

    opacity: 0.5;
}

#t-amreen {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -5;
    width: 100%;
}

#t-world {
    position: absolute;
    width: 150%;
    left: -25%;
    top: 15%;
    z-index: -8;

    -webkit-animation: rotation 240s infinite linear;
    -moz-animation: rotation 240s infinite linear;
    -o-animation: rotation 240s infinite linear;
    animation: rotation 240s infinite linear;
}

p.storyline {
    color: black; 
    font-family: 'Nanum Brush Script', cursive;
    font-size: 2em;
    line-height: 1.2em;
    text-align: center;

    margin: 0px;
}

@media all and (max-width: 1000px) {
    p.storyline {
        font-size: 1.5em;
    }
}

/* Paper background */
#content-container {
    /* prevent margin collapse */
    padding-top: 1px;
    padding-bottom: 10px;

    display: block;
    
    width: 100%;
    margin: 0px;

    background: url('./images/paper.png');
}


/* limit content size on large screens */
#content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}

/* Generic panel setup */

.bg-panel {
    position: relative;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    padding: 20px 10px 10px 10px;

    margin-top: 25px;
    margin-bottom: 40px;

    border: 1px solid rgba(0, 0, 0, 0.05)
}
.bg-panel h1 {
    position: absolute;
    top: -37px;
}


/* Generic Media setup */

.media-collection {
    display: block;
    width: 100%;
    text-align: center;
}

.media-collection img {
    display: inline-block;
    width: 225px;
    margin: 5px;
}

/* Cheat to force videos to always be 16:9 even in iframes */
.video-wrapper {
    display: inline-block;
    max-width: 470px;
    width: calc(100% - 10px);
    margin: 5px;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* hot to play section */

.how-to h3 {
    margin-bottom: 0px;
}

.how-to p {
    margin-top: 0px;
}




/* downloads section */


.dl-panel {
    display: inline-block;
    padding: 0px;

    width: 100%;
    max-width: 450px;

    vertical-align: top;
}

/* only pad the panels if they'll be side by side */
@media all and (min-width: 1000px) {
    .dl-panel {
        padding: 0px 10px;
    }
}

.dl-panel .scrollable {
    height: 100%;
    max-height: 300px;

    overflow: auto;
}

.dl-panel h2 {
    margin: 10px 0px 0px 0px;
}

.ref {
    font-size: small;
    font-style: italic;
}

.dl-panel .dl-links, .dl-panel .dl-links li {
    display: block;
    margin: 0px;
    padding: 0px;
}

.dl-panel .dl-links a {
    display: block;

    margin: 5px 0px;
    padding: 2px 10px;

    border-radius: 5px;
    background-color: rgb(2, 0, 59);

    color: white;

    text-decoration: none;
}

.dl-panel .dl-links a:hover {
    color: rgb(255, 182, 86);
}

/* community */

.discord {
    text-align: center;
}

.discord a {
    display: inline-block;
}

/* devs */
.dev {
    vertical-align: top;
    margin: 20px;
    display: inline-block;
    width: 250px;
}

.dev p {
    margin: 0px;

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: x-large;
    color: black;
    text-shadow: 2px 2px 0px rgba(128,128,128,0.6);
}

.dev hr {
    margin: 2px 0px;
}

.dev span {
    display: block;
    margin: 3px 0px;
    font-size: small;
    font-style: italic;
    color: rgb(0, 0, 0);
    text-shadow: 1px 1px 0px rgba(128,128,128,0.6);
}


/* end card */
.unity {
    margin: 20px 0px;
    text-align: center;    
}

.copyright {
    text-align: center;
}


/* Font Awesome Media Button Links */
.fa, .fab {
    font-size: 16px;
    padding:  8px 0px;
    width: 32px;
    text-align: center;
    text-decoration: none;
    color: white;
}

.fa:hover, .fab:hover {
    opacity: 0.7;
}

.fa-facebook { background: #3B5998; }
.fa-twitter  { background: #55ACEE; }
.fa-youtube  { background: #ff0000; }
.fa-soundcloud  { background: #ff5500; }
.fa-reddit  { background: #FF4500; }
.fa-envelope  { background: #797979; }
.fa-patreon  { background: #f96854; }
.fa-deviantart  { background: #05cc47; }
.fa-hashtag  { color: #96fa92; background: #000; text-shadow: 0 0 6px #009e35; }


/* Animation Codes */
@-webkit-keyframes rotation {
from { -webkit-transform: rotate(0deg); }
to { -webkit-transform: rotate(-359deg); }
}
@-moz-keyframes rotation {
from { -moz-transform: rotate(0deg); }
to { -moz-transform: rotate(-359deg); } 
}
@-o-keyframes rotation {
from { -webkit-transform: rotate(0deg); }
to { -webkit-transform: rotate(-359deg); }
}
@keyframes rotation {
from { -webkit-transform: rotate(0deg); }
to { -webkit-transform: rotate(-359deg); }
}
