@keyframes scale {
  from {
    transform: scale(1);
  } 
  to {
    transform: scale(1.05);
  }
}

.flick-bttn {
  animation: 1s infinite scale alternate;
}

.open-modal {
  border: none;
}

.form-bid .btn {
  margin-left: auto;
  margin-right: auto;
  display: block;
}


/* modal */
.modal-text {
  margin-top: 20px;
  text-align: center;
}

.modal {
  display: none;
  z-index: 100;
}

.modal-open {
  overflow: hidden;
}

.iti {
  width: 100%;
  height: 100%;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  overflow: auto;
}

.modal-dialog {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  padding: 5rem 0;

  margin: 140px auto 200px;
  width: 600px;
  height: auto;
  padding: 50px 40px;
  background: #000000;
}

.modal-success .modal-dialog {
  width: 650px;
}

.modal-dialog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #EAEEEA;
  z-index: -10;
}

.modal-registration h2 {
  font-size: 28px;
  text-align: center;
  color: #FFFFFF;
}

.modal-success h2 {
  color: #00a800;
  margin: 60px 0;
  font-size: 30px;
  line-height: 100%;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
}



.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 2.4rem;
  height: 2.4rem;
  z-index: 10;
  cursor: pointer;
}

.modal-close::before,
.modal-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  height: 2px;
  width: 24px;
  background: #25b9a9;
  border-radius: 10rem;
  transition: height 0.15s linear;
}

.modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-close:hover::before,
.modal-close:hover::after {
  height: 3px;
}


.form__label {
  position: relative;
  margin-top: 12px;
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form__label svg {
  position: absolute;
  top: 15px;
  right: 20px;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.form__input {
  margin: 0;
  width: 100%;
  font-size: 14px;
  color: #1d1d1d;
}




@media screen and (max-width: 768px){
  .modal-dialog {
    padding: 80px 40px 50px;
    margin-top: 0;
    min-height: 100%;
    width: 100%;
  }

  .modal-registration h2 {
    font-size: 20px;
  }

  .modal-success h2 {
    font-size: 24px;
  }

  .modal-success .modal-dialog {
    width: 100%;
  }
}