/* main */
	@font-face {
		font-family: segoe;
		src: url('font/segoeui.ttf') format('truetype');
	}
	html, body {
		width: 100%;
		padding: 0;
		margin: 0;
	}
	body {font: 16px arial;}
	* {
		box-sizing: border-box;
		outline: none;
	}
	.wrapper {
		max-width: 1200px;
		min-height: 100%;
		margin: 0 auto;
		z-index: 1;
	}
	p {margin: 0 0 10px;}
	a, .window-link {
		text-decoration: underline;
		text-decoration-style: dotted;
		cursor: pointer;
	}
	a:hover, .window-link:hover {text-decoration-style: solid;}
/* main end */

/* header */
	.header {
		position: relative;
		padding: 200px 0 50px;
		font-size: 37px;
		text-align: center;
	}
	.header::before, .header::after {
		content: '';
		display: block;
		position: absolute;
	}
	.header::before {
		top: 40px;
		right: 0;
		width: 345px;
		height: 486px;
		background: url('img/dragon.png') no-repeat;
	}
	.header::after {
		bottom: 0;
		left: 0;
		width: 307px;
		height: 411px;
		background: url('img/cat.png') no-repeat;
	}
	.header p {
		position: relative;
		left: -30px;
		max-width: 400px;
		margin: 10px auto;
	}
	.header p:nth-of-type(1) {
		font-size: 50px;
		margin-bottom: 60px;
	}
	.header p:nth-of-type(2) {text-align: left;}
	.header p:nth-of-type(3) {text-align: right;}
	.header p:nth-of-type(4) {margin-top: 60px;}
	.header p i {margin-left: 5px;}
/* header end */

/* footer */
	.contacts {
		position: relative;
		height: 800px;
		background: url('img/rock.jpg') bottom center no-repeat;
		background-size: 100% auto;
	}
	@media (max-width: 1200px) {.contacts {height: 66vw;}}
	.contacts div {
		position: absolute;
		left: 50px;
		bottom: 10%;
		z-index: 1;
		font-size: 28px;
	}
	.contacts p {
		margin: 10px 0 0 20px;
		font-size: 20px;
	}
	@media (max-width: 600px) {
		.contacts div {
			left: 40px;
			font-size: 18px;
		}
		.contacts p {
			margin: 5px 0 0 0;
			font-size: 14px;
			opacity: 0.8;
		}
	}
	@media (max-width: 450px) {.contacts div {bottom: 5%;}}
	.background {position: relative;}
	.background > div {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		overflow: hidden;
	}
	.background > div > div {
		position: absolute;
		width: 100%;
		height: 500px;
		transform: skewY(10.3deg);
		left: 0;
		bottom: -229px;
		box-shadow: 0 0 1px;
		z-index: -1;
	}
	@media (max-width: 1200px) {.background {display: none;}}
/* footer end */

/* popup windows */
	.window, .window-content {display: none;}
	.window {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		padding: 20px;
		z-index: 9;
	}
	.window-content {
		max-width: 600px;
		max-height: calc(100vh - 40px);
		padding: 20px;
		border-radius: 20px;
		margin: 0 auto;
		overflow: auto;
	}
	.window-close {
		float: right;
		width: 30px;
		height: 30px;
		border: 2px solid;
		border-radius: 50%;
		margin: -10px -10px 10px 10px;
		line-height: 27px;
		text-align: center;
		opacity: 0.4;
		transition: 0.4s;
		cursor: pointer;
	}
	.window-close:hover {opacity: 0.7;}
	.window-close::after {content: '✖';}
	.window img {
		display: block;
		max-width: 100%;
		margin: 20px auto;
		border: 10px solid;
	}
	.window-button {
		width: 100px;
		padding: 5px;
		border: 2px solid;
		margin: 0 auto 20px;
		text-transform: uppercase;
		text-align: center;
		font-weight: bold;
		opacity: 0.4;
		transition: 0.4s;
		cursor: pointer;
	}
	.window-button:hover {opacity: 0.7;}
	.mp3 {
		display: inline-block;
		margin: 0 10px -6px 0;
		vertical-align: bottom;
		font-size: 24px;
	}
	.mp3::after {content: '♫';}
/* popup windows end */

