body { background: #262626; }

h1 {
	color: #e8e8e8;
	font: bold 26px sans-serif;
}

h2 {
	color: #e8e8e8;
	font: 22px sans-serif;
}

h3 {
	color: #e8e8e8;
	font: 18px sans-serif;
}

footer h5 { font: 14px sans-serif; color: #dcd9e9; }

#a4 ul li a {
	background: #404040;
	color: #fcfcfc;
	display: block;
	font: bold 20px sans-serif;
	padding: 10px 15px;
	text-align: center;
	text-decoration: none;
	line-height: 1.3em;
	text-transform: uppercase;
	height: 50px;
	box-sizing: border-box;
}

#a4 ul li ul {
	position: absolute;
	top: 36px;
	left: 0px;
	display: none;
	width: 200px;
	background: #404040;
}

#a4 ul {
	position: relative;
	display: block;
	margin: 0px;
	padding: 0px;
	width: 100%;
	height: auto;
	list-style: none;
}

#a4>ul::after {
	display: block;
	width: 100%;
	height: 0px;
	clear: both;
	content: " ";
}

#a4 ul li {
	position: relative;
	display: block;
	float: left;
	width: auto;
	height: auto;
}

#a4 ul li:hover ul {
	display: block;
}

.block-title h1 a:hover {
	text-decoration: underline;
	/*transform: scale(1.03);*/
}

.block-title h1 a {
	transition: .02s;
}

.block a img:hover {
	box-shadow: 0px 1px 1px #b2b2b2;

	-webkit-box-shadow: 0px 0px 1px 3px rgba(212, 212, 212, 1);
	-moz-box-shadow: 0px 0px 1px 3px rgba(212, 212, 212, 1);
	box-shadow: 0px 0px 1px 3px rgba(212, 212, 212, 1);
}

.block a:hover {
	transform: scale(1.03);
}

.block a img {
	transition: .1s;
	transition: all .5s ease;
}

.block {
	width: 400px;
	margin: 5px;
	border-radius: 12px;
	box-shadow: 0px 1px 1px #b2b2b2;
	display: inline-block;

	-webkit-box-shadow: 3px 3px 9px -3px rgba(0, 0, 0, 0.75);
	-moz-box-shadow: 3px 3px 9px -3px rgba(0, 0, 0, 0.75);
	box-shadow: 3px 3px 9px -3px rgba(0, 0, 0, 0.75);
}

.block-title h1 a {
	color: #e8e8e8;
	font-weight: 600;
	margin: 10px;
	margin-top: 0;
	float: left;
	text-decoration: none;
	transition: 0.5s;
}

.block-title h1 a:hover {
	color: #c2c2c2;
}

#a4 {
	position: relative;
	display: block; width: 100%;
	height: auto;
	z-index: 10;
}

.pageheader {
	/*position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 0px;*/

	height: 50px;
	margin-top: 50px;
	margin-bottom: 10px;
}

.button {
	text-decoration: none;
	display: inline-block;
	color: white;
	padding: 20px 30px;
	margin: 10px 20px;
	border-radius: 10px;
	/*font-family: 'Montserrat', sans-serif;*/
	font: bold 16px sans-serif;
	/*font-size: 16px;*/
	text-transform: uppercase;
	letter-spacing: 2px;
	background-image: linear-gradient(to right, #9EEFE1 0%, #4830F0 51%, #9EEFE1 100%);
	background-size: 200% auto;
	box-shadow: 0 0 20px rgba(0, 0, 0, .1);
	transition: .5s;
}

.button:hover {
	background-position: right center;
}

h2 a {
	color: #a2a1e9;
	font: 22px sans-serif;
	transition: 0.5s;
	text-underline-offset: 4px;
}

h2 a:hover {
	text-decoration: none;
	color: #908ee2;
	text-decoration: underline;
	text-underline-offset: 5px;
}

footer a, .links a, .link {
	color: #a2a1e9;
	font: 18px sans-serif;
	text-underline-offset: 3px;
	transition: 0.5s;
	text-decoration: none;
}

footer a:hover, .links a:hover, .link:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
	color: #908ee2;
}

.links a { margin: 8px; display: block; }

.textblock {
	padding: 10px 15px;
	margin: 3% 45% 1 10%;
	background-color: #4a4a4a;
	color: #fff;
	font-size: 22px;
	margin-bottom: 24px;

	display: inline-block; cursor: pointer; overflow: hidden; transition: .2s;

	border-radius: 12px;

	-webkit-box-shadow: 3px 3px 9px -3px rgba(0, 0, 0, 0.75);
	-moz-box-shadow: 3px 3px 9px -3px rgba(0, 0, 0, 0.75);
	box-shadow: 3px 3px 9px -3px rgba(0, 0, 0, 0.75);
}

.textblock:hover {
	-webkit-box-shadow: 3px 3px 12px 0px rgba(0, 0, 0, 0.75);;
	-moz-box-shadow: 3px 3px 12px 0px rgba(0, 0, 0, 0.75);;
	box-shadow: 3px 3px 12px 0px rgba(0, 0, 0, 0.75);;
}

.video iframe {
	border-radius: 12px;
	-webkit-box-shadow: 3px 3px 9px -3px rgba(0, 0, 0, 0.75);
	-moz-box-shadow: 3px 3px 9px -3px rgba(0, 0, 0, 0.75);
	box-shadow: 3px 3px 9px -3px rgba(0, 0, 0, 0.75);
}

#blockw {
	margin-bottom: 40px;
	margin-top: 40px;
}

#blockw h1 {
	margin-top: -20px;
}

body::-webkit-scrollbar {
	width: 10px;
}

body::-webkit-scrollbar-track {
	background-color: #404040
}

body::-webkit-scrollbar-thumb {
	background-color: #cccccc;
	border-radius: 15px;
}

body::-webkit-scrollbar-thumb:hover {
	background-color: #ababab;
}

*::selection {
	background-color: #246caf;
	color: #dbdbdb;
}



@media (max-width: 1335px) {
	ul li a {
		font-size: 15px;
	}
}

@media (max-width: 1314px) {
	header nav ul li a {
		font-size: 15px;
		padding: 10px;
	}
}

@media (max-width: 1220px) {
	.imgscreen img {
		width: 90%;
	}
}

@media (max-width: 1200px) {
	h2 {
		font: 18px sans-serif;
	}

	h2 .textblock {
		font: 18px sans-serif;
	}

	h2 .textblock a {
		font: 18px sans-serif;
	}

	h1 {
		font: 18px sans-serif;
	}

	h2 a {
		font: 18px sans-serif;
	}
}

@media (max-width: 838px) {
	.block {
		width: 97%;
	}
}

#snow {
	position: fixed;
	width: 100%;
	height: 100vh;
	z-index: -1;
}

#jsgame {
	width: 80%;
	height: 600px;
}

.all {
	margin-left: auto;
	margin-right: auto;
	justify-content: center;
	align-items: center;
	text-align: center;
	width: 80%;
	margin-top: 35px;
	margin-bottom: 50px;
}

footer {
	margin-top: auto;
    display: block;
    width: 100%;
	text-align: center;
}

.wrapper { display: flex; flex-direction: column; min-height: 100vh; }

#comments { margin-bottom: 50px; }

.tbcontent { max-height: 0; transition: max-height 0.2s ease-out; }
