_promo_area.scss 959 Bytes
.promo-area{
    width: 100%;
    display: flex;
    min-height: 250px;
    background-color: #000;
    color: #fff;
    flex-direction: row;
    border-radius: 10px;
    margin:40px 0px;
    overflow: hidden;
    @media screen and (max-width: 900px) {
        flex-direction: column-reverse;
        border-radius: 20px;
    }

    .content{
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 30px;
        @media screen and (max-width: 900px) {
            width: 100%;
        }
    }
    .image{
        background-size: cover;
        width: 50%;
        overflow: hidden;
        border-radius: 0px 0px 20px 20px;
        position: relative;
        @media screen and (max-width: 900px) {
            width: 100%;
            min-height: 300px;
            border-radius: 20px 20px 0px 0px;
        }
        .side-caption {
            max-width: 100%;
        }
    }

}