*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: rgb(249, 233, 197);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

body, html {
  width: 100%;
  height: 100%;
}

body {
  display: grid;
  perspective: 1000px;
  place-items: center;
  perspective-origin: 50% calc(50% - 100px);
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.3333333333) 0%, #000 50%);
  overflow: hidden;
}

.start {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  transition: 600ms linear;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.2) 5%, #000 100%);
  z-index: 10;
}
.start .start-btn {
  padding: 20px 30px;
  border: none;
  border-radius: 10px;
  background-color: #95AA88;
  background-image: url(../assets/play.svg);
  background-size: 50% 70%;
  background-repeat: no-repeat;
  background-position: center;
  text-transform: uppercase;
  color: #333333;
  font-weight: 600;
  font-size: 20px;
  transition: 200ms linear;
  box-shadow: 2px 2px 2px rgba(255, 255, 255, 0.2) inset, 4px 4px 2px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  font-family: "Unispace", monospace;
}
.start .start-btn.btn-disapper {
  transform: translateY(-300px);
  opacity: 0;
}
.start.clear-color {
  filter: opacity(0);
}
.start.disappear {
  display: none;
}

.fixed {
  position: fixed;
  min-width: 200px;
  top: 20px;
  left: 40px;
  transform: translateX(calc(-100% - 40px));
  transition: 0.2s 600ms cubic-bezier(0.42, 0, 0.07, 1.34);
}
.fixed.fixed-translate {
  transform: translateX(0px);
}
.fixed h3 {
  font-size: 20px;
  margin-bottom: 10px;
  align-items: center;
  display: flex;
}
.fixed h3 span {
  color: white;
  font-weight: 600;
}
.fixed h3 img.animal-icon {
  width: 20px;
}
.fixed .container-fixed {
  display: grid;
  grid-template-columns: repeat(2, 150px);
}
.fixed .container-fixed div {
  display: flex;
  flex-direction: column;
}
.fixed .container-fixed div span {
  font-size: 12px;
  width: 100%;
}
.fixed .container-fixed div:nth-child(1) span.score {
  color: limegreen;
}
.fixed .container-fixed div:nth-child(1) span.round {
  color: white;
}
.fixed .container-fixed div:nth-child(2) span.wrong {
  color: tomato;
}
.fixed .container-fixed div:nth-child(2) span.right {
  color: limegreen;
}

.instruction {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 20px;
  right: 40px;
  max-width: 250px;
  transition: 0.2s 800ms cubic-bezier(0.42, 0, 0.07, 1.34);
  transform: translateX(calc(100% + 40px));
}
.instruction.instruction-translate {
  transform: translateX(0px);
}
.instruction h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.instruction p {
  font-size: 12px;
}

.notification-result {
  position: fixed;
  min-width: 150px;
  height: auto;
  display: grid;
  place-items: center;
  padding: 10px 15px;
  border-radius: 10px;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background-color: rgba(255, 255, 255, 0.4);
  color: rgb(249, 233, 197);
  opacity: 0;
  -webkit-animation: notification-appear 0.8s ease-in-out;
          animation: notification-appear 0.8s ease-in-out;
}
@-webkit-keyframes notification-appear {
  0% {
    transform: translateX(-50%) translateY(-150px);
    opacity: 0;
  }
  30%, 80% {
    transform: translateX(-50%) translateY(-20px);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-150px);
    opacity: 0;
  }
}
@keyframes notification-appear {
  0% {
    transform: translateX(-50%) translateY(-150px);
    opacity: 0;
  }
  30%, 80% {
    transform: translateX(-50%) translateY(-20px);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-150px);
    opacity: 0;
  }
}

