.wrapper {
    width: 400px;
    font-family: 'Roboto', sans-serif;
    margin: 0 auto;
}

.skill {
    margin-bottom: 35px;
    position: relative;
    overflow-x: hidden;
}

.skill > p {
    font-size: 18px;
    font-weight: 700;
    color: #1a1716;
    margin: 0;
}

.skill:before {
    width: 100%;
    height: 5px;
    content: "";
    display: block;
    position: absolute;
    background: #959595;
    bottom: 0;
}

.skill-bar {
    width: 100%;
    height: 5px;
    display: block;
    position: relative;
}

.skill-bar-title {
    font-weight: 600;
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 8px;
}

.skill-bar span {
    position: absolute;
    top: -30px;
    padding: 0;
    font-size: 18px;
    padding: 3px 0;
    font-weight: 500;
    color: var(--color-text);
}

.skill-bar {
    position: relative;
}

.skill1 .skill-count1 {
    right: 0;
}

/* SKILL 1 */
.skill1 {
    width: 95%;
}

/* SKILL 2 */
.skill2 {
    width: 85%;
}

.skill2 .skill-count2 {
    right: 0;
}

/* SKILL 3 */
.skill3 {
    width: 75%;
}

.skill3 .skill-count3 {
    right: 0;
}

/* SKILL 4 */
.skill4 {
    width: 65%;
}

.skill4 .skill-count4 {
    right: 0;
}

/* SKILL 5 */
.skill5 {
    width: 80%;
}

.skill5 .skill-count5 {
    right: 0;
}

/* SKILL 6 */
.skill6 {
    width: 90%;
}

.skill6 .skill-count6 {
    right: 0;
}

@keyframes expandWidth {
    0% {
        width: 0%;
    }
    100% {
        width: var(--target-width, 100%);
    }
}

.width-animation {
    animation: expandWidth 1s ease-in-out forwards;
}

/* Dark theme adjustments */
html[data-theme="dark"] .skill-bar {
    background: #404040;
}
