@import "base/normalize.css";
* {
  box-sizing: border-box;
}

html {
  font-size: 10px;
}

body {
  background-color: #0e0d0d;
  font-size: 1.6rem;
  font-family: Montserrat, sans-serif;
  color: #fff;
}

.hidden {
  display: none !important;
}

.page {
  width: 100%;
}

.uncorrect-answer__black-img {
  position: relative;
  filter: grayscale(100%);
}

.artists-categories__title,
.pictures-categories__title {
  margin-bottom: 3rem;
  color: #ffbca2;
}
@media screen and (min-width: 320px) {
  .artists-categories__title,
.pictures-categories__title {
    font-size: 2rem;
    font-weight: 600;
    font-style: normal;
    line-height: 2rem;
  }
}
@media screen and (min-width: 768px) {
  .artists-categories__title,
.pictures-categories__title {
    font-size: 4rem;
    font-weight: 600;
    font-style: normal;
    line-height: 2rem;
  }
}

.settings-button {
  width: 25px;
  height: 25px;
  background: url(../images/icons/settings-icon.svg) no-repeat center center;
  background-size: cover;
  border: none;
  cursor: pointer;
  opacity: 0.4;
  transition: 0.5s ease-in-out;
}
.settings-button:hover {
  opacity: 1;
}

.start-page__buttons {
  padding-top: 54vh;
  padding-bottom: 46vh;
  display: flex;
  flex-direction: column;
  row-gap: 1.2rem;
  width: 50%;
  margin: auto;
}
.start-page__buttons > button {
  margin: auto;
}

.button {
  width: 21rem;
  height: 6rem;
  border-radius: 35px;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  color: #fff;
}

.button-bordered {
  transition: 0.5s ease-in-out;
}
.button-bordered:hover, .button-bordered:active {
  background-color: #de9e06;
  border: 2px solid #de9e06;
}

.button-colored {
  background-color: #de9e06;
  transition: 0.5s ease-in-out;
  border: 2px solid #de9e06;
}
.button-colored:hover, .button-colored:active {
  background: #755303;
  border: 2px solid #755303;
}

.btn-correct-answer {
  background-color: green;
  border: 2px solid green;
}

.btn-uncorrect-answer {
  background-color: red;
  border: 2px solid red;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.header__logo {
  width: 190px;
  height: 90px;
  background: url("../images/icons/logo.svg") no-repeat center center;
}

.music-switch {
  position: relative;
  width: 26px;
  height: 26px;
  background: url("../images/icons/music-icon.svg") no-repeat center center;
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(152deg) brightness(103%) contrast(103%);
  opacity: 0.6;
  cursor: pointer;
}
.music-switch::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0px;
  width: 35px;
  height: 3px;
  background: #fff;
  transform: rotate(45deg);
  background-color: black;
}

.music-switch.turn-on::before {
  content: "";
  display: none;
}

.wrapper {
  width: 80%;
  margin: auto;
}

.footer {
  position: absolute;
  padding: 10px 0;
  left: 0;
  width: 100%;
  font-size: 1.4rem;
  font-weight: normal;
  font-style: normal;
  line-height: 2rem;
}
.footer__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__logo, .footer__github-link {
  cursor: pointer;
  transition: 0.3s ease-in;
  opacity: 0.5;
}
.footer__logo:hover, .footer__github-link:hover {
  opacity: 1;
}
.footer__logo {
  width: 70px;
  height: 29px;
  background: url("../images/icons/rss-logo.svg") no-repeat center center;
}
.footer__logo > a {
  width: 100%;
  height: 100%;
  display: block;
}
.footer__github-link {
  width: 24px;
  height: 20px;
  background: url("../images/icons/github-icon.svg") no-repeat center center;
}
.footer__github-link > a {
  width: 100%;
  height: 100%;
  display: block;
}

.start-page {
  background: url("../images/background.jpg") no-repeat top center;
  background-size: cover;
}

