/*
	© Pixelated Milk 2016
	Michal Wilczynski
*/

/* Fonts */

@font-face {
    font-family: 'kingthings_exeterregular';
    src: url('../fonts/Kingthings_Exeter-webfont.eot');
    src: url('../fonts/Kingthings_Exeter-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Kingthings_Exeter-webfont.woff') format('woff'),
         url('../fonts/Kingthings_Exeter-webfont.ttf') format('truetype'),
         url('../fonts/Kingthings_Exeter-webfont.svg#kingthings_exeterregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BebasNeue-Book';
    src: url('../fonts/BebasNeue Book.otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BebasNeue-Regular';
    src: url('../fonts/BebasNeue Regular.otf');
    font-weight: normal;
    font-style: normal;
}

/* Materialize overrides */

*, *::before, *::after {
	box-sizing: padding-box;
}

/* Navigation */

#fp-nav ul li, .fp-slidesNav ul li {
	width: 32px;
	height: 22px;
}

#fp-nav ul li a.active span, .fp-slidesNav ul li a.active span, 
#fp-nav ul li:hover a.active span, .fp-slidesNav ul li:hover a.active span {
    height: 24px;
    width: 24px;
	margin: -11px 0 0 -14px;
    border-radius: 100%;
	background: RGBA(255, 255, 255, 0);
	background-image: url('../img/scroll_nav_active.png');
	background-size: 100%;
}

#fp-nav ul li a span, .fp-slidesNav ul li a span
{
	height: 12px;
	width: 12px;
	margin: -4px 0 0 -8px;
	background: RGBA(255, 255, 255, 0);
	background-image: url('../img/scroll_nav_active.png');
	background-size: 100%;
}

#fp-nav ul li:hover a span, .fp-slidesNav ul li:hover a span
{
	height: 24px;
    width: 24px;
	margin: -11px 0 0 -14px;
	background: RGBA(255, 255, 255, 0);
	background-image: url('../img/scroll_nav_active.png');
	background-size: 100%;
}

nav {
	bottom: 0px;
	color: #de4f55;
	background-color: #fff;
	width: 100%;
	height: 28px;
	line-height: 28px;
	padding: 0px 10px;
}

nav .nav-wrapper i
{
	height: inherit;
	line-height: inherit;
}

nav ul a {
	color: #de4f55;
	padding: 0 8px;
}

#socials ul i {
	height: 16px;
	line-height: 16px;
}

/* Content */

.section {
    padding-top: 0;
    padding-bottom: 0;
}

#home-left {
	margin-left: -250px;
}

#home-logo {
	width: 35%;
	margin-top: -10%;
}

#home-video {
	width: 100%;
	z-index: -50;
	position: absolute;
	left: 0;
	top: -10px;
}

#home-content {
	position: absolute; 
	width: 100%; 
	height: 45%; 
	z-index: 100; 
	background-color: rgba(255, 255, 255, 0.0);
	bottom: 0px;
}

#home-content blockquote {
	margin: 20px 0;
	border-left: 0px none;
	font-size: 18px;
	font-style: italic;
	color: white;
	padding: 1.5rem;
	background-color: rgba(255,255,255, 0.35);
}

#home-video-holder {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0%;
	text-align: center;
	padding: 10px;
}

#home-socials {
	width: 100%;
	margin: 0 auto;
	margin-top: -2%;
}

#meetus {
	margin-top: 2%;
	margin-bottom: 10px;
	font-family: Roboto;
	color: rgb(254, 246, 154);
	text-shadow: 0px 2px rgb(107, 28, 10);
	font-weight: 300;
	font-size: 12px;
}

#kickstarter-quote {
    margin: 0px 21px 0px auto;
    text-align: center;
    font-family: BebasNeue-Book;
    color: rgb(255, 255, 255);
    text-shadow: 0px 2px rgb(118, 36, 14);
	font-size: 28px;
    background-color: rgba(0, 0, 0, 0.35);
    padding: 10px;
    position: relative;
    bottom: -10%;
}

#home-socials img {
	height: 28px;
}

.fullscreen-overlay {
	height: 100%; 
	background-color: rgba(0, 0, 0, 0.49); 
	overflow: hidden; 
	position: fixed; 
	width: 100%;
	margin: -11px;
	background-position: center;
}

.grid-wrapper {
	margin: 0 auto;
	height: 100%;
	background-image: url("../img/rashytil.png");
	background-position: center;
}

