.lotery {
  font-size: 0;
  text-align: center;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
}

.lotery__item {
  display: inline-block;
  width: 33%;
  cursor: pointer;
  position: relative;
}

.lotery__item--unbroken:hover {
  animation: swing 1s;
}

@-webkit-keyframes swing {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

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

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

@keyframes swing {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

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

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

.lotery__item img {
  opacity: 1;
  transition: all 0.5s ease-in;
  display: block;
  width: 100%;
}

.lotery__item span {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: trtansparent;
  opacity: 0;
  transition: all 0.6s ease;
}

.lotery__item--broken img {
  opacity: 0;
  transform: scale(1.1);
}

.lotery__item--broken span {
  font-size: 32px;
  color: #000000;
  opacity: 1;
}

.lotery__modal {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.lotery__modal-window {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 350px;
  min-width: 280px;
  max-height: 90vh;
  overflow: auto;
  background-color: #fff;
  text-align: center;
  padding: 20px;
}

.lotery__modal-title {
  font-weight: 600;
}

.lotery__modal-btn {
  display: inline-block;
  padding: 5px 8px;
  background-color: #168de2;
  border-radius: 5px;
  color: #ffffff;
  margin-top: 20px;
  cursor: pointer;
}

.order-form-wrap {
  display: none;
}

form {
  display: block !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.timer {
  font-size: 18px;
  font-weight: normal;
  margin: 20px 0;
  text-align: center;
}

#clock span {
  color: #f00;
  font-weight: bold;
}

.form_group {
  padding: 10px;
  display: block;
  margin: 10px auto;
  border: 2px solid grey;
  border-radius: 5px;
  width: 460px;
  max-width: 100%;
}

.form_btn {
  display: block;
  margin: 20px auto;
  padding: 20px;
  font-size: 20px;
  text-decoration: none;
  background-color: #de0606;
  text-align: center;
  color: #fff !important;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

.form_btn:hover {
  opacity: 0.8;
}

.order__additional {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 12px;
}

.red {
  color: #f00;
}
