.skills {
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center; 
    text-align: center;
    color: #fff;
    min-height: 100dvh;
    visibility: hidden;
    opacity: 0;
    animation: show-skills 0.8s ease forwards;
    animation-delay: 0.2s;
}

@keyframes show-skills {
    100% {
        visibility: visible;
        opacity: 1;
    }
}

.skills ul li {
    text-decoration: none;
    list-style: none;
}

.skill-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    padding: 0 10px;
    max-width: 600px;
}

.skill-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 6px;
    margin-bottom: 12px;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    border: 1px solid #2a469a;
    border-radius: 6px;
}

.skill-details.active {
    opacity: 1;
}

.skill-btn {
    background: none;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.skill-btn:hover {
    color: rgb(133, 255, 127);
}

.FreeCodeCamp {
    text-decoration: underline;
}

.FreeCodeCamp:hover {
    color: gray;
}