body {
  margin: 0 auto;
  background-color: #c3b0c3;
  max-width: 1440px;
}
main {
  max-width: 900px;
  width: calc(100vw - 40px);
  min-width: 360px;
  min-height: 400px;
  margin: 20px auto;
  border: 2px solid black;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
/* menu */
.menu {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: center;
  position: relative;
}
.button {
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 5px;
}
.level {
  margin: 5px;
  font-size: 1.2em;
}
.start {
 position: absolute;
 right: 30px;
 top: 20px;
 font-size: 2em;
 background-color: #2fd345;
}
.start-new {
  position: absolute;
  right: 30px;
  top: 20px;
  font-size: 2em;
  background-color: #2fd345;
 }
.corrent-dif {
  background-color: #2fd345;
}
.non-corrent-dif {
  background-color: #f9927b;
}
/* game */
.game-field {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bottom-div {
  padding: 7px;
  border: 1px solid black;
  border-radius: 15px;
  text-align: center;
  position: absolute;
  bottom: 10px;
}
.rounds {
  background-color: #f0f0f0;
  right: 10px;
}
.repeat {
  left: 10px;
  cursor: pointer;
}
.next {
  min-width: 100px;
  left: 10px;
  cursor: pointer;
  background-color: #2fd345;
}
.repeat-able {
  background-color: #2fd345;
}
.repeat-disable {
  background-color: #f9927b;
}
.input {
  background-color: white;
  border-radius: 5px;
  margin: 20px auto;
  padding: 5px 10px 0;
  min-width: 300px;
  height: 50px;
  text-align: center;
  font-size: 2em;
  overflow: hidden;
}
.incorrect {
  color: red;
}
.keyboards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 2em auto 0;
  max-width: 450px;
}
.keyboard {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.key {
  background-color: #f0f0f0;
  width: 25px;
  height: 30px;
  font-size: 1.2em;
  text-align: center;
  margin: 5px;
  border: 1px solid black;
  cursor: pointer;
  padding: 5px 3px 3px;
  border-radius: 5px;
}
.key-highlight {
  background-color: #ffffdd;
}
@media (max-width: 480px) {
  main {
    width: calc(100vw - 20px);
    min-width: 300px;
  }
  .start {
    top: 15px;
    font-size: 1.6em;
   }
   .start-new {
    right: 5px;
    top: 15px;
    font-size: 1.5em;
   }
  .key {
    width: 18px;
    height: 24px;
    margin: 3px;
  }
  .keyboard {
    max-width: 340px;
  }
}
.active {
  background-color: rgb(154, 255, 173);
}
.hidden {
  display: none;
}
/* */
.winning {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%, -50%);
  min-width: 300px;
  min-height: 200px;
  border: 2px solid orange;
  border-radius: 20px;
  background-color: bisque;
  font-size: 3em;
  text-align: center;
}