*{
	box-sizing:border-box;
	margin:0;
	padding:0;
}
body{
	background:url(http://ot7.ruu/html/7/images/crossword.png);
	font-family: 'calibri',sans-serif;
	font-size:1.25em;
	line-height:1.5em;
}
a{
	text-decoration:none;
}
#header,#content,#footer{
	width:100%;
	float:left;
	border:1px solid #FFF;
}
#header,#footer{
	background:rgba(0,0,0,0.7);
	
}
#content{
	margin-top:67px;
}
#up{
	position:fixed;
	width:50px;
	right:5%;
	bottom:5%;
	transition:3s;
}
.fix{
	position:fixed;
	top:0;
	left:0;
	width:100%;
}
h1,h2{
	text-align:center;
	margin:40px 0;
	border-bottom: 2px solid #ff0;
    line-height: 0;
	
}
.titl{
	background:#ff0;
	color:#000;
}
img{max-width:100%;
width:auto;
}

.center{
	max-width:1140px;
	margin:0 auto;
}
.font{
	font-size:1.5em;
	margin:5%;
	color:#ff0;
}
.cntr{
	text-align:center;
}
.row{
	padding:20px;
	width:100%;
	float:left;
}
.logo{
	float:left;
}
.logo a{
	color:#fff;
}
.menu{
	float:right;
}
.menu li{
	float:left;
}
.menu a{
	padding:25px 20px;
	/*background:#888;*/
	color:#fff;
}
.menu a:hover{
	background:#ff0;
	color:#000;
	
}
.block{
	background:url(http://ot7.ruu/html/7/images/02.jpg) no-repeat;
	background-attachment:fixed;
	background-size: cover;
	float: left;
    width: 100%;
	height: 100vh;
}
.col-2{
	width:50%;
	padding:1%;
	float:left;
}
.col-4{
	width:25%;
	padding:1%;
	float:left;
}
.fon{background:rgba(0,0,0,0.5);
	color:#fff;
	box-shadow: 0 0 109px rgb(0, 0, 0);
	height:100vh;
}
.head{
	margin:15vh 0;
}
.btnred{
	text-align: center;
    background: #EA1124;
    padding: 10px 20px;
    width: 200px;
    margin: 0 auto;
}
.btndark{
	text-align: center;
    background: #484848;
    padding: 10px 20px;
    width: 200px;
    margin: 0 auto;
}
#portfolio .col-4{
	height:150px;
	transition:3s;
}
.blur img,.bw img,.sepia img,.contrast img
{transition:3s;position:relative;-webkit-filter: grayscale(80%);}
.blur img:hover {
-webkit-filter: grayscale(0%);
transform:rotate(360deg) scale(2) translate(100px);
z-index:1;
}
.bw img:hover {
-webkit-filter: grayscale(0%);
transform:rotateY(360deg) scale(4) translate(-100px);
z-index:1;
}
.sepia img:hover {
-webkit-filter: sepia(100%);
transform:rotateX(360deg) scale(2) translate(-200px);
z-index:1;
}
.contrast img:hover {
-webkit-filter: contrast(185%); 
transform:skewX(180deg) scale(2) translate(-200px);
z-index:1;
}


