
.modal-window {
    position: fixed;
    background: hsla(0, 0%, 0%, 0.5);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}
.modal-window:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}



/* This is generic modal wrapper, width depends on the content */
.modal-content-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 2px;
    box-shadow: 0 0 1.5em hsla(0, 0%, 0%, 0.35);
}



/* NOT ACTIVE YET */

/* SETTING */
.setting-modal {
    width: 1000px;
}









.modal-content {
    padding: 15px 20px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #e8e8e8;
    background: #ecefef;
}

.modal-header span {
    font-size: 20px;
}

.modal-close img {
    width: 24px;
    transition: all 0.3s;
}
.modal-close img:hover {
    filter: brightness(0) saturate(100%) invert(85%) sepia(10%) saturate(18%) hue-rotate(13deg) brightness(104%) contrast(93%);
}