@font-face {
  font-family: 'Montserrat-SemiBold'; /* Имя шрифта, которое вы будете использовать в вашем CSS */
  src: url('/static/font/Montserrat-SemiBold.ttf') format('truetype'); /* Путь к .woff2 файлу */
}

@font-face {
  font-family: 'Montserrat-ExtraBold'; /* Имя шрифта, которое вы будете использовать в вашем CSS */
  src: url('/static/font/Montserrat-ExtraBold.ttf') format('truetype'); /* Путь к .woff2 файлу */
}

@font-face {
  font-family: 'Montserrat-Medium'; /* Имя шрифта, которое вы будете использовать в вашем CSS */
  src: url('/static/font/Montserrat-Medium.ttf') format('truetype');
}


body{
  background-color: #D5E6F2;
}


.navbar{
  height: 9.25vh;
  min-height: 50px;
}


.navbar-brand {
  display: flex; /* Используйте flexbox для управления расположением дочерних элементов */
  align-items: center; /* Выравнивание по вертикали по центру */
  justify-content: center; /* Выравнивание по горизонтали по центру */
  width: auto;
  height: 90%;
  margin-left: 6.9%;
  padding: 0 ;
}

.new_logo{
  height: 100%;
  margin-right: 4%;
}

.name{
  display: flex; /* Используйте flexbox для управления расположением дочерних элементов */
  align-items: center; /* Выравнивание по вертикали по центру */
  justify-content: center;
  height: 100%;
  margin-bottom: 0px;
  margin-right: 20px;
  font-size: 1.4rem;
  font-family: 'Montserrat-ExtraBold';
  color: #353535;
}

#box{
  position: relative;
  width: 85%;
  z-index: 1;
  height: 58vh;
  min-height: 390px;
  border: 3px solid #ACD7FA;
  background-color: white;
  border-radius:20px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 9.25vh;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  font-family: 'Montserrat-SemiBold';
}


#text_content{
  position: relative;
  width: 100%;
  height: 92%;
  padding: 0.7% 1.6% 0px 1.6%;
  outline: none;
  color: black;
  text-align: left;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 2;
}


button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  box-shadow: none;
}


#clean_text{
  position: absolute;
  top: 3%;
  right: 1%;
  height: 4.0%;
  min-height: 24px;
  width: 1.0%;
  min-width: 24px;
  background-image:url('/static/images/clean_text.png');
  background-size:100%;
  padding: 0px;
  outline: none;
  z-index: 3;
}

#clean_text:hover{
    background-image:url('/static/images/clean_text2.png');
    background-size: 100%;
  }

#clean_text:active{
  background-image:url('/static/images/clean_text3.png');
  background-size: 100%;
}

#placeholder {
  position: absolute;
  z-index: 2;
  top: 3%;
  left: 1.6%;
  color: #999;
  pointer-events: none; /* Это предотвращает взаимодействие с подсказкой */
  user-select: none; /* Это предотвращает выделение текста в подсказке */
}


#sendb {
  width: 250px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3%;
}


#send {
  position: relative;
  background-color: #2FB3BD;
  border-radius: 15px;
  color: white;
  font-family: 'Montserrat-ExtraBold';
  font-size: 1.7rem;
  padding: 2.5% 0% 2.5% 0%;
  width: 100%;
}

#send[disabled] {
    background-color: gray; /* устанавливаем серый цвет фона */
    pointer-events: none; /* отключаем реакцию на события мыши */
}

#send:hover {
  background: linear-gradient(to bottom, #2FB3BD, #165257);
}

#send:active {
  background-image: none;
  background-color: #17575C; /* Изменяем цвет при нажатии */
}



.container1 {
  display: block;
  width: 85%;
  height: 2em;
  margin-top: 1.5%;
  margin-left: auto;
  margin-right: auto;
}

.rus {
  display: inline-block;
  float: left;
  width: 45%;
  font-family: 'Montserrat-SemiBold';
  font-size: 1.4rem;
  text-align: left;
}
.mari {
  display: inline-block;
  float: right;
  width: 45%;
  font-family: 'Montserrat-SemiBold';
  font-size: 1.4rem;
  text-align: left;
}

.container2 {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  width: 85%;
  margin-top: 1%;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  justify-content: space-between;
}

#vector1 { /* Добавляем псевдоэлемент */
  position: absolute;
  left: 50%;
  width: 0;
  height: 100%;
  border-right: solid #706F6F 1px;
}

.block1 {
  flex: 0 0 45%;
  width: 45%;
  height: fit-content;
  margin: 7px 0;
  background: #FFFFFF;
  border: 2px solid #A5A4A4;
  box-shadow: 0px 0px 20px 5px #A9D0E7;
  border-radius: 15px;
  padding: 0.4% 0.7%;
  color: #706F6F;
  font-family: 'Montserrat-SemiBold';
}

.block2 {
  flex: 0 0 45%;
  width: 45%;
  height: fit-content;
  margin: 7px 0;
  background: #FFFFFF;
  border: 2px solid #A5A4A4;
  box-shadow: 0px 0px 20px 5px #A9D0E7;
  border-radius: 15px;
  padding: 0.4% 0.7%;
  font-family: 'Montserrat-SemiBold';
}

.dropdown-trigger {
  position: relative;
  cursor: pointer;
  border-bottom: 3px solid #FF4C4C;
}

#rightWordDiv{
  display: none;
  position: absolute;
  z-index: 9999;
  background-color: #F7F8FB;
  border: 2px solid #B3C7DF;
  border-radius: 7%;
  width: 24%;
  min-width: 150px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  color: #4C4C4C;
}

#dropdownlist{
  display: block;
  list-style: none;
  padding: 0;
  margin: 15px 4.8%;
  text-decoration: underline;
}

#dropdownlist li{
  cursor: pointer;
  margin: 2px 0;
  text-decoration: none;
}


#ignor{
  position: relative;
  margin: 0 5% 10px 5%;
  width: 90%;
  min-width: 110px;
  padding: 0;
  outline: none;
  color: white;
  border-radius: 8px;
  background-color: #2FB3BD;
  display: flex; /* Используйте flexbox для управления расположением дочерних элементов */
  align-items: center; /* Выравнивание по вертикали по центру */
  justify-content: center;
}

@media (hover: hover) {
  #dropdownlist li:hover{
    color: #1E50A5;
    text-decoration: underline #1E50A5;
  }
  #ignor:hover{
    opacity: 0.6;
  }
}

#inform{
  position: absolute;
  left: 1.6%;
  bottom: 1%;
  display: block;
  height: 7%;
  border: 1px solid #ACD7FA;
  border-radius: 20px;
  padding: 0px 10px 0px 10px;
}

#error_symbol{
  display: none;
}