:root {
    --panel-height: 32px;
    --panel-item-spacing: 4px;
    --titlebar-height: 32px;
    --titlebar-padding: 4px;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, sans-serif;
}

button {
    font-family: system-ui, sans-serif;
}

#desktop {
    background-image: url("https://wallpapercave.com/wp/XIx9yfP.jpg");
    background-position: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

#panel {
    background: #fff8;
    filter: drop-shadow(0 0 8px black);
    backdrop-filter: blur(4px);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: calc(var(--panel-height) - 2*var(--panel-item-spacing));
    padding: var(--panel-item-spacing);
    display: flex;
    z-index: 10;
}

#panel button {
    border: none;
    border-radius: 0;
    margin-right: var(--panel-item-spacing);
    background: #fff4;
    height: inherit;
    white-space: nowrap;
}

#panel button:hover {
    background: #fff8;
}

#panel button:active {
    background: #0002;
}

#panel .separator {
    border-left: 1px solid #0008;
    width: 0;
    height: inherit;
    margin-right: var(--panel-item-spacing);
}

.window {
    position: fixed;
    background: #fff8;
    backdrop-filter: blur(4px);
    filter: drop-shadow(0 0 8px black)
}

.titlebar {
    background: #fff8;
    padding: var(--titlebar-padding);
    text-align: right;
    color: black;
    height: calc(var(--titlebar-height) - 2*var(--titlebar-padding));
    position: relative;
    top: calc(0 - var(--titlebar-padding));
}

.titlebar .title {
    float: left;
    user-select: none;
}

.titlebar button {
    border: none;
    background: none;
}

.window iframe {
    border: none;
    width: inherit;
    height: inherit;
}
