/*@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans+Pinstripe:ital@0;1&family=Poiret+One&display=swap');*/
/*@import url('https://fonts.googleapis.com/css2?family=Poiret+One&display=swap');*/
@font-face {
	font-family: 'Alumni Sans Pinstripe';
	src: url('/assets/fonts/Alumni_Sans_Pinstripe/AlumniSansPinstripe-Regular.ttf');
}
:root {
	--color-main: #b96994;
	--color-main-2: #635;
	--color-second: #2b747e;
	--color-second-2: #29434D;
	--text-color-main: #f6f0f5;
	--text-color-second: #f3c9cd;
	--color-bg-dark: #171420;
	--color-bg-light: #878490;
	--color-darker: #000;
	--color-transparent-dark: rgba(23, 20, 32, 0.8);
	--grad-main: linear-gradient(153deg, var(--color-main) 31%, var(--color-main-2) 84%);
	--grad-second: linear-gradient(153deg, var(--color-second) 31%, var(--color-second-2) 84%);
	--width-extra: 1322px;
}
*, *::before, *::after {
	box-sizing: border-box;
}
body {
	padding: 0;
	margin: 0;
	background-color: var(--color-bg-dark);
	background-image: url("/assets/images/nrt_logo_s_10.png");
	font-family: "Alumni Sans Pinstripe", monospace;
	font-weight: 400;
	font-style: normal;
	font-size: 30px;
	font-stretch: normal;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
input,
select,
select option {
	font-family: "Alumni Sans Pinstripe", monospace;
}
.main {
	position: relative;
	min-height: 200px;
	max-width: 900px;
	margin: 0 auto;
	box-shadow: 0 0 10px 1px var(--color-darker);
	border-radius: 2px;
	overflow: visible;
	background-color: var(--color-bg-dark);
}
.main.extra-width{
	max-width: var(--width-extra);
}
.header {
	padding: 0;
	/*background-color: var(--color-main);*/
	background: var(--color-main);
	background: var(--grad-main);
	color: var(--text-color-main);
	position: relative;
}
.header::after {
	display: block;
	position: absolute;
	content: '';
	background-image: url("/assets/images/mokhnoril-nrt-big.png");
	background-repeat: no-repeat;
	background-position: 30px 35px;
	width: 10%;
	height: 70%;
	bottom: 0;
	right: 0;
	background-size: 100%;
	z-index: 0;
	pointer-events: none;
	opacity: 0.3;
}
.content{
	padding: 0;
	background-color: var(--color-second);
	color: var(--text-color-second);
}
.footer {
	padding: 20px;
	/*background-color: var(--color-main);*/
	background: var(--color-main);
	background: var(--grad-main);
	color: var(--text-color-main);
	text-align: right;
	position: relative;
	border-bottom-right-radius: 2px;
	border-bottom-left-radius: 2px;
}
.header::before,
.footer::before {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-image: radial-gradient(circle at center, var(--text-color-main) 0.1px, transparent 1px);
	background-size: 8px 8px;
	opacity: 0.1;
	pointer-events: none;
	content: '';
}
.footer span {
	margin-right: 0;
	transition: ease 0.2s;
}
.footer span:hover {
	margin-right: 550px;
}
#ajax-content {
	display: block;
	position: relative;
}
#ajax-content img{
	display: block;
	position: relative;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0;
}
h1 {
	padding: 10px 20px 5px 20px;
}
h3 {
	padding: 5px 20px 5px 20px;
}
/* knopochki */
.header .reset-progress {
	text-decoration: none;
	cursor: pointer;
	display: block;
	position: absolute;
	right: 10px;
	top: 20px;
	opacity: 0.6;
	width: 40px;
	height: 40px;
	background-image: url("/assets/images/broom.png");
	background-size: cover;
}
.header .reset-progress:hover {
	opacity: 0.8;
}
.header .reload-fast {
	text-decoration: none;
	cursor: pointer;
	display: block;
	position: absolute;
	right: 60px;
	top: 20px;
	opacity: 0.6;
	width: 40px;
	height: 40px;
	background-image: url("/assets/images/skip2.png");
	background-size: cover;
}
.header .reload-fast:hover {
	opacity: 0.8;
}
.footer .size-button {
	text-decoration: none;
	cursor: pointer;
	font-size: 200%;
	display: block;
	position: absolute;
	left: 20px;
	top: 20px;
	padding: 5px;
	border: 1ps solid var(--color-second);
	opacity: 0.4;
	background-image: url("/assets/images/expand2.png");
	width: 40px;
	height: 40px;
	background-size: cover;
	transition: ease 0.1s;
}
.extra-width .footer .size-button{
	background-image: url("/assets/images/shrink2.png");
}
.footer .size-button:hover {
	opacity: 0.6;
}
.size-button::after/*,
.reset-progress::after,
.reload-fast::after */{
	pointer-events: none;
	position: absolute;
	color: var(--text-color-second);
	z-index: 200;
	font-size: 50%;
	line-height: 100%;
}
/*.reset-progress::after {
	content: "reset";
	margin-left: 146px;
	margin-top: -6px;
	padding: 0 5px 5px 0;
	border-bottom: 1px dashed var(--text-color-second);
	border-right: 1px dashed var(--text-color-second);
}
.reload-fast::after {
	content: "skip/reload";
	margin-left: 102px;
	margin-top: 20px;
	padding: 5px 5px 0 15px;
	border-top: 1px dashed var(--text-color-second);
	border-right: 1px dashed var(--text-color-second);
	white-space: nowrap;
}*/
.size-button::after {
	content: "resize";
	margin-left: -16px;
	margin-top: 54px;
	padding: 10px 0 5px 5px;
	border-left: 1px dashed var(--text-color-second);
	border-bottom: 1px dashed var(--text-color-second);
}

