@import "../../../styles.scss";
.card {
  width: 250px;
  margin: 10px;
  padding: 5px;
}

.card-img-top {
  max-width: 64px;
  margin: auto;
}
.rule-block {
  width: 100%;
  height: 350px;
}

h1 {
  margin: auto;
  color: $thg_brown;
  text-align: center;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-3px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(3px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

@keyframes zoom-in {
  0% {
    transform: scale(1, 1);
  }
  100% {
    transform: scale(1.4, 1.4);
  }
}

@keyframes zoom-out {
  0% {
    transform: scale(1.4, 1.4);
  }
  100% {
    transform: scale(1, 1);
  }
}

.shake div {
  animation: shake 3s infinite;  
  transform: translate3d(0, 0, 0);
}
.zoom-in {
  animation: zoom-in 3s forwards;
  z-index: 100;
}

.zoom-out {
  animation: zoom-out 2s forwards;
}