#config-overlay {
    text-align: center;
}

.modal {
    position: fixed;
    top: 20%;
    left: 5%;
    width: 90%;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: none;
    color: white;
    background: linear-gradient(to top, #87ceeb, #d65db1);
}


#backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
}

#skills-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

#tech {
    text-align: left;
}

#skills-box ul{
    list-style: none;
    text-align: left;
}

#skills-box a{
    text-decoration: none;
}

#cancel-config-btn {
    margin-left: 223px;
    cursor: pointer;
    background-image: var(--colorsfive);
    background-size: 200%;
   animation: bg-animation 200s infinite alternate;
}

@keyframes bg-animation {
   0% {background-position: left}
   100% {background-position: right;}
}

@media (max-width: 645px) {
#cancel-config-btn {
    margin-left: 100px;
   }
}

.invisible {
    color:rgba(0, 0, 0, 0.0);
}

@media (min-width: 48rem) {
    .modal {
        left: calc(50% - 20rem);
        width: 40rem;
    }
}

