@font-face {
    font-family: 'Adwaita';
    src: url('https://vanilaworld.ru/static/fonts/AdwaitaSans/Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Adwaita';
    src: url('https://vanilaworld.ru/static/fonts/AdwaitaMono/Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Adwaita';
    src: url('https://vanilaworld.ru/static/fonts/AdwaitaSans/Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Adwaita';
    src: url('https://vanilaworld.ru/static/fonts/AdwaitaMono/BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

:root {
  	--primary: #EE6622;
  	--primary-rgb: 255, 128, 0;
	--primary-light: #FF8833;
  	--bg-darker: #111;
  	--bg-dark: #1c1c1c;
  	--text-light: #EEE;
  	--text-muted: #AAA;
  	--fill-percent: 30%;
  	--border: rgba(255, 255, 255, 0.03);
}
body {
	background: var(--bg-darker);
	background-size: cover;
    margin: 0;
	font-size: 14px;
	font-family: "Adwaita";
	color: #AAA;
}
a {
	cursor: pointer;
	text-decoration: none;
	transition: .3s;
	color: #FFEECC;
}
a:hover{
	color: var(--primary-light);
}
.menu {
	border-bottom: 1px solid var(--border);
	background-color: var(--bg-dark);
	text-align: center;
	color: #DDD;
	padding: 10px;
	position: fixed;
	display: flex;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1;
}
.menu a {
	color: #BBB;
}

.menu a:hover {
    color: #FFF;
}
.leftmenu {
	width: -webkit-fill-available;
    width: -moz-available;
	text-align: left;
	display: flex;
}
.leftmenu a {
	margin-right: 10px;
}
.rightmenu {
	width: 150%;
	text-align: right;
}
.rightmenu a {
	margin-left: 3px;
}
.block{
	border: 1px solid var(--border);
	background-color: var(--bg-dark);
	border-radius: 14px;
	margin: 10px;
	padding: 15px;
	transition: .3s;
}
.centerblock{
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px;
    transition: 0.3s;
    width: 500px;
    height: 100vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    text-align: center;
    @media (max-width: 768px) {
        width: 100%;
        height: 100vh;
        max-height: none;
        top: 0;
        left: 0;
        transform: none;
        border: none;
    }
}
.textblock{
	margin: 2% 5% 2% 5%;
	text-align: justify;
	font-family: monospace;
}
.downbar{
	border-top: 1px solid rgba(255, 255, 255, 0.03);
	background-color: #323232;
	text-align: center;
	color: #DDD;
	padding: 3px;
	position: fixed;
	display: flex;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: 2;
}
::-webkit-scrollbar {
    display: none;
}
.message {
	border: 1px solid rgb(0, 0, 0, 0.2);
	background-color: rgb(255, 255, 255);
    color: rgba(0, 0, 0, 0.8);

	border-radius: 10px;
    padding: 10px;
    right: 5px;
    bottom: 5px;
    left: 5px;

	text-align: center;
	font-weight: bold;
    position: fixed;
    z-index: 999;

    transition: .3s;
    transform: translateY(100px);
    display: none;
}
.message.info{
	background-color: rgb(200, 200, 200);
    color: black;
}
.message.error{
	background-color: rgb(200, 0, 0);
    color: white;
}
.message.warning{
	background-color: rgb(200, 200, 0);
    color: black;
}
.message.success{
	background-color: rgb(0, 200, 0);
    color: black;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
    height: 40px;
    background-color: var(--bg-dark);
}

.footer p {
    font-size: 15px;
}