@font-face {
    font-family: 'Minecraft';
    src: url('/libs/font/minecraft.ttf');
}

.container {
	max-width: auto;
	margin: 0 auto;
}

.toggle-control {
	display: none;
}

.error {
	width: inherit;
}

.note-editor {
	white-space: pre-line;
	outline: none;
	border: 1px dashed;
	padding: 5px;
	border-radius: 5px;
	margin-bottom: 25px;
}

.note-items {
	display: flex;
	text-align: center;
	justify-content: space-evenly;
	flex-wrap: wrap;
}

.note-items a {
	background-color: #dfdfdf;
	box-shadow: 15px 15px 15px #0000009c;
	border-radius: 15px;
	width: auto;
	height: auto;
	padding: 30px;
	text-decoration: none;
	color: black;
	-webkit-transition: all .3s linear;
	margin: 20px 30px 40px 30px;
}

.note-items a:hover {
	background-color: #bbbbbb;
	-webkit-transition: all .3s linear;
	transform: perspective(612px) rotateX(7deg) rotateY(7deg) rotate(0deg);
}

.note-create {
	justify-content: center;
}

.note-buttons {
	justify-content: space-between;
	display: flex;
	padding: 10px;
}

input.toggle-control + label {
	position: relative;
	vertical-align: middle;
	display: inline-block;
	width: 40px;
	height: 20px;
	background: #ddd;
	border-radius: 60px;
	cursor: pointer;
	outline: none;
	user-select: none;
}

input.toggle-control + label::before, input.toggle-control + label::after {
	display: inline-block;
	position: absolute;
	top: 1px;
	left: 1px;
	bottom: 1px;
	right: 1px;
	vertical-align: middle;
	content: '';
	transition: all 0.4s;
}

input.toggle-control + label::before {
	background: #f1f1f1;
	border-radius: 60px;
}

input.toggle-control + label::after {
	width: 18px;
	background: #fff;
	border-radius: 100%;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

input.toggle-control:checked + label::before {
	background: #34c85a;
}

input.toggle-control:checked + label::after {
	margin-left: 20px;
}

.noselect {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.nomove {
	pointer-events: none;
}

br {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
}

::-webkit-scrollbar {
	display: none;
}

body {
	background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(/libs/images/background.webp);
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
	width: 100%;
	height: 100%;
	-ms-overflow-style: none;
	scrollbar-width: none;
	overflow: -moz-scrollbars-none;
	scrollbar-width: none;
	font-family: "Minecraft";
}

.main {
	margin-left: 15%;
	margin-right: 15%;
}

.name {
	margin-left: 15%;
	margin-right: 15%;
	margin-top: 3%;
	text-align: center;
	font-size: 8vw;
	color: white;
}

.name img {
	width: 70%;
}

.links {
	padding: 15px;
	margin-top: 1%;
	background-color: #3f5373;
	border-radius: 5px 5px 0 0;
}

.links li {
    display: inline-block;
    position: relative;
}

.links-item {
	margin-right: 3px;
	text-decoration: none;
	color: white;
	transition: all 0.3s;
	text-transform: uppercase;
	padding: 15px;
	border-radius: 3px 3px 3px 3px;
	display: inline-block;
}

.links-item:hover {
	margin-right: 3px;
	text-decoration: none;
	color: white;
	transition: all 0.3s;
	text-transform: uppercase;
	padding: 15px;
	border-radius: 3px 3px 3px 3px;
	display: inline-block;
	background-color: rgba(255, 255, 255, 0.2);
}

.links-item-active {
	background-color: rgba(255, 255, 255, 0.2);
}

.links-titles-dropdown {
    position: relative;
}

.links-titles-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    height: 6px;
    width: 100%;
    display: block;
}

.links-titles-dropdown-content {
    display: block;
    position: absolute;
	min-width: max-content;
	background-color: #3f5373;
	margin-top: 6px;
    opacity: 0;
    visibility: hidden;
	transition: opacity 0.5s, visibility 0.5s, margin-top 0.5s;
	z-index: 1;
}

.links-titles-dropdown-content:hover {
	background-color: #65758f;
}

.links-titles-dropdown-content-active {
	background-color: #65758f;
}

.links-titles-dropdown:hover .links-titles-dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
}

.content {
	padding: 2% 1% 1% 1%;
	overflow: hidden;
	background-color: white;
	border-radius: 0 0 5px 5px;
    width: 100%;
    word-wrap: break-word;
	font-size: 100%;
}

.footer {
	float: left;
	width: 100%;
	background-color: white;
	font-size: 130%;
	text-align: center;
}

.footer a {
	padding: 0 35px;
}

.underline a {
	display: inline-block;
	color: black;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	opacity: 1;
}

.underline a:after {
	background-color: black;
	display: block;
	content: "";
	height: 2px;
	width: 0%;
	-webkit-transition: width .3s ease-in-out;
	-moz--transition: width .3s ease-in-out;
	transition: width .3s ease-in-out;
}

.underline a:hover:after, .underline a:focus:after {
	width: 100%;
}

.cards-category {
	text-align: center;
	padding-top: 20px;
}

.cards {
	position: relative;
	text-align: center;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    max-height: calc((450px + 20px) * 2);
    overflow-y: scroll;
    justify-content: center;
	align-items: baseline;
}

.card {
	position: relative;
	cursor: pointer;
	text-align: center;
	width: min-content;
	padding: 12px 5px;
	max-width: 195px;
}

.card p {
	position: absolute;
	font-weight: bold;
	color: white;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.card p:first-of-type {
	transform: translate(-50%, -50%);
	margin-top: 50%;
	margin-left: 50%;
	z-index: 1;
}

.card:hover p:first-of-type {
	opacity: 1;
	visibility: visible;
}

.card p:last-of-type {
	position: relative;
	color: black;
	margin-top: 10px;
	opacity: 1;
	visibility: visible;
}

.card img {
	height: 275px;
	width: 185px;
	border-radius: 15px;
	object-fit: fill;
	object-position: center;
	transition: all 0.3s ease;
	border: double 1em transparent;
	border-width: 0;
	background-origin: border-box;
	background-clip: content-box, border-box;
}

.card-great img {
	border-width: 5px;
	background-image: linear-gradient(white, white), linear-gradient(to right, #23bfe8, #00ff66);
}

.card-best img {
	border-width: 5px;
	background-image: linear-gradient(white, white), linear-gradient(to right, #ffff00, #dd2929);
}

.card:hover img {
	filter: brightness(70%);
	transform: perspective(612px) rotateX(7deg) rotateY(7deg) rotate(0deg);
}

.mark-table {
	min-width: 100%;
	font-size: 20px;
}

.mark-tr {
	-webkit-transition: all .3s linear;
	border: 3px solid #000;
}

.mark-tr-danger {
	color: red;
}

.mark-tr:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.mark-td {
	padding: 15px;
	border: 0px;
}

/* Для результатов скриптов по типу маппингов или получения голов... */
.result {
	overflow: auto;
}

.scare {
	display: none;
}

video#video {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

video#video::-webkit-media-controls-enclosure {
	display:none !important;
}

@media (max-width:1024px) {
	.underline {
		font-size: 80%;
	}

	.links {
		text-align: center;
		padding: 9px;
	}

	.links-item {
		padding: 8px;
		font-size: 60%;
	}

	.links-item:hover {
		padding: 8px;
		font-size: 60%;
	}

	.searchhash {
		width: 150px;
    }

	.main {
		margin-left: 5%;
		margin-right: 5%;
	}
}