* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 10px;
  height: 100%;
}

.body {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: "Comfortaa", cursive;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(238, 235, 235, 0.3)), url("../assets/img/eagle.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.body_active {
  overflow: hidden;
}

.container {
  max-width: 1920px;
  margin: 0 auto;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease-in;
  visibility: hidden;
  opacity: 0;
}
.overlay_show {
  visibility: visible;
  opacity: 1;
}

.header {
  display: flex;
  align-items: center;
  min-height: 80px;
  margin-bottom: 30px;
}
.header__container {
  width: 95%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}
.header .text-green {
  color: rgb(4, 212, 4);
}
.header__logo {
  display: block;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease-in;
  cursor: pointer;
}
.header__logo:hover {
  transform: scale(1.1);
}
.header__logo:active {
  color: rgb(184, 3, 3);
}
.header__title {
  font-size: 5rem;
}
.header .text-green {
  color: rgb(4, 212, 4);
}
.header__nav {
  display: flex;
  transition: all 0.3s ease-in;
}
.header__burger {
  display: none;
  width: 30px;
  height: 30px;
  background-image: url("../assets/svg/burger-menu-icon.png");
  background-repeat: no-repeat;
}
.header__close-icon {
  display: none;
  width: 25px;
  height: 25px;
  cursor: pointer;
}
.header__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 50px;
}
.header__link {
  display: inline-block;
  font-size: 1.8rem;
  text-decoration: none;
  text-transform: uppercase;
  color: white;
  transition: all 0.3s ease-in;
  cursor: pointer;
}
.header__link:hover {
  transform: scale(1.2);
}
.header__link:active {
  color: rgb(184, 3, 3);
}
.header__link_active {
  color: rgb(4, 212, 4);
  border-bottom: 2px solid rgb(4, 212, 4);
}
.header__link_active:hover {
  transform: none;
  cursor: default;
}
.header__link_active:active {
  color: rgb(4, 212, 4);
}
.header__lang {
  width: 40px;
  height: 40px;
  background-image: url("../assets/svg/lang-en-icon.svg");
  background-repeat: no-repeat;
  cursor: pointer;
}
.header__lang_ru {
  background-image: url("../assets/svg/lang-ru-icon.svg");
  background-repeat: no-repeat;
}

.main {
  flex: 1 1 100%;
}
.main__container {
  width: 95%;
}

.options {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
}
.options__item {
  list-style: none;
  padding: 5px;
  width: 180px;
  text-align: center;
}
.options__item_active {
  color: rgb(4, 212, 4);
  border: 2px solid rgb(4, 212, 4);
  border-radius: 10px;
}

.game {
  font-size: 1.8rem;
  color: white;
  width: 90%;
  margin: 0 auto;
}
.game__options {
  background-color: black;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 30px;
}
.game__question {
  display: flex;
  gap: 40px;
  padding: 15px;
  border-radius: 10px;
  background-color: black;
  margin-bottom: 25px;
  width: 100%;
}
.game__content {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}
.game__answers {
  display: flex;
  flex: 1 1 30%;
  min-width: 150px;
}
.game__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  border-radius: 10px;
  background-color: black;
}
.game__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
  border-bottom: 1px solid grey;
  cursor: pointer;
}
.game__item:last-child {
  border-bottom: none;
}
.game__item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translate(50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: grey;
}
.game__item_true::before {
  background-color: green;
}
.game__item_false::before {
  background-color: red;
}
.game__card {
  flex: 1 1 70%;
  padding: 15px;
  border-radius: 10px;
  background-color: black;
  min-height: 350px;
}
.game__btn {
  display: inline-block;
  width: 100%;
  background-color: black;
  color: white;
  font-family: "Comfortaa", cursive;
  font-size: 2rem;
  padding: 10px;
  border: none;
  border-radius: 10px;
  opacity: 0.7;
}
.game__btn_active {
  opacity: 1;
  cursor: pointer;
}

.question__bird-image {
  display: block;
  min-width: 200px;
  height: 155px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 5px 1px #ffffff;
}
.question__bird-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 15px;
}
.question__bird-top-content {
  display: flex;
  justify-content: space-between;
}
.question__bird-name {
  font-size: 3rem;
}
.question__score {
  display: flex;
  align-items: center;
  gap: 10px;
}
.audio {
  display: flex;
  flex-direction: column;
}
.audio__wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}
.audio__icon {
  width: 45px;
  height: 35px;
  background-size: 35px 35px;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}