.settings-page {
  position: absolute;
  background: #0e0d0d;
  left: 0;
  height: 100vh;
  top: 10 rem;
  top: 0;
  opacity: 0.98;
  z-index: 10;
}
.settings-page__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 39px;
  text-align: center;
  width: 100%;
  height: 100%;
}
.settings-page__subtitle, .settings-page__answer-title, .settings-page__time-title {
  margin-bottom: 14px;
}
.settings-page__volume {
  width: 85%;
}
.settings-page__mute, .settings-page__unmute {
  width: 34px;
  height: 27px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.settings-page__mute:hover, .settings-page__mute:active, .settings-page__unmute:hover, .settings-page__unmute:active {
  filter: invert(63%) sepia(96%) saturate(1844%) hue-rotate(6deg) brightness(96%) contrast(95%);
}
.settings-page__mute {
  background: url("../images/icons/unmute.svg") no-repeat center center;
}
.settings-page__unmute {
  background: url("../images/icons/mute.svg") no-repeat center center;
}
.settings-page__time-switch {
  display: flex;
  flex-direction: row;
  column-gap: 6px;
  justify-content: center;
  align-items: center;
}
.settings-page__time-switch > input[type=checkbox] {
  width: 3rem;
  height: 3rem;
  cursor: pointer;
}
.settings-page__btn-counter {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.settings-page__counter-btn {
  position: relative;
  width: 30px;
  height: 30px;
}

.volume-range {
  width: inherit;
}

.close-settings {
  position: absolute;
  top: 3rem;
  right: 5.4rem;
  width: 35px;
  height: 30px;
  cursor: pointer;
  border: none;
  background: transparent;
}
.close-settings:hover, .close-settings:active {
  width: 40px;
  height: 40px;
}
.close-settings__cross {
  display: block;
  position: relative;
  width: 100%;
  height: 2px;
}
.close-settings__cross:before, .close-settings__cross:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
}
.close-settings__cross:before {
  transform: rotate(-45deg);
}
.close-settings__cross:after {
  transform: rotate(45deg);
}

.categories {
  padding-top: 12rem;
}
.categories__container {
  display: flex;
  flex-wrap: wrap;
  row-gap: 30px;
  justify-content: space-between;
  max-height: 70vh;
  overflow-y: scroll;
}

::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.artists-quiz-page {
  padding-top: 12rem;
}

.artists-quiz__container {
  display: flex;
  flex-wrap: wrap;
  row-gap: 30px;
  column-gap: 20px;
  justify-content: center;
}
.artists-quiz__container > img {
  width: 100%;
}

.artists-categories__title {
  margin-bottom: 20px;
}

.cards-rounds {
  flex-basis: 47%;
  cursor: pointer;
  transition: 0.8s ease-in-out;
}
.cards-rounds:active {
  transform: scale(1.02);
}
@media screen and (min-width: 320px) {
  .cards-rounds {
    flex-basis: 45%;
  }
}
@media screen and (min-width: 768px) {
  .cards-rounds {
    flex-basis: 47%;
  }
}
@media screen and (min-width: 1620px) {
  .cards-rounds {
    flex-basis: 31%;
  }
}

.image-container > img {
  width: 100%;
  height: 100%;
  border-radius: 30px;
}

.artists-quiz-title {
  font-size: 3rem;
  margin-bottom: 5rem;
  text-align: center;
  color: #ffbca2;
}

@media screen and (min-width: 768px) {
  .artists-quiz__answers {
    width: 31rem;
  }
}
@media screen and (min-width: 1366px) {
  .artists-quiz__answers {
    width: 35rem;
  }
}

.pictures-quiz__wrapper {
  padding-top: 19rem;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  align-items: center;
  height: 100%;
  width: 100%;
}
@media screen and (min-width: 320px) {
  .pictures-quiz__wrapper {
    padding-top: 10rem;
  }
}
@media screen and (min-width: 768px) {
  .pictures-quiz__wrapper {
    padding-top: 19rem;
  }
}

.pictures-quiz-image {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 20px;
}
@media screen and (min-width: 1366px) {
  .pictures-quiz-image {
    column-gap: 40px;
    justify-content: center;
    row-gap: 31px;
  }
}

.quiz-pictures {
  width: 45%;
  height: auto;
  cursor: pointer;
  border-radius: 30px;
}
@media screen and (min-width: 1366px) {
  .quiz-pictures {
    width: 34%;
  }
}

.modal-results__image-container {
  width: 178px;
  height: 178px;
  cursor: pointer;
}
.modal-results__image-container > img {
  width: 100%;
  height: 100%;
  border-radius: 30px;
}

.uncorrect-answer {
  position: relative;
}
.uncorrect-answer::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: url("../images/icons/uncorrect.svg") no-repeat center center;
  pointer-events: none;
}

.correct-answer {
  position: relative;
}
.correct-answer::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: url("../images/icons/correct.svg") no-repeat center center;
}

.pictures-quiz__answers-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  row-gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.pictures-quiz__answers {
  flex-basis: 48%;
  text-align: center;
}
.pictures-quiz__answers:active {
  background-color: #de9e06;
}

.img-answer-uncorrect {
  border: 3px solid red;
  transform: scale(1.1);
  transition: 1s ease-in-out;
}

.img-answer-correct {
  border: 3px solid green;
  transform: scale(1.1);
  transition: 1s ease-in-out;
}

.pictures-quiz-title {
  font-size: 3rem;
  margin-bottom: 5rem;
  text-align: center;
  color: #ffbca2;
}

