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

* {
    /*outline: 4px solid green !important;*/
}

.abc {
    height: 30px;
}


/*
================
    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;*/
}

.verif {
    flex-wrap: wrap;
    display: flex;
    align-items: flex-end;
    flex-direction: row;
    position: relative;
}

.verif img {
    -webkit-user-drag: none;
}

.verif .tooltip {
    visibility: hidden;
    width: 200px;
    background-color: var(--s-bg-c);
    text-align: center;

    position: absolute;
    z-index: 1;
    top: 50%;
    left: 70%;
    transform: translateX(-50%);

    opacity: 0;
    transition: opacity 0.3s;
    margin-top: 5px;
}

@media (max-width: 862px) {
    .verif .tooltip {
        top: 78%;
        left: -27%;
    }
}

@media (max-width: 766px) {
    .verif .tooltip {
        top: 29%;
        left: 26%;
    }
}

@media (max-width: 614px) {
    .verif .tooltip {
        top: 29%;
        left: 35%;
    }
}

@media (max-width: 534px) {
    .verif .tooltip {
        top: 29%;
        left: 40%;
    }
}

@media (max-width: 414px) {
    .verif .tooltip {
        top: 30%;
        left: 50%;
    }
}

.verif img:hover + .tooltip {
    visibility: visible;
    opacity: 1;
}

.title {
	color: var(--tx-c);
	display: block;
	text-align: center;
	position: absolute;
	top: 4vw;
	left: 50%;
	text-transform: uppercase;
	font-size: 40px;
	font-weight: 800;
	letter-spacing: 2px;
}

.title:after {
	content: '';
	display: block;
	position: absolute;
	background-color: var(--tx-c);
	height: 7px;
	top: 110%;
	left: 50%;
	transform: translate(-50%, 0);
	width: 500px;
}

/*
=================
    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: 10px;
}

.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);
}

/*
==============
    Header
==============
*/

/* Стили для верхнего заголовка (top-header) */
.top-header {
	background-color: var(--bg-c);
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 400px;
}

.header__text {
	flex-wrap: wrap;
	display: flex;
	align-items: flex-start;
	flex-direction: column;
}

.header__title {
	font-family: "RussoOne", sans-serif;
	font-size: 70px;
	font-weight: 900;
}

.header__desc {
	width: 80%;
	height: 50%;
	flex-wrap: wrap;
	font-size: 23px;
	margin-top: 35px;
	font-weight: 500;
	color: var(--s-tx-c);
}

.header__btn {
	content: "";
	width: 200px;
	padding: 8px 0;
	margin-top: 7%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 19px;
	text-transform: uppercase;
	border-radius: 10px;
	background-color: var(--s-bg-c);
	font-weight: 600;
	transition: 0.2s;
}

.header__btn:hover {
	opacity: 0.7;
}

/* Стили для фотографии в заголовке */
.header__photo {
    position: relative;
	margin-left: 8%;
    margin-right: 8%;
}

.header__photo img {
    height: 250px;
    width: 250px;
    border-radius: 50%;
    box-shadow: 0 0 0 30px var(--s-bg-c);
}

.header__photo span {
    position: absolute;
    display: block;
    height: 45px;
    width: 45px;
    top: 80%;
    left: 80%;
    border-radius: 50%;
    background-color: var(--green);
    box-shadow: 0 0 0 15px var(--bg-c);
    transition: all 0.2s;
}

.header__photo span:hover {
    opacity: 0.7;
}

.header__photo span:hover::before {
    content: 'Ping 123ms';
    white-space: nowrap;
    display: block;
    position: absolute;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 10px);
    background-color: var(--t-bg-c);
}

.header__photo span:hover::after {
    content: '';
    white-space: nowrap;
    position: absolute;
    display: block;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--t-bg-c);
    transform: translate(-50%, 0);
}

/* Стили для аватарки внутри круга */
.header__photo img {
    height: 250px;
    width: 250px;
    border-radius: 50%;
    box-shadow: 0 0 0 30px var(--s-bg-c);
}

.header__photo span {
    background-color: var(--green);
    position: absolute;
    display: block;
    height: 45px;
    width: 45px;
    top: 80%;
    left: 80%;
    border-radius: 50%;
    box-shadow: 0 0 0 15px var(--bg-c);
    transition: all 0.2s;
}

.header__photo span:hover {
    opacity: 0.7;
}