.audio__icon_play {
  background-image: url("../assets/svg/play.svg");
}
.audio__icon_pause {
  background-image: url("../assets/svg/pause.svg");
}
.audio__time {
  display: flex;
  justify-content: space-between;
  font-size: 1.5rem;
  margin-left: 55px;
  margin-bottom: 5px;
}
.audio__volume {
  display: flex;
  align-items: center;
  gap: 15px;
}
.audio__volume-icon {
  width: 40px;
  height: 40px;
  background-size: 35px 35px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../assets/svg/sound-on.png");
  cursor: pointer;
}
.audio__volume-icon_off {
  background-image: url("../assets/svg/sound-off.png");
}
.audio__timebar {
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 5px;
  border-radius: 5px;
  background: rgb(4, 212, 4);
  background: linear-gradient(0deg, rgb(4, 212, 4) 0%, rgb(4, 212, 4) 100%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  border: 1px solid rgb(4, 212, 4);
  opacity: 0.7;
  transition: opacity 0.2s;
  cursor: pointer;
}
.audio__volumebar {
  width: 15%;
  min-width: 100px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 5px;
  border-radius: 5px;
  background: rgb(4, 212, 4);
  background: linear-gradient(0deg, rgb(4, 212, 4) 0%, rgb(4, 212, 4) 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border: 1px solid rgb(4, 212, 4);
  opacity: 0.7;
  transition: opacity 0.2s;
  cursor: pointer;
}
.audio__timebar:hover, .audio__volumebar:hover {
  opacity: 1;
}
.audio__timebar::-webkit-slider-thumb, .audio__volumebar::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: white;
  cursor: pointer;
  border-radius: 50%;
  -webkit-transition: 0.2s ease-in;
  transition: 0.2s ease-in;
}

.card {
  display: flex;
  justify-content: center;
}
.card__instruction {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}
.card__instruction_hide {
  display: none;
}
.card__instruction-text {
  display: block;
}
.card__content {
  display: none;
  flex-direction: column;
}
.card__content_show {
  display: flex;
}
.card__top-content {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.card__image {
  display: block;
  min-width: 200px;
  height: 155px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}
.card__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.card .audio__icon {
  background-size: 30px 30px;
}
.card .audio__volume-icon {
  background-size: 30px 30px;
}
.card .audio__volumebar {
  min-width: 80px;
}
.card .audio__time {
  font-size: 1.4rem;
}
.card__text {
  font-size: 1.6rem;
}

.footer {
  min-height: 80px;
  display: flex;
  align-items: center;
}
.footer__container {
  width: 95%;
}
.footer__content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7%;
}
.footer__link {
  display: block;
  text-decoration: none;
  transition: all 0.3s ease-in;
}
.footer__link:hover {
  transform: scale(1.1);
}
.footer__svg {
  height: 60px;
  width: 60px;
}
.footer__rights {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease-in;
  cursor: pointer;
}
.footer__rights:hover {
  transform: scale(1.1);
}
.footer__year, .footer__text {
  font-size: 1.5rem;
  font-weight: 500;
  font-family: "Roboto", sans-serif;
}

@media (max-width: 1000px) {
  .header__title {
    font-size: 4.5rem;
  }
  .header__content {
    gap: 50px;
  }
  .header__list {
    gap: 30px;
  }
}
@media (max-width: 900px) {
  .body {
    background-position: 30% 0;
  }
}
@media (max-width: 768px) {
  .header {
    margin-bottom: 10px;
  }
  .header__burger {
    display: block;
  }
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 60%;
    width: 100%;
    z-index: 2;
    border-radius: 10px;
    background-color: black;
  }
  .header__nav_show {
    right: 0;
  }
  .header__close-icon {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
  }
  .header__list {
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
  }
  .header__link {
    font-size: 3rem;
  }
  .game__options {
    margin-bottom: 20px;
  }
  .game__question {
    gap: 25px;
    margin-bottom: 20px;
  }
  .game__content {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
  }
  .game__answers {
    flex: 1 1 100%;
  }
  .game__card {
    padding: 15px;
    min-height: auto;
    font-size: 1.6rem;
  }
  .game__item {
    padding: 10px 40px;
  }
  .question__bird-name {
    font-size: 2rem;
  }
  .question__score-text {
    font-size: 1.6rem;
  }
  .options {
    font-size: 1.7rem;
  }
}
@media (max-width: 650px) {
  .question__bird-image {
    align-self: center;
  }
  .game__question {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }
  .game__card {
    padding: 10px;
  }
  .card__top-content {
    flex-direction: column;
    gap: 10px;
  }
  .card__image {
    align-self: center;
  }
  .options {
    font-size: 1.6rem;
  }
  .footer__content {
    gap: 5%;
  }
  .footer__text, .footer__year {
    font-size: 1.4rem;
  }
}