.modal {
    display: none;
    background-color: white;
    z-index: 4;
    border-radius: 10px;
    width: 950px;
    max-height: 850px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 15px !important;
    border: 1px solid #ccc;
}

.modal .modal-header {
    color: black;
    font-family: 'GilroyMedium';
    font-style: normal;
    font-weight: 700;
}

.modal .modal-header img {
    display: block;
    width: 20px;
    height: 20px;
    margin-left: auto;
    cursor: pointer;
}

.modal .modal-body {
    max-height: 710px;
    overflow-y: scroll;
    padding: 10px;
}

.modal .modal-body h5 {
    font-size: 24px;
    font-style: italic;
    color: #1EB72B;
}

.modal .modal-header h4 {
    font-size: 24px;
    line-height: 29px;
}

@media screen and (max-width: 768px) {
    .modal {
        width: 90%;
        position: fixed;
        padding: 15px;
        border: 1px solid #ccc;
    }

    .modal .modal-header h4 {
        font-size: 18px;
        line-height: 20px;
    }

    .modal .modal-body {
        height: 550px;
    }

    .modal .modal-body button.btn {
        width: 100%;
    }
}