/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

.rubik {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;

}

#about-dropdown {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
    pointer-events: none;
}

#about-dropdown.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    animation: scroll 45s linear infinite;
    display: flex;
    width: max-content;
}

/* For RTL scrolling (Arabic mode) */

.rtl-scroll {
    animation: rtl-scroll 40s linear infinite;
    display: flex;
    width: max-content;
}

@keyframes rtl-scroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(50%);
    }
}

.ribbon {
    position: absolute;
    top: 12px;
    z-index: 20;
    padding: 6px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    background: #ef4444;
    /* Tailwind red-500 */
    text-align: center;
    transform: rotate(45deg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.ribbon-right {
    right: -45px;
}

.ribbon-left {
    left: -45px;
    transform: rotate(-45deg);
}