/*
	PUT IN FONTS
	MAKE STANDARD COLOUR THINGS TO APPLY
	ZINDEX CLEANUP
*/

@import url(https://fonts.googleapis.com/css?family=Oswald:700);
@import url(https://fonts.googleapis.com/css?family=Roboto);



html {
	-webkit-font-smoothing: antialiased;
	background-color: rgb(0, 13, 20);
	min-width: 600px;
	z-index: -5;
}

body {
	width: 100%;
	font-family: "Roboto", sans-serif;
}

#nav {
	margin: 0 auto;
	margin-top: 3%;
	text-align: center;
}

.navbutton {
	margin: 0 10%;
	text-align: center;
	font-family: "OSWALD", sans-serif;
	font-weight: bold;
	color: #F23C55;
	font-size: 50px;
}

.snavbutton {
	font-size: 2em;
	margin-right: 1em;
	margin-left: 1em;
}

#header {
	position: relative;
	height: 6em;
	font-family: "OSWALD", sans-serif;
	top: 2em;
	/*background-color: white;*/
}

.rheader {
	position: relative;
	height: 100%;
	text-align: center;
	/*font and color*/
}

.lheader {
	position: relative;
	float: left;
	height: 6em;
	text-align: right;
	/*font and color*/
}

.hname {
	font-size: 2em;
	margin-left: 2em;
	color: white;
	display: none;
}

.cs {
	color: #F23C55;
}

#home {
	background-color: inherit;
	margin-top: 10%;
	left: 0;
}

#about {
	background-color: #1b222b;
	top: 0;
	top: 0;
	left: 0;
	z-index: 1;
	color: #31797D;
	position: relative;
}


#work {
	background-color: #1b222b;
	position: relative;
	top: 0;
	left: 0;
	z-index: -1;
}

.statSheet {
	text-align: left;
	margin: 0 auto;
	margin-top: 4em;
	max-width: 768px;
}

.text {
	text-align: left;
	margin: auto;
	max-width: 768px;
	position: relative;
}

.htxt {
	font-weight: 700;
	font-family: 'oswald', sans-serif;
	font-size: 1.5em;
	color: #F23C55;
}

.boldText {
	font-weight: 600;
}

video {
	width: 100%;
	margin-bottom: 5em;
}

.content {
	float: right;
	width: 100%;
	margin-bottom: 100px;
	position: relative;
}

h1 {
	margin: 0 auto;
	font-family: "OSWALD", sans-serif;
	font-weight: bold;
	text-align: center;
	font-size: 7em;
	z-index: 500;
}

.ih {
	color: #F23C55;
	font-size: 6em;
	margin-top: 0.5em;
}

.mh {
	color: white;
	font-size: 7em;
	margin-top: 0.5em;
}

h2 {
	margin: auto;
	font-family: "OSWALD", sans-serif;
	font-weight: bold;
	color: #F23C55;
	font-size: 50px;
	text-align: left;
	padding-top: 1em;
}


p {
	text-align: left;
	color: #31797D;
}

.edgespace {
	position: relative;
	width: 80%;
	margin-left: 10%;
}

#header {
	position: relative;
	margin: 0 auto;
	text-align: center;
}

.description {
	max-width: 1280px;
	/* ?????? */
	background-color: inherit;
	margin: 0 auto;
	padding-bottom: 2em;
	font-size: 1.2em;
	line-height: 2.5em;
	color: #31797D;
	position: relative;
	height: relative;
}

.shader {
	width: inherit;
	position: relative;
	height: 50em;
}

.media {
	width: 100%;
	margin: auto;
}

.expl {
	width: 80%;
	margin: auto;
}


.centerfit {
	margin: 5% 5%;
	position: relative;
	object-fit: contain;
	text-align: center;
	max-width: 90%;
    max-Height: 90%;
}



hr {
	border: 0;
	height: 1px;
	background-color: #31797D;
}


/*
canvas{
	filter: blur(px);
}
*/

.simg {
	width: 100%;
	background-color: inherit;
	position: relative;
	padding-top: 50%;
	height: 0;
}

.sscontainer {
	width: 100%;
	background-color: #1c232c;
	overflow: hidden;
	position: relative;
	padding-top: 50%;
}

.diagonal {
	height: 600px;
	width: 300px;
	overflow: hidden;
	transform: rotate(25deg);
	position: absolute;
	top: -100px;
}

img {}

img.m1 {
	margin-left: 180px;
}

img.m2 {
	margin-left: -200px;
}

img.m3 {
	margin-left: -300px;
}

img.m4 {
	margin-left: -420px;
}

img.m5 {
	margin-left: -500px;
}

img.mt1 {
	margin-top: -100px;
}

img.mt2 {
	margin-top: 0;
}

img.mt3 {
	margin-top: 50px;
}

img.mt4 {
	margin-top: 100px;
}

img.mt5 {
	margin-top: 125px;
}

img.rt {
	transform: rotate(-25deg);
	width: 250%;
}

img.logo {
	width: 40%;
	left: 30%;
	top: 15%;
	position: absolute;
}

img.single {
	width: 100%;
	top: 15%;
	position: absolute;
}


.overlay {
	transform: rotate(-25deg);
	height: inherit;
	width: inherit;
	position: absolute;
	top: -50px;
	left: 0;
	background: black;
	opacity: 0;
	color: white;
	-webkit-transition: opacity .5s;
	vertical-align: middle;
	text-align: center;
}

.overlay:hover {
	opacity: .8;
}

.d0 {
	left: -200px;
}

.d1 {
	left: 130px;
}

.d2 {
	left: 460px;
}

.d3 {
	left: 790px;
}

iframe {
	border: 0;
}

a,
a:visited {
	text-decoration: none;
	color: #31797D;
	transition-duration: 0.2s;
}

a:hover {
	transition-duration: 0.2s;
	color: #F23C55;
}

/*
 * Min 600px
 * 600 - 768: Standard scaling
 * 
 * */


@media only screen and (min-width: 640px) {
	.hname {
		display: inline;
	}

	.rheader {
		position: relative;
		float: right;
		height: 100%;
		text-align: right;
		margin-right: 1em;
		/*font and color*/
	}

	.statSheet {
		text-align: left;
		width: 90%;
		margin: 0 auto;
		margin-top: 4em;
		max-width: 768px;
	}

	.text {
		text-align: left;
		width: 90%;
		margin: auto;
		max-width: 768px;
	}

}

@media only screen and (min-width: 1280px) {
	.statSheet {
		margin-top: 20%;
		width: 40%;
		float: right;
		text-align: left;
		margin-right: 5%;
	}

	.text {
		width: 40%;
		float: left;
		text-align: left;
		margin-left: 5%;
	}

	.description {
		max-width: 1280px;
		/* ?????? */
		background-color: inherit;
		margin: 0 auto;
		margin-top: 120px;
		font-size: 1.2em;
		line-height: 2.5em;
		color: #31797D;
		position: relative;
	}

	.shader {
		height: 20em;
	}

	.media {
		width: 47.5%;
		float: left;
		height: 400px;
	}

	.expl {
		width: 47.5%;
		float: right;
		height: 400px;
	}

	.largenone {
		display: none;
	}

	.edgespace {
		width: 100%;
		margin: 0 auto;
	}

	h2 {
		padding-top: 0.5em;
	}
}
