html {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background-color);
    background-image:
        radial-gradient(ellipse at 15% 80%, color-mix(in srgb, var(--primary-color) 20%, transparent) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 20%, color-mix(in srgb, var(--primary-color) 15%, transparent) 0%, transparent 50%);
    overflow: hidden;
    position: relative;
}

html::before,
html::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
}

html::before {
    width: 450px;
    height: 450px;
    background: color-mix(in srgb, var(--primary-color) 18%, transparent);
    top: -100px;
    right: -50px;
    animation: floatBlob1 18s ease-in-out infinite;
}

html::after {
    width: 400px;
    height: 400px;
    background: color-mix(in srgb, var(--primary-color) 12%, transparent);
    bottom: -80px;
    left: -60px;
    animation: floatBlob2 22s ease-in-out infinite;
}

@keyframes floatBlob1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 60px) scale(1.1); }
    66% { transform: translate(30px, -30px) scale(0.95); }
}

@keyframes floatBlob2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -40px) scale(1.05); }
    66% { transform: translate(-30px, 50px) scale(0.9); }
}

body {
    margin: 0;
    width: auto;
    height: auto;
    font-family: var(--font);
    position: relative;
    z-index: 1;
    background: transparent;
}

@media screen and (max-width: 700px) {
    html {
        height: auto;
        min-height: 100%;
        overflow-y: auto;
        align-items: flex-start;
        padding: 0;
    }
    html::before { width: 200px; height: 200px; }
    html::after { width: 160px; height: 160px; }
    body { width: 100%; }
}