.modal-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 10rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 900px;
  z-index: 20;
  background: #fff;
  border-radius: 16px;
  opacity: 1;
  text-align: center;
}
.modal-page__title {
  color: #0e0d0d;
}
@media screen and (min-width: 320px) {
  .modal-page__title {
    margin-bottom: 1rem;
    margin-top: 1rem;
  }
}
@media screen and (min-width: 768px) {
  .modal-page__title {
    margin-bottom: 3rem;
    margin-top: 6rem;
  }
}
@media screen and (min-width: 1366px) {
  .modal-page {
    width: 40%;
  }
}

.modal-results__artists-container {
  width: 178px;
  height: 178px;
  cursor: pointer;
}
.modal-results__artists-container > img {
  width: 100%;
  height: 100%;
  border-radius: 30px;
}

.modal-results__artists-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 15px;
  margin: auto;
  z-index: 2;
  color: #0e0d0d;
  opacity: 1;
}
.modal-results__artists-info > img {
  width: 100%;
}

.modal-results__buttons {
  display: flex;
  flex-direction: row;
  column-gap: 3rem;
  padding: 34px 0px;
}

.modal-answer__about > img {
  width: 84%;
  margin-bottom: 8rem;
}
@media screen and (min-width: 320px) {
  .modal-answer__about > img {
    margin-bottom: 0;
  }
}
@media screen and (min-width: 768px) {
  .modal-answer__about > img {
    margin-bottom: 8rem;
  }
}

.modal-answer__subtitle {
  color: #0e0d0d;
  font-size: 3rem;
  font-weight: 600;
  font-style: normal;
  line-height: 2rem;
  margin-bottom: 2rem;
}

.modal-answer__year {
  color: #0e0d0d;
  font-size: 1.8rem;
}
@media screen and (min-width: 320px) {
  .modal-answer__year {
    margin-bottom: 1rem;
  }
}
@media screen and (min-width: 768px) {
  .modal-answer__year {
    margin-bottom: 6rem;
  }
}

.modal-answer__home-btn {
  margin-left: 50%;
  transform: translateX(-50%);
  margin-top: 26px;
}

.modal-results__container {
  width: 100%;
  height: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 10px;
  overflow: hidden;
  overflow-y: scroll;
}

div[data-round] {
  position: relative;
  filter: grayscale(100%);
}
div[data-round]:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
}
div[data-round]:after {
  content: "";
  position: absolute;
  top: 10%;
  right: 10%;
  width: 72px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid white;
  color: white;
  font-size: 30px;
  text-align: center;
  opacity: 0.5;
  line-height: normal;
  padding-top: 14px;
  background: green;
}

div[data-round].passed {
  filter: none;
}
div[data-round].passed::after {
  background: green;
}

div[data-round="1"] {
  filter: none;
}
div[data-round="1"]:after {
  content: "1";
}

div[data-round="2"]:after {
  content: "2";
}

div[data-round="3"]:after {
  content: "3";
}

div[data-round="4"]:after {
  content: "4";
}

div[data-round="5"]:after {
  content: "5";
}

div[data-round="6"]:after {
  content: "6";
}

div[data-round="7"]:after {
  content: "7";
}

div[data-round="8"]:after {
  content: "8";
}

div[data-round="9"]:after {
  content: "9";
}

div[data-round="10"]:after {
  content: "10";
}

div[data-round="11"]:after {
  content: "11";
}

div[data-round="12"]:after {
  content: "12";
}

.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 68%;
  height: 3rem;
}

.pagination {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 2px solid #fff;
}

.pagination.active {
  background: #ffbca2;
}

.round-score {
  color: #fff;
}

.image-container,
.quiz-pictures,
.artists-quiz__container,
.artists-quiz__container > img {
  animation-name: lazyImages;
  animation-duration: 1.4s;
  transition: 1s ease-in;
}

@keyframes lazyImages {
  0% {
    margin-top: -10px;
    opacity: 0;
  }
  100% {
    margin-top: 0px;
    opacity: 1;
  }
}
.modal-page {
  animation-name: animatedModal;
  animation-duration: 1.4s;
  transition: 1s ease-in;
}

@keyframes animatedModal {
  0% {
    margin-left: -100%;
    opacity: 0;
  }
  100% {
    margin-left: 0;
    opacity: 1;
  }
}
.artists-quiz__container > img {
  animation-name: showArtistsImage;
  animation-duration: 1.5s;
  transition: 0.5 ease-in-out;
}
@media screen and (min-width: 1366px) {
  .artists-quiz__container > img {
    width: 46%;
    height: auto;
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

@keyframes showArtistsImage {
  0% {
    margin-top: -20%;
    opacity: 0;
  }
  100% {
    margin-top: 0;
    opacity: 1;
  }
}

/*# sourceMappingURL=style.css.map */