.header__photo span:hover::before {
    content: 'Ping 123ms';
    white-space: nowrap;
    display: block;
    position: absolute;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 10px);
    background-color: var(--t-bg-c);
}

.header__photo span:hover::after {
    content: '';
    white-space: nowrap;
    position: absolute;
    display: block;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--t-bg-c);
    transform: translate(-50%, 0);
}

@media (max-width: 768px) {
    .top-header {
        flex-direction: column; /* Меняем направление элементов на столбец */
        align-items: center; /* Выравниваем элементы по центру */
        min-height: auto; /* Убираем фиксированную высоту */
    }

    .header__text {
		display: block;
        text-align: center; /* Выравниваем текст по центру */
    }

	.header__title {
		font-size: 50px;
	}

    .header__desc {
        width: 100%;
        font-size: 20px; /* Уменьшаем размер шрифта */
        margin-top: 10px; /* Добавляем отступ сверху */
    }

	.header__btn {
		margin-bottom: 10px;
		margin-left: 25%;
	}

    .header__photo {
        margin-top: 10%; /* Добавляем отступ сверху и снизу */
    }

    .header__photo img {
        height: 150px; /* Уменьшаем размер аватара */
        width: 150px;
        display: block; /* Применяем display: block, чтобы элементы не перекрывали друг друга */
        margin: 0 auto; /* Центрируем изображение */
    }

    .header__photo span {
        position: relative;
        display: block;
        height: 35px;
        width: 35px;
        top: 75%;
        transform: translateX(-50%); /* Центрируем по горизонтали */
        border-radius: 50%;
        background-color: var(--green);
        box-shadow: 0 0 0 15px var(--bg-c);
        transition: none;
    }

    .header__photo span:hover {
        opacity: 1;
    }

    .header__photo span:hover::before,
    .header__photo span:hover::after {
        content: '';
        display: none;
    }
}

/*
===============
    lengths
===============
*/

.length-left {
	clip-path: polygon(0 100%, 100% 100%, 100% 14%, 0 0);
}

.legnth-right {
	clip-path: polygon(0 0, 100% calc(100% - (100% - 3vw)), 100% 100%, 0 100%);
}

.tt {
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    clip-path: polygon(0 100%, 100% 87%, 100% 0, 0 0);
    /*z-index: -1;*/
}

/*
==================
    list-items
==================
*/

.list-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-top: 3%;
	flex-wrap: wrap;
}

.list-item {
	display: flex;
	align-items: center;
	padding: 10px;
	/*border: 1px solid #ddd;*/
}

.list-item img {
	width: 100px;
	height: 100px;
	margin-right: 10px;
}

.list-text {
	font-family: "RussoOne", sans-serif;
    /*font-size: 50px;*/
    font-weight: 300;
}

.list-item-description {
	flex: 1;
}
  
/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
	.list-container {
	    grid-template-columns: 1fr;
		margin-top: 13%;
	}
}

/*
===============
    pad-top
===============
*/

.top-pad {
	justify-content: center;
	align-items: center;
	min-height: 400px;
}

.top-title {
    font-family: "RussoOne", sans-serif;
    font-size: 50px;
    font-weight: 900;
    transform: rotate(-2deg); /* Вращение */
    position: relative; /* Сделаем позиционирование относительным */
    left: -10px; /* Сдвигаем текст влево */
    top: -10px; /* Сдвигаем текст вверх */
}

.top-title-r {
    font-family: "RussoOne", sans-serif;
    font-size: 50px;
    font-weight: 900;
    /*transform: rotate(3deg); /* Вращение */
    position: relative; /* Сделаем позиционирование относительным */
    left: -10px; /* Сдвигаем текст влево */
    top: -140px; /* Сдвигаем текст вверх */
}

.top-text {
	flex-wrap: wrap;
	display: flex;
	align-items: flex-start;
	flex-direction: column;
}

@media (max-width: 768px) {
	.tt {
		clip-path: polygon(0 100%, 100% 96%, 100% 0, 0 0);
	}

	.title::after {
		width: 300px;
	}

	.top-title {
		transform: rotate(-3deg);
		font-size: 40px;
	}

	.top-title-r {
		margin-bottom: 15%;
		transform: rotate(3deg);
		font-size: 40px;
		top: 10px;
	}

	.header__btn {
		margin-bottom: 5%;
	}
}

/*
================
    top-stat
================
*/

