@layer components, utilities;

@layer components {
    /* =====================================
    MARK: Layout Components
    ===================================== */

    /* ---------- Frame ---------- */
    .main-frame {
        width: 100%;
        height: 100%;
        perspective: 1500px;
        perspective-origin: right;
    }

    /* ---------- Text Plane ---------- */
    .text-plane {
        width: 150%;
        height: 100%;
        display: flex;
        flex-direction: column;
        transform: rotateY(30deg);
        transform-origin: left center;
    }

    /* ---------- Rows ---------- */
    .row {
        flex: 1;
        overflow: hidden;
        display: flex;
        align-items: center;
        border-top: 2px solid var(--border-color);
        cursor: pointer;
    }

    /* ---------- Scrolling Text ---------- */
    .scrolling-text {
        display: flex;
        width: max-content;
    }

    .scrolling-text span {
        font-family: var(--inter-regular);
        font-weight: 900;
        font-size: clamp(2.5rem, 11vh, 11vh);
        color: var(--text-color);
        white-space: pre;
        line-height: 1;
        user-select: none;
    }
}