@font-face {
    font-family: Rubik;
    src: url('fonts/rubik/Rubik.ttf') format('truetype');
    font-weight: 300 900;
    font-style: normal;
}

@font-face {
    font-family: Rubik;
    src: url('fonts/rubik/Rubik-Italic.ttf') format('truetype');
    font-weight: 300 900;
    font-style: italic;
}

body {
    font-family: Rubik, Arial, Helvetica, sans-serif;
    font-weight: 400;
    -webkit-text-size-adjust: none;
}

input {
    font-family: Rubik, Arial, Helvetica, sans-serif;
    font-weight: 400;
}

button {
    font-family: Rubik, Arial, Helvetica, sans-serif;
    font-weight: 400;
}

textarea {
    font-family: Rubik, Arial, Helvetica, sans-serif;
    font-weight: 400;
}

select {
    font-family: Rubik, Arial, Helvetica, sans-serif;
    font-weight: 400;
}

.flex {
    display: flex;
}

.font16
{
    font-size: 16px;
}

/* оформление для меню навигации */
.nav {
    height: 100%;
    width: 60px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #4a4848;
    overflow-x: hidden;
    z-index: 2;
}

.nav a {
    padding: 18px 8px 18px 10px;
    border-right: 8px solid #d4d4d4;
    text-decoration: none;
    font-size: 28px;
    color: #d4d4d4;
    display: block;
}

.navbutton {
    border-bottom: 1px solid black;
}

.nav a:hover {
    color: #00BFFF;
    border-right: 8px solid #00BFFF;
}

/* оформление для заголовка */
.header {
    position: fixed;
    top: 0;
    left: 60px;
    width: 100%;
    z-index: 2;
    height: 32px;
    background-color: #4a4848;
    border-bottom: 4px solid #d4d4d4;
}

.header div {
    margin-left: 10px;
    font-size: 24px;
    color: #d4d4d4;
}

/* оформление для главной части страницы */
.main {
    margin-left: 60px;
    display: flex;
    flex-direction: column;
    /* отступ от меню */
    margin-top: 36px;
    /* отступ от заголовка */
    font-size: 18px;
    padding: 5px 5px;
}

#room-list {
    display: flex;
    flex-direction: column;
    font-size: 22px;
}

.room-list-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #666262;
    color: white;
    text-decoration: none;
    margin-top: 5px;
    min-height: 50px;
    border-radius: 0.5rem;
}

.room-list-item-label {
    margin-left: 10px;
}

.room-list-item-id {
    margin-left: 5px;
    color: #d4d4d4;
    font-weight: 300;
    font-size: 14px;
    margin-top: 6px;
}

.room-list-item-join {
    margin-left: auto;
    margin-right: 20px;
}

.room-list-item:hover {
    background-color: #957777;
    color: #00BFFF;
    font-size: 23px;
}

#auth {
    display: flex;
    flex-direction: column;
    margin: auto;
    font-size: 24px;
}

#pass {
    font-size: 48px;
    margin-bottom: 5px;
}

#pass-label {
    margin-bottom: 16px;
}

#btn-join {
    font-size: 48px;
}

.vl {
    margin-left: 5px;
    margin-right: 5px;
}

.vertical-line
{
    background-color: rgba(27,31,35,0.75);
    min-width: 1px;
}

.horizontal-line
{
    background-color: rgba(27,31,35,0.4);
    min-height: 1px;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.max-w-150 {
    max-width: 150px;
}

.w-100-proc
{
    width: 100%;
}

.background-green {
    background-color: lightgreen !important;
}

.background-white {
    background-color: white !important;
}

.background-lightgreen {
    background-color: rgb(163, 233, 163) !important;
}

.background-orange {
    background-color: rgb(248, 178, 152) !important;
}

.background-red {
    background-color: lightcoral !important;
}

.background-darkgreen
{
    background-color: rgb(30, 185, 30) !important
}

.bold {
    font-weight: 600;
}

.color-dodgerblue {
    color: dodgerblue;
}

.color-customgray {
    color: rgb(84, 110, 122);
}

.color-custom-lightgray {
    color: #d4d4d4;
}

.color-darkviolet {
    color: darkviolet;
}

.m-a {
    margin: auto;
}

.m-b-3
{
    margin-bottom: 3px;
}

.m-b-10
{
    margin-bottom: 10px;
}

[hidden] {
    display: none !important;
}