/*
  _______  _____     _   _      ___      _    _  _    _ __     __  ___        __      __    _  __ ____   _____      _       ______  ______ ______   _____  _    _  ____
 |__   __||_   _|   | \ | |    /   \    | |  | || |  | |\ \   / / /   \       \ \    / /   | |/ // __ \ |  __ \    | |     |  ____||___  /|  ____| / ____|| |  | ||__  |
    | |     | |     |  \| |   /  ^  \   | |__| || |  | | \ \_/ / /  ^  \       \ \  / /    | ' /| |  | || |  | |   | |     | |__      / / | |__   | (___  | |__| |   / /
    | |     | |     | . ` |  /  /_\  \  |  __  || |  | |  \   / /  /_\  \       \ \/ /     |  < | |  | || |  | |   | |     |  __|    / /  |  __|   \___ \ |  __  |  | |
    | |    _| |_    | |\  | /  _____  \ | |  | || |__| |   | | /  _____  \       \  /      | . \| |__| || |__| |   | |____ | |____  / /__ | |____  ____) || |  | |  | |
    |_|   |_____|   |_| \_|/__/     \__\|_|  |_| \____/    |_|/__/     \__\       \/       |_|\_\\____/ |_____/    |______||______|/_____||______||_____/ |_|  |_|   •
                           |__|     |__|                      |__|     |__|
*/

