/*font-family: 'Audiowide', cursive;
font-family: 'Ruslan Display', cursive;
font-family: 'Iceland', cursive;
font-family: 'Jolly Lodger', cursive;
font-family: 'Atomic Age', cursive;*/

@import url('https://fonts.googleapis.com/css?family=Atomic+Age|Audiowide|Iceland|Jolly+Lodger|Ruslan+Display');

*, *:after, *:before { -webkit-box-sizing: border-box; box-sizing: border-box; }
.clearfix:before, .clearfix:after { display: table; content: ''; }
.clearfix:after { clear: both; }

.clearfix:before,
.clearfix:after {
	display: table;
	content: '';
}

.clearfix:after {
	clear: both;
}

body {
	background: #ffffcc;
	color: #404033;
	font-weight: 400;
	font-size: 22px;
    font-family: 'Iceland', cursive;
    margin: 0;
}

a {
	outline: none;
	color: #9e9ba4;
	text-decoration: none;
}

a:hover,
a:focus {
	color: #B2B27D;
}

button:focus {
	outline: none;
}

header {
    padding-bottom: 20px;
    -webkit-box-shadow: 4px 4px 30px rgba(128, 128, 128, 0.55);
    box-shadow: 4px 4px 30px rgba(128, 128, 128, 0.55);
    background: #ffffad;
}

header img {
    width: 15%;
    padding: 20px 0 0 20px;
}

h2 {
    border-bottom: solid 2px rgba(0,0,0,0.3);
    display: inline-block;
    width: 100%;
}

h3 {
    border-bottom: solid 1px rgba(0,0,0,0.1);
}

h2 img {
    float: right;
    margin-top: -10px;
    width: 4%;
    padding-bottom: 5px;
}

p {
    margin: auto;
}

.grid > table, tr, th {
    margin: 0 auto;
    padding: 5px 20px;
}

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}

/* Menu */
.btn {
	background: none;
	cursor: pointer;
	padding: 30px 50px;
	display: inline-block;
	margin: 15px 30px;
	position: relative;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.btn-2 {
	-webkit-transition: none;
	-moz-transition: none;
	transition: none;
    border-radius: 50%;
}

.btn-2a {
    background: #4d94ff;
    border: solid 1px #0047b3;
	box-shadow: 0 6px #0047b3;
}

.btn-2a:hover {
	box-shadow: 0 4px #0047b3;
	top: 2px;
}

.btn-2a:active {
	box-shadow: 0 2px #0047b3;
	top: 6px;
}

.btn-2b {
    background: #70db70;
    border: solid 1px #29a329;
	box-shadow: 0 6px #29a329;
}

.btn-2b:hover {
	box-shadow: 0 4px #29a329;
	top: 2px;
}

.btn-2b:active {
	box-shadow: 0 2px #29a329;
	top: 6px;
}

/* Distorted buttons */
.svg-filters {
    position: absolute;
    visibility: hidden;
    width: 1px;
    height: 1px;
}

.button {
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    background-color: #404033; /* dark blue */
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 100;
    text-decoration: none;
    user-select: none;
    letter-spacing: 1px;
    color: #ffffcc;
    padding: 10px 20px;
    text-transform: uppercase;
    transition: background-color 0.1s ease-out;
    transform: translateZ(0);
    outline: 90px solid transparent!important;
    cursor: pointer;
    /* These properties are added dynamically from button.js via jQuery */
    /*-webkit-filter: url("#filter");
    filter: url("/#filter");*/
}

.button:hover {
    background-color: #59993D;
    color: #404033;
}

#button__back {
    cursor: pointer;
}

/* Content */

.content {
	padding: 16px 0 48px;
	max-width: 1080px;
    width: 80%;
	margin: 0 auto 10px auto;
}

.main__content {
    display: flex;
}

.back {
    display: block;
    margin: 200px 0 0 0;
    clear: both;
}

/****** Style for 'Nifty Modal Window Effects' ******/

/* 
Styles for the html/body for special modal where we want 3d effects
Note that we need a container wrapping all content on the page for the 
perspective effects (not including the modals and the overlay).
*/
.md-perspective,
.md-perspective body {
	height: 100%;
	overflow: hidden;
}

.md-perspective body  {
	background: #222;
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
	perspective: 600px;
}

