body {
    background-image: url("../fsh-spin.gif");
    background-color: rgb(150, 207, 221);
}

#window-area {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 98vw;
    height: calc(98vh - 40px);
    overflow: hidden;
}

#main-window {
    position: fixed;
    z-index: 1;
    width: 350px;
    height: 388px;
    --window-background-color: #45a5af;
}

#log-window {
    position: fixed;
    right: 10px;
    bottom: 20px;
    z-index: 0;
    width: 500px;
    height: 370px;
    --window-background-color: #b1b1b1;
}

#logarea {
    width: 470px;
    height: 320px;
    resize: none;
}

.window-body {
    height: 320px;
}

#bpm-input {
    width: 50px;
}

#tension-multiplier-select {
    width: 50px
}

input {
    font: var(--font);
    max-width: 250px;
}

@keyframes closeAnim {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

@keyframes openAnim {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.window.closing {
    animation: closeAnim 0.25s ease-in-out forwards;
}

.window.opening {
    animation: openAnim 0.25s ease-out forwards;
}

.hidden {
    display: none;
}

.title-bar {
    user-select: none;
}

#dialog-failed{
    position: fixed;
    --window-background-color: #ff4848;
    height: 210px;
}

#dialog-logo{
    position: fixed;
    --window-background-color: #ff4848;
    height: 160px;
}

#dialog-failed .window-body {
    height: 120px;
}

#dialog-logo .window-body {
    --window-background-color: #ff4848;
    height: 70px;
}

#dialog-justafish {
    position: fixed;
    width: 590px;
    height: 360px;
}

#dialog-justafish .window-body {
    width: 570px;
    height: 320px;
}

.status-bar-field {
    max-height: 15px;
    overflow: hidden;
}

#logo-window {
    position: fixed;
    width: 158px;
    height: 168px;
    top: 10px;
    left: 10px;
}

#logo-window .window-body {
    width: 130px;
    height: 120px;
}

#logo-window img {
    width: 120px;
    height: 120px;
}

#taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 26px;
    background: #1e1e1e;
    display: flex;
    align-items: center;
    padding: 2px;
    gap: 2px;
    font-family: var(--font);
}

.taskbar-item {
    display: flex;
    align-items: center;
    padding: 2px 2px;
    background: #444;
    color: #fff;
    border: 1px solid #222;
    cursor: pointer;
    user-select: none;
}

.taskbar-item.active {
    background: #2b8ad6;
}

.taskbar-item .material-symbols-outlined {
    font-size: 20px;
    margin-right: 4px;
}