#skills {
    width: 100%;
}

.skillsCard {
    width: 100%;
    max-width: 1300px;
    background-color: #0f1222;
    margin: 1rem 0 2rem;
    padding: 1rem clamp(1rem, 3vw, 2.5rem) 2.5rem;
}

.skillsTitle h2 {
    margin: .5rem 0 1.5rem;
}

.skillsList {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1.25rem, 3vw, 2rem);

    list-style: none;
    margin: 0;
    padding: 0;
}

.skillsList li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    background-color: #0f1b2d;
    box-shadow: #317AC1 6px 6px 1px;
    border: 1px solid var(--border);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
    padding: 1rem .5rem;
    flex: 0 0 140px;
}
.skillsList li:hover {
    transform: translateY(-1px);
    border-color: #6a6abb;
    box-shadow: #317AC1 8px 8px 1px ;
}
.skillsList img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.skillIcons {
    display: flex;
    gap: .4rem;
}

/* Skill name */
.skillName {
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 500px) {
    .skillsList {
        gap: 1rem;
    }
    .skillsList li {
        flex-basis: 90px;
        padding: .75rem .25rem;
        box-shadow: #317AC1 4px 4px 1px;
    }
    .skillsList img {
        width: 36px;
        height: 36px;
    }
    .skillName {
        font-size: 0.8rem;
    }
}