.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 50%;
	max-width: 630px;
	min-width: 320px;
	height: auto;
	z-index: 2000;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.md-show {
	visibility: visible;
}

.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	background: rgba(229,229,115,0.8);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
    text-align: center;
    display: flex;
}

.md-overlay img {
    margin: auto;
    visibility: hidden;
}

.md-show ~ .md-overlay {
	opacity: 1;
	visibility: visible;
}

/* Content styles */
.md-content {
	color: #404033;
	background: #FFE373;
	position: relative;
	border-radius: 3px;
	margin: 0 auto;
}

.md-content h3 {
	margin: 0;
	padding: 6px;
    width: 100%;
    color: #404020;
	text-align: center;
	font-size: 35px;
	font-weight: 300;
	opacity: 0.8;
	background: rgba(0,0,0,0.1);
	border-radius: 3px 3px 0 0;
}

.md-content p {
    padding: 10px;
    margin: 0;
}

.md-content > div {
	padding: 15px 40px 30px;
	margin: 0;
	font-weight: 300;
	font-size: 16px;
}

.md-content > div p {
	margin: 0;
	padding: 5px 0;
}

.md-content > div ul {
	margin: 0;
	padding: 0 0 30px 20px;
}

.md-content > div ul li {
	padding: 5px 0;
}

.md-content button {
	display: block;
	margin: 0 auto;
	font-size: 0.8em;
}

.md-content img {
    width: 30%;
}

/* Effect 13: 3D slit */
.md-effect-13.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-13 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateZ(-3000px) rotateY(90deg);
	-moz-transform: translateZ(-3000px) rotateY(90deg);
	-ms-transform: translateZ(-3000px) rotateY(90deg);
	transform: translateZ(-3000px) rotateY(90deg);
	opacity: 0;
}

.md-show.md-effect-13 .md-content {
	-webkit-animation: slit .7s forwards ease-out;
	-moz-animation: slit .7s forwards ease-out;
	animation: slit .7s forwards ease-out;
}

