_promo_area.scss 1.4 KB
.promo-area{
    width: 100%;
    display: flex;
    min-height: 15.625rem;
    background-color: #000;
    color: #fff;
    flex-direction: row;
    border-radius: 0.625rem;
    margin:2.5rem 0rem;
    overflow: hidden;
    @media screen and (max-width: 56.25rem) {
        flex-direction: column-reverse;
        border-radius: 1.25rem;
    }
    a{
     display: block;
     margin-top: 1.25rem; 
     color: #fff; 
     font-weight: bold;   
     text-decoration: none;
     text-transform: uppercase;
    }
    h3{
        color: #fff; 
    }
    a:hover{
        text-decoration: underline;
    }

    .content{
        width: 66.66%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 1.875rem;
        @media screen and (max-width: 56.25rem) {
            width: 100%;
        }
        p{
            font-weight: normal !important;
            font-size: 1rem;
            line-height: 1.25rem;
            color: #fff !important; 
        }
    }
    .image{
        background-size: cover;
        width: 33.33%;
        overflow: hidden;
        border-radius: 0rem 0rem 1.25rem 1.25rem;
        position: relative;
        @media screen and (max-width: 56.25rem) {
            width: 100%;
            min-height: 18.75rem;
            border-radius: 1.25rem 1.25rem 0rem 0rem;
        }
        .side-caption {
            max-width: 100%;
        }
    }

}