.custom-modal {
  width: 30%;
  padding: 20px;
  box-shadow: 0px 0px 7px #8989894f;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background-color: #fff;
  border-radius: 5px;
}

.custom-modal form {
  margin-top: 15px;
}
.custom-modal h3 {
  font-size: 25px;
}
.custom-modal .close-btn {
  font-size: 30px;
  position: relative;
  float: right;
  font-weight: 600;
  width: 25px;
  height: 25px;
  text-align: center;
  cursor: pointer;
  opacity: 0.8;
  line-height: 0.5;
}

.overlay {
  width: 100%;
  height: 100vh;
  top: 0;
  position: absolute;
  z-index: 1;
  background-color: #00000078;
}

.hidden {
  display: none;
}

@media screen and (max-width: 768px) {
  .custom-modal {
    width: 95%;
  }
}
