* {
    font-family: "Poppins", sans-serif;
}

@font-face {
    font-family: "cupCake";
    src: url("../BrownieCake.otf");
}

.textCupcake {
    font-family: "cupCake", sans-serif;
}

.bg-pattern {
    background-image: url(../images/test.jpg);
    background-size: contain;
    background-position: center;
}

/* scrollbar */

/* scrollbar styling */
*::-webkit-scrollbar {
    width: 5px;
}

/* Track */
*::-webkit-scrollbar-track {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background-color: transparent;
    -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1);
}

/* Handle */
*::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #03092236;
    /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); */
}

*::-webkit-scrollbar-thumb:window-inactive {
    background: #ededed;
}

/* round animation svg [index page - hero section - reveal section] */
.rotateTxt svg {
    display: block;
    width: 100%;
    letter-spacing: 0.52em;

    text {
        transform-origin: 50% 50%;
        animation: rotate 10s linear infinite;
    }
}
@keyframes rotate {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(-360deg);
    }
}

/* marquee */

.stock-ticker {
    font-size: 15px;
    padding-block: 8px;
    overflow: hidden;
    user-select: none;
    --gap: 25px;
    display: flex;
    gap: var(--gap);
}

.stock-ticker ul {
    list-style: none;
    flex-shrink: 0;
    min-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap);

    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    to {
        transform: translateX(calc(-100% - var(--gap)));
    }
}

.swiper-button-prev,
.swiper-button-next {
    border-radius: 100px;
    border: 2px solid white;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-pagination-bullet-active {
    background-color: green !important;
}
