html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: "Jost", sans-serif;
}

.window {
    position: absolute;
    top: 45%;
    left: 54%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 60vw;
    height: 60vh;
    height: 60dvh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e87aa4;
    box-shadow: 12px 12px 32px rgba(0, 0, 0, 0.45);
}

.title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to bottom, #e87aa4, #f6b8cf);
    color: #5a2a3c;
    padding-left: 10px;
    height: 30px;
    cursor: move;
    touch-action: none;
}

.title {
    font-weight: bold;
}

.controls {
    display: flex;
    height: 100%;
}

.ctrl {
    width: 46px;
    height: 100%;
    border: none;
    background: transparent;
    color: #5a2a3c;
    font-size: 14px;
    cursor: pointer;
}

.ctrl:hover {
    background: rgba(255, 255, 255, 0.25);
}

.ctrl:last-child:hover {
    background: #c42b1c;
}

.bubble {
    position: fixed;
    left: 0;
    z-index: 2147483647;
    cursor: pointer;
    user-select: none;
}

.content {
    flex: 1;
    padding: 24px;
    font-size: clamp(1.25rem, 4vw, 2rem);
    color: #e87aa4;
    background: #fff;
}

body {
    background-image: url('img/field-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.fish {
    position: fixed;
    left: 0;
    z-index: 0;
    cursor: pointer;
    user-select: none;
}

@media (max-width: 700px) {
    .window {
        width: 80vw;
        height: 65vh;
        height: 65dvh;
    }
}