.story-wrapper {
	margin: 0 auto;
	height: 100%;
	background-image: url("../img/inn.jpg");
	background-position: center;
	background-color: black;
	padding: 10px;
}

.combat-wrapper {
	margin: 0 auto;
	height: 100%;
	background-image: url("../img/swamp.jpg");
	background-position: center;
	background-color: black;
	padding: 10px;
}

#overview-images h1 {
	text-transform: uppercase;
	margin-top: 0px;
}

.ribbon {
	max-width: 300px;
	width: 100%;
	float: left; 
	margin-top: -50px;
}

.ribbon-text {
	position: relative;
	text-align: center;
	color: white;
	font-family: Oswald;
	font-weight: 500;
	font-size: 18px;
	text-shadow: 1px 2px rgb(77, 22, 120);
	margin-top: -5px;
	clear: both; 
	max-height: 15px;
}

.overview-section {
	max-width: 300px; 
	height: 100%;
}

.overview-section-img {
	max-width: 300px;
	width: 100%;
	float: left;
	clear: both;
	display: block;
}

/* Shared */

.wrapper-border {
	border: 1px solid white; 
	margin: 0px auto;
	 width: 100%; 
	 height: 100%;
}

.wrapper-borderless {
	margin: 0px auto;
	 width: 100%; 
	 height: 100%;
}

/* Media section */

.video-container iframe {
	height: inherit;
	position: inherit;
}

.fp-controlArrow.fp-prev {
	left: -5px;
	border: none;
	border-width: 0px;
}

.fp-controlArrow.fp-prev img, .fp-controlArrow.fp-next img {
	width: 96px;
}

.fp-controlArrow.fp-next {
	right: -5px;
	padding-right: 96px;
	border: none;
	border-width: 0px;	
}

.fp-controlArrow {
	top: 90%;
}

/* Story section */

.description {
	position: absolute;
	bottom: 5%;
	color: white;
	max-width: 50%;
	right: 20%;
    text-shadow: 0px 1px rgb(128, 0, 22);
}

.description-title {
	font-size: 110px;
	float: right;
	text-align: right;
	font-family: BebasNeue-Book;
	border-bottom: 3px solid white;
	line-height: 1;
	margin-bottom: 15px;
    text-shadow: 0px 2px rgb(128, 0, 22);
}

.description-body {
	font-size: 20px;
	max-width: 90%;
	float: right;
	text-align: right;
}

.story-wrapper img {
	position: absolute;
	bottom:0px;
	height: 69.4%;
}

#griffith-story {
	display:block;
}

#griffith-concerned {
	right: 0%;
}

#kay-scared {
    left: 0px;
}

/* Combat section */

#swamp-overlay-left {
	position: absolute;
	display: none;
	bottom: -1050px;
	left: 0px;
	z-index: 2;
	max-width: 32%;
}

#swamp-overlay-right {
	position: absolute;
	display: none;
	bottom: -1050px;
	right: 0px;
	z-index: 2;
	max-width: 25%;
}

#combat-description {
	width: 100%;
	text-align: center;
	margin: 0 auto;
	padding: 75px 10% 0 10%;
	color: white;
}

#combat-description-title {
	font-size: 110px;
	font-family: BebasNeue-Book;
	border-bottom: 3px solid white;
	line-height: 1;
	max-width: 600px;
	margin: 10px auto;
    text-shadow: 0px 2px rgb(79, 103, 62);
}

#combat-description-body, #sound-description{
	font-size: 20px;
	max-width: 80%;
	margin: 0 auto;
    text-shadow: 0px 1px rgb(79, 103, 62);
}

.combat-wrapper row {
	position:relative;
	max-height: 80%;
}

.combat-wrapper .row .col .s6 {
	width: auto;
	margin: auto;
	left: auto;
	right: auto;
	max-height: 225px;
}

.combat-gif-cell {
	width: 400px;
	float: left;
	height: 250px;
	background-position: center;
	background-repeat: no-repeat;
	margin: 5px 5px 5px 5px;
	padding: 5px;
}

#combat-gifs-holder {
	margin: 15px auto 0px;
	height: 50%;
	width: 820px;
}

.combat-gif-cell .cell-border {
	border: 1px solid white;
	height: 100%;
}

.cell-title {
	position: relative; 
	text-align: center; 
	bottom: -154px; 
	font-family: 
	BebasNeue-Book; color: white; 
	font-size: 35px;
}
	