@-webkit-keyframes slit {
	50% { -webkit-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -webkit-animation-timing-function: ease-out;}
	100% { -webkit-transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

@-moz-keyframes slit {
	50% { -moz-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -moz-animation-timing-function: ease-out;}
	100% { -moz-transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

@keyframes slit {
	50% { transform: translateZ(-250px) rotateY(89deg); opacity: 1; animation-timing-function: ease-in;}
	100% { transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

@media screen and (max-width: 512px) {
	body {
        font-size: 75%;
    }
}

@media screen and (max-width: 730px) {
    .data_profile {
        float: none !important;
        margin-left: 0 !important;
    }
    .wrap {
        height: 280px !important;
    }
}

@media screen and (max-width: 850px) {
    .data_profile {
        float: none !important;
        margin-left: 0 !important;
    }
}


/****** Style for 'Hover Effect Ideas' ******/

.grid {
	position: relative;
	margin: 0 auto;
	padding: 1em 0 4em;
	max-width: 1000px;
	list-style: none;
	text-align: center;
}

/* Common style */
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px 1%;
	max-width: 270px;
	width: auto;
    height: 379px;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
}

.grid figure figcaption {
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption:hover {
    background: rgba(0,0,0,0.7);
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}

figure.effect-marley figcaption {
	text-align: right;
}

figure.effect-marley h2,
figure.effect-marley p {
	position: absolute;
	right: 20px;
	padding: 10px 0;
    font-family: 'Audiowide', cursive;
}


figure.effect-marley p {
	bottom: 30px;
	line-height: 1.5;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
}

figure.effect-marley h2 {
	top: 30px;
    font-size: 35px;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
}

figure.effect-marley:hover h2 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-marley h2::after {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 4px;
	background: #fff;
	content: '';
	-webkit-transform: translate3d(0,40px,0);
	transform: translate3d(0,40px,0);
}

figure.effect-marley h2::after,
figure.effect-marley h2,
figure.effect-marley p {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-marley:hover h2::after,
figure.effect-marley:hover h2,
figure.effect-marley:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}


/****** Specific elements; copyright 2016, Morbid Design - http://www.morbid-design.com  ******/

/* Hover effect for index entries */
.cover {
    float: right;
    width: 25%;
    position: relative;
    top: 10px;
}

.cover img {
    width: 100%;
    box-shadow: 8px 8px 8px 0 rgba(0, 0, 0, 0.2);
}

.index__data {
    width: 65%;
}

.index {
    position: relative;
	color: #9e9ba4;
    display: inline-block;
    height: auto;
    font-weight: 400;
}

.related__index {
    padding: 0 5px 3px;
}

/* If Firefox */
.index__line-moz {
    padding: 0 5px 3px;
}

.index__line-moz:hover {
    color: #B2B27D;
}

.index__line-moz::before {
    width: 0;
}

.index__line-moz::after {
    width: 0;
}
/* End if Firefox */

/* If IE */
.index__line-ms {
    padding: 0 5px 3px;
}

.index__line-ms:hover {
    color: #B2B27D;
}

.index__line-ms::before {
    width: 0;
}

.index__line-ms::after {
    width: 0;
}
/* End if IE */

.index__line {
    padding: 0 5px 3px;
}

.index__line:hover {
    color: #B2B27D;
}

.index__line::before {
    content: '';
    width: 20%; /* Upwards line */
    height: 1px;
    z-index: 1;
    background: black;
    position: absolute;
    left: 170%;
    top: 50%;
    -webkit-transform: scale3d(0,1,1) rotate(0);
    -webkit-transition: -webkit-transform 0.5s;
    -webkit-transform-origin: 0 100%;
}
.index__line::after {
    content: '';
    width: 70%; /* Straight line */
    height: 1px;
    z-index: 1;
    background: black;
    position: absolute;
    left: 100%;
    top: 50%;
    -webkit-transform: scale3d(0,1,1);
    -webkit-transition: -webkit-transform 0.3s;
    -webkit-transform-origin: 0 100%;
}
.index__line.special::before {
    content: '';
    width: 20%; /* Upwards line */
    height: 1px;
    z-index: 1;
    background: black;
    position: absolute;
    left: 120%;
    top: 50%;
    -webkit-transform: scale3d(0,1,1) rotate(0);
    -webkit-transition: -webkit-transform 0.5s;
    -webkit-transform-origin: 0 100%;
}
.index__line.special::after {
    content: '';
    width: 20%; /* Straight line */
    height: 1px;
    z-index: 1;
    background: black;
    position: absolute;
    left: 100%;
    top: 50%;
    -webkit-transform: scale3d(0,1,1);
    -webkit-transition: -webkit-transform 0.3s;
    -webkit-transform-origin: 0 100%;
}

.index__line:hover::before {
    -webkit-transform: scale3d(1,1,1) rotate(-30deg);
}
.index__line:hover::after {
    -webkit-transform: scale3d(1,1,1);
}

.index__line img {
    position: absolute;
    left: 190%;
    width: 40px;
    height: 40px;
}

svg {
    position: absolute;
    width: 300px;
    height: 300px;
    z-index: 1;
    visibility: hidden;
}

/* Footer */
footer {
    border-top: solid 1px rgba(0,0,0,0.3);
    padding-top: 20px;
    margin-bottom: 80px;
}

footer div {
    font-size: 18px;
    width: 350px;
    min-height: 50px;
    float: left;
    text-align: center;
    padding: 5px;
}

footer .center {
    border-right: solid 1px rgba(0,0,0,0.3);
    border-left: solid 1px rgba(0,0,0,0.3);
}

footer img {
    width: 45%;
}

#info {
    padding-top: 10px;
}

/* Game & company profile */
.related {
    width: 65%;
}

.data_profile {
    float: right;
    background: #ffffad;
    width: 25%;
    padding: 12px;
    margin-left: 20px;
    min-width: 165px;
    box-shadow: 8px 8px 8px 0 rgba(0, 0, 0, 0.2);
}

.data_image {
    text-align: center;
    position: relative;
}

.data_image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom right, rgba(255,255,255,1), rgba(255,255,255,0) 55%);
    z-index: 100;
}

.data_image img {
    width: 100%;
    background-color: white;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.data_info {
    margin-top: 40px;
    width: 100%;
}

.data_info tr:hover {
    background: #ffffcc;
}

#heading {
    font-weight: bold;
    float: left;
}

#data {
    float: right;
}

/* Screenshots slideshow */
.wrap {
	margin: 0 auto;
    width: 65%;
	height: 330px;
	/* padding-top: 30%; /* ratio of image * 100; represents div height */
	/* overflow: hidden; */
	position: relative;
    display: inline-block;
    min-width: 365px;
}

.mockup {
	position: absolute;
	top: 0;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
    box-shadow: 8px 8px 8px 0 rgba(0, 0, 0, 0.2);
}

.mockup::after {
	content: '';
	position: absolute;
	background: rgba(51,71,89,0);
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.mockup__img {
	display: block;
	width: 1900px;
}

.mobile {
    border-radius: 40% / 10%;
	overflow: hidden;
	position: absolute;
	z-index: 100;
	/*background: rgba(0,0,0,0.3);*/
    width: 270px;
	height: 199px;
	top: 185px;
	left: 500px;
	outline: 1px solid transparent;
	-webkit-transform-origin: 0 0 0;
	transform-origin: 0 0 0;
    -webkit-transform: matrix3d(3.44073, 0.027527, 0, 1.59368e-05, -0.0123656, 3.77373, 0, -9.14901e-05, 0, 0, 1, 0, -149, 69, 0, 1);
    transform: matrix3d(3.44073, 0.027527, 0, 1.59368e-05, -0.0123656, 3.77373, 0, -9.14901e-05, 0, 0, 1, 0, -149, 69, 0, 1);
}

.slideshow {
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	list-style-type: none;
}

.slideshow::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
	background: radial-gradient(at 25% 25%, rgba(220, 220, 220, 1), rgba(200, 200, 200, 0.3), rgba(150, 150, 150, 0.3));
    z-index: 100;
}

.slideshow__item {
	width: 100%;
	height: 100%;
	position: absolute;
	overflow: hidden;
	pointer-events: none;
	z-index: 1;
	-webkit-transform: translate3d(-100%, 0, 0);
	transform: translate3d(-100%, 0, 0);
}

.slideshow__item.current{
	pointer-events: auto;
	z-index: 100;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.slideshow img {
	width: 100%;
    height: 199px;
}

.slideshow__item.in--next {
	-webkit-animation: inNext 0.3s forwards;
	animation: inNext 0.3s forwards;
}

.slideshow__item.out--next {
	-webkit-animation: outNext 0.3s forwards;
	animation: outNext 0.3s forwards;
}

.slideshow__item.in--prev {
	-webkit-animation: inPrev 0.3s forwards;
	animation: inPrev 0.3s forwards;
}

.slideshow__item.out--prev {
	-webkit-animation: outPrev 0.3s forwards;
	animation: outPrev 0.3s forwards;
}

@-webkit-keyframes inPrev {
	0% {
		-webkit-transform: translate3d(-100%, 0, 0);
		transform: translate3d(-100%, 0, 0);
	}
	100% {
		-webkit-transform: none;
		transform: none;
	}
}

@keyframes inPrev {
	0% {
		-webkit-transform: translate3d(-100%, 0, 0);
		transform: translate3d(-100%, 0, 0);
	}
	100% {
		-webkit-transform: none;
		transform: none;
	}
}

@-webkit-keyframes inNext {
	0% {
		-webkit-transform: translate3d(100%, 0, 0);
		transform: translate3d(100%, 0, 0);
	}
	100% {
		-webkit-transform: none;
		transform: none;
	}
}

@keyframes inNext {
	0% {
		-webkit-transform: translate3d(100%, 0, 0);
		transform: translate3d(100%, 0, 0);
	}
	100% {
		-webkit-transform: none;
		transform: none;
	}
}

@-webkit-keyframes outPrev {
	100% {
		-webkit-transform: translate3d(100%, 0, 0);
		transform: translate3d(100%, 0, 0);
	}
}

@keyframes outPrev {
	100% {
		-webkit-transform: translate3d(100%, 0, 0);
		transform: translate3d(100%, 0, 0);
	}
}

@-webkit-keyframes outNext {
	100% {
		-webkit-transform: translate3d(-100%, 0, 0);
		transform: translate3d(-100%, 0, 0);
	}
}

@keyframes outNext {
	100% {
		-webkit-transform: translate3d(-100%, 0, 0);
		transform: translate3d(-100%, 0, 0);
	}
}