#window {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    z-index: 5;
}

#windowContentParent {
    background-color: white;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-height: 90%;
    display: none;
}

#windowContent {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

#windowContent > div {
    padding: 10px;
}

#windowContent > img {
    width: 100%;
    margin: 10px 0;
}

#windowLoader {
    border: 16px solid white;
    border-top: 16px solid #cc0000;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    display: none;
}

@keyframes spin {
    from {transform: rotate(0deg)}
    to {transform: rotate(360deg)}
}