.modal_popup {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
    z-index: 103;
}

.modal_popup .modal___fade {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
}

/* Modal Content */
.modal_popup .modal-content {
    position: relative;
    display: block;
    background: #1c1c1c;
    margin: auto;
    padding: 20px;
    border: 1px solid #444;
    width: 560px;
    height: 360px;
    border-radius: 10px;
    box-shadow: 0px 5px 55px rgba(0, 0, 0, 0.4);
}

.modal_popup .modal-content img.gif {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* The Close Button */
.modal_popup .closep {
    position: absolute;
    display: block;
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    line-height: 14px;
    transition: all 0.2s ease;
    top: 15px;
    right: 15px;
    -webkit-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    cursor: pointer;
}

.modal_popup .closep:hover,
.modal_popup .closep:focus {
    transform: rotate(360deg) scale(1.4);

}

.modal_popup .modal-content .btns {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 300px auto 0;
    bottom: 50px;
}

.modal_popup .modal-content .btns a {
    position: relative;
    display: block;
    margin: 0 10px;
    border-radius: 7px;
}

.modal_popup .modal-content .btns a span {
    position: relative;
    display: block;
    width: 200px;
    height: 64px;
    transition: all 0.2s ease;
    transform: translateY(0px);
    pointer-events: none;
    z-index: 1;
}

.modal_popup .modal-content .btns a:hover {
    z-index: 2;
}

.modal_popup .modal-content .btns a:hover span {
    transform: scale(1.1);
}
