:root {
    --foreground-rgb: 211, 216, 232;
}

@media (prefers-color-scheme: dark) {
    :root {
        --foreground-rgb: 255, 255, 255;
    }
}

body {
    color: rgb(var(--foreground-rgb));
    background: #0d1224;
    font-family: 'Poppins', sans-serif;
}

.marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    white-space: nowrap;
}

.marquee {
    display: inline-flex;
    animation: marquee 24s linear infinite;
    gap: 1.25rem;
    width: max-content;
}

.marquee:hover {
    animation-play-state: paused;
}

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

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

.skill-card {
    flex: 0 0 auto;
    width: 4.5rem;
    min-width: 4.5rem;
    display: inline-block;
    border-radius: .75rem;
    background: #171a2e;
    border: 1px solid #24243b;
    transition: transform .25s cubic-bezier(.4, 0, .2, 1), box-shadow .2s;
    box-shadow: none;
    padding: .6rem 0 .3rem 0;
}

.skill-card:hover {
    transform: scale(1.11) translateY(-2px);
    box-shadow: 0 4px 24px 0 #a78bfa1a;
    border-color: #8b5cf6;
}

.skill-card img {
    height: 1.8rem;
    width: 1.8rem;
    margin: 0 auto .35rem auto;
}

.skill-card p {
    font-size: .75rem;
    color: #e6e8ee;
    margin: 0;
    text-align: center;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    background: #181a2f;
    color: #fff;
    padding: .3rem 1.1rem;
    border-radius: .45rem;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.6rem;
    box-shadow: 0 1px 4px #11112222;
}

