* {
    box-sizing: border-box;
    margin: 0;
}
html {
    font-size: 10px;
    background-color: var(--r_05);
}
body {
    font-style: 1.8rem;
    font-family: 'Base4';
} 
*, a:focus, button:focus, input:focus {
    outline: none !important;
    outline-offset: 0;
}
@font-face {
    font-family: 'Base1'; 
    src: url('../fonts/Exo2-VariableFont_wght.ttf') format('truetype');
}
@font-face {
    font-family: 'Base2';
    src: url('../fonts/Arsenal-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Base3';
    src: url('../fonts/Cuprum-VariableFont_wght.ttf') format('truetype');
}
@font-face {
    font-family: 'Base4';
    src: url('../fonts/FiraSansCondensed-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Base5';
    src: url('../fonts/Inter-VariableFont_slntwght.ttf') format('truetype');
}
@font-face {
    font-family: 'Base6';
    src: url('../fonts/Rubik-VariableFont_wght.ttf') format('truetype');
}
@font-face {
    font-family: 'Base7';
    src: url('../fonts/Ruda-VariableFont_wght.ttf') format('truetype');
}



.global {
    display: flex;
    flex-flow: column nowrap;
}
h1 {
    color: var(--r_02);
    font-size: 2.8rem;
    font-family: 'Base4';
    margin-top: 1.5rem;
    letter-spacing: 0.08rem;
}
hr {
    background: var(--r_02);
    border: none;
    height: 2px;
    margin-top: 0.3rem;
}
.dispnone {
    display: none !important;
}
.a_desc {
    color: var(--r_03) !important;
    text-decoration: none;
}
.a_desc:hover {
    color: var(--r_07) !important;
    text-decoration: underline;
}
.question {
    margin-top: 2rem;
    font-size: 2rem;
    color: var(--r_08);
}
.answer {
    margin-bottom: 4rem;
    margin-left: 3rem;
}

/********************** ЗАГОЛОВОК ******************/
.header {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    background: var(--r_01);
    color: var(--r_03);
    font-size: 7rem;
    flex-grow: 1;
}
.header > a {
    display: inline-flex;
    width: auto;
    cursor: pointer;
    margin-top: 1rem;
    margin-left: 4rem;
    text-decoration: none;
    color: var(--r_03);
}
.header > .logo {
    display: inline-flex;
    width: auto;
}
.header > .title {
    padding-top: 2rem;
    margin-left: 4rem;
}
.navbar {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 1.7rem;
    background: var(--r_01);
    color: var(--r_03);
}
.menu-base {
    display: flex;
    flex-flow: row wrap;
    margin-left: 15.5rem;
    align-items:flex-start;
    padding-bottom: 0.6rem;
    padding-inline-start: 0;
}
.menu-base > .far {
    display: block;
    padding: 1.3rem 2.5rem;
}
.menu-base > .far:hover {
	background-color: var(--r_06);
	color: var(--r_03);
	border-radius: 0.8rem;
}
.menu-item, .disq {
    display: block;
    padding: 0.6rem 1.6rem 0.6rem 1.6rem;
    letter-spacing: 0.15rem;
}
/* .menu-item:hover, .menu-base > .far:hover {
    background-color: var(--r_06);
	color: var(--r_03);
	border-radius: 8px;
} */
/* .menu-item:first-child {
    padding-left: 0;
} */
/* .menu-item:first-child:hover {
    margin-left: -1.6rem;
    padding-left: 1.6rem;
} */
.regstr, .login, .userlogin, .out, .disq {
    display: block;
    letter-spacing: 0.1rem;
	font-size: 1.5rem;
	padding: 1.3rem 2rem;
    border-radius: 0.8rem;
    cursor: pointer;
    margin-right: 2rem;
}
.regstr, .out {
    margin-right: 2rem;
}
.regstr {
    display: none;
}
.regstr:hover, .login:hover, .userlogin:hover, .out:hover, .disq:hover {
    background-color: var(--r_06);
	color: var(--r_03);
	border-radius: 0.8rem;
}


.navbar a {
	text-decoration: none;
	outline: none;
	display: block;
	transition: .08s ease-in-out; 
}

.menu-base > li > a  {
	color: var(--r_03);
	letter-spacing: 0.1rem;
	font-size: 2rem;
	padding: 1rem 2rem;
	border-radius: 0.8rem;
	position: relative;
	display: block;
	list-style: none;
    text-decoration: none;
    margin-left: -1.6rem;
}
.menu-base>li {
	list-style-type: none;
	position: relative;
	float: left;
}
.menu-base>li a:hover {
	background-color: var(--r_06);
	color: var(--r_03);
	border-radius: 0.8rem;
}

.submenu {
	background: var(--r_06);
	position: absolute;
	background-color: transparent;
	left: 0;
	top: 100%;
	z-index: 5;
	width: 170px;
	opacity: 0;
	transform: scaleY(0);
    transform-origin: 0 0;
	/* transition: .6s ease-in-out; */
}
.submenu>li {
	border-radius: 0.8rem;
	background-color: var(--r_02);
	list-style-type: none;
	float: left;
}
.submenu a {
	color: var(--r_03);
	text-align: left;
	padding: 1.2rem 1.5rem;
	font-size: 1.5rem;
}
.menu-base > li:hover .submenu {
	opacity: 1;
    transform: scaleY(1);
    transition: .6s ease-in-out;
	color: var(--r_03);
}
.menu-base:after {
	content: "";
	display: table;
	clear: both;
}
.submenu-link:after {
	color: inherit;
}
.submenu li:last-child a {
	 border-bottom: none; 
}
.dropmenu {
	margin-top: 0.1rem;
	letter-spacing: 0.1rem;
    margin-bottom: 0.35rem;
	margin-left: -10%;
    width: -webkit-fill-available;
    width: -moz-available;
}
.dropmenu_dsbl {
	margin-top: 0.1rem;
	letter-spacing: 0.1rem;
    margin-bottom: 0.35rem;
	margin-left: -10%;
    width: -webkit-fill-available;
    width: -moz-available;
}
.submenu .dropmenu_dsbl a {
	color: var(--r_05);
	text-align: left;
	padding: 1.2rem 1.5rem;
	font-size: 1.5rem;
}
.dsbl {
    color: var(--r_05) !important;
}

/*************** Выпадающее меню проектов  */

.prju {
	float: left;
	margin-bottom: 4px;
}

.user_proj {
	margin-top: 1rem;
	padding: 0;
}

.user_proj>li>button, .user_proj>li button:hover, .chos_proj {
    color: var(--r_03);
    background-color: var(--r_08);
    letter-spacing: 0.1rem;
    font-size: 1.5rem;
    padding: 0.5rem 2rem;
    border-radius: 0.8rem;
	position: relative;
	display: block;
	list-style: none;
	text-decoration: none;
}
.user_proj>li {
	list-style-type: none;
	position: relative;
	float: left;
}

.user_proj>li button:hover {
	background-color: var(--r_06);

}
.user_proj>li>button:active, .user_proj>li>button:focus {
	background-color: var(--r_06);
	color: var(--r_03);
}
.user_proj > li:hover .projects {
	opacity: 1;
	transform: scaleY(1);
	color: var(--r_03);
	text-decoration: none;
	width: 15rem;
	height: 2.5rem;
}
.user_proj:after {
	content: "";
	display: table;
	clear: both;
}
.chos_proj:after {
	color: inherit;
}
.chos_proj {
	border: none;
}

.project>li>button:visited {
	background: var(--r_09);
}
.projects {
	background: var(--r_06);
	position: absolute;
	background-color: transparent;
	left: 0;
	top: 100%;
	z-index: 5;
	width: 15rem;
	opacity: 0;
	transform: scaleY(0);
	transform-origin: 0 0;
	transition: .6s ease-in-out;
}
.projects>li {
	border-radius: .8rem;
	background-color: var(--r_02);
	list-style-type: none;
	float: left;
	height: 2.5rem;
	margin: 0 0 0.4rem 0;
	width: 15rem;
}
.projects button {
    color: var(--r_03);
    text-align: left;
    padding: 0.5rem 2rem;
    font-size: 1.5rem;
    background-color: var(--r_02);
    width: -webkit-fill-available;
    width: -moz-available;
    border: none;
    border-radius: 0.8rem;
	margin: 0 0 0.4rem 0;
	letter-spacing: 0.1rem;
	height: 2.5rem;
}
.projects li:last-child button {
	border-bottom: none; 
}
.list_proj {
	/* margin-top: 0.1rem; */
	/* letter-spacing: 1.1px; */
    /* margin-bottom: 0.2rem; */
	margin-left: -20%;
    width: -webkit-fill-available;
    width: -moz-available;
}
.stat-prj {
    /* text-align: right; */
    float: right;
    margin: -2.5rem 3rem 0 0;
    font-size: 1.6rem;
}
.news {

}
.img_news {
    display: block;
    width: 15rem;
    margin-right: 1.5rem;
    float: left;
    margin-bottom: 0.5rem;
}
.news > h2 {
    font-size: 2rem;
    margin-top: 1rem;
    color: var(--r_08);
}
.news > p {
    font-size: 1.5rem;
    margin-right: 3rem;
    text-align: justify;
}
.news_data {
    font-size: 1.5rem;
    margin: 0.2rem 0;
}

/********************* ОСНОВНАЯ ЧАСТЬ ******************/
.main {
    display: flex;
    flex-flow: row nowrap;
    background: var(--r_05);
    color: var(--r_04);
    min-height: calc(100vh - 20rem);
}
.lbar {
    width: 15.5rem;
    flex-grow: 0;
}
.rbar {
    max-width: 40rem;
    flex-grow: 1;

}
.rbar > hr {
    margin-right: 3rem;
    color: var(--r_02);
}
.content {
    flex-grow: 1;
    width: 100rem;
    padding-right: 2em;
}
.content p {
    font-size: 1.6rem;
    padding-top: 2rem;
    font-family: 'Base1';
    text-align: justify;
}
.content p > a {
    color: var(--r_01);
    text-decoration: none;
    cursor: pointer;
}
.content p > a:hover {
    color: var(--r_04);
    text-decoration: underline;
}

.content > ul {
    font-size: 1.6rem;
    margin-top: 1rem;
}

.content>ul>li {
    margin-bottom: 0.5rem;
    text-align: justify;
    font-family: 'Base1';
    font-size: 1.7rem;
}

.footer {
    /* flex-grow: 1; */
    margin-top: 2rem;
    background: var(--r_01);
    color: var(--r_03);
    display: flex;
    justify-content: center;
    align-items: center;
}
.copyr {
    font-size: 1.8rem;
    padding: 1rem 0;
    text-align: center;
}
.copyr2 {
    font-size: 1.2rem;
    text-align: center;
    padding-bottom: 0.3rem;
}
.livein {
    margin-left: 2rem;
}
.lvcounter {

}
/* тесты */
.test {
    /* border: 1px solid black; */
}