/* Saper Game (nu Miner, you know?) */
#ajax-content img {
	width: 100%;
}
#ajax-content .tile-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#ajax-content .tile-container .tile {
	display: block;
	/*border: 1px dashed var(--color-main);*/ /*TODO: удалить*/
	cursor: pointer;
	float: left;
	/*background-color: var(--color-second);*/  /*TODO: удалить*/
	transition: ease 0.2s;
	opacity: 0;
}
/*#ajax-content .tile-container .tile:hover {
	opacity: 0.3;
}*/
#ajax-content video {
	width: 100%;
}
#ajax-content .reload,
#ajax-content .next-level {
	display: block;
	text-decoration: none;
	width: 100%;
	height: auto;
	font-size: 1400%;
	text-align: center;
	background-color: var(--color-bg-dark);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	color: var(--text-color-second);
	line-height: 100%;
}
#ajax-content .reload {
	background-image: url("/assets/images/restart30.gif");
	padding-left: 4%;
	padding-top: 3%;
}
@-moz-document url-prefix() {
	#ajax-content .reload {
		padding-left: 1%;
		padding-top: 0;
		padding-bottom: 1%;
	}
}
#ajax-content .next-level {
	background-image: url("/assets/images/win-bg.jpg");
	background-size: cover;
	font-size: 580%;
	margin: 80px 0;
	text-shadow: 1px 1px 2px var(--color-transparent-dark);
}
#ajax-content .next-level::after {
	content: "\2192 ";
	margin-left: 20px;
	font-size: 100%;
}

/*

PPPPPPPPPPPPPPPPP        YYYYYYY       YYYYYYY          OOOOOOOOO             SSSSSSSSSSSSSSS
P::::::::::::::::P       Y:::::Y       Y:::::Y        OO:::::::::OO         SS:::::::::::::::S
P::::::PPPPPP:::::P      Y:::::Y       Y:::::Y      OO:::::::::::::OO      S:::::SSSSSS::::::S
PP:::::P     P:::::P     Y::::::Y     Y::::::Y     O:::::::OOO:::::::O     S:::::S     SSSSSSS
  P::::P     P:::::P     YYY:::::Y   Y:::::YYY     O::::::O   O::::::O     S:::::S
  P::::P     P:::::P        Y:::::Y Y:::::Y        O:::::O     O:::::O     S:::::S
  P::::PPPPPP:::::P          Y:::::Y:::::Y         O:::::O     O:::::O      S::::SSSS
  P:::::::::::::PP            Y:::::::::Y          O:::::O     O:::::O       SS::::::SSSSS
  P::::PPPPPPPPP               Y:::::::Y           O:::::O     O:::::O         SSS::::::::SS
  P::::P                        Y:::::Y            O:::::O     O:::::O            SSSSSS::::S
  P::::P                        Y:::::Y            O:::::O     O:::::O                 S:::::S
  P::::P                        Y:::::Y            O::::::O   O::::::O                 S:::::S
PP::::::PP                      Y:::::Y            O:::::::OOO:::::::O     SSSSSSS     S:::::S
P::::::::P                   YYYY:::::YYYY          OO:::::::::::::OO      S::::::SSSSSS:::::S
P::::::::P                   Y:::::::::::Y            OO:::::::::OO        S:::::::::::::::SS
PPPPPPPPPP                   YYYYYYYYYYYYY              OOOOOOOOO           SSSSSSSSSSSSSSS

*/

/* Pasta Game */
.pasta-game {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
.pasta-game #answer {
	border-radius: 2px;
	margin: 5px;
	padding: 0 5px;
	overflow: hidden;
	border: none;
	font-size: 90%;
	font-weight: bold;
}
.pasta-game .pasta-text {
	background-color: var(--color-transparent-dark);
	padding: 20px 40px;
	line-height: 120%;
}
.pasta-game .send-button-pasta {
	background-color: var(--color-main);
	color: var(--text-color-main);
	display: block;
	position: relative;
	text-decoration: none;
	opacity: 0.9;
	padding: 10px 20px;
	border-radius: 2px;
	margin-top: 15px;
	width: 100%;
	text-align: center;
}
.pasta-game .send-button-pasta:hover {
	opacity: 1;
}

/*
         ,,
.mm,    .mm,     .m
]  [    ]       .` `
]  [    ]mm,    ]
]  [    ]       ]
]  [    ]mm,     \m`

*/

