.skill-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn-modal 0.3s ease-in;
}

@keyframes fadeIn-modal {
    from {
        opacity: 0;
    } to {
        opacity: 1;
    }
}

.skill-modal-content {
    background-color: black;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
}

.skill-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    transition: 0.3s;
}

.skill-close:hover,
.skill-close:focus {
    color: red;
    text-decoration: none;
    cursor: pointer;
}

.modal-skill-bg {
    color: gray;
}

.modal-skill-detail::before {
    content: '>> ';
}

.modal-skill-detail {
    color: white;
}