.modalpromo{
    background: white;
    position: fixed;
    z-index: 210;
    max-width: 1000px;
    top:50%;
    left: 50%;
    visibility: hidden;
    opacity: 0;
    transform: translate(-50%,-50%);
    transition: all 500ms ease;
}
.modalpromo.showmodal{
    visibility: visible;
    opacity: 1;
}
.modalpromo.showmodal ~ .modal-overlay{
    background:rgba(0,0,0,0.7);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
}
.modal-close{
    background: white;
    border-radius: 50px;
    color:red;
    cursor: pointer;
    height: 40px;
    width: 40px;
    position: absolute;
    top:-30px;
    right: -10px;
    text-align: center;
    line-height: 40px;
    font-weight: bold;

}
@media (max-width: 767px) {
    .modalpromo{
        width: 90%;
    }
}