/*================================
Marquee Animation Style 
================================*/

.wdt-animation-wrapper {
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    overflow: hidden;
}

.wdt-animation-wrapper div[class*="-marqee"] {
    width: auto;
    flex: 0 0 auto;
    display: grid;
    grid-auto-flow: column;
    align-items: center;
}

.wdt-animation-wrapper div[class*="-marqee"] .wdt-animation-item {
    display: inline-flex;
    flex: 0 0 auto;
    text-align: center;
    position: relative;
    align-items: center;
    gap: 15px;
    border-right: 1px solid rgb(var(--wdtAccentTxtColorRgb), .3);
}

.wdt-animation-wrapper .wdt-animation-item {
    padding: 0 clamp(1.875rem, 1.25rem + 3.125vw, 5rem);
    /*  Min-80 & Max-30 */
}

.wdt-animation-wrapper div[class*="-marqee"].right-to-left {
    -webkit-animation: MarqueeLeft 24s linear infinite 0ms;
    animation: MarqueeLeft 24s linear infinite 0ms;
}

.wdt-animation-wrapper div[class*="-marqee"].left-to-right {
    -webkit-animation: MarqueeRight 24s linear infinite 0ms;
    animation: MarqueeRight 24s linear infinite 0ms;
}

.wdt-animation-wrapper:hover div[class*="-marqee"] {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}

@keyframes MarqueeLeft {
    from {
        margin-left: 0;
    }

    to {
        margin-left: var(--wdt-marque-Margin-Width);
    }
}

@keyframes MarqueeRight {
    from {
        margin-left: var(--wdt-marque-Margin-Width);
    }

    to {
        margin-left: 0;
    }
}

/* ===========================
Animation Text Style 
=========================== */

.wdt-animation-item.text-item {
    display: inline-block;
}

.wdt-animation-item.text-item .wdt-animation-text {
    font-size: clamp(1.75rem, 1.4615rem + 1.2821vw, 3rem);
    /* Min-28 & Max-48 */
    font-weight: var(--wdtFontWeight_Alt);
    font-family: var(--wdtFontTypo_Alt);
    text-transform: capitalize;
    line-height: 1;
}

.wdt-animation-item.text-item .wdt-animation-text a {
    text-decoration: none !important;
}

.wdt-animation-item.text-item .wdt-animation-text a:hover {
    background-color: transparent;
    background-size: cover;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: 1px var(--wdtPrimaryColor);
}

/* ===========================
Animation Icon Style 
=========================== */

.wdt-animation-item.icon-item i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.75rem, 1.4615rem + 1.2821vw, 3rem);
    /* Min-28 & Max-48 */
    width: clamp(1.75rem, 1.4615rem + 1.2821vw, 3rem);
    /* Min-28 & Max-48 */
    height: clamp(1.75rem, 1.4615rem + 1.2821vw, 3rem);
    /* Min-28 & Max-48 */
}

/* ===========================
Animation Image Style 
=========================== */

.wdt-animation-item.image-item img {
    object-fit: cover;
    object-position: center;
    width: clamp(1.75rem, 1.4615rem + 1.2821vw, 3rem);
    /* Min-28 & Max-48 */
    height: clamp(1.75rem, 1.4615rem + 1.2821vw, 3rem);
    /* Min-28 & Max-48 */
}


/* Home-2 Animation */

.wdt-cus-animation-style-1 .wdt-animation-wrapper {
    padding: 20px 0;
}

.wdt-cus-animation-style-1 .wdt-animation-wrapper .wdt-animation-item {
    padding: 0 clamp(0.9375rem, 0.75rem + 0.9375vw, 1.875rem);
}

.wdt-cus-animation-style-1 .wdt-animation-item.text-item .wdt-animation-text,
.wdt-cus-animation-style-1 .wdt-animation-item.text-item {
    font-size: clamp(2.5rem, 2.25rem + 1.25vw, 3.75rem);
    text-transform: capitalize;
    font-weight: var(--wdtFontWeight_Alt);
    line-height: normal;
    color: var(--wdtTertiaryColor);
}

.wdt-cus-animation-style-1 .wdt-animation-item.icon-item i {
    font-size: clamp(2.5rem, 2.25rem + 1.25vw, 3.75rem);
    width: 100%;
    height: 100%;
    color: var(--wdtPrimaryColor);
}

.wdt-cus-animation-style-1 .wdt-animation-item.text-item .wdt-animation-text a {
    color: var(--wdtTertiaryColor);
}

.wdt-cus-animation-style-1 .wdt-animation-item.text-item .wdt-animation-text a:hover {
    color: var(--wdtPrimaryColor);
    background-color: transparent;
    background-clip: unset;
    -webkit-background-clip: unset;
    -webkit-text-stroke: 0;
}

/* ===========================
Animation Image + Text Style 
=========================== */

.wdt-animation-wrapper .wdt-animation-item .wdt-animation-item-text {
    font-size: clamp(1.25rem, 0.95rem + 1.5vw, 2.75rem); /* mx-44 mn-20 */
    color: var(--wdtAccentTxtColor);
    font-weight: var(--wdtFontWeight_Alt);
}

.wdt-animation-wrapper .wdt-animation-item .wdt-animation-item-text a {
    color: inherit;
}

.wdt-animation-wrapper .wdt-animation-item:hover .wdt-animation-item-text {
    color: rgba(var(--wdtAccentTxtColorRgb), 0.7);
}