/* Idiotaro Game */
.idiotaro-game {
	display: flex;
	flex-wrap: nowrap;
}
.idiotaro-game .img-cell {
	flex: 1;
	margin: 0;
	padding: 0;
	display: block;
	position: relative;
}
.idiotaro-game .img-cell img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 140px;
}
.idiotaro-game .variants {
	position: absolute;
	bottom: 80px;
	width: 100%;
	display: block;
	padding: 10px 20px;
}
.idiotaro-game .variants select {
	font-size: 80%;
	padding: 0 10px;
	line-height: 80%;
	width: 100%;
	font-weight: bold;
}
.idiotaro-game .variants select option {
	font-size: 90%;
	font-weight: bold;
	color: var(--color-second);
}
@-moz-document url-prefix() {
	.idiotaro-game .variants select option {
		font-size: 70%;
		font-weight: normal;
	}
}
.idiotaro-game .idiotaro-game-button-container {
	position: absolute;
	bottom: 0;
	display: block;
	padding: 15px 20px;
	width: 100%;
}
.idiotaro-game .send-button-idiotaro {
	background-color: var(--color-main);
	color: var(--text-color-main);
	display: block;
	text-decoration: none;
	opacity: 0.9;
	padding: 10px 20px;
	border-radius: 2px;
	width: 100%;
	text-align: center;
	font-size: 110%;
}
.idiotaro-game .send-button-idiotaro:hover {
	opacity: 1;
}

/* Challenges Game */
.challenge-game {
	background-color: #1a1d20;
	font-family: Arial, sans-serif;
	color: #fff;
	padding: 20px;
 }
