.b-butterfly-modal{
    max-width: 800px !important;
    background: url("/includes/images/butterfly/Sun.png") no-repeat 70% 25% !important;
    overflow: hidden;
    position: relative;
    display: flex !important;
    justify-content: center;
    align-items: center;
}


.b-butterfly-modal__img{
    position: absolute;
    left: 0;
    z-index: -1;
}

.b-butterfly-modal__content{
    position: absolute;
    color: #fff;
    max-width: 600px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.b-butterfly-modal__title{
    font-size: 30px;
    font-weight: 600;
}
.b-butterfly-modal__text{
    margin-top: 10px;
    font-size: 24px;
    color: #fff;
}

.remodal-wrapper:has(.b-butterfly-modal){
    display: flex;
    justify-content: center;
}

.b-butterfly-modal__btn{
    display: block;
    font-size: 18px;
    font-weight: 600;
    border: 1px solid #fff;
    padding: 10px 20px;
    color: #fff;
    width: fit-content;

    text-transform: uppercase;
    margin-top: 10px;
}
.b-butterfly-modal__btn:hover{
    color: #fff;
}

@media screen and (min-width: 1500px) {
    .remodal-wrapper:has(.b-butterfly-modal){
        align-items: center;
    }
    .b-butterfly-modal{
        max-width: 1000px!important;
        max-height: 770px;
    }
}

@media screen and (max-width: 768px) {
    .b-butterfly-modal__text{
        font-size: 19px;
    }
    .b-butterfly-modal__content{
        max-width: 400px;
    }
}
@media screen and (max-width: 576px) {
    .b-butterfly-modal__content{
        max-width: 300px;
    }
    .b-butterfly-modal__title{
        font-size: 23px;
    }
    .b-butterfly-modal__text{
        font-size: 13px;
    }
    .b-butterfly-modal__btn{
        font-size: 14px;
        padding: 5px 20px;
    }
}
@media screen and (max-width: 400px) {
    .b-butterfly-modal__content{
        max-width: 258px;
    }
    .b-butterfly-modal__title{
        font-size: 20px;
    }
    .b-butterfly-modal__text{
        font-size: 11px;
    }
    .b-butterfly-modal__btn{
        font-size: 12px;
        padding: 5px 20px;
    }
}