.box-translator {
  min-height: 300px;
  height: calc(100% - 51px);
  font-family: 'Noto Sans Meetei Mayek', sans-serif;
}

.box-btn-copy {
  position: absolute;
  right: 30px;
  bottom: 10px;
}

.btn-copy {
  display: flex;
  cursor: pointer;
  color: black;
  border: none;
  outline: none;
}

.btn-copy:focus {
  border: 2px solid #777;
}

.box-btn-swap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-swap {
  padding: 8px 12px;
  background: #999;
  margin: 5px;
  cursor: pointer;
  color: white;     
  border: none;
  outline: none;
  line-height: 4px;
}

.btn-swap:focus {
  border: 2px solid #777;
}

.btn-swap span {
  transform: rotate(90deg);
}

.box-btn-translate {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-translate {
  padding: 10px 25px;
  background: #1d7196;
  margin: 5px;
  cursor: pointer;
  color: white;
  border: none;
  outline: none;
}

.btn-translate:focus,
.btn-translate:hover {
  border: 1px solid #113f53;
  background-color: #113f53;
  color: #eee;
}

.btn-logout {
  line-height: 4px;
}

.header-box-translator {
  justify-content: center;
  display: flex;
  position: relative;
  border-left: 1px solid #ccc;
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
  padding: 5px 0;
}

.language-box-translator {
  width: 300px;
  text-align: center;
}

.textarea-translator {
  min-height: 300px;
  height: 100%;
  padding: 20px;
  line-height: 1.5;
  width: 100%;
  resize: none;
  border: 1px solid #eee;
  color: #555;
}

.result-text {
  line-height: 1.5;
  min-height: 300px;
  padding: 20px;
  color: black;
  position: relative;
  width: 100%;
}

.result-text-bg {
  background: #eee;
  border: 1px solid #eee;
  line-height: 1.5;
  width: calc(100% - 30px);
  min-height: 300px;
  position: absolute;
  top: 51px;
  height: calc(100% - 51px);
}

.font-small {
  font-size: 18px;
}

.setting-flags {
  display: inline-block;
  width: 50px;
}

.setting-flags img {
  width: 40px;
  height: 40px;
}

.languages {
  display: inline-block;
}

.wrapper-row-translator {
  margin-top: 6vw;
  margin-bottom: 10vw;
}

.wrapper-containers {
  display: flex;
  width: 100%;
}

.visually-hidden:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

#text-language-detected {
  border: none;
  text-decoration: none;
  color: #1d7196;
  font-weight: bold;
  background-color: transparent;
}

@media (max-width: 650px) {
  .wrapper-containers {
    flex-direction: column;
  }
}