tutorial.scss 2.31 KiB
#tutorial {
    padding:34px 0;
    background:#f2f2f2;
    .col-12 {
        padding:15px 0;
    .tutorial {
        display:flex;
        flex-direction:column;
        width:540px;
        max-width:100%;
        height:100%;
        margin:0 auto;
        background:#fff;
        box-shadow:0 5px 35px rgba(4,8, 50, .1);
        img {
            width:100%;
            height:320px;
            object-position:center;
            object-fit:cover;
        &__text {
            padding-top:11px;
            &-title {
                padding:0 15px;
                font-size:20px;
                font-weight:bold;
                line-height:24px;
            &-desc {
                margin:20px 0;
                padding:0 15px;
                font-size:16px;
                line-height:24px;
            &-btn {
                display:flex;
                flex-wrap:wrap;
                justify-content:center;
                align-items:center;
                height:65px;
                padding:0 15px;
                font-size:24px;
                font-weight:bold;
                line-height:29px;
                text-align:center;
                text-decoration:none;
                color:#fff;
                background:$main;
        &.disabled {
            .tutorial {
                &__text {
                    &-btn {
                        pointer-events:none;
                        background:#ccc;
                        font-size:12px;
                        line-height:15px;
@media (min-width:768px) {
    #tutorial {
        .col-12 {
            padding:15px;
.tutorial { overflow:hidden; border-radius:35px; } } } @media (min-width:992px) { #tutorial { .row { padding:28px 0 10px; } .tutorial { flex-direction:row; height:380px; img { width:50%; height:100%; } &__text { display:flex; flex-direction:column; &-btn { margin-top:auto; } } } } } @media (min-width:1200px) { }