.b-promotion-modal{
    max-width: 1000px;
    background-color: #fff;
    max-height: 600px;
    margin-bottom: 0;
}
.b-promotion-modal__header{
    /*height: 30%;*/
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
}
.b-promotion-modal__title{
    width: 100%;
    font-size: 25px;
    font-weight: 600;
    border-bottom: 1px solid var(--main-color);
    margin-bottom: 15px;
/*position: relative;*/

}
/*.b-promotion-modal__title:before{*/
/*    content: '';*/
/*    position: absolute;*/
/*    filter: blur(10px);*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    mix-blend-mode: screen;*/
/*    background-image: repeating-linear-gradient(-45deg, transparent, transparent 1em, #BFE2FF 1em, var(--main-color) 50%), repeating-linear-gradient(45deg, var(--main-color), var(--main-color) 1em, #FFF 1em, #BFE2FF 50%);*/
/*    background-size: 3em 3em, 2em 2em;*/
/*    animation-name: animate_promotion-modal__title;*/
/*    animation-duration: 10s;*/
/*    animation-timing-function: linear;*/
/*    animation-iteration-count: infinite;*/
/*    animation-direction: alternate;*/
/*}*/
/*@keyframes animate_promotion-modal__title {*/
/*    from {*/
/*        background-position: 0 0;*/
/*    }*/
/*    to {*/
/*        background-position: 100% 0;*/
/*    }*/
/*}*/


.b-promotion-modal__text{
    font-size: 20px;
    width: 70%;
}
.b-promotion-modal__btn{
    font-size: 17px;
    background-color: var(--main-color);
    font-weight: 600;
    padding: 5px 10px;
    color: #fff;
    text-transform: uppercase;
    /*display: block;*/
    display: flex;
    align-items: center;
}
.b-promotion-modal__btn:hover{
    background-color: var(--main-color-hover);
    color:#fff;
}

.b-promotion-modal__img{
    width: 100%;
    height: auto;
    position: relative;
}
.b-promotion-modal__img img {
    width: 100%;
    /*height: auto;*/
    object-fit: cover;
    box-shadow: 0px 1px 7px #000;
    max-height: 440px;
    height: auto;
}


.b-promotion-modal .remodal-close{
    left: auto;
    right: 0;
}


.b-vapour{
    position: absolute;
    display: flex;
    z-index: 1;
    padding: 0 20px;
    top: 300px;
    right: 45px;
}
.b-vapour span{
    position: relative;/*абсолютное позиционирование*/
    bottom: 50px;/*позиция снизу*/
    display: block;/*отображать как блочный элемент*/
    margin: 0 2px 50px;
    min-width: 8px;
    height: 120px;/*высота пара*/
    background: #fff;/*цает пара*/
    animation: vapour_animate 5s linear infinite;/*линейная бесконечная анимация*/
    animation-delay: calc(var(--i) * -0.5s);/*задержка анимации*/
    filter: blur(8px);/*размытие*/
    border-radius: 50%;/*создание окружности*/
    opacity: 1;/*полностью непрозрачный*/
}

@keyframes vapour_animate{
    0%
    {
        transform: translateY(0) scaleX(1);
        opacity: 0;
    }
    15%
    {
        opacity: 1;
    }
    50%
    {
        transform: translateY(-150px) scaleX(5);
    }
    95%
    {
        opacity: 0;
    }
    100%
    {
        transform: translateY(-300px) scaleX(10);
        opacity: 0;
    }
}

@media screen and (max-width: 865px) {
    .b-promotion-modal {
        padding: 20px;
    }
    .b-vapour{
        padding: 0;
        top: 279px;
        right: 0;
    }
}

@media screen and (max-width: 768px) {
    .b-vapour{
        display: none;
    }
    .b-vapour span{
        animation-play-state: paused;
    }
    .b-promotion-modal{
        padding: 10px;
    }
    .b-promotion-modal__text{
        font-size: 16px;
    }
    .b-promotion-modal__btn{
        font-size: 14px;
    }
}
@media screen and (max-width: 576px) {
    .b-promotion-modal{
        padding: 5px;
    }
    .b-promotion-modal__title{
        font-size: 16px;
    }
    .b-promotion-modal__text{
        width: 60%;
        font-size: 14px;
    }
}