@font-face {
	font-family: 'Graphik';
	src: url('../fonts/Graphik-Regular.woff') format('woff'), url('../fonts/Graphik-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Graphik';
	src: url('../fonts/Graphik-Semibold.woff') format('woff'), url('../fonts/Graphik-Semibold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}


/* MAIN */
* {
	padding: 0;
	margin: 0;
	box-sizing: border-box
}

body {
	padding: 0;
	margin: 0;
	background: #fff;
	font-family: 'Graphik', sans-serif;
	font-size: 14px;
	color: #666;
	line-height: 1.8;
}

body.fix {overflow: hidden;}
body.fix::before {
	content: '';
	position: fixed;
	z-index: 2;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.2);

}

h1, h2, h3, h4 {
	color: #000;
	padding: 0;
	line-height: 1.3;
	margin: 0 0 25px;
}

h1 {font-size: 28px;}

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

a:hover {
	text-decoration: underline;
}

img {
	border: none;
}

button, input {outline: none;}

.container {
	width: 100%;
	max-width: 1180px;
	padding: 0 20px;
	margin: 0 auto;
}

.text-center {
	text-align: center;
}

.box-title {
	text-align: center;
	margin: 50px 0 25px 0;
	font-size: 24px;
	color: #000;
}


/* HEADER */
header {
	overflow: hidden;
	height: 80px;
	background: #FFFFFF;
	box-shadow: 0px 10px 100px rgba(0, 0, 0, 0.15);
}
	header .logo {
		float: left;
		display: block;
		line-height: 80px;
	}
	header .logo img {
		vertical-align: middle;
	}
	header .nav-toggle {
		position: relative;
		top: 31px;
		float: right;
		display: block;
		width: 30px;
		height: 20px;
		border:0;
		background: none;
		z-index: 9;
		cursor: pointer;
	}
	header .nav-toggle span::before,
	header .nav-toggle span::after {
		content:  '';
	}
	header .menu li a,
	header .nav-toggle span,
	.publs-list li a p,
	.publs-list li a img,
	.pagination a,
	.boxes li .button {transition: all 300ms ease-in-out;}
	header .nav-toggle span::before,
	header .nav-toggle span::after,
	header .nav-toggle span {
		position: absolute;
		right: 0;
		display: block;
		width: 100%;
		height: 2px;
		background: #000;
	}
	header .nav-toggle span::before {
		top: -7px;
		transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
	}
	header .nav-toggle span::after {
		width: 20px;
		bottom: -7px;
		transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
	}
	.nav-toggle span.animate {background: transparent;}
	.nav-toggle span.animate:after {
		width: 100%;
		bottom: 0;
		transform: rotate(45deg);
		transition: bottom 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
	}
	.nav-toggle span.animate:before {
		top: 0;
		transform: rotate(-45deg);
		transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
	}
	header nav {
		position: fixed;
		top:0;
		right: -280px;
		width: 280px;
		height: 100%;
		background: #fff;
		z-index: 4;
		transition: all .5s ease;
	}
	header nav.show {right: 0;}
	header .menu {
		list-style: none;
		padding: 70px 0 0 35px;
	}
	header .menu li {
		position: relative;
		display: block;
		padding: 10px 0 10px 20px;
	}
	header .menu li::before {
		content: '';
		position: absolute;
		top: 22px;
		left:0;
		width: 8px;
		height: 8px;
		background: #fff;
		border-radius: 50%;
	}
	header .menu li a {
		font-size: 18px;
		color: #808080
	}
	header .menu li.current-menu-item a {color: #000;}
	header .menu li.current-menu-item::before {background: #f01f1f;}


/* MAIN */
main {
	padding: 50px 0 100px;
}


.content {color: #000;}
.content.graytext {color: #666;}
	.content h2 {font-size: 24px;}
	.content h3 {font-size: 20px;}
	.content h4 {font-size: 18px;}
	.content p {margin: 25px 0;}
	.content img {
		display: block;
		max-width: 100%;
		height: auto;
		border-radius: 5px;
		margin-bottom: 25px;
	}
	.content ul, .content ol {
		list-style: none;
		margin-bottom: 30px;
	}
		.content ul li {
			position: relative;
			display: block;
			padding: 13px 0 5px 45px;
			margin-bottom: 5px;
			color: #666;
		}
			.content ul li::before {
				content: '';
				position: absolute;
				left: 0;
				top: 10px;
				width: 30px;
				height: 30px;
				background: url(../img/check.svg) no-repeat;
				background-size: 100%;
			}
	.content ol {counter-reset: item;}
		.content ol li {
			counter-increment: item;
			position: relative;
			display: block;
			padding: 13px 0 5px 45px;
			margin-bottom: 5px;
			color: #666;
		}
			.content ol li::before {
			    content: counter(item);
				position: absolute;
				left: 0;
				top: 10px;
				width: 30px;
				height: 30px;
				text-align: center;
				line-height: 30px;
				border-radius: 50%;
				border: 2px solid #F01F1F;
			}
	.content blockquote {
		position: relative;
		max-width: 850px;
		margin: 35px auto;
		padding: 22px 0;
		display: block;
		font-size: 18px;
		text-align: center;
	}
		.content blockquote::before,
		.content blockquote::after {
			content: '';
			position: absolute;
			left: 50%;
			margin-left: -60px;
			width: 120px;
			height: 2px;
			background: #F01F1F;
		}
		.content blockquote::before {top:0;}
		.content blockquote::after {bottom:-4px;}


.publs-list {
	overflow: auto;
	list-style: none;
	margin-top: 35px
}
	.publs-list li {
		display: block;
		margin-bottom: 30px;
	}
	.publs-list li:last-child {margin-bottom: 0;}
		.publs-list li a {display: block;max-width: 360px; margin: 0 auto;}
			.publs-list li a img {
				display: block;
				max-width: 100%;
				margin-bottom: 15px;
				border-radius: 5px;
			}
			.publs-list li a p {
				color: #000;
				font-size: 18px;
				line-height: 1.3;
				margin: 0;
			}
			.publs-list li a:hover {text-decoration: none}
			.publs-list li a:hover p {color: #F01F1F}
			.publs-list li a:hover img {opacity: 0.8}


.pagination {
	overflow: auto;
	margin: 35px -5px 0;
}
	.pagination span,
	.pagination a {
		display: block;
		float: left;
		width: 40px;
		height: 40px;
		line-height: 40px;
		margin: 0 5px;
		text-align: center;
		border-radius: 5px;
		background: #F2F2F2;
		color: #616161;
		font-size: 16px;
	}
	.pagination a:hover,
	.pagination span.current {
		color: #fff;
		background: #F01F1F;
		text-decoration: none;
	}
	.pagination span.dots {
		background: #fff;
		margin: 0;
	}

.games-list {
	overflow: auto;
	list-style: none;
	margin: 20px 0;
}
	.games-list li {
		width: 100%;
		margin: 25px 0;
	}
		.games-list li a {
			display: block;
			height: 200px;
			margin: 0 auto;
			position: relative;
			max-width: 400px;
			border-radius: 5px;
			overflow: hidden;
		}
			.games-list li a::before {
				content: '';
				position: absolute;
				z-index: 3;
				left: 0;
				width: 100%;
				height: 100%;
				background: linear-gradient(rgba(0, 0, 0, 0) 0%, #000000 100%);
			}
			.games-list li a span {
				position: absolute;
				z-index: 9;
				color: #fff;
				bottom: 20px;
				padding: 0 20px;
				font-size: 16px;
				line-height: 1;
			}
				.games-list li a span::after {
				content: '';
				display: inline-block;
				width: 6px;
				height: 10px;
				background: url(../img/arr.svg) no-repeat;
				background-size: 100%;
				margin: 0 0 0 8px;
			}
			.games-list li a img {
				max-width: 100%;
				height: auto;
				width: auto;

				position: absolute;
				top: 50%;
				left: 50%;

				transform: translate(-50%, -50%);
				z-index: 1;
				transition: all 300ms ease-in-out;
				border-radius: 5px;
			}
				.games-list li a:hover img {opacity: 0.8}


.boxes {
	list-style: none;
	margin: 0 -15px;
}
	.boxes li {
		margin: 35px 0;
	}
		.boxes li .laptop {
			position: relative;
			max-width: 360px;
			height: 323px;
			margin: 0 auto;
			background: url(../img/notebook.jpg) no-repeat;
			background-size: 100%;
		}
		.boxes li .laptop-screen {
			position: absolute;
			top: 12px;
			padding: 0 40px;
		}
		.boxes li .laptop-screen img {max-width: 100%;}
		.boxes li .laptop-info {
			position: absolute;
			width: 100%;
			bottom: 25px;
			padding: 20px 30px;
		}
			.boxes li .icon {
				position: relative;
				float: left;
				width: 64px;
				height: 64px;
				margin-right: 10px;
				border-radius: 10px;
				text-align: center;
				background: linear-gradient(#272727 0%, #010101 100%);
			}
				.boxes li .icon img {
					position: absolute;
					margin: auto;
					top: 0;
					left: 0;
					right: 0;
					bottom: 0;
				}
			.boxes li .text {
				float: left;
				line-height: 1.3;
				font-size: 14px;
				color: #999;
			}
				.boxes li .text strong {
					display: block;
					color: #000;
					font-size: 18px;
					margin-bottom: 7px;
					margin-top: -2px;
			}
			.boxes li .button {
				position: absolute;
				right: 30px;
				color: #fff;
				font-size: 14px;
				font-weight: 600;
				background: #F01F1F;
				border-radius: 50px;
				padding: 5px 21px;
				margin-top: 15px;
			}
			.boxes li .button:hover {
				background: #D90000;
				text-decoration: none;
			}


/* FOOTER */
footer {
	padding: 16px 0;
	background: #161616;
	font-size: 12px;
	color: #B0B0B0;
}
footer p {padding: 0;}

/* RESPONSIVE */
@media screen and (min-width: 360px) {
	.boxes li .laptop-info {bottom: 5px;}
}
@media screen and (min-width: 390px) {
	.boxes {margin:0}
	.boxes li .laptop-info {bottom: 0;}
}
@media screen and (min-width: 600px) {
	.games-list {margin: 30px -10px;}
	.games-list li {float:left;width: 50%;padding: 0 10px;margin: 10px 0;}

	.publs-list {display: flex;flex-wrap: wrap;margin: 35px -15px 0;}
	.publs-list li {width: 50%;padding: 0 15px;}
}

@media screen and (min-width: 768px) {
	body {font-size: 16px;}
	h1 {font-size: 36px;margin-bottom: 30px;}
	.content h2, .box-title {font-size: 30px;}
	.content h3 {font-size: 26px;}
	.content h4 {font-size: 22px;}
	header {height: 100px;}
	header .logo {line-height: 100px;}

	.boxes {display: flex;flex-wrap: wrap;}
	.boxes li {width: 50%;}

	.games-list li a {height: 280px}
	.games-list li a span {font-size: 20px}
	.games-list li a span::after {width: 7px; height: 12px;margin-left: 12px;}
	.games-list li a img {height: 100%}

	.content ol li,
	.content ul li {padding-left: 60px;margin-bottom: 10px;}

	.content ol li::before,
	.content ul li::before {top: 6px;width: 40px;height: 40px;line-height: 40px;}

	.content blockquote {font-size: 22px;}
	.content blockquote::before, .content blockquote::after {height: 3px;}
	footer {font-size: 16px}
}

@media screen and (min-width: 900px) {
	header .nav-toggle {display: none;}
	header nav {position: static;width: auto;float: right;}
	header .menu {padding: 0;}
	header .menu li {display: inline-block;padding: 0 0 0 25px;}
	header .menu li a {position: relative;display: block;line-height: 1;font-size: 16px;padding: 44px 0 40px;}
	header .menu li a:hover {color: #000; text-decoration: none;}
	header .menu li.current-menu-item::before {display: none;}
	header .menu li.current-menu-item a::before {content: '';position: absolute;bottom: 0;width: 100%;height: 4px;background: #f01f1f;}

	.publs-list {margin-top: 45px;}
	.publs-list li,
	.games-list li {width: 33.33333%;}

}

@media screen and (min-width: 1040px) {
	.container {overflow: hidden;}
	.boxes {margin: 0 -35px;}
	.boxes li {width: 33.33333%;}
}

@media screen and (min-width: 1140px) {
	h1 {font-size: 42px;margin-bottom: 35px;}
	.content h2, .box-title {font-size: 36px;}
	.content h3 {font-size: 30px;}
	.content h4 {font-size: 24px;}

	main {padding-top: 65px;}
	.content blockquote {padding: 25px 0; font-size: 24px;}
	.content blockquote::before, .content blockquote::after {height: 4px;}

	.games-list li {width: 25%;}
	.games-list li a {height: 240px}

	.publs-list li a p {font-size: 20px;line-height: 1.3;}
}
