@charset "utf-8";

@import url(https://fonts.googleapis.com/css?family=Scada:400italic,700italic,400,700&subset=latin,cyrillic,latin-ext);

/*
  ____        _ _                 _       _
 |  _ \      (_) |               | |     | |
 | |_) | ___  _| | ___ _ __ _ __ | | __ _| |_ ___
 |  _ < / _ \| | |/ _ \ '__| '_ \| |/ _` | __/ _ \
 | |_) | (_) | | |  __/ |  | |_) | | (_| | ||  __/
 |____/ \___/|_|_|\___|_|  | .__/|_|\__,_|\__\___|
                           | |
                           |_|
*/

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
video {
	display: inline-block;
	*display: inline;
	*zoom: 1;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden] {
	display: none;
}

html {
	font-size: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
}

a:focus {
	outline: thin dotted;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

hr {
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	height: 0;
}

mark {
	background: #ff0;
	color: #000;
}

code,
kbd,
pre,
samp {
	font-family: monospace, serif;
	_font-family: 'courier new', monospace;
}

q {
	quotes: none;
}

q:before,
q:after {
	content: '';
	content: none;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

nav ul,
nav ol {
	list-style: none;
	list-style-image: none;
}

img {
	vertical-align: middle;
	border: 0;
	-ms-interpolation-mode: bicubic;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

form {
	margin: 0;
}

legend {
	border: 0;
	padding: 0;
	white-space: normal;
	*margin-left: -7px;
}

button,
input,
select,
textarea {
	font-size: 100%;
	margin: 0;
	vertical-align: baseline;
	*vertical-align: middle;
}

button,
input {
	line-height: normal;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
	*overflow: visible;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
	*height: 13px;
	*width: 13px;
}

input[type="search"] {
	-webkit-appearance: textfield;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*
  _____      _                                  _         _
 |  __ \    (_)                                | |       | |
 | |__) | __ _ _ __ ___   __ _ _ __ _   _   ___| |_ _   _| | ___  ___
 |  ___/ '__| | '_ ` _ \ / _` | '__| | | | / __| __| | | | |/ _ \/ __|
 | |   | |  | | | | | | | (_| | |  | |_| | \__ \ |_| |_| | |  __/\__ \
 |_|   |_|  |_|_| |_| |_|\__,_|_|   \__, | |___/\__|\__, |_|\___||___/
                                     __/ |           __/ |
                                    |___/           |___/
*/

/* animatons */
@-webkit-keyframes flyin {
	from {
		-webkit-transform: translate(0,-200px);
	}

	60% {
		-webkit-transform: translate(0,-200px);
	}

	to {
		-webkit-transform: translate(0,0);
	}
}

@keyframes flyin {
	from {
		transform: translate(0,-200px);
	}

	60% {
		transform: translate(0,-200px);
	}

	to {
		transform: translate(0,0);
	}
}

@-webkit-keyframes outoffuckingnowhere {
	from {
		opacity: 0;
		-webkit-transform: translate(50px,0);
	}

	50% {
		opacity: 0;
		-webkit-transform: translate(50px,0);
	}

	to {
		opacity: 1;
		-webkit-transform: translate(0,0);
	}
}

@keyframes outoffuckingnowhere {
	from {
		opacity: 0;
		transform: translate(50px,0);
	}

	50% {
		opacity: 0;
		transform: translate(50px,0);
	}

	to {
		opacity: 1;
		transform: translate(0,0);
	}
}


/* base styles */
* {
	-o-tap-highlight-color: transparent;
	-moz-tap-highlight-color: transparent;
	-webkit-tap-highlight-color: transparent;
	tap-highlight-color: transparent;
}

html {
	min-height: 100%;
}

body {
	max-width: 960px;
	margin: 0 auto;
	font-size: 85%;
	overflow-x: hidden;
	padding: 3em 1.5em;
	font-family: 'Scada', sans-serif;
	color: #004165;
	line-height: 1.6;
	height: 100%;
	background: #4997c6;
	background: -moz-linear-gradient(top, #1c6cb1 0px, #4997c6 200px, transparent 200px) no-repeat,
				-moz-linear-gradient(bottom, #a9cee1 0px, #4997c6 200px) 0px 100% repeat-y;
	background: -webkit-linear-gradient(top, #1c6cb1 0px, #4997c6 200px, transparent 200px) no-repeat,
				-webkit-linear-gradient(bottom, #a9cee1 0px, #4997c6 200px) 0px 100% repeat-y;
	background: -o-linear-gradient(top, #1c6cb1 0px, #4997c6 200px, transparent 200px) no-repeat,
				-o-linear-gradient(bottom, #a9cee1 0px, #4997c6 200px) 0px 100% repeat-y;
	background: -ms-linear-gradient(top, #1c6cb1 0px, #4997c6 200px, transparent 200px) no-repeat,
				-ms-linear-gradient(bottom, #a9cee1 0px, #4997c6 200px) 0px 100% repeat-y;
	background: linear-gradient(to bottom, #1c6cb1 0px, #4997c6 200px, transparent 200px) no-repeat,
				linear-gradient(to top, #a9cee1 0px, #4997c6 200px) 0px 100% repeat-y;
}

h1,
h2,
h3 {
	color: #FAA615;
	font-weight: normal;
	line-height: 1.3;
}

h1 {
	font-size: 2.5em;
}

h2 {
	font-size: 2em;
}

h3 {
	font-size: 1.5em;
}

p {
	margin: 0 0 1.5em 0;
}

p,
h1,
h2,
h3 {
	margin: 0 0 24px 0;
	margin: 0 0 1.5rem 0;
}

a {
	color: #004165;
	text-decoration: underline;
}

a:visited {
	color: #004165;
}

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

a.iconlink {
	text-decoration: none;
}

a.iconlink > span {
	text-decoration: underline;
}

a.iconlink:hover > span,
a.iconlink:active > span  {
	text-decoration: none;
}


/* blocks */
#logo {
	display: inline-block;
	background: #faa615;
	padding: 0.51em 0.73em;
	color: white;
	position: relative;
	-webkit-animation-duration: 0.6s;
	-webkit-animation-name: flyin;
	animation-duration: 0.6s;
	animation-name: flyin;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

#logo:hover {
	background: #fac115;
}

#main {
	margin: 0.9em 0 0 0;
}

#main > * {
	position: relative;
	-webkit-animation-duration: 1.6s;
	-webkit-animation-name: outoffuckingnowhere;
	animation-duration: 1.6s;
	animation-name: outoffuckingnowhere;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

#main > *:nth-child(1) {
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
}

#main > *:nth-child(2) {
	-webkit-animation-duration: 1.1s;
	animation-duration: 1.1s;
}

#main > *:nth-child(3) {
	-webkit-animation-duration: 1.2s;
	animation-duration: 1.2s;
}

#main > *:nth-child(4) {
	-webkit-animation-duration:1.3s;
	animation-duration:1.3s;
}

#main > *:nth-child(5) {
	-webkit-animation-duration: 1.4s;
	animation-duration: 1.4s;
}

#main > *:nth-child(6) {
	-webkit-animation-duration: 1.5s;
	animation-duration: 1.5s;
}


/* ONDRUGS!!111 */

@-webkit-keyframes ondrugs {
	from {
		color: #1be5a0;
		background: #000;
		-webkit-transform: translate(0.1em,-0.1em);
	}

	12.5% {
		color: #b33aff;
		background: #1be5a0;
		-webkit-transform: translate(-0.32em,0.44em);
	}

	25% {
		color: #fffe00;
		background: #b33aff;
		-webkit-transform: translate(-0.2em,-0.4em);
	}

	37.5% {
		color: #f12938;
		background: #fffe00;
		-webkit-transform: translate(0.04em,-0.2em);
	}

	50% {
		color: #62e51b;
		background: #f12938;
		-webkit-transform: translate(0,0);
	}

	62.5% {
		color: #2751ef;
		background: #62e51b;
		-webkit-transform: translate(-0.4em,-0.1em);
	}

	75% {
		color: #ffc600;
		background: #2751ef;
		-webkit-transform: translate(0.3em,-0.3em);
	}

	87.5% {
		color: #000;
		background: #ffc600;
		-webkit-transform: translate(-0.4em,0.4em);
	}

	to {
		color: #1be5a0;
		background: #000;
		-webkit-transform: translate(0.1em,-0.1em);
	}
}

@keyframes ondrugs {
	from {
		color: #1be5a0;
		background: #000;
		transform: translate(0.1em,-0.1em);
	}

	12.5% {
		color: #b33aff;
		background: #1be5a0;
		transform: translate(-0.32em,0.44em);
	}

	25% {
		color: #fffe00;
		background: #b33aff;
		transform: translate(-0.2em,-0.4em);
	}

	37.5% {
		color: #f12938;
		background: #fffe00;
		transform: translate(0.04em,-0.2em);
	}

	50% {
		color: #62e51b;
		background: #f12938;
		transform: translate(0,0);
	}

	62.5% {
		color: #2751ef;
		background: #62e51b;
		transform: translate(-0.4em,-0.1em);
	}

	75% {
		color: #ffc600;
		background: #2751ef;
		transform: translate(0.3em,-0.3em);
	}

	87.5% {
		color: #000;
		background: #ffc600;
		transform: translate(-0.4em,0.4em);
	}

	to {
		color: #1be5a0;
		background: #000;
		transform: translate(0.1em,-0.1em);
	}
}

a.ondrugs {
	display: inline-block;
}

a.ondrugs:focus,
a.ondrugs:hover,
a.ondrugs:active {
	-webkit-animation-duration: 0.4s;
	-webkit-animation-name: ondrugs;
	-webkit-animation-iteration-count: infinite;
	animation-duration: 0.4s;
	animation-name: ondrugs;
	animation-iteration-count: infinite;
}


/* le snowflakes */
@-webkit-keyframes snowflake {
	from {
		-webkit-transform: translate(0px, 0px);
		transform: translate(0px, 0px);
	}

	to {
		-webkit-transform: translate(-1100px, 1500px);
		transform: translate(-1100px, 1500px);
	}
}

@keyframes snowflake {
	from {
		-ms-transform: translate(0px, 0px);
		-webkit-transform: translate(0px, 0px);
		-o-transform: translate(0px, 0px);
		-moz-transform: translate(0px, 0px);
		transform: translate(0px, 0px);
	}

	to {
		-ms-transform: translate(-1100px, 1500px);
		-webkit-transform: translate(-1100px, 1500px);
		-o-transform: translate(-1100px, 1500px);
		-moz-transform: translate(-1100px, 1500px);
		transform: translate(-1100px, 1500px);
	}
}

.snowflake {
	display: inline-block;
	position: fixed;
	top: -100px;
	height: 0;
	width: 0;
	-webkit-animation-timing-function: linear;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-name: snowflake;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	animation-name: snowflake;
}
