@import "../../bootstrap/variables";

.best-selling-courses-section {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--primary);
    border-radius: 48px;
    padding: 24px 48px 48px;
    margin-right: -48px;
    margin-left: -48px;


    &__floating-icon {
        position: absolute;
        width: 208px;
        height: 208px;
        bottom: -48px;

        img {
            max-width: 100%;
            max-height: 100%;
        }

    }

    @media (max-width: $screen-sm-max) {
        height: auto;
        margin-right: 0;
        margin-left: 0;
        padding: 48px 24px;

        &__floating-icon {
            display: none;
        }
    }
}

