@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap');
.modal4 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 1rem 1.5rem;
    max-width: 35rem;
    width: 100rem;
    border-radius: 0.5rem;
}
.trigger4{
    background: #99ca3d;
    padding: 18px 40px;
    font-size: 18px;
    border-radius: 3px;
    color: #fff;
    cursor:pointer;
    font-weight: 500;
    font-family: 'Montserrat';
    border: 0;
}
.trigger4:hover{
  background:#111;
  color:#fff;
}
.close-button4 {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: lightgray;
}
.close-button4:hover {
    background-color: darkgray;
}
.show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}
.modal-head h3 {
  font-size: 31px !important;
  margin: 0 0 15px!important;
  padding: 0 !important;
  color: #fff!important;
}
.modal-head p{
  margin: 2px 0 30px;
  color: #333;
}
.modal4.show-modal{
  z-index:11;
  overflow-y: scroll;
}
.modal4.show-modal .modal-content{
  left: 0;
  right: 0;
  margin: auto;
  bottom: auto;
  transform: none;
  top: 10px;
  background:#4a5878;
}