@use "../utils" as *;

/*----------------------------------------*/
/* Section Title  
/*----------------------------------------*/
.section-wrapper {
    &.is-white {
        .section-title {
            color: var(--td-white);
        }

        .description {
            color: rgba($white, $alpha: 0.72);
        }
    }
}

.section-title {
    font-size: 42px;
    color: var(--td-pale-cornflower-blue);

    @media #{$sm},
    #{$md} {
        font-size: 32px;
    }

    @media #{$xs} {
        font-size: 26px;
    }

    @media #{$xxs} {
        font-size: 22px;
    }
}


.section-subtitle {
    border-radius: 100px;
    padding: 6px 24px 6px 24px;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 24px;
    font-weight: 700;
    color: #dadada;
    font-family: var(--td-ff-heading);

    &::before {
        position: absolute;
        content: "";
        inset: 0;
        @include border-radius(16px);
        padding: 1px;
        background: linear-gradient(180deg, rgba($white, $alpha: 0) 46.83915376663208%, rgba(245, 147, 228, 1) 75.40025115013123%, rgba(113, 164, 240, 1) 100%);
        -webkit-mask: linear-gradient(var(--td-white) 0 0) content-box, linear-gradient(var(--td-white) 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        z-index: -1;
    }
}