.body {
  background-color: #252525;
  font-family: "Courier New", serif;
  color: white;
  height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: 1fr 10fr 1fr;
  max-width: 1100px;
  align-items: center;
  justify-items: center;
  margin: auto;
}

.header {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 200px;
  height: 55px;
}

.logo:hover {
  filter: drop-shadow(1px 1px white);
}

.score {
  min-width: 100px;
  font-size: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.level {
  user-select: none;
  grid-column: 1 / 3;
}

.level-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 40px;
  list-style-type: none;
  background-color: #007c5d;
  border-radius: 10px;
  overflow: hidden;
}

.level-list-item {
  min-width: 130px;
  box-sizing: border-box;
  /*border-radius: 10px;*/
  display: flex;
  justify-content: center;
  align-items: center;
  /*cursor: pointer;*/
}

.level-list > .active {
  background-color: #00bc8c;
  border: 1px solid #007c5d;
  font-weight: bold;
}

.level-list-item.new {
  animation-duration: .5s;
  animation-fill-mode: both;
  animation-name: anim;
}

.game-field {
  align-self: flex-start;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.game-task,
.game-options,
.game-answer {
  background-color: #333;
  box-sizing: border-box;
  border-radius: 10px;
  display: grid;
  flex-wrap: wrap;
}

.game-task {
  grid-column: 1 / 3;
  min-height: 200px;
  display: grid;
  flex-wrap: wrap;
}

.game-options {
  grid-column: 1 / 2;
  height: 300px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
}

.game-option {
  width: 100%;
  height: calc(100% / 6);
  box-sizing: border-box;
  border: 1px solid #555;
  display: flex;
  align-items: center;
}

.game-option:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.game-option:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.game-option:hover {
  background-color: #555;
}

.game-option.false {
  background-color: rgba(139, 0, 0, 0.2);
}

.game-option.true {
  background-color: rgba(0, 100, 0, 0.2)
}

.game-option-text {
  margin-left: 20px;
}

.game-option-text:before {
  content: "o";
  font-size: 16px;
  float: left;
  margin-right: 20px;
}

.game-option-text.false:before {
  content: "x";
  color: red;
}

.game-option-text.true:before {
  content: "✔";
  color: #00bc8c;
}

.game-answer {
  grid-column: 2 / 3;
  min-height: 100px;
  display: flex;
}

.game-answer {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.game-btn__next {
  grid-column: 1 / 3;
  /*margin-top: 20px;*/
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #555;
  border-radius: 10px;
  height: 40px;
  user-select: none;
}

.game-btn__next.active {
  background-color: #007c5d;
}

.hidden {
  display: none;
}

.game-btn__next:active {
  box-shadow: 0 0 2px white;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr 100fr 2fr;
  grid-template-rows: 1fr;
  width: 100%;
  justify-items: center;
  align-items: center;
}

.footer-link {
  text-decoration: none;
  color: white;
  text-align: center;
  max-width: 100px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  object-fit: contain;
  margin: 10px;
  cursor: pointer;
  font-size: 50px;
}

.rsschool {
  background-color: yellow;
}

.footer-link:hover {
  transform: scale(110%);
}


/*****    ******    *****/

/*****    ******    *****/

/*****    ******    *****/
/*****    PLAYER    *****/
/*****    ******    *****/

/*****    ******    *****/

/*****    ******    *****/


.player {
  box-sizing: border-box;
  display: grid;
  gap: 20px;
  padding: 20px;
  grid-template-columns: 200px auto;
  grid-template-rows: 30px 30px 60px;
  border-radius: 10px;
  border: 1px solid #555;
}

.game-task > .player {
  grid-column: 1 / 3;
}

.game-answer > .player {
  min-height: 300px;
}

.game-answer > .player > .name {
  /*text-align: center;*/
  /*overflow: auto;*/
}

.game-task > .player > .name {
  font-size: 80px;
  grid-column: 2 / 2;
  grid-row: 1/2;
}

.picture {
  width: 200px;
  height: 160px;
  border-radius: 10px;
  object-fit: cover;
}

.name, .latinName {
  text-align: left;
}

.name {
  font-size: 30px;
  grid-column: 2 / 2;
  grid-row: 1/1;
}

.latinName {
  font-size: 20px;
  grid-column: 2 / 2;
  grid-row: 2/2;
}

.controls {
  width: calc(100%);
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  grid-column: 2 / 2;
  grid-row: 3/3;
  border-radius: 50px;
  border: 2px solid #fff;
  background-color: #007c5d;
}

.progress {
  flex-grow: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 10px;
}

.progressBar {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 10px;
  opacity: 0.8;
  overflow: hidden;
}

.progressBar:hover {
  opacity: 1;
}

.progressBar::-webkit-slider-runnable-track {
  cursor: pointer;
  background: white;
  border-radius: 10px;

}

.progressBar::-webkit-slider-thumb {
  cursor: pointer;
  appearance: none;
  width: 2px;
  height: 20px;
  background: #00bc8c;
  border-radius: 10px;
  box-shadow: -1000px 0 2px 1000px #00bc8c;
}

.btn {
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  background-color: white;
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition-duration: .1s;
  margin: 5px;
}

.btn:hover {
  transition-duration: .1s;
  transform: scale(97%);
  border: 3px dashed #00bc8c;
}

.btn:active {
  background-color: #007c5d;
}

.playButton {
  background-image: url("../assets/icons/play.png");
}

.playButton.playing {
  background-image: url("../assets/icons/pause.png");
}

.volume {
  position: relative;
}

.volume {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 10px;
  /*overflow: hidden;*/
}
.volumeBar {
  -webkit-appearance: none;
  width: 100px;
  height: 20px;
  position: absolute;
  left: -22px;
  top: -70px;
  transform: rotate(270deg);
  overflow: hidden;
  border: 1px solid white;
  border-radius: 10px;

  opacity: 0.8;
}
.volumeBar:hover {
  opacity: 1;
}

.volumeBar::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  cursor: pointer;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}

.volumeBar::-webkit-slider-thumb {
  -webkit-appearance: none;
  cursor: pointer;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background-color: #007c5d;
  box-shadow: -100px 0 0 90px #00bc8c;
}

.volumeBtn {
  background-image: url("../assets/icons/volume-full.png");
  background-size: 50%;
  background-position: 50% 50%;
}

.volumeBtn.half {
  background-image: url("../assets/icons/volume-half.png");
}

.volumeBtn.low {
  background-image: url("../assets/icons/volume-low.png");
}

.volumeBtn.muted {
  background-image: url("../assets/icons/volume-muted.png");
}

.description {
  grid-column: 1 / 3;
  grid-row: 4/4;
  text-indent: 20px;
  text-align: justify;
}

.welcome-field,
.result-field,
.gallery-field {
  font-size: 2em;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.buttons {
  align-self: flex-end;
  justify-self: center;

}


.btnMain, .btnResult, .btnPlay, .btnGallery {
  width: 100px;
  height: 40px;
  margin: 10px;
  border-radius: 10px;
  font-family: "Courier New", serif;
  font-size: 16px;
  color: white;
  background-color: #007c5d;
  border: 0;
}

.btnMain:hover, .btnResult:hover, .btnPlay:hover, .btnGallery:hover {
  font-weight: 600;
  transform: scaleX(110%);
}

.btnMain:disabled, .btnResult:disabled, .btnPlay:disabled, .btnGallery:disabled {
  background-color: #00bc8c;
}

.gallery-field {

}

.gallery-content {
  border: 1px solid #555;
  border-radius: 10px;
  font-size: 16px;
  overflow: auto;
  max-height: 520px;
}

.hidden {
  display: none;
}