* {
	margin: 0;
	padding: 0;
}

html {
	background-color: #202020;
}

.a-donat {
	color: rgb(218, 138, 103);
	font-size: 26px;
	padding: 15px 30px;
	text-decoration: none;
	font-weight: bold;
	display: block;
	text-align: center;
	font-family: NeoSans, 'NeoSans';
}
.a-donat:hover {
	color: white;
} 

.catalog {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: center;
}
.catalog DIV {
	text-align: center;
	display: inline-block;
	vertical-align: top;
}

.center {
	display: flex;
	justify-content: center;
}

h1 {
	color: white;
	font-family: NeoSans, 'NeoSans';
	font-size: 20px;
	text-align: center;

	margin: 20px;
}
h2 {
	color: white;
	font-family: Gill Sans Extrabold, sans-serif;
	font-size: 18px;
	text-align: left;

	margin-left: 20px;
	margin-top: 20px;
	margin-bottom: 5px;
}

.info-block {
	background-color: #333333;
	border-radius: 30px;
}

.li {
	margin-left: 50px;
}

.link-block {
	background-color: #333333;
	border-radius: 30px;

	margin: 10px;
	padding: 5px;
}

.main-sub {
	color: white;
	font-family: NeoSans,  'NeoSans';
	text-align: center;
	font-size: 18px;

	margin: 20px;
}

.main-text {
	color: white;
	font-family: NeoSans, 'NeoSans';
	text-align: center;

	margin: 20px;
}

.main-mono {
	color: rgb(218, 138, 103);
	font-family: 'Courier New', Courier, monospace;
	text-align: center;
	font-weight: 700;
}

.osob {
	color: white;
	font-family: NeoSans, 'NeoSans';

}

.rule {
	color: white;
	font-family: Gill Sans Extrabold, sans-serif;
	font-size: 17px;
	text-align: left;

	margin-left: 20px;
	margin-top: 8px;
	white-space: pre-wrap;
}

.rule-block {
	background-color: #333333;
	border-radius: 30px;
}

.wiki-text {
	color: white;
	font-family: Gill Sans Extrabold, sans-serif;
	font-size: 17px;
	text-align: left;

	margin-left: 20px;
}

#navbar {
	list-style-type: none;
	border: 2px solid #202020;
	background-color: #333333;
	text-align: center;
	
	border-radius: 0px 0px 30px 30px;
}

#navbar li {
	display: inline;
}

#navbar a {
	color: rgb(218, 138, 103);
	font-size: 26px;
	padding: 15px 30px;
	text-decoration: none;
	font-weight: bold;
	display: inline-block;

	font-family: NeoSans, 'NeoSans';
}

#navbar a:hover {
	color: white;
}

.transition {
	transition: 0.5s;
}

#footer {
	list-style-type: none;
	border: 2px solid #202020;
	background-color: #333333;
	text-align: center;
	
	border-radius: 30px 30px 0px 0px;
}

#footer li {
	display: inline;
}

#footer a {
	color: rgb(218, 138, 103);
	font-size: 13px;
	padding: 15px 30px;
	width: 20%;
	text-decoration: none;
	font-weight: bold;
	display: inline-block;

	font-family: NeoSans, 'NeoSans';
}


@media screen and (min-width: 1153px) {
	textarea {
		width:400px;
	}

	.catalog DIV {
		margin: 28.824px;
		width: 25%;
	}

	.info-block {
		width: 60%;
		margin: 50px;
	}

	.main-text {
		font-size: 25px;
	}

	.osob {
		font-size: 19px;
		margin: 5px;
	}

	.rule-block {
		margin: 25px;
		padding: 5px;
		width: 40%;
	}

	.wiki {
		display: inline-block;
		width: 60%;
	}

	#navbar img {
		height: 22px;
	}
}

@media screen and (min-width: 641px) and (max-width: 1152px) {
	textarea {
		width:350px;
	}

	.catalog DIV {
		margin: 25px;
		width: 31%;
	}

	.info-block {
		width: 79%;
		margin: 40px;
	}

	.main-text {
		font-size: 24px;
	}

	.osob {
		font-size: 18px;
		margin: 4px;
	}

	.rule-block {
		margin: 15px;
		padding: 3px;
		width: 42%;
	}

	.wiki {
		display: inline-block;
		width: 85%;
	}

	#navbar a {
		font-size: 23px;
		padding: 15px 7.1px;
	}

	#navbar img {
		height: 22px;
		vertical-align: top;
	}
}


@media screen and (max-width: 640px) {

	html {
		min-width:352px;
	}

	textarea {
		width:300px;
	}

	.catalog DIV {
		margin: 20px;
		width: 37%;
	}

	.info-block {
		width: 98%;
		margin: 10px;
	}

	.main-text {
		font-size: 23px;
	}

	.osob {
		font-size: 17px;
		margin: 3px;
	}

	.rule-block {
		margin: 10px auto;
		padding: 2px auto;
		width: 98%;
		float: none !important;
	}

	.wiki {
		display: inline-block;
		width: 98%;
	}

	#navbar {
		border-radius: 0px 0px 15px 15px;
	}

	#navbar a {
		font-size: 17px;
		padding: 10px 0.8px;
	}

	#navbar img {
		display: none;
	}
}