.fixed-result {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 20;
  opacity: 0;
  display: none;
  transition: all 0.8s 0.5s ease-in-out;
  background-image: radial-gradient(circle, var(--color-1) 5%, var(--color-2) 70%);
}
.fixed-result.fixed-appearance {
  opacity: 1;
  transition-delay: 0s;
}
.fixed-result .result-container {
  position: absolute;
  min-width: 250px;
  height: auto;
  top: calc(50% - 100px);
  display: grid;
  left: 50%;
  padding: 20px;
  opacity: 0;
  border-radius: 10px;
  transform: translateX(-50%) translateY(-150px);
  transition: all 0.5s ease-in-out;
  background-color: var(--color);
  background-image: linear-gradient(30deg, var(--color-one) 50%, var(--color-two) 50%);
  border: 4px solid white;
  box-shadow: 0 0 2px #fff inset;
}
.fixed-result .result-container.result-appearance {
  opacity: 1;
  transform: translateX(-50%) translateY(0px);
  transition-delay: 0.8;
}
.fixed-result .result-container h3 {
  font-size: 20px;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
}
.fixed-result .result-container img {
  width: 60px;
  justify-self: center;
}
.fixed-result .result-container .button-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.fixed-result .result-container .button-container button {
  min-width: 100px;
  height: auto;
  padding: 10px;
  border: none;
  outline: none;
  color: black;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4), 1px 1px 2px rgba(255, 255, 255, 0.4) inset;
}
.fixed-result .result-container .button-container .reset {
  background-color: #CBA07A;
}
.fixed-result .result-container .button-container .reset.btn-disappear {
  display: none;
}
.fixed-result .result-container .button-container .play-again {
  background-color: limegreen;
}

.base {
  width: 580px;
  height: 470px;
  margin-top: 50px;
  position: relative;
  transform-style: preserve-3d;
  transition: all 600ms cubic-bezier(0.42, 0, 0.07, 1.34);
  transform: translateY(calc(100% + 200px));
}
.base.base-translate {
  transform: translateY(0px);
}
.base .board {
  position: absolute;
  padding: 5px;
  transform-style: preserve-3d;
  top: 5px;
  left: 5px;
  width: 570px;
  height: 460px;
  grid-gap: 10px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.base .board .card-container {
  position: relative;
  transform-style: preserve-3d;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 0;
}
.base .board .card-container .cards {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2666666667);
  border-radius: 5px;
  transform-origin: center;
  transition: 0.2s all ease-in-out;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  overflow: hidden;
  background-image: url(../assets/question-mark.svg);
  background-size: 50% 50%;
  background-repeat: no-repeat;
  background-position: center;
}
.base .board .card-container .cards::before, .base .board .card-container .cards::after {
  position: absolute;
  content: "";
  width: 200px;
  height: 15px;
  background-color: rgba(255, 255, 255, 0.4);
  transform: rotate(45deg) translateY(160px);
  transition: 0.2s 0.15s all ease-in-out;
}
.base .board .card-container .cards::after {
  transform: rotate(45deg) translateY(160px);
  height: 10px;
  transition-delay: 0s;
}
.base .board .card-container .backface {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  transform: rotateY(180deg);
  transition: 0.2s all ease-in-out;
  background-color: #ffffff;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.base .board .card-container .backface .success,
.base .board .card-container .backface .failed {
  position: absolute;
  top: 0px;
  width: 40px;
  height: 40px;
  font-size: 30px;
  display: none;
  place-items: center;
}
.base .board .card-container .backface .success {
  left: 0px;
}
.base .board .card-container .backface .success ion-icon {
  color: limegreen;
}
.base .board .card-container .backface .failed {
  right: 0;
}
.base .board .card-container .backface .failed ion-icon {
  color: tomato;
}
.base .board .card-container .backface div.result-appear {
  display: grid;
}
.base .board .card-container .radio {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: none;
  transform: translateZ(0.5px);
  cursor: pointer;
}
.base .board .card-container input[type=radio][data-chosen=true] ~ .cards {
  transform: rotateY(180deg) scale(1);
  background-color: rgba(255, 255, 255, 0.4);
}
.base .board .card-container input[type=radio][data-chosen=true] ~ .backface {
  transform: rotateY(360deg) translateZ(-0.15px) scale(1);
}
.base .board .card-container input[type=radio]:checked ~ .cards {
  transform: rotateY(180deg) scale(1.2);
  background-color: rgba(255, 255, 255, 0.4);
}
.base .board .card-container input[type=radio]:checked ~ .backface {
  transform: scale(1.2);
  transform: rotateY(360deg) translateZ(-0.15px) scale(1.2);
}
.base .board .card-container:hover > .cards {
  transform: scale(1.2);
  background-color: rgba(255, 255, 255, 0.4);
}
.base .board .card-container:hover > .cards::before {
  transition-delay: 0s;
  transform: rotate(45deg) translateY(10px);
}
.base .board .card-container:hover > .cards::after {
  transition-delay: 0.15s;
  transform: rotate(45deg) translateY(120px);
}/*# sourceMappingURL=style.css.map */