.timer_block {
  background: #000000;
  padding: 35px 0;
}

.timer_block .container {
  display: flex;
  justify-content: space-between;
}

@media (min-width: 1200px) {
  .timer_block .container {
    max-width: 1300px;
  }
}

.timer_title {
  color: #ffffff;
  font-size: 32px;
}

.timer_block .timer {
  padding-top: 14px;
}

#timer_form {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
  width: 640px;
  max-width: 100%;
}

#timer_form .form-group {
  width: auto;
}

#timer_form .agree_field {
  grid-column: 1 / -1;
  color: #ffffff;
}

#timer_form .agree_field a {
  color: #ffffff;
}

#timer_form .timer_submit {
  position: relative;
}

#timer_form .form-control,
#timer_form .but {
  height: 50px;
}

#timer_form .timer_submit_lock {
  position: absolute;
  inset: 0;
  z-index: 11;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .timer_block .container {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 30px 0;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .timer_title {
    text-align: left;
  }

  #timer_form {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .timer_block {
    padding: 20px 0;
  }

  .timer_block .container {
    flex-direction: column-reverse;
    gap: 30px 0;
  }

  .timer_block .timer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    padding-top: 0;
  }

  .timer_block div[id^='timer'] {
    transform: scale(0.55) !important;
  }

  .timer_wrap {
    width: 100%;
  }

  .timer_title {
    text-align: left;
    font-size: 5vw;
  }

  #timer_form {
    width: 100%;
    grid-template-columns: 1fr;
  }

  #timer_form .form-group {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .timer_block {
    padding: 18px 0 16px;
  }

  .timer_block .container {
    gap: 18px 0;
  }

  .timer_block .timer {
    height: 50px;
  }

  .timer_block div[id^='timer'] {
    transform: scale(0.44) !important;
    transform-origin: center center;
  }

  .timer_title {
    font-size: 14px;
    line-height: 1.25;
  }

  #timer_form {
    margin-top: 8px;
  }

  #timer_form .form-group {
    margin-bottom: 8px;
  }

  #timer_form .form-control,
  #timer_form .but {
    height: 42px;
  }

  #timer_form .agree_field {
    display: block;
    font-size: 11px;
    line-height: 1.25;
  }
}
