.home_popup{
    --pu-width: 70vw;
    --pu-height: 70vh;
    --mb-red: #e40613;
    --content-padding: 50px;
}
@media only screen and (max-width: 1199px) {
    .home_popup{
        --pu-width: 85vw;
        --pu-height: 85vh;
    }
}
@media only screen and (max-width: 767px) {
    .home_popup{
        --pu-width: 90vw;
        --pu-height: 90vh;
        --content-padding: 30px;
    }
}

/*general container layout*/
.home_popup{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
    .home_popup .popup-content{
        position: relative;
        width: var(--pu-width);
        max-width: 1150px;
        height: auto;
        max-height: var(--pu-height);
        overflow: auto;

        background: #fff;
        border: 5px solid var(--mb-red);

        padding: var(--content-padding);
    }


/*close icon*/
    .just-close{
        position: absolute;
        top: 20px;
        right: 20px;
        line-height: 20px;
    }
        .just-close:hover{
            opacity: 0.5;
        }
        .just-close span{
            display: none;
        }
        .just-close::before{
            content: "\f00d";
            font-family: 'FontAwesome';
            font-size: 25px;
            color: var(--mb-red);
        }

/*heading*/
    .popup-content h2{
        color: var(--mb-red);
        margin-top: 0;
        margin-bottom: 40px;
    }

/*img*/
    .popup-content .img-container{
        display: inline-block;
        width: 40%;
        vertical-align: top;
        padding-top: 3px;
    }

/*text*/
    .popup-content .text-container{
        display: inline-block;
        margin-left: 50px;
        width: calc( 60% - 60px);
    }
    @media only screen and (max-width: 1024px) {
        .popup-content .text-container{
            margin-left: 25px;
            width: calc( 60% - 30px);
        }
    
    }

/*img+text responsive*/
@media only screen and (max-width: 649px) {
    .popup-content .img-container,
    .popup-content .text-container{
        display: block;
        width: 100%;
    }
    .popup-content .text-container{
        display: block;
        margin-left: 0;
        margin-top: 30px;
    }

}

/*read-more*/
    .popup-content .read-more{
        margin-top: 30px;
    }