@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

:root {
    --bg: rgb(222,222,222);
    --font-title: 'Chakra Petch', Roboto;
    --title-weight: 700;
}

html,
body {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

@property --glow-size {
    syntax: "<length>";
    inherits: false;
    initial-value: 150vh;
}

@property --mix-perc {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 8%;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;

    background: rgba(155, 155, 155, 0.001);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);

    pointer-events: none;
    z-index: 0;
}

body {

    background:
        radial-gradient(
            circle var(--glow-size) at 0% 50%,
            rgba(214, 2, 112, 0.35) 0%,
            rgba(214, 2, 112, 0.12) 25%,
            transparent 55%
        ),
        radial-gradient(
            circle var(--glow-size) at 100% 50%,
            rgba(0, 56, 168, 0.35) 0%,
            rgba(0, 56, 168, 0.12) 25%,
            transparent 55%
        ),
        color-mix(in srgb, rgb(155, 79, 150) var(--mix-perc), #000 calc(100% - var(--mix-perc)));
    background-repeat: no-repeat;
    min-height: 100%;

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

    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        --glow-size: 140vh;
    }

    50% {
        --glow-size: 160vh;
    }
}

h1 {
    font-family: var(--font-title);
    font-weight: var(--title-weight);
    color: #fff;
    font-size: 5rem;

    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.3),
        0 0 60px rgba(255, 255, 255, 0.1);
}

p {
    font-family: 'Chakra Petch', Roboto;
    color: #fff;
    font-size: 1.75rem;
    font-weight: 500;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.3),
        0 0 60px rgba(255, 255, 255, 0.1);
}

#wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 700px;
    position: relative;
    z-index: 1;
}