@font-face {
	font-family: 'Counter-Strike';
	src: url('/fonts/Counter-Strike.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

* {
	color: #f5f1f1;
	padding: 0;
	margin: 0;
	border: 0;
	box-sizing: border-box;
}

body {
	background-color: #323a2e;
	overflow-x: hidden;
}

header {
	background-color: #191d16;
	padding: 20px 0;
}

.logo {
	position: relative;
	font-family: 'Counter-Strike', sans-serif;
	font-size: 30px;
}

nav {
	padding: 0 10px;
	max-width: 1250px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

section {
	position: relative;
	padding: 25px 10px;
	max-width: 1250px;
	margin: 0 auto;
	width: 100%;
	font-family: 'Arial Narrow', Arial, sans-serif;
}

a {
	text-decoration: none;
}

ul {
	list-style: none;
}
header ul li {
	font-family: 'Courier New', Courier, sans-serif;
	font-weight: bold;
	font-size: 16px;
	display: inline-block;
}
header ul li a:hover {
	color: #9f9444;
}

header ul li::after {
	font-family: 'Arial Narrow', Arial, sans-serif;
	content: ' |';
	color: #363636;
	margin: 0 10px;
}
header ul li:last-child::after {
	content: '';
}

footer {
	position: relative;
	max-width: 1250px;
	padding: 10px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}
footer p {
	color: #838383;
	padding: 2px;
}
footer::before {
	background-color: #191d16;
}

main {
	position: relative;
	height: calc(100vh - 64px);
	overflow: hidden;
	font-family: 'Arial Narrow', Arial, sans-serif;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.original,
.russian,
.bots {
	background-image: url('/img/cs-1-6-original-bg.png');
}
.original::after,
.russian::after,
.bots::after {
	background-color: rgba(0, 0, 0, 0.65);
}

video {
	height: 100%;
	width: auto;
	min-width: 100%;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	object-fit: cover;
}

main::after {
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 0;
}

.content {
	font-size: 35px;
	padding: 0 10px;
	font-family: 'Arial Narrow', Arial, sans-serif;
	position: absolute;
	top: 25%;
	max-width: 1250px;
	width: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin: 0 auto;
	z-index: 1;
}

.content h1 {
	font-size: 60px;
	margin-bottom: 15px;
}

.content img {
	width: 39px;
	height: 39px;
	margin-right: 5px;
}

.content p {
	margin: 15px 0;
	font-size: 23px;
}

.btn {
	margin-right: 5px;
	font-family: 'Arial Narrow', Arial, sans-serif;
	font-weight: bold;
	color: #9f9444;
	padding: 10px 20px;
	font-size: 39px;
	background-color: #495341;
	border: 5px solid #8a9282;
	border-bottom-color: #272c21;
	border-right-color: #272c21;
}
.content .btn:first-child {
	font-size: 40px;
}

.btn:hover {
	background-color: #404a39;
}

.content .btn:active,
.e404 .btn:active {
	border: 5px solid #272c21;
	border-bottom-color: #8a9282;
	border-right-color: #8a9282;
}

.content .btn:before {
	content: '⠀ ';
	background-image: url(/img/download.png);
	background-size: 39px;
	background-repeat: no-repeat;
	background-position: center;
	transform: translateY(-50%);
	width: 39px;
	height: 39px;
	margin-right: 10px;
}
.content .btn:last-child:before {
	background-size: 39px;
	background-image: url(/img/utorrent.png);
}

.buttons {
	margin: 20px 0;
}

section::before,
footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	height: 100%;
	z-index: -1;
}

section b,
section p,
section h2,
section h3,
section li {
	color: #dae0d4;
}

section p {
	margin-bottom: 20px;
	font-size: 17px;
}

section h2 {
	font-size: 32px;
}
.mods h2 {
	font-size: 18px;
}

section h3 {
	font-size: 25px;
	width: 100%;
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid #8a9282;
}

.game::before,
.creators::before,
.lessons::before,
.download::before {
	background-color: #404a39;
}

.creators::before,
.download::before {
	border-top: 1px solid #8a9282;
}

.buttons .btn,
.ivideo.btn,
.e404 .btn {
	cursor: pointer;
	padding: 6px 10px;
	font-size: 18px;
	border: 2px solid #8a9282;
	border-bottom-color: #272c21;
	border-right-color: #272c21;
}

.buttons .btn:active,
.btn.active,
.question:active,
.e404 .btn:active,
.ivideo.btn:active,
table .btn:active {
	background-color: #404a39;
	border: 2px solid #272c21;
	border-bottom-color: #8a9282;
	border-right-color: #8a9282;
}

section p {
	text-align: justify;
}

.images {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.images img {
	width: calc(25% - 14px);
	max-height: 180px;
}

.description,
.weapons,
.characters,
.mods {
	margin-bottom: 25px;
}

.download-btns {
	display: flex;
	justify-content: center;
	margin-top: 50px;
}
.download-btns a {
	font-size: 27px;
	padding: 8px 16px;
	margin-right: 13px;
	border: 4px solid #8a9282;
	border-bottom-color: #272c21;
	border-right-color: #272c21;
}

.download-btns a:before {
	content: '⠀ ';
	background-image: url(/img/download.png);
	background-size: 26px;
	background-repeat: no-repeat;
	background-position: center;
	transform: translateY(-50%);
	width: 26px;
	height: 26px;
	margin-right: 8px;
}
.download-btns a:last-child:before {
	background-size: 28px;
	background-image: url(/img/utorrent.png);
}

.download-btns a:active {
	background-color: #404a39;
	border: 4px solid #272c21;
	border-bottom-color: #8a9282;
	border-right-color: #8a9282;
}

.system_requirements,
.creators,
.lessons {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.requirements,
.creators div {
	display: flex;
	width: 100%;
	justify-content: center;
}
.requirements div {
	margin: 25px 40px;
	background-color: #404a39;
	padding: 25px 40px;
	border: 2px solid #8a9282;
}

.creators div figure {
	margin: 25px 80px;
}
.creators h3 {
	border: 0;
	padding: 0;
	width: 100%;
	text-align: center;
	margin-top: 8px;
	font-size: 29px;
	color: #9f9444;
}
.creators .question,
.creators .answer {
	max-width: 800px;
}
.creators .question h2,
.download .question h2 {
	font-size: 17px;
}

.creators .answer p,
.download .answer p {
	font-size: 14px;
}
.creators .answer p:not(:last-child),
.download .answer p:not(:last-child) {
	margin-bottom: 15px;
}

.requirements ul,
.cinfo ul,
.cinfo p {
	margin-left: 25px;
	list-style-type: disc;
}
.requirements li {
	margin-bottom: 8px;
	font-size: 17px;
}

.tags {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.tags span {
	font-size: 18px;
	margin: 3px 5px;
	padding: 3px 10px;
	background: rgba(50, 58, 46, 0.7);
}

.display {
	display: flex;
	align-items: center;
}

.display img {
	width: 30%;
	height: 100%;
}

table,
td,
th {
	background-color: #495341;
	text-align: left;
	border: 1px solid #272c21;
}

table {
	max-width: 1000px;
	width: 100%;
}

.weapons table {
	max-width: 600px;
}

td,
th {
	padding: 8px 15px;
	font-size: 17px;
	color: #dae0d4;
	background-color: #495341;
	border: 1px solid #323a2e;
}

th {
	font-weight: normal;
	background-color: #323a2e;
}

td img {
	height: 25px;
	display: block;
	margin: 0 auto;
}

table figure {
	display: flex;
	align-items: center;
}
table figure a {
	color: #dae0d4 !important;
	font-weight: bold;
}
.download table img {
	margin: 0;
	margin-right: 10px;
	width: 18px;
	height: 18px;
}

table .btn {
	font-size: 17px;
	padding: 2px 6px;
	border: 2px solid #8a9282;
	border-bottom-color: #272c21;
	border-right-color: #272c21;
	margin: 0;
}

.cinfo figure {
	display: flex;
}

.cinfo li {
	margin: 4px 25px;
}

.question {
	cursor: pointer;
	margin-bottom: 18px;
	position: relative;
	padding: 8px 15px;
	background-color: #495341;
	border: 2px solid #8a9282;
	border-bottom-color: #272c21;
	border-right-color: #272c21;
	user-select: none;
}
.question:hover {
	background-color: #404a39;
}
.question::after {
	content: '';
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid #dae0d4;
	position: absolute;
	top: 50%;
	transform: translateY(-50%) rotate(180deg);
	transition: 0.2s ease-in-out;
	right: 20px;
}
.answer {
	border: 1px solid #8a9282;
	margin-bottom: 18px;
	padding: 18px 15px;
	background-color: #323a2e;
	/*display: none;*/
}

.question.active::after {
	transform: translateY(-50%) rotate(0deg);
}

.answer p {
	margin: 0;
}

.big {
	cursor: zoom-in;
}

.e404 {
	z-index: 2;
	max-width: 1250px;
	display: flex;
	flex-direction: column;
	margin: 50px auto;
}

.e404 span {
	text-align: center;
	font-size: 35px;
}

.e404 figure {
	font-size: 200px;
	text-align: center;
}

.e404 div {
	padding: 30px;
	font-size: 28px;
}
.e404 p {
	margin: 8px;
	font-size: 18px;
	text-align: center;
}
.e404 .btn {
	margin: 0 auto;
	max-width: 400px;
	text-align: center;
}
.error {
	min-height: calc(100vh - 128px);
}

#big_img {
	transition: opacity 0.2s ease-in-out;
	z-index: 2000;
	top: 0;
	width: 100%;
	height: 100%;
	position: fixed;
	background-color: rgba(0, 0, 0, 0.7);
}
#big_img div {
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 10px;
	cursor: move;
}
#big_img_close {
	cursor: pointer;
	opacity: 0.5;
	transition: opacity 0.2s;
	position: absolute;
	top: 0px;
	right: 0px;
	font-size: 22px;
	background-color: #b9b7b8;
	border-radius: 50%;
	border: 1.5px solid #000;
	width: 28px;
	height: 28px;
}
#big_img_close:hover {
	opacity: 1;
}
#big_img img {
	border-radius: 5px;
	max-width: 100%;
}

.gallery {
	width: 100%;
	margin-top: 25px;
	display: flex;
	justify-content: space-around;
}
.iframe {
	max-width: calc(50% - 15px);
	width: 100%;
	margin-right: 15px;
	height: 350px;
}
.iframe {
	position: relative;
}
.iframe img,
iframe {
	width: 100%;
	height: 100%;
}
.iframe .load {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 68px;
	height: 48px;
	background: url(/img/youtube.png) no-repeat;
	cursor: pointer;
}

.ivideo {
	font-size: 16px;
	max-width: 450px;
	display: flex;
	align-items: center;
	margin: 15px 0;
}
.ivideo div {
	padding: 0 10px;
}
.ivideo span {
	color: #dae0d4;
	margin: 10px;
}
.ivideo p {
	margin: 10px;
	font-weight: normal;
}
.download .download-btns {
	margin: 25px 0;
	justify-content: left;
}

.download h3 {
	border: 0;
}

@media (max-width: 885px) {
	.display {
		flex-direction: column;
		top: 8%;
	}
	.display img {
		margin-top: 50px;
		width: 50%;
	}

	.creators div figure {
		margin: 25px 50px;
	}

	.iframe {
		max-width: 700px;
		width: 100%;
		height: 400px;
	}

	.gallery {
		flex-direction: column;
		align-items: center;
	}
}

@media (max-width: 800px) {
	.iframe {
		height: 350px;
	}
	.logo {
		font-size: 30px;
	}

	nav {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	header ul {
		max-width: 100%;
		white-space: nowrap;
		overflow-x: scroll;
		padding: 15px 0;
	}

	ul li::after {
		content: '' !important;
		margin: 0;
	}

	header {
		padding-bottom: 0;
	}

	main {
		height: calc(100vh - 90px);
	}

	.creators div figure {
		margin: 25px 25px;
	}
}

@media (max-width: 662px) {
	.content {
		font-size: 25px;
	}

	.content p {
		font-size: 22px;
	}

	h1 {
		font-size: 50px !important;
	}

	.requirements,
	.creators div {
		flex-direction: column;
	}
	.images {
		flex-wrap: wrap;
	}
	.images img {
		width: calc(50% - 8px);
		margin-bottom: 8px;
	}
	.creators div figure {
		display: flex;
		flex-direction: column;
	}
}

@media (max-width: 604px) {
	.cinfo figure {
		flex-direction: column;
	}

	.content {
		top: 50px;
	}

	.content div:last-child {
		display: flex;
		flex-direction: column;
	}

	.btn {
		font-size: 35px;
		padding: 8.5px 17.5px;
		margin-bottom: 10px;
		color: #aea24a !important;
	}

	video,
	main::after {
		display: none;
	}

	.tags span {
		background: rgba(73, 83, 65, 0.7);
	}

	.original,
	.russian,
	.bots {
		background-image: none;
	}

	.download-btns {
		flex-direction: column;
	}
}

@media (max-width: 480px) {
	.download table,
	.hide480 {
		display: none;
	}

	.iframe {
		height: 300px;
	}
	.images img {
		width: 100%;
		margin-bottom: 15px;
	}

	.buttons {
		font-size: 30px;
	}

	.requirements div {
		margin: 10px;
	}
	.section h3 {
		font-size: 22px;
	}
}
