@font-face {
    font-family: 'myriad';
    src: url('../fonts/MyriadPro-Semibold.WOFF') format('woff');
}

@font-face {
    font-family: 'arial';
    src: url('../fonts/arial.WOFF') format('woff');
}

@font-face {
    font-family: 'arial-bold';
    src: url('../fonts/arialbd.WOFF') format('woff');
	font-weight: bold;
}


body {
    background-color: #ffffff;
    font-family: 'arial', sans-serif;
    -webkit-text-size-adjust: 100%;
}

div {
    /*border: 2px solid green;*/
}

h1, h2, h3 {
    text-transform: uppercase;
    color: #6f869b;
}

h1 {
    font-size: 40px;
    text-align: center;
    font-family: 'myriad', sans-serif;
}

h2 {
    
}

p {
    color: #3e3d3c;
    text-align: justify;
    text-justify: inter-word;
}

p a {
    color: #6f869b;
}

b {
    font-family: arial-bold;
}

img {
    max-width: 100%;
}

iframe {
    
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.aligncenter {
    text-align: center;
}

.clear {
    clear: left;
    display: block;
}

.divider {
    padding-top: 30px;
    padding-bottom: 20px;
}



/* --- Columns ---*/
* {
    box-sizing: border-box;
}

[class*="col-"] {
    float: left;
    padding-left: 5px;
    padding-right: 5px;
    width: 100%;
    text-align: center;
    /*border: 1px solid red;*/

}

.row::after {
    content: "";
    clear: both;
    display: table;
}
/* --- /Columns --- */



/* --- Headlines --- */
#release-headline {
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
}

#release-hexagons{
	position: absolute;
	top: 10px;
		
	opacity: 0.7;
	z-index: -1;
}

#trailer-headline {
    padding-bottom: 20px;
}

#addons-headline {
    padding-top: 60px;
    padding-bottom: 20px;
}
/* --- /Headlines --- */



/* --- Divs --- */
#page-wrapper {
	overflow-x: hidden;
}

#page {
    max-width: 768px;
    margin: auto;
}

#content {
    padding-left: 20px;
    padding-right: 20px;
}

#gravitrax-logo {
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px;
    position: relative;     
}

#gravitrax-logo-imprint {
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px;
}

#gravitrax-run-full{
	position: relative;
}

#screenshots {
    padding-bottom: 30px;
}

#product-box {
    padding-bottom: 60px;
}

#product-box-text {
    
}

#trailer-container{
	padding-top: 30px;
	padding-bottom: 50px;
}

#trailer-video {
    position: relative;
    width: 256px;
    height: 144px;
	margin: auto;
}

#trailer-divider-top{
	position: relative;
	bottom: -4px;
}
#trailer-divider-bottom{
	position: relative;
	top: -10px;
}

#trailer-hexagons{
	background-image: url(../img/hexagons.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	
	width: 140%;
	margin-left: -20%;
}
/* --- /Divs --- */



/* --- Footer --- */
#footer {
    padding-left: 50px;
    padding-right: 50px;
    max-width: 768px;
    margin: auto;
    min-height: 150px;
    width: 100%;
	
	text-align: center;
}

.footer-a {
	color: #6f869b;
	font-weight: bold;
}

.footer-a:link {	color: #6f869b; }
.footer-a:visited { color: #a8bed3; }
.footer-a:hover, .footer-a:active { color: #3e3d3c; }

#mother { float:left; }
#imprint { float: none; margin: auto; }
#data-usage { float:right; }
/* --- /Footer --- */



#trailer-iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#box {
    width: 100%;
    padding-bottom: 12px;
}

[id*="addon-image"] {
    width: 100%;
}

[id*="addon-col"] {
    padding-bottom: 40px;	
}

.addon-head {
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 15px;
    padding-top: 7px;
}

.addon-head, .addon-content {
	text-align: left;
}


/* --- Responsive design --- */
.visibleDesktop {
    display: none;
}

.visibleMobile {
    @media (max-width: 480px) {
        padding-bottom: 50px;
    }
}

@media only screen and (min-width: 540px)
{
	#trailer-video {	
		width: 512px;
		height: 288px;		
	}
}

@media only screen and (min-width: 768px) and (orientation:landscape) {
    .col-1 { max-width: 25.00%; }
    .col-2 { max-width: 33.33%; }
    .col-3 { max-width: 50%; }
    .col-4 { max-width: 66.67%; }
    .col-5 { max-width: 100%; }

    .visibleMobile {
        display: none;
    }

    .visibleDesktop {
        display: inline;
    }

    .screenshot, #main-box {
        display:inline-block;    
        position: relative;
        -webkit-transition: all 100ms ease-in;
        -webkit-transform: scale(1); 
        -ms-transition: all 100ms ease-in;
        -ms-transform: scale(1); 
        -moz-transition: all 100ms ease-in;
        -moz-transform: scale(1);
        transition: all 100ms ease-in;
        transform: scale(1);   
    }

    .screenshot:hover, #main-box:hover {
        z-index: 2;
        -webkit-transition: all 100ms ease-in;
        -webkit-transform: scale(2);
        -ms-transition: all 100ms ease-in;
        -ms-transform: scale(2);   
        -moz-transition: all 100ms ease-in;
        -moz-transform: scale(2);
        transition: all 100ms ease-in;
        transform: scale(2);
    }

    #gravitrax-logo {
        padding-top: 40px;
        padding-bottom: 50px;
    }

    #gravitrax-logo-imprint {
        padding-top: 40px;
        padding-bottom: 50px;
        position: relative;     
    }

	#trailer-video {	
		width: 640px;
		height: 360px;		
	}
	
    #release-headline {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    #box {
        position: relative;
        right: 15px;
        width: 95%;
    }

	#footer {    
		padding-left: 20px;
		padding-right: 20px;
		width: 70%;
	}
	
    #addon-col-0 {
        position: relative;
        right: 8px;
    }

    #addon-col-3 {
        position: relative;
        left: 8px;
    }

    #addon-col-1 {
        position: relative;
        right: 3px;
    }

    #addon-col-2 {
        position: relative;
        left: 3px;
    }
}

@media only screen and (min-width: 1280px) and (orientation:landscape) {
    #ravensburger-eck {
        clear: both;
        background: url('../img/rav-dreieck.png') top left no-repeat;
        width: 196px;
        height: 196px;
        position: fixed;
        right: 0;
        bottom: 0;
        float: none;
    }	
}
/* --- /Responsive design --- */


/* --- Animations --- */
#marbleRun-full, #logo-top {
	position: relative;
	opacity: 0;
}

.ball{
	position: absolute;	
	max-width: 20%;
	display: none;
}

.slowBall{
	max-width: 8%;
}

.mirrored{
	-moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

#slowBall1 {
	top: 30%;	
}
#fastBall1 {
	top: 15%;	
}
#fastBall2 {
	top: 55%;	
}
#fastBall3 {
	top: 80%;	
}
#fastBall4{
	top: 85%;	
}
#slowBall2 {
	top: 90%;	
}
/* --- /Animations --- */







