@import url('https://fonts.googleapis.com/css?family=Poppins:400,600|Open+Sans:400italic,400,300,600');

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
	background: #071017 url("../img/bg.jpg") center center no-repeat;
	background-size: cover;
}

:root { --astronaut-scale: 1; }

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}



body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
	min-height: 100vh;
	min-width: 100vw;
	max-width: 100%;
	position: relative;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
	top: auto;
    left: auto;
    background: transparent;
    -webkit-transition: ease;
    transition: ease;
    height: 64px;
}

.brand {
	height: 40px;
    margin: 15px 0 0 0;
    margin-left: 20px;
}

nav#topmenu
{
	float: right;
	margin-right: 30px;

}
nav#topmenu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav#topmenu ul li { padding-left: 10px; padding-right: 10px; display: inline-block; vertical-align: middle; padding-top: 11.5px; padding-bottom: 13.5px; }

nav#topmenu a {
    display: block;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;
}

nav#topmenu a:visited {

}

nav#topmenu a:hover {
    text-decoration: underline;
	color: #F26721;
}

#planet { position: relative; z-index: 99; text-align: center; display: inline-flex; margin: 0 auto; width: 100%; }
#planet img { display: block; margin: 0 auto; height: auto; }

#bigTxt { font-family: 'Poppins', sans-serif; font-size:84px; font-weight: 600; letter-spacing: -1px; color: #fff; line-height: 1.1; margin: 0 auto; z-index: 100;  padding: 30vh 15% 0 15%; text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6); text-align: center;}


.contact .main .container { text-align: left; max-width: 96%; margin: 0 auto; }
.contact .main .container p { text-align: left; font-size: 120%; color: #6ab727; }

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}




/* 3D EFFECTS */
.moving-zone {
  position: relative;
  width: 85%;
  height: 985%;
  margin: auto;
  perspective: 1200px;
  padding-top: 40px;
}

.layer {
  padding: 10px;
  box-sizing: border-box;
  cursor: pointer;
  transform-style: preserve-3d;
  z-index: 99;
  text-align: center;
  vertical-align: middle;
}

.layer-2 {
  position: absolute;
  padding: 10px;
  box-sizing: border-box;
  cursor: pointer;
  transform-style: preserve-3d;
  left: 0%;
  top: 0% !important;
  transform: translateZ(100px) !important;
  z-index: 100;
}

.layer-2 img { overflow: hidden; }

