@font-face {
  font-family: "Horror";
  src: url(./assets/Font/ofont.ru_Old\ Horror\ Films.ttf);
}
body {
  position: relative;
  margin: 0;
  height: 100%;
  overflow: hidden;
  font-family: "Horror";
  font-weight: 400;
}

.background {
  position: relative;
  min-height: 100%;
  transition: 0.5s;
  background-image: url(./assets/Background/background.jpg);
  background-position: 50% 100%;
  background-size: cover;
}

.water {
  display: flex;
  justify-content: space-between;
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url(./assets/Rain/water.png);
  -webkit-animation: water 0.4s linear infinite;
          animation: water 0.4s linear infinite;
  padding: 30px;
}

@-webkit-keyframes water {
  0% {
    background-position: -10% -100%;
  }
  100% {
    background-position: 10% 100%;
  }
}

@keyframes water {
  0% {
    background-position: -10% -100%;
  }
  100% {
    background-position: 10% 100%;
  }
}
.ancient-cards {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 35vw;
}
.ancient-cards .blood {
  opacity: 0.5;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition-duration: 1s;
}
.ancient-cards .blood:hover {
  transform: scale(1.15);
  transition-duration: 1s;
  opacity: 1;
}
.ancient-cards img.cards {
  position: relative;
  margin: 10px;
  border-radius: 30px;
  cursor: pointer;
  transition-duration: 0.2s;
}
.ancient-cards img.blood-top {
  cursor: pointer;
  position: absolute;
  top: 10px;
  width: 230px;
  border-radius: 30px;
  z-index: 3;
  height: 100px;
}

.difficulty {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  color: white;
  font-size: 20px;
  background-image: url(./assets/mythicCardBackground.png);
  background-position: center;
  background-size: cover;
  opacity: 0.3;
  transition-duration: 1s;
  cursor: pointer;
  border: 5px solid transparent;
  border-radius: 10px;
}
.difficulty .blood-top {
  position: absolute;
  border-radius: 10px;
  width: 108%;
  top: -6px;
  height: 100px;
}
.difficulty:hover {
  transform: scale(1.1);
  opacity: 1;
  transition-duration: 1s;
}
.difficulty:not(:last-child) {
  margin-bottom: 15px;
}
.difficulty-level {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px;
  top: -1000px;
  transition-duration: 2s;
}

.deck-of-cards {
  transform: scale(0);
  transition-duration: 2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding-right: 100px;
  padding-left: 100px;
  max-width: 35vw;
}

.stages {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stages__title {
  margin-bottom: 10px;
  margin-top: 10px;
  color: black;
  font-size: 30px;
}
.stages__quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.stages__quantity input {
  position: relative;
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 40px;
  color: white;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
  border-radius: 10px;
}
.stages__quantity input:not(:last-child) {
  margin-right: 20px;
}

.green {
  background-image: url(./assets/Stages/green.png);
}
.green:hover {
  border: 2px solid linear-gradient(90deg, #000000, #230b10, #331016, #230b10, #000000);
}

.brown {
  background-image: url(./assets/Stages/brown.png);
}

.blue {
  background-image: url(./assets/Stages/blue.png);
}

.working {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inverted-deck {
  position: relative;
  z-index: 2;
  margin-right: 50px;
}
.inverted-deck .deck {
  border-radius: 30px;
  opacity: 0.4;
  transition-duration: 1s;
  cursor: pointer;
}
.inverted-deck .deck:hover {
  opacity: 1;
  transition-duration: 1s;
}

.random-card {
  position: relative;
  z-index: 1;
  width: 210px;
  height: 320px;
  border-radius: 30px;
  opacity: 0.8;
  transition-duration: 0.5s;
  transform: translateX(-250px);
}

.none-click {
  pointer-events: none;
}

.difficulty-level.show {
  top: 0px;
  transition-duration: 4s;
}

.show {
  transform: scale(1);
  opacity: 1;
  transition-duration: 5s;
}

.hide {
  transform: scale(0);
  transition-duration: 1s;
}

.random-card.show {
  transform: translateX(0px) rotateY(360deg);
  transition-duration: 1s;
}

.through {
  text-decoration: line-through;
}

@media (max-width: 391px) {
  .water {
    padding: 10px;
    flex-direction: column;
  }
  .ancient-cards {
    max-width: 100%;
  }
  .cards {
    width: 125px;
    height: 165px;
    border-radius: 15px;
  }
  .ancient-cards img.cards {
    margin: 10px;
  }
  .ancient-cards img.blood-top {
    width: 124px;
    top: 9px;
  }
  .difficulty-level {
    flex-direction: row;
    flex-wrap: wrap;
    top: 0px;
    padding: 10px;
  }
  .difficulty {
    font-size: 14px;
  }
  .difficulty .blood-top {
    width: 110%;
  }
  .deck-of-cards {
    max-width: 100%;
    padding: 0px;
  }
  .stages__title {
    font-size: 16px;
    margin: 0px;
  }
  .stages__quantity input {
    width: 30px;
    height: 30px;
    font-size: 20px;
    border-radius: 5px;
  }
  .working {
    align-items: start;
    padding: 5px;
  }
  .inverted-deck .deck {
    width: 125px;
    height: 165px;
  }
  .random-card {
    width: 125px;
    height: 165px;
  }
}/*# sourceMappingURL=style.css.map */