.border-gradient {
    height: 1px;
    background: linear-gradient(to right, transparent, #8b5cf6, transparent);
}

.card-min {
    border-radius: .85rem;
    border: 1px solid #23233a;
    background: #131528;
    transition: box-shadow .18s, border .18s, transform .18s;
    box-shadow: none;
    padding: 1.1rem 1rem;
    font-size: .89rem;
}

.card-min:hover {
    border-color: #8b5cf6;
    box-shadow: 0 4px 24px 0 #a78bfa1a;
    transform: translateY(-2px) scale(1.01);
}

.min-text {
    font-size: .97rem;
    color: #bfc2d3;
}

.min-label {
    font-size: .85rem;
    color: #9296b6;
}

.glass {
    background: rgba(13, 18, 36, 0.79);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #23233a;
}

.marquee-container::-webkit-scrollbar {
    display: none;
}

.section-pad {
    padding-top: 2.3rem;
    padding-bottom: 1.6rem;
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(20px);
}

[data-aos].aos-animate {
    opacity: 1 !important;
    transform: none !important;
}

@keyframes waveAnim {
    0% {
        transform: rotate(0.0deg);
    }

    10% {
        transform: rotate(14.0deg);
    }

    20% {
        transform: rotate(-8.0deg);
    }

    30% {
        transform: rotate(14.0deg);
    }

    40% {
        transform: rotate(-4.0deg);
    }

    50% {
        transform: rotate(10.0deg);
    }

    60% {
        transform: rotate(0.0deg);
    }

    100% {
        transform: rotate(0.0deg);
    }
}

.animate-wave {
    display: inline-block;
    animation: waveAnim 1.9s infinite;
    transform-origin: 70% 70%;
}

.circle-container {
    width: 580px;
    height: 580px;
    position: relative;
    margin: 0 auto;
    border-radius: 50%;
    background: none;
    overflow: visible;
}

.dotCircle {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 50%;
    z-index: 2;
    transition: transform 2s cubic-bezier(.4, 0, .2, 1);
    pointer-events: none;
}

.itemDot {
    width: 70px;
    height: 70px;
    background: #181a2f;
    border-radius: 18px;
    position: absolute;
    box-shadow: 0 4px 16px #8b5cf61a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1.5px solid #23233a;
    transition: background .2s, border .2s, box-shadow .2s, color .2s, transform 1s cubic-bezier(.4, 0, .2, 1), left 1s, top 1s;
    z-index: 3;
    font-size: 11px;
    color: #b6bfea;
    pointer-events: auto;
    user-select: none;
    padding: 0;
}

.itemDot.active,
.itemDot:hover {
    background: #22214a;
    color: #a78bfa;
    border: 1.5px solid #8b5cf6;
    box-shadow: 0 8px 24px #a78bfa40;
}

.itemDot img {
    width: 34px;
    height: 34px;
    margin-bottom: 2px;
    margin-top: 2px;
    border-radius: 8px
}

.itemDot span {
    font-size: 0.68rem;
    color: inherit;
    text-align: center;
    font-weight: 500;
    line-height: 1.1;
    padding: 0;
    margin: 0;
    letter-spacing: 0.01em;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.center-label-minimal {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #e0e4f8;
    background: #181a2f;
    border-radius: 50%;
    border: 1.5px solid #23233a;
    font-size: 1.11rem;
    font-weight: 600;
    text-align: center;
    z-index: 10;
    letter-spacing: 0.01em;
    pointer-events: none;
    user-select: none;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 20px 0 #21223a15;
}

.center-label-minimal span {
    font-size: 0.83rem;
    color: #a78bfa;
    font-weight: 600;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 110px;
    white-space: nowrap;
    display: block;
}

.center-label-minimal img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    margin-bottom: 8px;
}

.navbar-active {
    color: #a78bfa !important;
    font-weight: 700;
    border-bottom: 2px solid #a78bfa;
    transition: color .2s, border-bottom .2s, background .2s;
}

.skills-circle-wrapper {
    height: 600px;
}

@media (max-width: 640px) {
    .navbar {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: #181a2f;
        /* your color */
        display: flex;
        justify-content: center;
        /* centers children horizontally */
        align-items: center;
        /* centers children vertically (optional) */
        width: 100%;
    }

    .section-pad {
        padding-top: 1.3rem;
        padding-bottom: 1.05rem;
    }

    .card-min {
        font-size: .81rem;
    }

    .section-title {
        font-size: .95rem;
    }

    .skills-circle-wrapper {
        height: 68vw;
        min-height: 210px;
        max-height: 650px;
    }

    .circle-container {
        width: 90vw;
        height: 90vw;
        min-width: 210px;
        min-height: 210px;
        max-width: 650px;
        max-height: 650px;
    }

    .itemDot {
        width: 36px;
        height: 36px;
        font-size: 8px;
        border-radius: 12px;
        padding: 0;
    }

    .itemDot img {
        width: 18px;
        height: 18px;
        margin-bottom: 1px;
    }

    .itemDot span {
        font-size: 0.57rem;
    }

    .center-label-minimal {
        min-width: 52px;
        min-height: 52px;
        font-size: 0.81rem;
    }

    .marquee {
        flex-wrap: wrap;
        width: 100% !important;
        gap: 0.4rem;
        animation: none !important;
        justify-content: center;
    }

    .skill-card {
        width: 2.7rem;
        min-width: 2.7rem;
        padding: .38rem 0 .15rem 0;
    }

    .skill-card img {
        height: 1.1rem;
        width: 1.1rem;
        margin-bottom: .2rem;
    }

    .skill-card p {
        font-size: .59rem;
    }

    .center-label-minimal {
        width: 100px;
        height: 100px;
        min-width: 100px;
        min-height: 100px;
        max-width: 100px;
        max-height: 100px;
        border-radius: 50%;
        background: #181a2f;
        border: 1.5px solid #23233a;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        text-align: center;
        padding: 0;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        box-shadow: 0 4px 20px 0 #21223a15;
    }

    .center-label-minimal img {
        width: 48px;
        height: 48px;
        object-fit: cover;
        margin-bottom: 6px;
    }

    .center-label-minimal span {
        font-size: 0.65rem;
        color: #a78bfa;
        font-weight: 600;
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 60px;
        white-space: nowrap;
        display: block;
    }
}