* {
    box-sizing: border-box;
    margin: 0;
}

body {
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
    background: #01264e;
}

.title {
    width: 100%;
    padding: 0 20px;
    font-size: clamp(42px, 10vw, 80px);
    line-height: 0.9;
    color: white;
    position: fixed;
    left: 50%;
    top: clamp(25px, 6vh, 60px);
    transform: translateX(-50%);
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    white-space: nowrap;
    z-index: 10;
}

.title .messy {
    font-family: "Rubik Wet Paint", system-ui;
}

.oli {
    width: min(85vw, 520px);
    position: fixed;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    transition: transform 0.12s cubic-bezier(.2, .8, .2, 1);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    z-index: 5;
}

.oli:active {
    transform: translate(-50%, -50%) scale(0.88) rotate(-2deg);
}

.oli img {
    display: block;
    width: 100%;
    rotate: -27deg;
    pointer-events: none;
}

.oli img.hidden {
    display: none;
}

.slime-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
}

.slime {
    position: absolute;
    background: white;
    border-radius: 50% 40% 60% 45%;
    transform-origin: center;
    animation: slimeOoze 1s cubic-bezier(.16, 1, .3, 1) forwards;
    opacity: 0;
}

.slime-drip {
    position: absolute;
    background: white;
    border-radius: 50% 50% 45% 45%;
    transform-origin: top;
    animation: dripOoze 1.5s cubic-bezier(.16, 1, .3, 1) forwards;
    transform: scaleY(0);
}

.slime-splat {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: splatOoze 0.6s cubic-bezier(.16, 1, .3, 1) forwards;
    transform: scale(0);
}

@keyframes slimeOoze {

    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.05) rotate(0deg);
    }

    60% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15) rotate(10deg);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }

}

@keyframes dripOoze {

    0% {
        transform: scaleY(0);
    }

    40% {
        transform: scaleY(1.25);
    }

    70% {
        transform: scaleY(0.85);
    }

    100% {
        transform: scaleY(1);
    }

}

@keyframes splatOoze {

    0% {
        transform: scale(0);
    }

    60% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }

}

@media (max-width: 600px) {

    .title {
        top: 30px;
        padding: 0 15px;
        font-size: clamp(36px, 12vw, 65px);
    }

    .oli {
        width: 100vw;
        top: 56%;
    }

}

@media (max-height: 700px) {

    .title {
        top: 20px;
    }

    .oli {
        top: 58%;
    }

}