.top-stat {
    background-color: var(--bg-c);
    justify-content: center;
	align-items: center;
	min-height: 500px;
    clip-path: polygon(0 100%, 100% 90%, 100% 14%, 0 0);
}

.stat-title {
    font-family: "RussoOne", sans-serif;
    font-size: 50px;
    font-weight: 900;
    transform: rotate(3deg);
    position: relative;
    left: 0;
    top: 40px;
    width: 99.95%;
}

.stat-list {
    display: flex;
    justify-content: center;
    margin-top: 10%;
}

.stat-item {
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

.stat-item img {
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
}

.stat-text {
    font-family: "RussoOne", sans-serif;
    font-weight: 600;
}

.stat-desc {
    padding: 10px;
}

@media (max-width: 768px) {
    .top-stat {
        clip-path: polygon(0 100%, 100% 98%, 100% 3%, 0 0);
    }

    .stat-title {
        transform: rotate(4deg);
        font-size: 40px;
        top: 20px;
    }

    .stat-list {
        display: block;
    }
}
/*
=================
    top-coder
=================
*/

.top-coder {
    justify-content: center;
	align-items: center;
	min-height: 300px;
}

.coder-title {
    font-family: "RussoOne", sans-serif;
    font-size: 50px;
    font-weight: 900;
    transform: rotate(-2deg);
    position: relative;
    left: 0;
    top: -10px;
    width: 99.93%;
}

.plus-coder p {
    color: var(--s-tx-c);
}

.plus-coder img {
    border-radius: 50%;
}

@media (max-width: 768px) {
    .coder-title {
        transform: rotate(-3deg);
        font-size: 40px;
        top: 0;
    }

    /*
    .stat-title {
        transform: rotate(4deg);
        font-size: 40px;
        top: 20px;
    }

    .stat-list {
        display: block;
    }*/
}

/*
==================
    top-invite
==================
*/

.top-invite {
    background-color: var(--bg-c);
    justify-content: center;
	align-items: center;
	min-height: 420px;
    clip-path: polygon(0 100%, 100% 100%, 100% 11%, 0 0);
}

.invite-title {
    font-family: "RussoOne", sans-serif;
    font-size: 50px;
    font-weight: 900;
    transform: rotate(3deg);
    position: relative;
    left: 0;
    top: 40px;
    width: 99.95%;
}

.invite-size img {
    width: 350px;
    height: 369px;
}

.invite-bot {
	width: 350px;
	height: 500px;
	display: flex;
	flex-direction: column;
	justify-content: stretch;
	align-items: stretch;
	margin-right: 40px;
}

.invite-btn {
	font-weight: 600;
	font-size: 19px;
	padding: 10px;
	margin: 10px;	
	border-radius: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--s-bg-c);
	transition: 0.2s;
}

.invite-btn:hover {
	opacity: 0.7;
}

.invite-menu p {
    font-weight: 500;
    font-size: 17px;
    padding: 10px;
    display: block;
    margin: 10px;
    margin-bottom: 0;
    border-radius: 5px;
    display: flex;
    justify-content: flex-start;
    background-color: var(--t-bg-c);
    color: var(--s-tx-c);
    position: relative;
    overflow: hidden; /* Добавьте эту строку */
}

.invite-menu p:before {
    content: "";
    display: block;
    position: absolute;
    background-color: var(--tx-c);
    width: 10px;
    height: 2px;
    left: calc(100% - 30px);
    top: 50%;
    transform: translate(0, -50%) rotate(-45deg);
}

.invite-menu p:after {
    content: "";
    display: block;
    position: absolute;
    background-color: var(--tx-c);
    width: 10px;
    height: 2px;
    left: calc(100% - 35px);
    top: 50%;
    transform: translate(0, -50%) rotate(45deg);
}

.invite-menu span {
    display: none;
    position: relative;
    background-color: var(--s-bg-c);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    border-radius: 5px;
    text-align: center;
    padding: 10px;
    z-index: 1;
}

.invite-menu span:before {
    content: "";
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--s-bg-c);
}

.invite-menu:hover span {
    display: block;
    top: -30px;
}

.invite-menu:hover span {
    display: block;
}

@media (max-width: 768px) {
    .top-invite {
        clip-path: polygon(0 100%, 100% 100%, 100% 3%, 0 0);
    }

    .invite-title {
        transform: rotate(4deg);
        font-size: 40px;
        top: 20px;
    }
}