.cd-popup.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}

.cd-popup {
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
  z-index: 1000;
}

.cd-popup .div_info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* margin-left: -15%;
  margin-top: -15%; */
  float: none;
  max-height: 100%;
  overflow: auto;
}

.cd-popup .div_info {
  width: 40%;
  padding: 55px;
  background: #fff;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.1);
  /* border-radius: 24px; */
  border-radius: var(--button-radius);
}

.cd-popup .div_info h3 {
  padding-bottom: 20px;
  font-size: 28px;
  color: #333;
  line-height: 24px;
  letter-spacing: 1px;
  font-family: montserrat-bold;
}

.cd-popup .div_info input,
.cd-popup .div_info textarea {
  display: block;
  width: 100%;
  height: 52px;
  margin: 0 auto;
  margin-top: 20px;
  padding-left: 30px;
  font-size: 15px;
  border: none;
  background: #fafafa;
  border: 1px solid #eee;
  outline: none;
  border-radius: var(--button-radius);
}

.cd-popup .div_info button {
  width: 100%;
  height: 56px;
  font-size: 15px;
  color: #fff;
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  margin-top: 30px;
  outline: none;
  letter-spacing: 1px;
  font-family: montserrat-bold;
  -webkit-transition: 0.3s all;
  -moz-transition: 0.3s all;
  -ms-transition: 0.3s all;
  transition: 0.3s all;
  border-radius: var(--button-radius);
}

.cd-popup .div_info button:hover {
  background: none;
  color: var(--color-primary);
  cursor: pointer;
}

.cd-popup .div_info textarea {
  height: 166px;
  padding: 20px 30px;
  line-height: 30px;
}

.cd-popup .cd-popup-close {
  position: absolute;
  right: 7%;
  top: 30px;
  font-size: 22px;
  line-height: 42px;
  color: #999;
}

.cd-popup .cd-popup-close:hover {
  text-decoration: none;
}

.cd-popup .input-position {
  position: relative;
}

@media screen and (max-width: 1580px) {
  .cd-popup .div_info {
    margin-top: 0;
    max-height: 90%;
    width: 50%;
  }

  .cd-popup .div_info input {
    height: 48px;
  }

  .cd-popup .div_info {
    padding: 40px;
  }

  .cd-popup .div_info h3 {
    padding-bottom: 15px;
  }

  .cd-popup .div_info textarea {
    height: 110px;
  }

  .cd-popup-close {
    top: 24px;
  }
}

@media screen and (max-width: 1280px) {
  .cd-popup .div_info textarea {
    line-height: 26px;
  }
}

@media screen and (max-width: 960px) {
  .cd-popup .div_info {
    width: 80%;
    /* margin-left: -43%; */
    padding: 30px;
  }

  .cd-popup .cd-popup-close {
    top: 15px;
  }

  .cd-popup .div_info button {
    margin-top: 28px;
  }
}

@media screen and (max-width: 768px) {
  .cd-popup .div_info {
    max-height: 80%;
    width: 90%;
  }

  .cd-popup .div_info h3 {
    font-size: 24px;
  }

  .cd-popup .div_info input,
  .cd-popup .div_info textarea {
    margin-top: 16px;
  }
}