/* content blocks buttons */
	.deeds {
		display: flex;
		width: 100%;
		flex-wrap: wrap;
		margin: 50px 0;
	}
	.deeds-block {
		display: flex;
		width: 33.33%;
		padding: 10px;
	}
	.deeds-block > div {
		width: 100%;
		max-width: 350px;
		padding: 15px;
		border: 2px solid;
		border-radius: 20px;
		margin: 0 auto;
	}
	.deeds-block-header {
		margin: 10px 0 20px;
		font-size: 20px;
		text-transform: uppercase;
		text-align: center;
	}
	.deeds-block-header + p {text-align: center;}
	.deeds-block-list + p {max-width: calc(100% - 85px);}
	.deeds-block[data-id="deeds-web"] > div {background: url('img/web.png') 97% 90% no-repeat;}
	.deeds-block[data-id="deeds-roleplay"] > div {background: url('img/roleplay.png') bottom right no-repeat;}
	.deeds-block[data-id="deeds-craft"] > div {background: url('img/craft.png') bottom right no-repeat;}
/* content blocks buttons end */

/* content blocks text */
	.deeds-text {
		display: none;
		width: 100%;
		padding-top: 35px;
		border-top: 1px solid;
		margin: 50px 25px 0;
	}
	.deeds-text.active {display: block;}
	.deeds-text-header {
		text-transform: uppercase;
		font-weight: bold;
		margin-top: 20px;
	}
	.deeds-text-blocks {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
		margin-bottom: 40px;
	}
	.deeds-text-block {
		display: flex;
		width: 33.33%;
		padding: 10px;
	}
	.deeds-text-block > div {
		position: relative;
		padding: 15px 25px 90px;
		border: 2px dashed;
		border-radius: 20px;
		margin: 0 auto;
		overflow: hidden;
	}
	.deeds-text-block:nth-of-type(2) > div::after {
		content: 'Best';
		display: block;
		position: absolute;
		top: 50px;
		right: -5px;
		width: 100px;
		transform: rotate(45deg);
		text-align: center;
		transform-origin: bottom right;
		text-transform: uppercase;
		letter-spacing: 1px;
		font-size: 14px;
	}
	.deeds-text-blocks > p {
		width: 100%;
		margin: 10px 20px;
		opacity: 0.5;
	}
	.deeds-text-block-header {
		text-transform: uppercase;
		font-weight: bold;
		margin-bottom: 15px;
	}
	.deeds-text-block p {opacity: 0.6;}
	.deeds-text-block ul {
		padding-left: 15px;
		margin: 0;
		opacity: 0.9;
	}
	.deeds-text-block-price {
		position: absolute;
		left: 25px;
		bottom: 15px;
	}
	.deeds-text-img {
		float: right;
		margin: 20px 0 0 20px;
		opacity: 0.8;
	}
	.deeds-text-images img {
		margin: 13px;
		opacity: 0.6;
		transition: 0.4s;
	}
	.deeds-text-images img:hover {opacity: 1;}
	.deeds-text-separator {
		clear: both;
		border-top: 1px solid;
	}
/* content blocks text end */