.main { width: 90%; max-width: 1024px; color: #fff; text-shadow: 2px 2px 2px rgba(0, 0, 0, 1); }
.about .main { margin: 0 auto; margin-top: 10vh; font-size: 25px; line-height: 1.25; background: rgba(0,0,0,0.4); padding: 10px 20px; border: 1px solid #333; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px;  }

.contact .main { margin: 0 auto; margin-top: 10vh; font-size: 20px; line-height: 1.25; background: rgba(0,0,0,0.4); padding: 10px 20px; border: 1px solid #333; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; }

.main h2 { color: #6ab727; font-size: 42px; margin:0; font-family: 'Poppins', sans-serif; font-weight: 600; }

.astronaut
{
	height: 260px;
    width: 250px;
    background-image: url("../img/charactersml.png");
}

#indxChar
{
	position: absolute;
	bottom: 5vh;
	left: 5vh;
	z-index: 101;

	width: calc(var(--astronaut-scale) * 747)px;
	height: calc(var(--astronaut-scale) * 776)px;
	transform-origin:bottom left;

	ms-transform: scale(var(--astronaut-scale), var(--astronaut-scale)); /* IE 9 */
    -webkit-transform: scale(var(--astronaut-scale), var(--astronaut-scale)); /* Safari */
    transform: scale(var(--astronaut-scale), var(--astronaut-scale));



}

.AnimTouch
{
	animation-name: TouchAnim;
    animation-duration: 0.5s;
	animation-timing-function:ease-out;

}

@keyframes TouchAnim {
    0%
	{
        transform:scale(var(--astronaut-scale));
    }
    50%
	{
        transform:scale(calc(var(--astronaut-scale)*0.96));
    }
	100%
	{
        transform:scale(var(--astronaut-scale));
    }
}


/* CONTACT CSS */

#contact {
	font-family:"Open Sans", Helvetica, Arial, sans-serif;
	font-weight:300; font-size: 12px; line-height:20px;
	color:#777;
	background:#0CF;
	background:#F9F9F9; padding:12px; margin:30px 0;
	text-shadow: none;
}

#contact .container { max-width:90%; width:90%; margin:0 auto; position:relative; }

#contact input[type="text"], #contact input[type="email"], #contact input[type="tel"], #contact input[type="url"], #contact textarea, #contact button[type="submit"] { font:400 12px/16px "Open Sans", Helvetica, Arial, sans-serif; }

fieldset { border: medium none !important; margin: 0 0 10px; min-width: 98%; padding: 0; width: 98%; }

#contact input[type="text"], #contact input[type="email"], #contact input[type="tel"], #contact input[type="url"], #contact textarea {
	width:100%;
	border:1px solid #CCC;
	background:#FFF;
	margin:0 0 5px;
	padding:10px;
}

#contact input[type="text"]:hover, #contact input[type="email"]:hover, #contact input[type="tel"]:hover, #contact input[type="url"]:hover, #contact textarea:hover {
	-webkit-transition:border-color 0.3s ease-in-out;
	-moz-transition:border-color 0.3s ease-in-out;
	transition:border-color 0.3s ease-in-out;
	border:1px solid #AAA;
}

#contact textarea { height:100px; max-width:100%; resize:none; }

#contact button[type="submit"] { cursor:pointer; width:100%; border:none; background:#269af3; color:#FFF; margin:0 0 5px; padding:10px; font-size:15px; }
#contact button[type="submit"]:hover { background:#09C; -webkit-transition:background 0.3s ease-in-out; -moz-transition:background 0.3s ease-in-out;	transition:background-color 0.3s ease-in-out; }

#contact button[type="submit"]:active { box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.5); }

#contact input:focus, #contact textarea:focus { outline:0; border:1px solid #999; }


/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 1500px) {
	#planet
	{
		ms-transform: scale(0.8, 0.8); /* IE 9 */
    	-webkit-transform: scale(0.8, 0.8); /* Safari */
    	transform: scale(0.8, 0.8);
	}

	.contact .main { margin-top: 5vh; }

	#bigTxt { font-size:70px; padding: 30vh 10% 0 10%; }
}

@media only screen and (max-width: 1024px) {

	:root { --astronaut-scale: 0.9; }

	#planet
	{
		ms-transform: scale(0.65, 0.65); /* IE 9 */
    	-webkit-transform: scale(0.65, 0.65); /* Safari */
    	transform: scale(0.65, 0.65);
	}

	#bigTxt { font-size:60px; padding: 30vh 5% 0 5%; }

}

@media only screen and (max-width: 768px) {

	#planet
	{
		ms-transform: scale(0.5, 0.5); /* IE 9 */
    	-webkit-transform: scale(0.5, 0.5); /* Safari */
    	transform: scale(0.5, 0.5);
	}

	#bigTxt { font-size:55px; padding: 30vh 5% 0 5%; }

}

@media only screen and (max-width: 600px) {

	:root { --astronaut-scale: 0.8; }

	#planet
	{
		ms-transform: scale(0.4, 0.4); /* IE 9 */
    	-webkit-transform: scale(0.4, 0.4); /* Safari */
    	transform: scale(0.4, 0.4);
	}

	#bigTxt { font-size:50px; padding: 30vh 5% 0 5%;  padding-top: 216px; }

	.brand { display: block; margin: 8px auto 0 auto; }

	nav#topmenu { float: none; margin-right: 0; text-align: center; }

	.contact .main { margin-top: 1vh; font-size: 17px; line-height: 1.25; padding: 6px 12px; }
	#contact input[type="text"], #contact input[type="email"], #contact input[type="tel"], #contact input[type="url"], #contact textarea { max-width: 95%; }

}

@media only screen and (max-width: 480px) {

	:root { --astronaut-scale: 0.7; }

	#planet
	{
		min-width: 96%;
		transform: scale(0.95, 0.95);
	}

	#planet img { max-height: 95vw; }


	#bigTxt { font-size:40px; padding-left: 1%; padding-right: 1%;  padding-top: 138px; }

	.moving-zone { width: 98%; height: auto; margin: 0 auto; }
	.layer { padding: 5px; transform-style: none; }
	.layer-2 { position: absolute; padding: 5px; transform-style: none; transform: translateZ(0) !important; }

}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
