@font-face {
  font-family: "Rubik";
  src: url("../fonts/Rubik-VariableFont_wght.ttf") format("truetype");
}
html, body {
  margin: 0;
  overflow: hidden;
  position: relative;
  font-family: "Rubik";
}

body {
  width: 1920px;
  height: 1080px;
}

.background {
  position: absolute;
  width: 1920px;
  height: 1080px;
  left: 0;
  top: 0;
  z-index: 3;
  background-color: #c51717;
}
.background img {
  width: 1920px;
  height: 1080px;
}

.collision-area {
  z-index: 4;
  border-radius: 50%;
  position: absolute;
}
.collision-area.hover {
  border: 2px dashed #EEE;
}

.base-product {
  border-top-left-radius: 40px;
  border-bottom-right-radius: 40px;
  width: 200px;
  height: 200px;
  background-color: #FFF;
  position: absolute;
  right: 70px;
  top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  /* &::before {
      content: '';
      width: 80%;
      height: 80%;
      border: 2px #AAA dashed;
      @include default-border-radius-card-product;
  } */
}

#area-product {
  border-top-left-radius: 40px;
  border-bottom-right-radius: 40px;
  width: 200px;
  height: 200px;
  background-color: #FFF;
  position: absolute;
  right: 70px;
  top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  z-index: 6;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
#area-product img {
  width: 80%;
  height: auto;
}
#area-product.shrink {
  transition: all 0.2s;
  width: 120px;
  height: 120px;
  right: 105px;
  top: 105px;
}
#area-product.hide {
  animation: hide 1s forwards;
}

#label-product-name {
  width: 225px;
  height: 150px;
  right: 300px;
  top: 110px;
  position: absolute;
  display: flex;
}
#label-product-name p {
  width: 100%;
  margin: 0;
  text-align: right;
  color: #FFF;
  font-weight: bold;
  font-family: "Rubik";
  font-size: 1.7rem;
  text-transform: uppercase;
}

.result-image {
  width: 1920px;
  height: 1080px;
  opacity: 0;
  left: 0;
  top: 0;
  position: absolute;
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.result-image.show {
  animation: blink 0.6s 5;
}

.highlight-image {
  width: 1920px;
  height: 1080px;
  opacity: 0;
  left: 0;
  top: 0;
  position: absolute;
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.highlight-image.show {
  animation: alpha 0.2s forwards;
}

.box-score {
  width: auto;
  height: 150px;
  right: 1420px;
  bottom: 140px;
  position: absolute;
  z-index: 6;
}
.box-score p {
  font-size: 70px;
  color: #FFF;
  margin: 0;
  line-height: 150px;
}
.box-score p span {
  font-size: 120px;
  font-weight: bold;
}

.new-score {
  font-size: 50px;
  font-weight: bold;
  position: absolute;
  color: #FFF;
  left: 0;
  top: 0;
  font-family: "Rubik";
  z-index: 7;
  opacity: 0;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
.new-score.show {
  animation: hide 1.2s forwards ease-in;
}

.start-screen {
  z-index: 1;
}
.start-screen.hide {
  animation: hide 1s forwards;
}

.start-button {
  width: 395px;
  height: 100px;
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
  position: absolute;
  right: 170px;
  bottom: 150px;
  border: 0;
  font-size: 3rem;
  font-family: "Rubik";
  font-weight: bold;
  background-color: #fff200;
  box-shadow: 0 5px 20px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s;
  z-index: 3;
}
.start-button:active {
  transform: scale(0.95);
}

#main-screen {
  opacity: 0;
}
#main-screen.show {
  animation: alpha 0.5s forwards;
}
#main-screen #check-right-image,
#main-screen #times-wrong-image {
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  width: 200px;
  height: auto;
  position: absolute;
  right: 70px;
  top: 70px;
  opacity: 0;
  z-index: 1;
}
#main-screen #check-right-image.show,
#main-screen #times-wrong-image.show {
  opacity: 1;
  z-index: 20;
  animation: bounce 0.5s forwards;
}

#start-animation {
  width: 1920px;
  height: 1080px;
  left: 0;
  top: 0;
  position: absolute;
  z-index: 0;
  opacity: 0;
}
#start-animation img {
  width: 100%;
  height: auto;
  position: absolute;
  z-index: 0;
}
#start-animation video {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
}
#start-animation.show {
  animation: alpha 1s forwards;
}
#start-animation.show {
  z-index: 2;
}

#finish-animation {
  width: 1920px;
  height: 1080px;
  left: 0;
  top: 0;
  position: absolute;
  z-index: 0;
  opacity: 0;
}
#finish-animation img {
  width: 100%;
  height: auto;
  position: absolute;
  z-index: 0;
}
#finish-animation video {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
}
#finish-animation.show {
  animation: alpha 1s forwards;
}
#finish-animation.show {
  z-index: 8;
}

#timer {
  width: auto;
  height: 150px;
  right: 100px;
  bottom: 140px;
  position: absolute;
  z-index: 6;
}
#timer p {
  color: #FFF;
  margin: 0;
  line-height: 150px;
  font-size: 70px;
}
#timer p span {
  font-weight: bold;
  font-size: 120px;
}

#finish-screen {
  opacity: 0;
  z-index: 9;
  overflow: hidden;
  transition: opacity 1s;
}
#finish-screen.show {
  opacity: 1;
  /* animation: alpha 1s forwards; */
}
#finish-screen .award {
  width: 100%;
  position: absolute;
  opacity: 0;
  left: 0;
  top: 0;
  z-index: 1;
  animation: slideLeft 0.6s 0.2s forwards;
}
#finish-screen #final-score {
  width: 400px;
  height: 100px;
  position: absolute;
  left: 100px;
  top: 295px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  /* opacity: 0;
  animation: scale .2s .5s forwards; */
}
#finish-screen #final-score p {
  text-align: center;
  color: #000;
  margin: 0;
  line-height: 1;
}
#finish-screen #final-score p:nth-child(1) {
  font-size: 5.5rem;
  font-weight: bold;
}
#finish-screen #final-score p:nth-child(2) {
  font-size: 4rem;
  margin-left: 0.5rem;
}

#restart-button {
  width: 395px;
  height: 100px;
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
  position: absolute;
  right: 170px;
  bottom: 150px;
  border: 0;
  font-size: 3rem;
  font-family: "Rubik";
  font-weight: bold;
  background-color: #fff200;
  box-shadow: 0 5px 20px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s;
  z-index: 3;
  animation: scale 1s 0.5s;
}
#restart-button:active {
  transform: scale(0.95);
}

#hide-button {
  width: 100px;
  height: 90px;
  position: absolute;
  left: 10px;
  bottom: 0;
  z-index: 11;
}

#active-sign {
  width: 8px;
  height: 8px;
  position: absolute;
  right: 20px;
  bottom: 20px;
  border-radius: 20px;
  z-index: 11;
  border: none;
  outline: none;
  opacity: 0;
  background-color: #FFF;
}
#active-sign.show {
  opacity: 0.5;
}

@keyframes alpha {
  100% {
    opacity: 1;
  }
}
@keyframes blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 99% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes hide {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes slideLeft {
  0% {
    transform: translateX(1920px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes scale {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes bounce {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}/*# sourceMappingURL=style.css.map */