* {
  margin: 0;
  font-family: "Inter";
  font-style: normal;
}

body,
html {
  width: 100%;
  height: 100%;
}

body {
  background-image: url(../img/7.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

h1 {
  font-size: 3vw;
  padding: 1vw 0;
}

h2 {
  font-size: 2vw;
  padding: 1vw 0;
}

h1,
h2,
h3,
p {
  font-family: "Google Sans Code", monospace;
  font-optical-sizing: auto;
  font-style: normal;
  display: flex;
  justify-content: center;
  color: #000000;
}

h3,
p {
  width: 67%;
  margin: auto;
  font-size: 1vw;
  text-align: center;
}

.wrong-lang-list {
  display: flex;
  width: 50%;
  justify-content: space-around;
  margin: auto;
  padding: 2vw 0;
}

ul,
li {
  list-style: none;
}

.form-check-label {
  font-family: "Google Sans Code", monospace;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 21px;
}

.input-group {
  display: flex;
  justify-content: center;
}
span {
  font-size: 25px;
}

input,
button {
  border: none;
  cursor: pointer;
}
.btn.btn-light,
.switch-btn,
.copy-edited-text,
.btn.btn-primary,
.remake-text,
.write-translit,
.different,
.change-lang,
.network-name {
  height: 3vw;
  font-family: "Google Sans Code", monospace;
  font-style: normal;
  font-size: 20px;
  background-color: #fbc5bf;
  padding: 0 20px;
  display: flex;
  align-items: center;
  border-radius: 5px;
}

.btn.btn-light:hover,
.btn.btn-primary:hover {
  background-color: red;
}

.form-control {
  width: 50vw;
  height: 3vw;
  font-family: "Google Sans Code", monospace;
  font-style: normal;
  font-size: 20px;
  padding-left: 15px;
}

.fa:hover {
  background-image: url("../img/search-hover.png");
}

input[type="radio"] {
  accent-color: #87170a;
  height: 1.2vw;
  width: 2vw;
}
input {
  outline: none;
}
.form-check {
  display: flex;
  align-items: center;
}

.fa {
  cursor: pointer;
  background-image: url("../img/search.png");
  background-size: contain;
  background-repeat: no-repeat;
  padding: 0px 0px 0px 0px;
  background-position-y: center;
  display: flex;
  width: 3vw;
  height: 3vw;
}

#out_res_wrong_typed_text {
  background: rgb(236 160 160 / 21%);
  width: 57.5vw;
  display: block;
  align-items: center;
  margin: auto;
  height: fit-content;
  padding: 15px 15px;
  margin-top: 30px;
}

.btn.btn-primary {
  padding: 10px 10px;
  margin: auto;
  display: flex;
  margin-top: 15px;
  align-items: center;
}

p:empty:not(:focus)::before {
  content: attr(data-placeholder);
  font-family: "Google Sans Code", monospace;
  font-style: normal;
}

.change-info {
  display: flex;
  margin: 3vw;
  gap: 5vw;
  justify-content: center;
}

.remake-text,
.write-translit,
.different,
.change-lang {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.remake-text:hover,
.write-translit:hover,
.different:hover,
.change-lang:hover {
  box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24),
    0 17px 50px 0 rgba(0, 0, 0, 0.19);
}

#translite_text,
#other_text {
  display: none;
}

.list-inline.banner-social-buttons.translite_box,
.wrong-lang-list.list-inline.banner-social-buttons {
  display: flex;
  justify-content: center;
  gap: 5vw;
  padding-bottom: 35px;
}

#tTabCell {
  display: flex;
  cursor: pointer;
  justify-content: center;
  gap: 6px;
  padding-bottom: 30px;
}

.tC2,
.tB.bcharset {
  font-family: "Google Sans Code", monospace;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 20px;
}

.list-inline.banner-social-buttons {
  display: flex;
  justify-content: center;
  gap: 15vw;
}

#out_result_1,
#out_result_2,
#out_result_3 {
  width: 250px;
  height: 100px;
  word-wrap: break-word;
}

a {
  text-decoration: none;
  color: black;
}

a:focus {
  outline: 0;
}

/* стили для отдельной страницы */

#stage-2 {
  padding-bottom: 1vw;
}

.key.highlighted {
  background-color: #ffcc00; /* Жёлтый для подсветки нажатия */
}

.switch-btn:hover {
  background: red;
}

#windows-keyboard,
#mac-us-keyboard {
  display: none;
}

#mac-uk-keyboard {
  display: none;
}

.btn-change-keys {
  display: flex;
  justify-content: center;
  gap: 8vw;
  margin: 2vw;
}

.key {
  width: 50px;
  height: 50px;
  margin: 2px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: default;
  transition: background-color 0.2s;
    font-family: "Google Sans Code", monospace;
    font-style: normal;
}

.key.highlighted {
  background-color: #ffcc00; /* Жёлтый для подсветки нажатия */
}

#windows-keyboard,
#mac-us-keyboard {
  display: none;
}

#mac-uk-keyboard {
  display: none;
}

/* Новый класс для следующей ожидаемой клавиши */
.key.next {
  background-color: #90BE9A; /* Зелёный для указания следующей клавиши */
}

.hidden {
  display: none;
}

.keyboard-row {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}
