.modal-custom {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    position: relative;
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    max-width: 960px;
    width: 90vw;
    padding: 35px 40px 60px 40px;
    border-bottom: 5px solid #FDC50C;
    background: url("../img/modal-bg.jpg");
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.modal-header {
    margin-bottom: 35px;
}

.modal-header h2 {
    font-weight: 600;
    font-size: 30px;
    padding-right: 20px;
}

.modal-header .close {
    position: absolute;
    right: 30px;
    top: 40px;
    cursor: pointer;
}

.modal-header .close:hover,
.modal-header .close:focus {
    cursor: pointer;
}

.modal-body {
    font-weight: 400;
    font-size: 16px;
    color: #000000;
}


/* Add Animation */

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}


/* The Close Button */

@media screen and (max-width: 992px) {
    .modal-header h2 {
        font-size: 24px;
    }
}

@media screen and (max-width: 520px) {
    .modal-header .close {
        right: 20px;
        top: 20px;
    }
}

@media screen and (max-width: 480px) {
    .modal-header {
        margin-bottom: 15px;
    }
    .modal-header h2 {
        font-size: 20px;
    }
    .modal-content {
        padding: 20px 30px 30px 30px;
    }
    .modal-body {
        font-size: 14px;
    }
}