.timer-section {
  padding: 40px;
  margin: 140px 0 -10px 0;
}

.timer_wrap {
  display: flex;
  justify-content: space-between;
  padding: 24px 24px 24px 36px;
  background: #fdfdfd;
  box-shadow: 0 2px 8px 0 #4e4e4e14;
  border-radius: 12px;
}

.timer {
  margin-top: 10px;
}

.timer div[id^='timer'] {
  min-width: 460px !important;
  white-space: nowrap;
}

.timer_cont {
  width: 578px;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

.timer_title {
  font-size: 22px;
  font-weight: 600;
}

#timer_form {
  display: flex;
  flex-wrap: wrap;
  column-gap: 8px;
}

#timer_form .form-group:nth-child(7) {
  width: 285px;
}

#timer_form .form-group:nth-child(8) {
  width: 285px;
}

@media (max-width: 1570px) {
  .timer div[id^='timer'] {
    transform: scale(0.8) !important;
    min-width: fit-content !important;
  }
}

@media (max-width: 1390px) {
  #timer_form .form-group:nth-child(7) {
    width: 42%;
  }

  #timer_form .form-group:nth-child(8) {
    width: 42%;
  }

  .timer_cont {
    width: 52%;
  }
}

@media (max-width: 1000px) {
  .timer-section {
    margin-top: 300px;
  }
}

@media (max-width: 991px) {
  .timer_wrap {
    padding: 24px;
    position: relative;
    flex-direction: column;
    align-items: center;
  }

  .timer_cont {
    width: 100%;
    max-width: 480px;
  }

  .timer_title {
    position: absolute;
    top: 24px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 22px;
  }

  .timer {
    margin-top: 48px;
  }

  .timer div[id^='timer'] {
    transform: scale(0.8) translateX(-62%) !important;
    min-width: 520px !important;
    position: relative;
    left: 50%;
  }

  #timer_form .form-group:nth-child(7) {
    width: 100%;
  }

  #timer_form .form-group:nth-child(8) {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .timer_title {
    font-size: 22px;
  }
}

@media (max-width: 440px) {
  .timer {
    margin-top: 64px;
  }

  .timer_title {
    font-size: 18px;
  }

  .timer div[id^='timer'] {
    transform: scale(0.64) translateX(-78%) !important;
  }
}
