* {
  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;
}
.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;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease-in;
}
.popup_show {
  visibility: visible;
  opacity: 1;
}
.popup__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  height: auto;
  padding: 20px;
  border-radius: 10px;
  font-size: 1.6rem;
  background-color: black;
  border: 1px solid white;
  color: white;
}
.popup__image {
  width: 280px;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
  align-self: center;
}

.audio {
  display: flex;
  flex-direction: column;
}
.audio__wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}
.audio__icon {
  width: 40px;
  height: 35px;
  background-size: 30px 30px;
  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: 30px 30px;
  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: 90%;
  -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;
}

.header {
  min-height: 80px;
  display: flex;
  align-items: center;
}
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  padding: 10px 0;
}
.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%;
  display: flex;
  justify-content: center;
}

.gallery {
  display: flex;
  flex-direction: column;
  width: 90%;
  gap: 15px;
  color: white;
}
.gallery__title {
  align-self: center;
  font-size: 2.5rem;
}
.gallery__cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 15px;
  margin-bottom: 20px;
}
.gallery__options {
  background-color: black;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.options {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1.8rem;
  list-style: none;
}
.options__item {
  width: 180px;
  min-height: 35px;
  text-align: center;
  padding: 5px;
  transition: all 0.2s ease-in;
  cursor: pointer;
}
.options__item_active {
  color: rgb(4, 212, 4);
  border: 2px solid rgb(4, 212, 4);
  border-radius: 10px;
}
.options__item_active:hover {
  cursor: default;
}
.options__item:hover {
  color: rgb(4, 212, 4);
}
.options__item:active {
  color: rgb(184, 3, 3);
}

.cards__item {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  max-width: 350px;
  height: 280px;
  flex: 1 1 30%;
  cursor: pointer;
}
.cards__title {
  font-size: 1.6rem;
  background: black;
  width: 100%;
  border-radius: 10px;
  text-align: center;
  padding: 5px;
}
.cards__image {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 5px 2px #000000;
}

.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;
  text-align: center;
  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__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;
  }
  .cards__item {
    flex: 1 1 45%;
  }
}
@media (max-width: 500px) {
  .cards__item {
    flex: 1 1 100%;
  }
  .popup__content {
    max-width: 300px;
  }
  .popup__image {
    width: 260px;
    height: 180px;
  }
  .footer__content {
    gap: 5%;
  }
}