/* colors */
	body {
		background: #000;
		color: #b7c9cd;
	}
	a, .window-link {color: #b7c9cd;}
	a:hover, .window-link:hover {
		color: #00afff;
		text-decoration-color: #1b4278;
	}
	.mp3 {color: #46acff;}
	.window {background: #000c;}
	.window-content {
		background: #eee;
		color: #222;
	}
	.window-content a {color: #222;}
	.window-content a:hover {
		color: #2c4077;
		text-decoration-color: #91a0c8;
	}
	.window img {border-color: #fff;}
	.header p:first-of-type span:nth-of-type(1) {color: #023cc9;}
	.header p:first-of-type span:nth-of-type(2) {color: #004ed7;}
	.header p:first-of-type span:nth-of-type(3) {color: #0062d7;}
	.header p:first-of-type span:nth-of-type(4) {color: #0076d7;}
	.header p:first-of-type span:nth-of-type(5) {color: #278cd1;}
	.header p:first-of-type span:nth-of-type(6) {color: #4297d1;}
	.header p:first-of-type span:nth-of-type(7) {color: #4fb3e0;}
	.header p:first-of-type span:nth-of-type(8) {color: #4fb3e0;}
	.header p:first-of-type span:nth-of-type(9) {color: #73d9f5;}
	.header p:first-of-type span:nth-of-type(10) {color: #93ebfd;}
	.header p:first-of-type span:nth-of-type(11) {color: #80e9ff;}
	.header p:first-of-type span:nth-of-type(12) {color: #d9f8ff;}
	.header p:first-of-type span:nth-of-type(13) {color: #fff;}
	.header p:nth-of-type(2) span {color: #85e5ff;}
	.header p:nth-of-type(3) span {color: #ffbf94;}
	.contacts div, .contacts a {color: #000;}
	.contacts a:hover {
		color: #2c4077;
		text-decoration-color: #91a0c8;
	}
	.background > div > div {background: #fff;}
	.deeds-block > div, .deeds-text-block > div {border-color: #242d36;}
	.deeds-block.active > div {
		border-color: #0a9af5;
		box-shadow: 0 0 5px #70cee9 inset;
	}
	.deeds-block > div:hover {
		box-shadow: 0 0 5px #70cee9 inset;
		cursor: pointer;
	}
	.deeds-block.active > div:hover {cursor: default;}
	.deeds-text, .deeds-text-separator {border-top-color: #242d36;}
	.color-green {color: #6ac46e;}
	.color-red {color: #ca3333;}
	.deeds-text-block:nth-of-type(1) .deeds-text-block-header {color: #278cd1;}
	.deeds-text-block:nth-of-type(2) .deeds-text-block-header {color: #73d9f5;}
	.deeds-text-block:nth-of-type(3) .deeds-text-block-header {color: #d9f8ff;}
	.deeds-text-block:nth-of-type(2) > div::after {
		background: #ff9100;
		color: #000;
	}
/* colors end */

/* mobile */
	@media (max-width: 1200px) {.deeds-text-images img {width: calc(20vw - 40px);}}
	@media (max-width: 900px) {
		.header {
			padding: 70px 0 20px;
			font-size: 25px;
		}
		.header::before {
			top: 10px;
			right: 10px;
			width: 170px;
			height: 239px;
			background-size: 100%;
		}
		.header::after {
			bottom: 0;
			left: 10px;
			width: 150px;
			height: 201px;
			background-size: 100%;
		}
		.header p {
			left: 0;
			max-width: 250px;
		}
		.header p:nth-of-type(1) {
			font-size: 30px;
			margin-bottom: 20px;
		}
		.header p:nth-of-type(4) {margin-top: 20px;}
	}
	@media (max-width: 700px) {
		.deeds-text-block, .deeds-text-block > div, .deeds-block, .deeds-block > div {width: 100%;}
		.deeds-block ul, .deeds-block p {display: none;}
		.deeds-block > div {background-size: auto 95% !important;}
		.deeds-text {
			padding-top: 0;
			border-top: 0 none;
		}
		.deeds-block.active .deeds-block-header + p {
			display: block;
			margin: -12px 0 0;
			opacity: 0.5;
		}
		.deeds-text-images img {
			width: calc(20vw - 14px);
			margin: 13px 0;
			opacity: 0.8;
		}
		.deeds-text-images img:hover {opacity: 0.8;}
	}
	@media (max-width: 500px) {
		.header {
			padding: 20px 22px 5px;
			font-size: 20px;
		}
		.header::before {
			top: 5px;
			right: 5px;
			width: 90px;
			height: 127px;
			background-size: 100%;
		}
		.header::after {
			bottom: 0;
			left: 5px;
			width: 85px;
			height: 114px;
			background-size: 100%;
		}
		.header p {max-width: 100%;}
		.header p:nth-of-type(1) {text-align: left;}
		.header p:nth-of-type(2) {left: 90px;}
		.header p:nth-of-type(3) {left: -70px;}
		.deeds {margin: 20px 0;}
		.deeds-block {
			height: 97px;
			padding: 5px 10px;
		}
		.deeds-block[data-id="deeds-craft"] > div .deeds-block-header {margin-top: 5px;}
		.deeds-text {margin-top: 25px;}
	}
	@media (max-width: 400px) {.deeds-text-img {width: 150px;}}
/* mobile end */