/* Skills */
#skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.skill-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#skills {
    padding: 20px;
    max-width: 800px;
    margin: auto;
}

#skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.skill-badge {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px 15px;
    border-radius: 25px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /*animation: float 6s infinite ease-in-out;*/
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(10px, -10px) rotate(5deg);
    }

    50% {
        transform: translate(-10px, 10px) rotate(-5deg);
    }

    75% {
        transform: translate(10px, 10px) rotate(5deg);
    }
}

/* Randomize animation duration and delay for each badge */
.skill-badge:nth-child(1) {
    animation-duration: 5s;
    animation-delay: 0s;
}

.skill-badge:nth-child(2) {
    animation-duration: 6s;
    animation-delay: 0s;
}

.skill-badge:nth-child(3) {
    animation-duration: 7s;
    animation-delay: 0s;
}

.skill-badge:nth-child(4) {
    animation-duration: 8s;
    animation-delay: 0s;
}

.skill-badge:nth-child(5) {
    animation-duration: 9s;
    animation-delay: 0s;
}

.skill-badge:nth-child(6) {
    animation-duration: 10s;
    animation-delay: 0s;
}

.skill-badge:nth-child(7) {
    animation-duration: 11s;
    animation-delay: 0s;
}

.skill-badge:nth-child(8) {
    animation-duration: 12s;
    animation-delay: 0s;
}

.skill-badge:nth-child(9) {
    animation-duration: 13s;
    animation-delay: 0s;
}

.skill-badge:nth-child(10) {
    animation-duration: 14s;
    animation-delay: 0s;
}

.skill-badge:nth-child(11) {
    animation-duration: 15s;
    animation-delay: 0s;
}

.skill-badge:nth-child(12) {
    animation-duration: 16s;
    animation-delay: 0s;
}

.skill-badge:nth-child(13) {
    animation-duration: 17s;
    animation-delay: 0s;
}

.skill-badge:nth-child(14) {
    animation-duration: 18s;
    animation-delay: 0s;
}

.skill-badge:nth-child(15) {
    animation-duration: 19s;
    animation-delay: 0s;
}

.skill-badge:nth-child(16) {
    animation-duration: 20s;
    animation-delay: 0s;
}

.skill-badge:nth-child(17) {
    animation-duration: 21s;
    animation-delay: 0s;
}

.skill-badge:nth-child(18) {
    animation-duration: 22s;
    animation-delay: 0s;
}

.skill-badge:hover {
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.skill-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.skill-badge .material-symbols-outlined {
    font-size: 1.2rem;
    color: #1976D2;
}

.skill-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}