.challenge-game .achievement-list {
	list-style: none;
	padding: 0;
	margin: 0;
	max-width: 900px;
	margin: auto;
}
.challenge-game .achievement-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	background-color: #2a2d34;
	border-left: 2px solid #4a4e5a;
	position: relative;
	overflow: hidden;
	margin-bottom: 10px;
}
.challenge-game .achievement-item::after {
	content: "-";
	position: absolute;
	top: 0px;
	right: 16px;
	font-size: 21px;
	color: #999;
}
.challenge-game .achievement-list li:last-child {
	border-bottom: none;
}
.challenge-game .icon-left,
.challenge-game .icon-right {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.2);
	border: 1px dashed #555;
	font-size: 10px;
	color: #888;
}
.challenge-game .icon-left img,
.challenge-game .icon-right img{
	width: 100%;
	height: 100%;
}
.challenge-game .achievement-content {
	flex-grow: 1;
	white-space: nowrap;
	border-left: 2px solid #4a4e5a;
	padding-left: 20px;
}
.challenge-game .category {
	font-size: 12px;
	color: #c0c0c0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.challenge-game .description {
	font-size: 16px;
	font-weight: 600;
	color: #ffffff;
	margin: 4px 0 10px;
	max-width: 70%;
	white-space: normal;
}
.challenge-game .progress-container {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 70%;
}
.challenge-game .progress-bar {
	flex-grow: 1;
	height: 6px;
	background-color: rgba(0, 0, 0, 0.3);
	border-radius: 5px;
	overflow: hidden;
	border-right: 2px solid #4a4e5a;
	border-left: 2px solid #4a4e5a;
}
.challenge-game .progress-fill {
	height: 100%;
	background-color: #bfff40;
	border-radius: 5px;
	transition: ease 0.5s;
}
.challenge-game .progress-text {
	font-size: 14px;
	color: #c0c0c0;
	font-weight: 600;
	min-width: 60px;
}
.challenge-game .reward-area {
	width: 150px;
	height: 100%;
	position: absolute;
	right: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-right: 16px;
}
.challenge-game .dotted-grid {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: radial-gradient(circle at center, #555 1px, transparent 1px);
	background-size: 12px 12px;
	opacity: 0.3;
}
.challenge-game .icon-right {
	position: relative;
	z-index: 1;
	border: none;
	background: rgba(100, 150, 200, 0.2);
}
.challenge-game .reward-area .icon-right::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: radial-gradient(circle at center, #555 1px, #333 1px);
	background-size: 4px 4px;
	opacity: 0.9;
}
.challenge-game .achievement-item.cleared .icon-right::after {
	display: none;
}
.challenge-game .challenge-game-check-button,
.challenge-game .challenge-game-go-next-button{
	margin-top: 20px;
	background-color: #2a2d34;
	border: 2px solid #4a4e5a;
	display: block;
	text-decoration: none;
	opacity: 0.8;
	padding: 10px 20px;
	width: 100%;
	text-align: center;
	color: #999;
	font-size:20px;
}
.challenge-game .challenge-game-check-button:hover,
.challenge-game .challenge-game-go-next-button:hover{
	opacity: 1;
}
.challenge-game .challenge-game-go-next-button{
	background-color: #2a342d;
}
.challenge-game .challenge-game-go-next-button::before {
	content: "\2192";
	margin-right: 20px;
}
.challenge-game .game-description {
	color: #c0c0c0;
	font-size: 16px;
	margin-bottom: 20px;
}

/* fin */
.fin {
	position: relative;
	display: block;
}
.fin .fin-content {
	display: block;
	position: relative;
}
.fin .fin-content iframe {
	display: block;
	min-height: 506px;
	min-width: 900px;
	width: 100%;
	position: relative;
}
.extra-width .fin .fin-content iframe {
	min-height: 744px;
	min-width: var(--width-extra);
}
.fin .fin-image {
	display: block;
	position: relative;
}
.fin .fin-image img{
	display: block;
}
.fin .fin-button-go-next {
	background-color: var(--color-second-2);
	border: 1px solid var(--color-second);
	color: var(--text-color-second);
	display: block;
	text-decoration: none;
	opacity: 0.8;
	padding: 10px 20px;
	width: 100%;
	text-align: center;
	font-size:200%;
}
.fin .fin-button-go-next:hover {
	opacity: 1;
}
.fin .fin-redeem-form {
	display: block;
	position: relative;
}
.fin .fin-redeem-form .show-redeem-form {
	font-size: 80%;
	text-decoration: none;
	position: relative;
	display: block;
	color: var(--text-color-second);
	padding: 5px 20px;
	opacity: 0.5;
	text-align: center;
}
.fin .fin-redeem-form .show-redeem-form:hover {
	opacity: 0.8;
}
.fin .fin-redeem-form.show-form .show-redeem-form {
	display: none;
}
.fin .fin-redeem-form .hidden-redeem-form {
	display: none;
	position: relative;
}
.fin .fin-redeem-form.show-form .hidden-redeem-form {
	display: block;
	padding: 20px;
	line-height: 20px;
}
.fin .fin-redeem-form .hidden-redeem-form span {
	padding: 10px 0;
	height: 40px;
	vertical-align: middle;
	display: inline-block;
}
.fin .fin-redeem-form .hidden-redeem-form #voucher-code {
	padding: 0 5px;
	font-size: 120%;
	border-radius: 4px 0 0 4px;
	height: 40px;
	vertical-align: middle;
	display: inline-block;
	text-align: center;
	font-weight: bold;
	border: none;
	margin-left: 10px;
}
.fin .fin-redeem-form .hidden-redeem-form #voucher-code::placeholder{
	font-weight: bold;
	color: var(--color-second);
	text-align: center;
	opacity: 0.3;
}
.fin .fin-redeem-form .hidden-redeem-form .fin-voucher-go-button {
	text-decoration: none;
	position: relative;
	display: inline-block;
	color: var(--text-color-second);
	background-color: var(--color-second-2);
	padding: 10px 20px;
	opacity: 0.9;
	text-align: center;
	border-radius: 0 4px 4px 0;
	height: 40px;
	vertical-align: middle;
}
.fin .fin-redeem-form .hidden-redeem-form .fin-voucher-go-button:hover {
	opacity: 1;
}



