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

body {
    background: #000 var(--bg-image) center center / cover no-repeat;
}

#app {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
}

.bg-item-1,
.bg-item-2,
.bg-item-3,
.bg-item-4,
.bg-item-5 {
    position: fixed;
    height: auto;
    pointer-events: none;
    z-index: 0;
}

.bg-item-1 {
    left: 0;
    bottom: 0;
    width: min(600px, 45vw);
}

.bg-item-2 {
    right: 0;
    bottom: 0;
    width: min(600px, 45vw);
}

.bg-item-3 {
    right: 0;
    top: 0;
    width: min(420px, 22vw);
}

.bg-item-4 {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: min(240px, 25vw);
}

.bg-item-5 {
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: min(240px, 22vw);
}

#pixi-container {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

#pixi-container canvas {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: auto;
}

.sound-toggle {
    position: fixed;
    top: 15px;
    right: 24px;
    bottom: auto;
    z-index: 2;

    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12%;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    cursor: pointer;
}

.sound-toggle__icon {
    font-size: 20px;
    line-height: 1;
}

@media (min-width: 768px) and (max-width: 1279px) {
    .sound-toggle {
        top: 20px;
        right: 24px;
        width: 52px;
        height: 52px;
    }

    .sound-toggle__icon {
        font-size: 24px;
    }
}

@media (min-width: 1281px) {
    .sound-toggle {
        top: 110px;
        right: 460px;
        width: 64px;
        height: 64px;
    }

    .sound-toggle__icon {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .bg-item-3 {
        display: none;
    }

    .bg-item-5 {
        left: 0;
        top: 68%;
        transform: translateY(-50%);
    }
}
