body {
    .elementor-widget-wtb-tarif-widget {
        background: #F2FBFC;
        background: var(--wb-gradient-horizontal);
    }
}

body .widget-tarification {

    overflow: hidden;

    .thedoodle {
        position: absolute;
        z-index: 1;
        width: 100%;
        height: auto;
    }

    .thenodoodle {
        position: relative;
        z-index: 2;
    }

    .wtb-heading {
        font-size: 3.5rem !important;
        text-align: center;
        max-width: max(375px, 80%);
        margin: 15px auto 50px;
    }

    .wtb-subtitle {
        margin: 0 auto;
    }

    .classlist-item {
        padding: 2px 15px;
        border: 1px solid #cecece;
        border-radius: 10px;
        backdrop-filter: brightness(105%) blur(10px);
        font-weight: 500;
        font-size: 1.125rem;
        cursor: pointer;
        user-select: none;
        &.active {
            background: #ffffff;
        }
    }

    .offres-list-item {
        background-color: #fff;
    }

    .class-section {
        display: none;
        opacity: 0;
        transition: opacity 0.2s ease-in-out;
        &.active {
            display: block;
            opacity: 1;
        }
        &.fade-in {
            animation: fadeIn 0.2s ease-in-out forwards;
        }
        &.fade-out {
            animation: fadeOut 0.2s ease-in-out forwards;
        }
        + .class-section {
            margin-top: 60px;
        }
    }


}

@media screen and (max-width: 1023px) {
    body .widget-tarification {
        .wtb-heading {
            font-size: 3rem !important;
        }
    }
}

@media screen and (max-width: 768px) {
    body .widget-tarification {
        .wtb-heading {
            font-size: 2rem !important;
        }
    }
}


/* Animation pour le fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animation pour le fade out */
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}