.cell-title-text {
	position: relative; 
	top: 28px; 
	margin: 0px 50px; 
	line-height: 1.5; 
	border-top: 1px solid white; 
	background-color: rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}

#signy-left {
	position: absolute; 
	left: -400px; 
	bottom: 0px; 
	height: 90%;
}

#unorthodox-battlefields {
    background-image: url('../img/mobile/unorthodox_battlefields.jpg')
}

#spectacular-abilities {
    background-image: url('../img/mobile/spectacular_abilities.jpg')    
}

#ongoing-effects {
   background-image: url('../img/mobile/ongoing_effects.jpg')
}

#dynamic-obstacles {
    background-image: url('../img/mobile/dynamic_obstacles.jpg')    
}

/* Art section */

#art-wrapper, #sound-wrapper, #info-wrapper, #overview-wrapper {
	margin: 0 auto;
	height: 100%;
	background-color: black;
	padding: 10px;
    text-shadow: 0px 1px rgb(128, 0, 22);
}

.background-wrapper {
	width: 100%;
    height: 100%;
    position: absolute;
    margin: -10px;
    padding: 10px;
	background-position: center;
}

#background-draft-wrapper {
	background-image: url("../img/tower_draft.jpg");
}

#background-completed-wrapper {
	z-index: 2;
	margin-bottom: 1px;
	background-image: url("../img/tower_final.jpg");
	opacity: 0;
}

.background-inner {
	width: 100%;
	height: 100%;
	border: 1px solid white;
}

#design-title, #sound-title, #info-title {
	position: relative;
	font-size: 110px;
	font-family: BebasNeue-Book;
	border-bottom: 3px solid white;
	line-height: 1;
	max-width: 600px;
	z-index: 3;
	text-align: center;
	margin: 0 auto;
	color: white;
    text-shadow: 0px 2px #b1583b;
}

#design-title-wrapper, #sound-title-wrapper, #info-title-wrapper, #overview-title-wrapper {
	width: 100%;
	height: 125px;
	position: absolute;
	padding-top: 75px;
}

#background-completed-description-wrapper {
    position: absolute;
    top: 250px;
    z-index: 3;
    left: -1000px;
}

#background-completed-title {
	position: relative;
	font-family: BebasNeue-Book;
	line-height: 1;
	max-width: 600px;
	z-index: 3;
	text-align: left;
	margin: 0px auto;
	color: white;
	font-size: 48px;
	border-bottom: 2px solid white;
    float: left;
}

#background-completed-description {
	position: relative;
	line-height: 1;
	max-width: 600px;
	z-index: 3;
	text-align: left;
	margin: 0px auto;
	color: white;
	font-size: 14px;
    padding-top: 5px;
    float: left;
    width: 80%;
}

#characters {
    position: absolute;
    right: 0px;
    bottom: -1080px;
    z-index: 4;
    width: 80%;
}

#characters img {
    max-height: 70%;
    max-width: 70%;
    float: right;
}

#characters-description-wrapper {
    position: absolute;
    bottom: 15%;
    max-width: 35%;
}

#characters-title {
	position: relative;
	font-family: BebasNeue-Book;
	line-height: 1;
	max-width: 600px;
	z-index: 3;
	text-align: left;
	margin: 0px auto;
	color: white;
	font-size: 48px;
	border-bottom: 2px solid white;
}

#characters-description {
	position: relative;
	line-height: 1.3;
	max-width: 600px;
	z-index: 3;
	text-align: left;
	margin: 0px auto;
	color: white;
	font-size: 14px;
    padding-top: 5px;
}

/* Info & Sound section */

#sound-wrapper, #info-wrapper, #overview-wrapper {
    background-image: url('../img/pierbackground.jpg');
}

#info-wrapper {
    background-image: url('../img/pierbackground.jpg');
}

#overview-wrapper {
	background-image: url('../img/murkycave.jpg');
}

#sound-title-wrapper, #info-title-wrapper, #overview-title-wrapper {
    margin-left: -10px;
}

#sound-title, #info-title, #contact-title {
    max-width: 80%;
}

#sound-description {
    max-width: 70%;
    margin-top: 10px;
    color: white;
    text-shadow: 0px 1px rgb(117, 54, 34);
}

#sound-wrapper-border, #info-wrapper-border, #overview-wrapper-border {
    width: 100%;
    height: 100%;
    border: 1px solid white;
}

