:root{
  --responziv: 1475px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

.topnav .icon {
  display: none;
}

.navbar_line {
  display: none;
}

@media screen and (max-width: 1240px) {
  .topnav a:not(:first-child) {
    display: none;
  }

  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 1240px) {
  .topnav.responsive {
    position: relative;
  }

  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  .icon {
    display: block;
    /*background-color: #04AA6D;*/
  }

  .navbar_line {

    width: 10px;
    background-color: #fff;
  }
}

form {
  padding: 10px;
}


.question {
  background-color: #333;
  color: white;
  padding: 10px;
  /*width: fit-content;*/
  border-radius: 10px;
}

.ttcim {
  text-align: center;
}




.hivok {
  font-size: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  background-color: #9dd10e4d;
  box-shadow: 10px 10px 5px gray;
  border: solid 5px rgb(220, 255, 21);
  margin-top: 10px;
}


.element-button {
  display: flex;
}

.element-button span {
  cursor: pointer;

  transition: 0.5s;
  text-align: center;
}

.element-button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.element-button:hover span {
  padding-right: 25px;
}

.element-button:hover span:after {
  opacity: 1;
  right: 0;
}



.element-button-del {
  display: none;
}

.element-button-del span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
  text-align: center;
}

.element-button-del span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.element-button-del:hover span {
  padding-right: 25px;
}

.element-button-del:hover span:after {
  opacity: 1;
  right: 0;
}

.element-button.active {
  display: none;
}

.element-button-del.active {
  display: flex;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

.navbar {
  overflow: hidden;
  background-color: #333;
}

.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover,
.dropdown:hover .dropbtn {
  background-color: #333;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}


.chat-box{
  width: 95%;
  max-width: 1200px;
  margin: 10px auto;
  padding-left: 2px;
  padding-right: 2px;
  padding-top: 2px;
  padding-bottom: 0px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 400px;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 10px;
  display: flex;
  flex-direction: column;
  
}


.msg{
  padding-top: 10px;
}

.messages {
  border: 1px solid #ddd;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  padding-bottom: 0px;
  height: 300px;
  overflow-y: auto;
  background-color: #f9f9f9;

  border-radius: 5px;
  scrollbar-width: thin;
  scrollbar-color: #aaa #eee;
}

.messages::-webkit-scrollbar {
  width: 8px;
}

.messages::-webkit-scrollbar-track {
  background: #eee;
}

.messages::-webkit-scrollbar-thumb {
  background-color: #aaa;
  border-radius: 4px;
}

.message {
  /*padding: 8px;*/
  margin-bottom: 5px;
  border-bottom: 1px solid #eee;
}

.message:last-child {
  border-bottom: none;
}

.center{
  /*height: 90vh;*/
  text-align: center;
  justify-content: center;
  align-items: center;
  display: block;
}

.send_message_field{
  width: 90%;
  top: -10px;
  padding-top: -10px;
  border: 3px solid gray;
  border-radius: 10px;
  height: 2rem;
}

.send_message_field:active{
  border: 0;
}