﻿.skills-container {
    display: grid;
    gap: 1.2rem;
    padding: 3rem 2rem 2rem;
    max-width: 1300px;
    width: 75vw;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.skills-nav-section {
    background: var(--color-bg-light);
    box-shadow: var(--shadow);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 1 390px;
}

.skills-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: flex-start;
    align-items: stretch;
    margin-bottom: 1.2rem;
    background: none;
    border: none;
    padding: 0;
}

.menu {
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.55em 1.15em 0.3em 1.15em;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    transition: color 0.13s, background 0.14s;
    cursor: pointer;
    outline: none;
    min-height: 3.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: pre-line;
}

    .menu.active,
    .menu[aria-current="page"] {
        color: #fff;
        background: #232e38;
    }

    .menu:hover, .menu:focus-visible {
        background: #232e38;
    }

.skills-wheel-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 260px;
    overflow: hidden;
}

    .skills-wheel-menu svg {
        outline: none;
    }

.skills-explanation-section {
    background: var(--color-bg-light);
    box-shadow: var(--shadow);
    padding: 2.2rem 2rem 2.2rem 2rem;
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.skills-details-group {
    display: flex;
    align-items: stretch;
    gap: 2.2rem;
}

.skills-desc {
    text-align: justify;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 2.1rem;
    min-height: 3em;
    margin-bottom: 1.1em;
    color: white;
    word-break: break-word;
    letter-spacing: 0.01em;
}

.display-none {
    display: none;
}

.skills-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bar-container {
    border: 2px solid var(--color-primary, lime);
    border-radius: 20px;
    background: rgba(50, 150, 50, 0.08);
    box-shadow: 0 1px 6px rgba(80,255,80,0.08);
    margin-bottom: 0.5em;
    overflow: hidden;
}

.bar {
    background: linear-gradient(90deg, var(--color-primary, lime) 60%, #357ABD 100%);
    height: 2.08em;
    color: var(--color-bg, #000);
    font-size: 1.04rem;
    font-weight: bold;
    text-align: right;
    padding-right: 1.2em;
    border-radius: 20px 0 0 20px;
    width: 0;
    transition: width 1s cubic-bezier(.77,0,.18,1);
    line-height: 2.08em;
}






























.wheel-group {
    cursor: pointer;
}

.segment {
    fill: transparent;
    stroke: var(--color-primary);
    stroke-width: 2;
    transition: fill 0.3s;
    outline: none;
}

    .segment:hover {
        fill: #357ABD;
    }

.segmentactive {
    fill: #357ABD;
}

.segmenttext {
    fill: var(--color-text);
    text-anchor: middle;
    font-weight: bold;
    dominant-baseline: mathematical;
    pointer-events: none;
}




@media (width <= 575.98px) {
    .segmenttext {
        font-size: 14px;
    }
}

@media (width >= 576px) and (width <= 767.98px) {
    .segmenttext {
        font-size: 16px;
    }
}

@media (width >= 768px) and (width <= 991.98px) {
    .segmenttext {
        font-size: 18px;
    }
}

@media (width >= 992px) and (width <= 1199.98px) {
    .segmenttext {
        font-size: 20px;
    }
}

@media (width >= 1200px) and (width <= 1399.98px) {
    .segmenttext {
        font-size: 22px;
    }
}

@media (width >= 1400px) {
    .segmenttext {
        font-size: 24px;
    }
}

@media (width <= 991.98px) {
    .skills-container {
        grid-template-areas:
            "header"
            "wheel"
            "explanation";
    }

    .skills-nav-section,
    .skills-explanation-section {
        max-width: 97vw;
        min-width: 0;
    }

    .skills-details-group {
        flex-direction: column-reverse;
    }

    .skills-nav-menu {
        justify-content: center;
        border-bottom-width: 2px;
        padding-left: 0;
    }

    .menu {
        font-size: 1rem;
        padding: 0.45em 0.7em 0.28em 0.7em;
        margin-bottom: -2px;
        border-radius: 10px 10px 0 0;
    }
}

@media (width >= 992px) {
    .skills-container {
        grid-template-columns: 1fr 2fr;
        grid-template-areas:
            "header header"
            "wheel explanation";
    }

    .skills-header {
        grid-area: header;
    }

    .skills-nav-section {
        grid-area: wheel;
    }

    .skills-explanation-section {
        grid-area: explanation;
    }

    .skills-details-group {
        flex-direction: column;
    }
}
