
/* FONTS */


.roboto-font {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.play-regular {
  font-family: "Play", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.play-bold {
  font-family: "Play", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.tektur-font {
  font-family: "Tektur", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}


.handjet-font {
  font-family: "Handjet", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings:
    "ELGR" 1,
    "ELSH" 2;
}


body {
  background-color: #0A0B14 !important;
  font-family: "Play", sans-serif;
  color: #E0E0E0;
}
body h1, body h2, body h3 {
  font-family: "Tektur", sans-serif;
}
body .button {
  font-family: "Tektur", sans-serif;
}
.main-button {
    background-color: #B33A3A !important;
    text-transform: uppercase;
    font-family: "Tektur", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
}

h2.signup {
    font-family: "Tektur", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #4A5F7A;
}

span.message {
  font-family: "Tektur", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

label {
  color: #B33A3A;
  font-family: "Tektur";
  text-transform: uppercase;
}

input {
  background-color: #B33A3A !important;
  border: none !important;
}

.main-bar{
  background-color: rgba(0,0,0,0);
  color: #4A5F7A;
}

#logo{
  font-family: "Tektur";
}

.signup p{
  padding-left: .5rem;
  padding-right: .5rem;
}

.login{
  padding-left: .5rem;
  padding-right: .5rem;
  color: #4A5F7A;
  font-family: "Tektur";
}
.login h2{
  font-family: "Tektur";
  text-transform: uppercase;
}

::placeholder {
  font-size: .75rem;
  text-transform: uppercase;
  opacity: 70%;
  color: #D98888;
}

.task_window {
  padding-top: 2.5rem;
  padding-bottom: 1rem;
  font-family: "Play";
}

.task_instance { padding-bottom: 1rem; padding-top: 1rem; }

.message-container .message {
  padding: 1rem;
  background-color: #B33A3A;
  text-align: center;
}

.console_form{
  padding: 2.5rem 0;
}
.console_form > h2{
  padding-bottom: 1rem;
}

table thead, table tbody, table td {
  background-color: #0A0B14;
  color: #E0E0E0;
  border-color: #4A5F7A;
}


.avatar_image{
  position: relative;
  display:inline-block;
  width: 100%;
}
.prof_role {
  color: #E0E0E0;
  font-family: "Tektur";
  position: absolute;
  bottom: 1rem;
  text-transform: uppercase;
  font-size: 2.5rem;
  width: 100%;
  text-align: center;
  z-index: 1;
}
.avatar_image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; /* насколько высоко поднимается тень */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  pointer-events: none; /* чтобы не блокировать клики */
}

.prof_name h2 {
  padding: 1.5rem 0;
}


/* HEADER */


  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0A0B14; /* фирменный цвет */
    padding: .5rem 1rem .5rem .5rem;
    position: relative;
    z-index: 10;
  }

  .logo {
    font-size: 1em;
    font-weight: bold;
    color: #4A5F7A;
  }

  /* Навигация */
  nav {
    display: flex;
    align-items: center;
  }

  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
  }

  .nav-links li a {
    text-decoration: none;
    color: #B33A3A;
    font-weight: 500;
    transition: color 0.2s ease;
  }

  .nav-links li a:hover {
    color: #ffd6de;
  }

  /* Бургер */
  .burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }

  .burger div {
    width: 25px;
    height: 3px;
    background-color: #4A5F7A;
    transition: 0.3s;
  }

  /* Мобильный стиль */
  @media (max-width: 700px) {
    .nav-links {
      display: none;
      position: absolute;
      top: 60px;
      right: 0;
      background-color: #2A2F3B;
      flex-direction: column;
      width: 100%;
      text-align: right;
      padding: 1rem 1rem 1rem 0;
    }

    .nav-links.active {
      display: flex;
    }

    .burger {
      display: flex;
    }
  }



/* CHAT */

.chat-container .chat_message{
  background-color: #2a2f3b;
  padding: .75rem 1rem;
  margin: .5rem;
  width: fit-content;  
  border-radius: .25rem;
}
.chat-container .chat_message_datetime{
  font-family: "Handjet";
  padding-bottom: .5rem;
  color: #3A8C6E;
}
.chat-container .message_text{
  width: fit-content;
  padding: 0 .25rem;
  margin-left: .75rem;
  background-color: #4A5F7A;
}