.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}
body {
	padding:0;
	margin:0;	
	font-family: 'Roboto', sans-serif;
}
p {
	color:#333;	
	line-height: 25px;
}
p a {
	color:inherit;
	text-decoration:underline;
}
h3 {
	font-size:48px;
	display:inline-block;
	position:relative;
	text-transform:uppercase;
	color:#333;
}
h3:after {
	width:70px;
	height:9px;
	position:absolute;
	left:0;
	bottom:-15px;
	background:#B3B3B3;
	content:'';
	display:block;	
}
.footer {
	height:60px;	
}
.container {
	width:1100px;
	margin:0 auto;
	display:block;	
}
.large_header, body, html, .large_header_outer {
	width:100%;
	height:100%;
	display:block;	
}
.large_header {
	background:url(background2.jpg)center center;
	background-repeat:no-repeat;
	background-size:cover;
	position:relative;
	margin-bottom:60px;
	overflow:hidden;
	-ms-transform: scale(0.90); /* IE 9 */
    -webkit-transform: scale(0.90); /* Chrome, Safari, Opera */
    transform: scale(0.90);
	opacity:0;
	transition:0.4s all ease-in-out;
	-webkit-transition:0.4s all ease-in-out;
}

.loaded .large_header {
	-ms-transform: scale(1); /* IE 9 */
    -webkit-transform: scale(1); /* Chrome, Safari, Opera */
    transform: scale(1);
	opacity:1;	
}
.large_header .text {
	-ms-transform: scale(0.70); /* IE 9 */
    -webkit-transform: scale(0.70); /* Chrome, Safari, Opera */
    transform: scale(0.70);
	opacity:0;
	transition:0.6s all ease-in-out;
	-webkit-transition:0.6s all ease-in-out;
}
.loaded .large_header .text {
	-ms-transform: scale(1); /* IE 9 */
    -webkit-transform: scale(1); /* Chrome, Safari, Opera */
    transform: scale(1);
	opacity:1;	
}
.large_header .avatar {
	width:130px;
	height:198px;
	background:url(avatar.png)center center;
	background-repeat:no-repeat;
	background-size:contain;
	content:'';
	display:block;
	position:absolute;
	left:40px;
	bottom:-138px;
	transition: all .4s cubic-bezier(0, 1.8, 1, 1); 
	-webkit-transition: all .4s cubic-bezier(0, 1.8, 1, 1); 
}
.large_header .avatar:hover {
	bottom:0px;
}
.large_header .text {
	width:100%;
	text-align:center;
	vertical-align:middle;
	position:absolute;
	top:35%;
}
.large_header .text h1, .large_header .text h2 {
	color:white;
	font-weight:300;
}
.large_header .text h1 {
	font-size:70px;
	margin:0;	
}
.large_header .text h2 {
	font-size:32px;	
}
.large_header .text a {
	border:1px solid white; 
	padding:12px 20px;
	color:white;	
	text-decoration:none;
	margin-top: 24px;
	display: inline-block;
	transition:0.15s all ease-in-out;
	-webkit-transition:0.15s all ease-in-out;
}
.large_header .text a:hover {
	text-decoration:none;
	padding:12px 30px;
}	
.down_icon {
	height:45px;
	width:100%;
	background:url(down.png)center center;
	background-size:contain;
	background-repeat:no-repeat;
	position:absolute;
	bottom:40px;
}
.skills {
	padding:30px 0;
}	
.skills .skill {
	width:18%;
	float:left;
	border:1px solid #D3D3D3;
	height:150px;
	margin:0 1%;
	opacity:0.2;
	top:20px;
	position:relative;
	transition:0.4s all ease-in-out;
	-webkit-transition:0.4s all ease-in-out;
}	
.skills .skill.fadein {
	opacity:1;
	top:0;
}
.skills .skill.php { background:url(php.png) rgb(242, 242, 242) center center no-repeat; background-size:94px; margin-left:0;}
.skills .skill.mysql { background:url(mysql.png) rgb(242, 242, 242) center center no-repeat; background-size:155px;}
.skills .skill.html { background:url(html.png) rgb(242, 242, 242) center center no-repeat; background-size:70px;}
.skills .skill.css { background:url(css.png) rgb(242, 242, 242) center center no-repeat; background-size:70px;}
.skills .skill.jqueary { background:url(jqueary.png) rgb(242, 242, 242) center center no-repeat; background-size:125px; margin-right:0;}

.large_header_outer {
	background:url(lines.jpg) center center no-repeat;
	background-size:cover;	
}
.history .item {
	border:1px solid #D3D3D3;
	background:rgb(242, 242, 242);
	padding:20px 40px 30px 100px;
	position:relative;
	margin-bottom:40px;
	opacity:1;
	top:0;
	transition:0.4s all ease-in-out;
	-webkit-transition:0.4s all ease-in-out;
}
.history .item.fadein {
	top:0;
	opacity:1;
}	
.history .item.sash:before {
	position:absolute;
	right:0;
	top:0;
	width:120px;
	height:120px;
	background:url(sash.png);
	content:'';
	display:block;
	background-size:contain;
}
.history .item:after {
	position:absolute;
	top:-1px;
	left:30px;
	height:100%;
	width:20px;
	border-right:1px solid #D3D3D3;
	border-left:1px solid #D3D3D3;
	border-top:1px solid white;
	border-bottom:1px solid white;
	background:white;
	content:'';
	display:block;
}

.history .item.freelance_sash:before {
	position:absolute;
	right:0;
	top:0;
	width:120px;
	height:120px;
	background:url(freelance_sash.png);
	content:'';
	display:block;
	background-size:contain;
}


.hobby {
	box-sizing:border-box; 
	-webkit-box-sizing:border-box; 
	border:1px solid #D3D3D3;
	background:rgb(242, 242, 242);
	padding:30px;
	width:48%;
	float:right;	
	height:320px;
}
.hobby:nth-child(even) {
	float:left;	
}
.hobby i {
	text-align:center;
	font-size:50px;	 
	display:block;
	margin:0 auto;
}
.hobby h4 {
	font-size:20px;
}	
.footer {
	background:url(footer.jpg);
	margin-top:60px;
	height:500px; 	 
}

.footer h4 {
	text-align:center;
	color:#333;	
}
.case_study a {
	width:42%;
float: left;
border: 1px solid #D3D3D3;
margin: 0 2%;
opacity: 1;
top: 20px;
position: relative;
transition: 0.4s all ease-in-out;
-webkit-transition: 0.4s all ease-in-out;
background:rgb(242, 242, 242);
padding:30px;
color:inherit;
text-decoration:none;
height:250px;
margin-bottom:30px;
}
.case_study a img {
	width: auto;
	height:28px;
	display: block;
	margin: 0 auto;
	margin-bottom: 60px;

}
.case_study a:hover {
	background: rgb(229, 229, 229);
}

.case_study a:after {
	width: 100%;
	height: 10px;
	border-top: 1px solid #D3D3D3;
	border-bottom: 1px solid #D3D3D3;
	border-left: 1px solid white;
	border-right: 1px solid white;
	content: '';
	position: absolute;
	top: 80px;
	left: -1px;
	background: white;	
}
.case_study a:nth-child(even) {
	margin-left:0;	
}
.case_study a:nth-child(odd) {
	margin-right:0;	
}