#contact-title {
    position: relative;
    font-size: 96px;
    font-family: BebasNeue-Book;
    line-height: 1;
    max-width: 70%;
    z-index: 3;
    text-align: center;
    margin: 0 auto;
    color: white;
    text-shadow: 0px 2px #b1583b;
    top: 40%;
    border: 3px white solid;
    padding: 10px;
}

#klabater-bottom {
	position: absolute;
	bottom: 0;
	width: 100%;
}

#contact-title a, #contact-title a:visited {
    color:white;
}

/* Overview section */
#overview-content-wrapper {
	font-family: BebasNeue-Regular;
	color: white;
	font-size: 48px;
	padding: 5% 20%;
	text-shadow: 0px 1.5px rgb(0, 2, 128);
	margin: 0px auto;
	width: 100%;
}

#overview-content-wrapper li {
	width: 75%;
	text-align: right;
	background-color: rgba(0, 0, 0, 0.6);
	padding: 10px 25px;
	border-radius: 65px;
	margin: 10px auto;
}

#overview-content-wrapper li img {
	float: left;
	height: 64px;
	margin-top: 2px;
	border: 2px solid white;
}

/* Media queries */

@media (min-width: 1025px) {
	#home-content {
		height: 45%;
	}
}

@media (max-width: 1725px) {
	#home-video {
		width: auto;
	}
}

@media (max-width: 1600px) {
	
    #combat-description {
        padding: 50px 10% 0 10%;
    }
    
	#combat-description-body, #sound-description{
    	font-size: 18px;
	}
	
	#combat-description-title {
		font-size: 72px;
	}
	
	.combat-gif-cell {
		width: 320px;
		height: 195px;
	}
	
	#combat-gifs-holder {
		width: 670px;
	}
	
	.cell-title {
		font-size: 24px;
        bottom: -116px;
	}
	
	.cell-title-text {
		line-height: 2;
		top: 18px;
	}
	
	#overview-content-wrapper {
		font-size: 36px;
		padding: 5% 6%;
	}
	
	#overview-content-wrapper li img {
		height: 52px;
		margin-top: 0px;
	}
	
}

@media (max-width: 1440px) {
	#overview-content-wrapper {
		font-size: 32px;
		padding: 5% 6%;
	}
	
	#overview-content-wrapper li img {
		height: 44px;
		margin-top: 0px;
	}
}

@media (max-width: 1366px) {
	.description-body {
    	font-size: 18px;
	}
	
	.description-title 
    {
		font-size: 82px;
	}
	
	#combat-description-body, #sound-description{
    	font-size: 16px;
	}
	
	#combat-description-title,
    #design-title, #sound-title, #info-title, #contact-title {
		font-size: 64px;
	}
	
	.combat-gif-cell {
        width: 320px;
        height: 180px;
	}
	
	#combat-gifs-holder {
		width: 670px;
        margin-top: 5%;
	}
	
	.cell-title {
        font-size: 18px;
        bottom: -120px;
	}
	
	.cell-title-text {
		line-height: 2;
		top: 12px;
	}
    
    #design-title-wrapper, #sound-title-wrapper, #info-title-wrapper, #overview-title-wrapper {
        padding: 20px 5% 0 5%;
    }
}

@media (max-width: 1280px) {
	#home-logo {
		width: 450px;
	}
	
	#home-content {
		height: 52.5%;
	}
	
	#home-socials img {
		height: 24px;
	}
	
	#griffith-story {
		display:none;
	}
	
	#griffith-bubble {
		display:none;
	}
	
	#griffith-concerned {
		display: none;
	}
	
	.description {
		right: 10%;
	}
	
	#combat-description-body, #sound-description{
		max-width: 95%;
	}
    
    .description-title {
		line-height: 1;
	}
    
    #combat-description {
        padding: 25px 10% 0 10%;
    }
}

@media (max-width: 1024px) {
	#kay-bubble {
		bottom: 150px;
	}
    
    .description-body {
        font-size: 15px;
        line-height: 1.5;
    }
    
    #combat-gifs-holder {
        margin-top: 7.5%;
    }
    
   #characters img {
        max-height: 100%;
        max-width: 80%;
    }
}

@media (max-width: 990px)
{
	#signy-left {
		display: none !important;
	}
}


