@font-face {
    font-family: "RussoOne";
    src: url("/font.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
	font-display: swap;
}

/*
================
    Standart
================
*/

h1, h2, h3, h4, h5, h6, p, a, li, span, i, html, body, input{
	margin: 0;
	padding: 0;
	color: #fff;
	/*font-family: 'Rubik', sans-serif;*/
    /*font-family: 'Torque Sense', sans-serif;*/
    font-family: Colibri, sans-serif;
	font-weight: 400;
	list-style: none;
	text-decoration: none;
	font-size: 20px;
	scroll-behavior: smooth;
}

:root {
	--n-bg-c: #111;     /* Nav background-color    */
	--s-bg-c: #222;     /* Second background-color */
	--bg-c: #333;       /* Main background-color   */
	--t-bg-c: #585858;  /* Third background-color  */
	--green: #00ff00;   /* ... */
	--tx-c: #fff;       /* Main text color         */
	--s-tx-c: #c0c0c0;  /* Second text color       */
}

body {
	background-color: var(--s-bg-c);
}

body.menu-open {
    overflow: hidden;
}

code {
    font-family: 'Courier New', monospace;
    white-space: pre-line;
    font-size: 15px;
    /*padding: 8px;
    border-radius: 4px;
    margin: 8px 0;*/
}

/*
=================
    PreLoader
=================
*/

.preloader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background: #333;
    z-index: 1001;
}
  
.preloader__image {
    position: relative;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    margin-top: -35px;
    margin-left: -35px;
    text-align: center;
    animation: preloader-rotate 2s infinite linear;
}
  
@keyframes preloader-rotate {
    100% {
      transform: rotate(360deg);
    }
}
  
.loaded_hiding .preloader {
    transition: 0.3s opacity;
    opacity: 0;
}
  
.loaded .preloader {
    display: none;
}

/*
================
    Top Menu
================
*/

/* Стили для модального меню */
.modal {
	z-index: 1000;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--tx-c);
}

.modal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    filter: blur(15px);
    z-index: -1;
}

/* Стили для списка меню */
.menu-list {
    list-style: none;
    padding: 0;
}

.menu-list li {
    text-align: center;
	border-radius: 10px;
	background-color: var(--bg-c);
	padding: 2px 5px;
    margin: 10px 0;
}

.menu-button-container {
    position: absolute;
    top: 10px;
    left: 10px;
	z-index: 2;
}

.menu-button {
    background-color: var(--bg-c);
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
}

.menu-button:hover, .menu-button:active {
    opacity: 0.8;
}

/* Стили для полосок меню */
.menu-bar {
    width: 30px;
    height: 4px;
    background-color: #fff;
    margin: 6px 0;
    transition: 0.4s;
}

.menu-button:hover .menu-bar {
    width: 35px;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--s-bg-c);
    padding: 20px;
    border-radius: 5px;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: var(--tx-c);
}

/* Стили для активной страницы */
.active {
    font-weight: bold;
    color: var(--s-tx-c);
}

/*
==================
    top-header
==================
*/

.top-header {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	min-height: 500px;
    background-color: var(--bg-c);
    font-family: "RussoOne";
    clip-path: polygon(0 100%, 100% 90%, 100% 0%, 0 0);
}

.top-header__title {
	font-size: 71px;
	letter-spacing: 1px;
	text-align: center;
	font-weight: 900;
}

.top-header__desc {
	color: var(--s-tx-c);
    text-align: center;
}

@media screen and (max-width: 450px) {
	.top-header__desc {
		text-align: center;
	}

	.top-header__title {
		font-size: 55px;
	}
}

.logs {
	display: flex;
	align-items: center;
	flex-direction: column;
	min-height: 1000px;
	background-color: var(--s-bg-c);
	padding-top: 120px;
	clip-path: polygon(0 0, 100% calc(100% - (100% - 3vw)), 100% 100%, 0 100%);
}

.logs__item {
	max-width: 1000px;
	width: 90%;
	margin-bottom: 20px;
	transition: height 0.2s;
	padding: 0 20px;
}

.logs__top {
	display: flex;
	cursor: pointer;
	height: 50px;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
	transition: 0.2s;
	background-color: var(--bg-c);
}

.logs__top:hover {
	opacity: 0.7;
}

.logs__version {
	font-size: 30px;
	font-weight: 800;
}

.logs__date {
	color: var(--s-tx-c);
	font-size: 20px;
}

.logs__bottom {
	height: 0px;
	transform: scale(1, 0);
	transform-origin: top center;
	background-color: var(--t-bg-c);
}

.logs__bottom-active {
	transition: 0.2s linear transform;
	transform: scale(1, 1);
	height: auto;
}

.logs__chapter {
	padding: 20px;
}

.chapter__title {
	font-size: 25px;
	font-weight: 600;
	margin-left: 20px;
	margin-bottom: 10px;
	display: block;
	width: auto;
	line-height: 1;
	position: relative;
}

.chapter__list {
	line-height: 1.5;
}

.chapter__item:before {
	content: '⁠●';
	height: 100%;
	margin-right: 5px;
	font-size: 15px;
}

.chapter__item {
	font-size: 19px;
	font-weight: 400;
	letter-spacing: 2px;
	max-width: 800px;
	margin-left: 10px;
	margin-top: 2px;
	width: auto;
}

.chapter__item code {
	background-color: var(--bg-c);
	padding: 1px 4px;
	font-family: 'Rubik', sans-serif;
}
@media screen and (max-width: 768px) {
    .chapter__item {
        font-size: 15px;
    }
}
@media screen and (max-width: 450px) {
	.chapter__list {
		line-height: 2;
	}

	.logs__version {
		font-size: 25px;
		padding-right: 10px;
	}

	.logs__top {
		height: 70px;
	}
}

.logs__problems {
	background-color: #6a2624;
}