body {
    padding: 0;
}

[contenteditable="true"]:active,
[contenteditable="true"]:focus {
    border: none;
    outline: none;
}

#description {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    color: thistle;
}

#window-area {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.window {
    & .window-content {
        padding: var(--padding);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        flex-grow: 1;
        overflow: auto;
    }

    & .window-header {
        .window-control-btn {
            height: 0.8rem;
            width: 0.8rem;
            border-radius: 100%;
            margin-right: 0.25rem;

            &:last-of-type {
                margin-right: 0;
            }

            &:hover {
                filter: brightness(120%);
                cursor: pointer;
            }

            &.close {
                background-color: var(--color-danger);
            }

            &.minimize {
                background-color: var(--color-warning);
            }

            &.maximize {
                background-color: var(--color-success);
            }
        }

        border-bottom: 1px solid var(--color-text);
        display: flex;
        align-items: center;
        justify-content: left;
        padding: 0.75rem;
        opacity: 1;
        background-color: var(--color-bg-offset);
    }

    & .window-resize-handle {
        &:hover {
            cursor: se-resize;
        }

        position: absolute;
        bottom: 0px;
        right: 0px;
        transform: translate(50%, 50%);
        /* border-radius: 100%; */
        /* border-radius: 100%; */
        z-index: 1;
        /* height: 0.5rem; */
        /* width: 0.5rem; */
        height: 0.75rem;
        width: 0.75rem;
        background-color: var(--color-text);
        /* backdrop-filter: contrast(90%); */
        background-color: none;
        opacity: 0;
    }

    &:hover {
        & .window-resize-handle {
            opacity: 0.1;
        }
    }

    position: fixed;
    display: flex;
    flex-direction: column;
    border-radius: 3px;

    /* Will be deleted */
    top: 200px;
    left: 200px;

    height: 200px;
    width: 300px;

    border: 1px solid var(--color-text);
    user-select: none;
    -webkit-user-select: none;

    box-shadow: 3px 3px 10px black;
}