@media (max-width: 800px) {
    
    #fp-nav {
        display: none;
    }
    
    #home-logo {
        padding-right: 20px;
    }
    
	#home-content {
		height: 60%;
	}
    
    #combat-gifs-holder {
        width: 570px;
    }
    
    #combat-description {
        padding: 30px 5% 0 5%;
    }
    
    .cell-title-text {
        top: 12px;
        margin: 0;
    }
    
    .cell-title {
        font-size: 18px;
        bottom: -91px;
        line-height: 1.5;
    }
    
    .cell-title img {
        max-width: 100%;
    }
    
    .combat-gif-cell {
        height: 151px;
        width: 270px;
    }
    
    .description {
        right: 5%;
    }
    
    #characters {
        width: 100%;
    }
    
    #characters-description-wrapper {
        left: 10%;
        bottom: 45%;
    }
    
    #characters-description, #background-completed-description {
       width: 80%;
       float: left;
       font-size: 12px;
    }
    
    #characters-title, #background-completed-title {
        font-size: 36px;
    }
    
    #background-completed-title {
        max-width: 375px;
    }
    
    #background-completed-description-wrapper {
        top: 25%;
    }
	
	#kickstarter-quote {
        font-size: 20px;
    }
    
}

@media (max-width: 650px)
{
    .description-body,
    #combat-description-body, #sound-description{
        font-size: 13px;
    }
    
    #combat-gifs-holder {
        width: 285px;
    }
    
    .combat-gif-cell {
        width: 270px;
        height: 125px;
    }
    
    .cell-title {
        bottom: -65px;
    }
    
    #dynamic-obstacles {
        display: none;
    }
    
    #combat-gifs-holder {
        margin-top: 15%;
    }
    
    #design-title {
        margin-right: 20px;
    }
    
    #background-completed-title,
    #characters-title {
        font-size: 24px;
    }
    
    #characters img {
        max-width: 100%;
    }
    
    #characters-description-wrapper {
        left: 10%;
        bottom: 75%;
        max-width: 62.5%; 
    }
    
    #contact-title {
        top: 40%;
    }
	
	#overview-content-wrapper {
		font-size: 24px;
		padding: 5% 4%;
	}
	
	#overview-content-wrapper li img {
		height: 28px;
		margin-top: -4px;
	}

	.fp-controlArrow.fp-prev img, .fp-controlArrow.fp-next img {
		width: 64px;
	}

	.fp-controlArrow.fp-next {
		padding-right: 64px;
	}
}

@media (max-width: 500px)
{
    #home-logo {
        width: 100%;
        margin-top: -30%;
    }
    
    #kickstarter-quote {
        font-size: 15px;
    }
    
    #home-socials {
        width: 100%;
    }
    
    #kay-bubble {
        bottom: 120px;
        margin-left: -30%;
    }
    
    .story-wrapper img {
        margin-left: -10%;
    }
    
    .description {
        z-index: 5;
    }
    
    .description-title {
        font-size: 64px;
        max-width: 80%;
    }
    
    .description-body {
        font-size: 12px;
        max-width: 80%;
    }
    
    #combat-description
    {
        padding: 20px 5% 0 5%;
    }
    
    #combat-description-body, #sound-description{
       font-size: 14px;
    }
    
    #combat-description-title,
    #design-title, #sound-title, #info-title, #contact-title {
        font-size: 56px;
    }
    
    #background-completed-description-wrapper {
        display: none;
    }
    
    #characters img {
        max-width: 125%;
    }
    
    #characters-description-wrapper {
        bottom: 90%;
    }
	
	#overview-content-wrapper {
		font-size: 16px;
		padding: 5% 2%;
	}
}

@media (max-width: 400px)
{
    #combat-description-body,
    .description-body {
        line-height: 1.3;
        font-size: 12px;
    }
}

@media (max-width: 350px)
{
    #combat-description-body,
    .description-body {
        font-size: 10.5px;
        line-height: 1.1;
    }
    
    #combat-description-title,
    #design-title, #sound-title, #info-title, #contact-title {
        font-size: 42px;
    }
}

@media (max-height: 700px)
{
    #combat-description-body
    {
        display: none;
    }
}

/* Tablets */

@media (min-height: 800px) and (max-width: 700px)
{
    .combat-gif-cell {
        width: 400px;
        height: 150px;
    }
    
    #combat-gifs-holder {
        width: 400px;
    }
    
    .cell-title {
        bottom: -90px;
    }
    
    .description {
        z-index: 5;
    }
    
    #characters img {
        max-width: 120%;
    }
}