.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    justify-content: center;
    align-items: center;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    /* background-color: rgb(0, 0, 0); */
    background-color: var(--bg-secondary);
    /* background-color: rgba(0, 0, 0, 0.9); */
    overflow: hidden;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 700px;
    max-height: 90%;
    overflow-y: auto;
    /* background-color: rgba(255,255,255,0.8); */
    background-color: var(--bg-primary);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text-primary);
}

.modal-content,
.close {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    /* color: #fff; */
    color: var(--text-primary);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    /* color: #bbb; */
    color: var(--text-tertiary);
    text-decoration: none;
    cursor: pointer;
}

#info-modal .modal-content {
    /* background-color: rgba(255,255,255,0.8); */
    background-color: var(--bg-primary);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#info-modal .modal-content section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px;
}

ol,
ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text-primary);
}