@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);
@import url('https://fonts.googleapis.com/css?family=Neucha&subset=cyrillic');
@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 { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box: ; box-sizing: border-box;;; }

body {
	background-color: #333;
	font-weight: 300;
	overflow: hidden;
	color: #795548;
	font-family: 'Lato', Calibri, Arial, sans-serif;
	position: fixed;

}

a {
	text-decoration: none;
	color: #ed8151;
	outline: none;
}

a:hover, a:focus {
	color: #e86a32;
	outline: none;
}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
	display: table;
	content: " ";
}

.clearfix:after {
	clear: both;
}

.codrops-header,
.codrops-top {
	font-family: 'Lato', Arial, sans-serif;
}

.codrops-header {
	margin: 0 auto 3em;
	padding: 3em;
	text-align: center;
}

.codrops-header h1 {
	margin: 0;
	font-weight: 300;
	font-size: 2.625em;
	line-height: 1.3;
}

.codrops-header span {
	display: block;
	padding: 0 0 0.6em 0.1em;
	font-size: 60%;
	color: #aca89a;
}

/* To Navigation Style */
.codrops-top {
	width: 100%;
	text-transform: uppercase;
	font-size: 0.69em;
	line-height: 2.2;
	font-weight: 700;
	background: rgba(255,255,255,0.3);
}

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

.codrops-top a:hover {
	background: rgba(255,255,255,0.4);
	color: #333;
}

.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";
}

.main {
	max-width: 100%;
	margin: 0 auto;
}

.column {
	float: right;
	width: 10%;
	padding: 0em;
	position: relative;
	text-align: center;
	padding-top: 2.45%;
}

.column p {
	font-weight: 300;
	font-size: 2em;
	padding: 0em;
	margin: 0;
}

.codrops-demos a,
buttons {
	cursor: pointer;
	color: #fff;
}

.codrops-demos a:hover,
.codrops-demos a:active,
.codrops-demos a.current-demo {
	background: #777;
}

buttons {
	background: transparent;

}

buttons svg:hover,
buttons svg:active {
	transition-property: box-shadow, background;
  	transition-duration: 0.5s;
  	transition-delay: 0s;
	background: rgba(255,255,255,0.4);
	box-shadow: 0 0 1em rgba(176, 0, 0, 0.7);
}

.related {
	text-align: center;
	font-size: 1.5em;
	margin-top: 3em;
	clear: both;
	padding: 3em 0;
}

.related a {
	font-weight: 700;
	font-size: 0.9em;
}

buttons svg {
	transition-property: box-shadow, background;
  	transition-duration: 0.5s;
  	transition-delay: 0.1s;
	background: rgba(255,255,255,0.6);
}

line {
	stroke: #000000;
	stroke-width: 0.1em;
}

/*Last name*/
.col1 {
	max-width: 50%;
	width: 100%;
	float: left;
}

.col1 img{
    max-width: 100%;
    width: 50%;
    margin: 15%;
    transform: rotate(-10deg);
}

.col2 {
	max-width: 50%;
	width: 100%;
	float: left;
}

/*Slides*/
.viewport {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	width: 100%;
	height: auto;
}

.slide {	
	width: 100%;
	height: auto;	
	position: absolute;
	top:0;
	left:0;
    opacity: 0;
    transition: opacity 4s;
}

.show {
	opacity: 1;
}

ul li img {
	width: 100%;
}

@media screen and (max-width: 46.0625em) {

	.codrops-header {
		margin-bottom: 0;
		padding-bottom: 1em;
	}

	.column {
		width: 100%;
		min-width: auto;
		min-height: 0;
		padding: 2em; 
		text-align: center;
	}

	.column p {
		font-size: 1.5em;
	}

	.column:nth-child(2) {
		text-align: center;
		box-shadow: 0 -1px 0 rgba(0,0,0,0.1);
	}

	buttons svg {
	width: 10%;
	}

}

@media screen and (max-width: 25em) {

	.codrops-header {
		font-size: 80%;
	}

	.codrops-top {
		font-size: 120%;
	}

	.codrops-icon span {
		display: none;
	}
    
}

@media screen and (max-width: 565px) {

	ul li img {
		width: 565px;
	}

}


