@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: 'codropsicons';
	src:url('../fonts/codropsicons/codropsicons.eot');
	src:url('../fonts/codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'),
		url('../fonts/codropsicons/codropsicons.woff') format('woff'),
		url('../fonts/codropsicons/codropsicons.ttf') format('truetype'),
		url('../fonts/codropsicons/codropsicons.svg#codropsicons') format('svg');
}

*, *:after, *:before { border-box; box-sizing: border-box; }
.clearfix:before, .clearfix:after { content: ''; display: table; }
.clearfix:after { clear: both; }

body {
	background: rgba(51, 73, 255, 0.5);
	color: red;
	font-weight: 400;
	font-size: 1em;
	font-family: 'Lato', Arial, sans-serif;
}

a {
	color: red;
	text-decoration: none;
	outline: none;
}



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/


@font-face {
  font-family: 'onoff-font';
  src: url('../fonts/onoff-font.eot'); /* IE9 Compat Modes */
  src: url('../fonts/onoff-font.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/onoff-font.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/onoff-font.woff') format('woff'), /* Pretty Modern Browsers */
       url('../fonts/onoff-font.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('../fonts/onoff-font.svg#svgFontName') format('svg'); /* Legacy iOS */
}

h1 {
	font-family: 'onoff-font', 'Lato', sans-serif;
	color: #000;
	font-size: 20px;
	position: fixed;
	left: 90px;
	top: 15px;
}

h2 {
	font-family: 'onoff-font', 'Lato', sans-serif;
	color: #000;
	font-size: 24px;
}

h3 {
	padding: 2%;
	text-align: left;
	font-family: 'onoff-font';
	letter-spacing: 15px;
	text-transform: capitalize;
	font-size: 110%;
}

h5 {
	padding: 2%;
	text-align: left;
	font-family: 'onoff-font';
	letter-spacing: 2%;
	text-transform: capitalize;
	font-size: 110%;
}

a > h3 {
	color: black;
	text-decoration: none;
}
a > h3:hover {
	color: red;
	text-decoration: none;
}

h4 {
	padding: 2%;
	font-family: 'onoff-font';
	letter-spacing: 20px;
	text-transform: capitalize;
	font-size: 130%;
}


a {
	color:#fff;
	text-decoration:none;
}

a.black {
	color: black;
	font-weight: bold;
}
a:hover {
	color:red;
	text-decoration: none;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
/* LINK TRANSITION */
a {
	-moz-transition:color 0.3s ease-out;
	-webkit-transition:color 0.3s ease-out;
	-o-transition:color 0.3s ease-out;
	transition:color 0.3s ease-out;
}

p {
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	text-align: left;
}

p.small {
	font-family: 'Lato', sans-serif;
	font-size: 12px;
}

li a.small {
	padding: none;
}

a.small {
	font-family: 'Lato', sans-serif;
	font-size: 10px;
	padding: none;
	margin: none;
}

a.small:hover {
	background-color: rgba(255, 255, 255, 0);
}


.left-vertical-text {
	position: fixed;
	top: 400px;
	left: 50px;
	transform: rotate(-90deg);
	transform-origin: left top 0;
}

.right-vertical-text {
	position: fixed;
	top: 180px;
	right: 50px;
	transform: rotate(90deg);
	transform-origin: left top 0;
}







a:hover, a:focus {
	color: red;
}

.js .codrops-header,
.js .codrops-top {
	position: fixed;
	z-index: 1000;
}

/* Header */
.codrops-header {
	margin: 0 auto;
	width: 70%;
	left: 15%;
	top: 3.5em;
	pointer-events: none;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.message {
	display: none;
	clear: both;
	color: #f39c12;
}

.codrops-header h1 {
	margin: 0;
	font-weight: 700;
	font-size: 1em;
	line-height: 1.3;
	padding: 1.5em 0 0.25em;
	text-transform: uppercase;
	letter-spacing: 1px;
	float: left;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.7);
	z-index: 10000;
}

.no-js .overlay, 
.overlay.hide {
	-webkit-transition: opacity 0.3s, visibility 0.3s;
	transition: opacity 0.3s, visibility 0.3s;
	visibility: hidden;
}

.info {
	text-align: center;
	position: absolute;
	top: 50%;
	left: 0;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 1px;
	font-size: 80%;
	width: 100%;
}

.info h2 {
	color: #666;
}

.info span {
	display: inline-block;
	width: 180px;
	height: 180px;
	padding: 10px;
	margin: 4px;
	text-align: center;
	vertical-align: top;
	background-size: 75%;
	background-color: #666;
	background-opacity: 0.7; 
	background-repeat: no-repeat;
	background-position: 50% 85%;
}

.info span.info-drag {
	background-image: url(../img/drag.svg);
}

.info span.info-keys {
	background-image: url(../img/keys.svg);
}

.info span.info-switch {
	background-image: url(../img/switchmin.svg);
	background-size: 65%;
}

.info button {
	border: 2px solid #666;
	font-family: 'onoff-font', sans-serif;
	background: transparent;
	color: #666;
	font-weight: bold;
	font-size: 100%;
	padding: 1em 2em;
	letter-spacing: 1px;
	text-transform: uppercase;
	display: block;
	margin: 1em auto;
	opacity: 0.7;
	outline: none;
}

.info button:hover {
	opacity: 1;
}

/* To Navigation Style */
.codrops-top {
	width: 100%;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 0.69em;
	line-height: 2.2;
	top: 0;
	left: 0;
}

.codrops-top a {
	display: inline-block;
	padding: 0 1em;
	text-decoration: none;
	letter-spacing: 1px;
}

.codrops-top span.right {
	float: right;
}

.codrops-top span.right a {
	display: block;
	float: left;
}

.codrops-icon:before {
	margin: 0 4px;
	text-transform: none;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	font-family: 'codropsicons';
	line-height: 1;
	speak: none;
	-webkit-font-smoothing: antialiased;
}

.codrops-icon-drop:before {
	content: "\e001";
}

.codrops-icon-prev:before {
	content: "\e004";
}

@media screen and (max-width: 650px) {
	.message {
		display: block;
	}
	.info span.info-keys,
	.info span.info-switch {
		display: none;
	}
}

@media screen and (max-width: 30em) {
	.info span {
		width: 100px;
		height: 100px;
		font-size: 0.5em;
	}
}

@media screen and (max-width: 25em) {
	.codrops-icon span {
		display: none;
	}
}