:root {
    --blue: #1F62A1;
    --pill: #f6e08a;
    --bg: url("img/BG-Hero.jpg");
    --bg2: url("img/BG-2.jpg");
    --bg3: url("img/Background-3.jpg");
    --bg4: url("img/Background-4.jpg");
            --bg5: url("img/BG-5.jpg");
    --boyfox5: url("img/boy&fox-5.png");
    --bg6: url("img/Background-6.jpg");
    --bg7: url("img/Background-7.jpg");
    --bg8: url("img/Background-8.jpg");
    color-scheme: dark;
    --c3w: min(50vw, calc(64vh*1.8042));
    --c3left: 32vw;
    --rock: 19vh
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: #0a1640
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none
}

body {
    font-family: 'Amatic SC', cursive;
    background: #0a1640;
    overflow-x: hidden
}

#scroller {
    height: 1500vh
}

#stage {
    position: fixed;
    inset: 0;
    overflow: hidden
}

#track {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 800vw;
    display: flex;
    will-change: transform
}

.frame {
    position: relative;
    flex: 0 0 100vw;
    height: 100%;
    overflow: hidden
}

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap
}

#bgpar,
#bgpar2,
#bgpar4 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -10vw;
    width: 120vw;
    will-change: transform
}

#bgpar3 {
    position: absolute;
    inset: 0;
    will-change: transform
}

.bgdrift {
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    width: max(100%, calc(100vh*1.5388));
    aspect-ratio: 2576/1674;
    background: var(--img, var(--bg)) center/100% 100%;
    animation: drift 12s ease-in-out infinite alternate
}

.bgdrift::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--img, var(--bg)) center/100% 100%;
    mix-blend-mode: screen;
    opacity: .34;
    animation: drift2 17s ease-in-out infinite alternate
}

#bgd {
    --c: 255, 215, 120
}

#bgd2 {
    --img: var(--bg2);
    --c: 205, 225, 255
}

#bgd4 {
    --img: var(--bg4);
    --c: 255, 225, 170;
    animation: drift4 13s ease-in-out infinite alternate
}

@keyframes drift {
    from {
        transform: scale(1.1) translate(-4.5%, 2.2%) rotate(-.6deg)
    }

    to {
        transform: scale(1.26) translate(4.5%, -3%) rotate(.6deg)
    }
}

@keyframes drift2 {
    from {
        transform: scale(1.2) translate(4%, -2.5%)
    }

    to {
        transform: scale(1.08) translate(-4%, 2%)
    }
}

@keyframes drift4 {
    from {
        transform: scale(1) translate(3.8%, -15.2%) rotate(.5deg)
    }

    to {
        transform: scale(1) translate(-3.8%, -15.2%) rotate(-.5deg)
    }
}

#bgd3 {
    --img: var(--bg3);
    --c: 255, 226, 150;
    top: auto;
    bottom: 0;
    translate: -50% 0;
    transform-origin: 50% 100%;
    animation: drift3 11s ease-in-out infinite alternate
}

#bgd3::after {
    transform-origin: 50% 100%;
    animation: drift3b 15s ease-in-out infinite alternate
}

@keyframes drift3 {
    from {
        transform: scale(1.12) translate(-3.6%, .5%) rotate(-.4deg)
    }

    to {
        transform: scale(1.22) translate(3.6%, -.3%) rotate(.4deg)
    }
}

@keyframes drift3b {
    from {
        transform: scale(1.2) translate(3%, -.4%)
    }

    to {
        transform: scale(1.1) translate(-3%, .3%)
    }
}

.haze {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 300vw;
    pointer-events: none;
    mix-blend-mode: screen;
    background: radial-gradient(ellipse 30vw 14vh at 30vw 60vh, rgba(255, 170, 150, .3), transparent 70%), radial-gradient(ellipse 24vw 11vh at 78vw 46vh, rgba(150, 175, 255, .26), transparent 70%), radial-gradient(ellipse 20vw 8vh at 55vw 30vh, rgba(255, 220, 170, .18), transparent 70%);
    background-size: 100vw 100%;
    background-repeat: repeat-x;
    animation: haze 28s linear infinite
}

@keyframes haze {
    to {
        transform: translateX(-100vw)
    }
}

.spark {
    position: absolute;
    width: var(--s, 3vw);
    aspect-ratio: 1;
    translate: -50% -50%;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0;
    background: radial-gradient(circle, rgba(var(--c), 1) 0, rgba(var(--c), .7) 8%, rgba(var(--c), .22) 30%, transparent 60%);
    animation: spark var(--d, 3s) ease-in-out infinite;
    animation-delay: var(--dl, 0s)
}

.spark::before,
.spark::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%
}

.spark::before {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgb(var(--c)), transparent)
}

.spark::after {
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgb(var(--c)), transparent)
}

@keyframes spark {

    0%,
    100% {
        opacity: .1;
        transform: scale(.4) rotate(0)
    }

    50% {
        opacity: 1;
        transform: scale(1.5) rotate(45deg)
    }
}

.shoot {
    position: absolute;
    left: 68%;
    top: 7%;
    width: 12vw;
    height: 2px;
    border-radius: 2px;
    opacity: 0;
    pointer-events: none;
    transform: rotate(-25deg);
    background: linear-gradient(270deg, transparent, #fff);
    box-shadow: 0 0 8px 1px rgba(255, 255, 255, .85)
}

.s2a {
    left: 72%;
    top: 6%
}

.s2b {
    left: 46%;
    top: 15%
}

.s3a {
    left: 66%;
    top: 8%
}

.s3b {
    left: 30%;
    top: 14%
}

.s4a {
    left: 78%;
    top: 5%
}

.s4b {
    left: 52%;
    top: 12%
}

.s4c {
    left: 24%;
    top: 20%
}

.win {
    position: absolute;
    width: 5%;
    aspect-ratio: 1;
    translate: -50% -50%;
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: screen;
    background: radial-gradient(circle, rgba(255, 196, 96, .95), rgba(255, 170, 70, .35) 40%, transparent 70%);
    animation: flick 3.4s ease-in-out infinite alternate;
    animation-delay: var(--dl, 0s)
}

@keyframes flick {
    from {
        opacity: .35;
        transform: scale(.85)
    }

    to {
        opacity: 1;
        transform: scale(1.25)
    }
}

.smoke {
    position: absolute;
    left: 11.2%;
    top: 60%;
    width: 2%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    filter: blur(.5vw);
    opacity: 0;
    pointer-events: none;
    animation: smoke 6s ease-out infinite;
    animation-delay: var(--dl, 0s)
}

@keyframes smoke {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(.5)
    }

    20% {
        opacity: .55
    }

    100% {
        opacity: 0;
        transform: translate(5vw, -14vh) scale(3)
    }
}

.sunglow {
    position: absolute;
    left: 89.3%;
    top: 78.9%;
    width: 34%;
    aspect-ratio: 1;
    translate: -50% -50%;
    pointer-events: none;
    mix-blend-mode: screen;
    background: radial-gradient(circle, rgba(255, 240, 190, .9), rgba(255, 200, 120, .35) 35%, transparent 65%);
    animation: sunp 5s ease-in-out infinite alternate
}

@keyframes sunp {
    from {
        opacity: .5;
        transform: scale(.9)
    }

    to {
        opacity: 1;
        transform: scale(1.2)
    }
}

.sunray {
    position: absolute;
    left: 89.3%;
    top: 78.9%;
    width: 110%;
    aspect-ratio: 1;
    translate: -50% -50%;
    pointer-events: none;
    mix-blend-mode: screen;
    background: repeating-conic-gradient(rgba(255, 214, 140, .2) 0 5deg, transparent 5deg 16deg);
    -webkit-mask: radial-gradient(circle, #000 0, transparent 62%);
    mask: radial-gradient(circle, #000 0, transparent 62%);
    animation: spin 50s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.light {
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    animation: breathe 6s ease-in-out infinite alternate;
    background: radial-gradient(55vw 40vh at 14% 10%, rgba(255, 214, 150, .32), transparent 65%), radial-gradient(45vw 38vh at 86% 14%, rgba(120, 170, 255, .26), transparent 65%), radial-gradient(60vw 25vh at 50% 100%, rgba(255, 200, 120, .2), transparent 70%)
}

@keyframes breathe {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.rays {
    position: absolute;
    inset: -10% -20%;
    pointer-events: none;
    mix-blend-mode: screen;
    background: linear-gradient(112deg, transparent 28%, rgba(160, 195, 255, .22) 40%, transparent 52%), linear-gradient(112deg, transparent 50%, rgba(255, 226, 170, .16) 61%, transparent 72%);
    animation: rays 12s ease-in-out infinite alternate
}

.rays.warm {
    background: linear-gradient(112deg, transparent 30%, rgba(255, 200, 140, .22) 42%, transparent 54%), linear-gradient(112deg, transparent 52%, rgba(255, 170, 150, .16) 63%, transparent 74%)
}

@keyframes rays {
    from {
        transform: translateX(-9%);
        opacity: .55
    }

    to {
        transform: translateX(9%);
        opacity: 1
    }
}

.gal {
    position: absolute;
    left: 29%;
    top: 73%;
    width: 19%;
    aspect-ratio: 1.6;
    translate: -50% -50%;
    pointer-events: none;
    mix-blend-mode: screen;
    background: radial-gradient(ellipse, rgba(255, 130, 160, .8), rgba(255, 90, 130, .28) 40%, transparent 70%);
    animation: gal 6s ease-in-out infinite alternate
}

@keyframes gal {
    from {
        opacity: .3;
        transform: scale(.85) rotate(-8deg)
    }

    to {
        opacity: 1;
        transform: scale(1.25) rotate(10deg)
    }
}

/* section 4: soft colour aurora drifting across the sky */
.aurora {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 55%;
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 1;
    background: radial-gradient(ellipse 35% 40% at 25% 30%, rgba(120, 190, 255, .38), transparent 70%), radial-gradient(ellipse 30% 36% at 70% 22%, rgba(255, 170, 210, .3), transparent 70%), radial-gradient(ellipse 26% 30% at 50% 50%, rgba(190, 150, 255, .26), transparent 70%);
    filter: blur(1.2vw);
    animation: aurora 14s ease-in-out infinite alternate
}

@keyframes aurora {
    from {
        opacity: .35;
        transform: translateX(-6%) scale(1)
    }

    to {
        opacity: 1;
        transform: translateX(6%) scale(1.15)
    }
}

.vig {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(4, 8, 30, .5))
}

#f3 .vig {
    background: radial-gradient(ellipse at 50% 45%, transparent 60%, rgba(40, 20, 60, .35))
}

.fly {
    position: absolute;
    width: .55vw;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #ffe39a;
    box-shadow: 0 0 .9vw .3vw rgba(255, 214, 120, .85);
    pointer-events: none;
    z-index: 4;
    opacity: 0
}

#moon {
    position: absolute;
    left: 9.9vw;
    top: 4.9vh;
    width: 4.2vw;
    min-width: 34px;
    aspect-ratio: 1;
    border-radius: 50%;
    z-index: 2;
    will-change: transform;
    background: radial-gradient(circle at 34% 30%, #ffe9c4 0, #f1c796 45%, #d79f6d 85%);
    box-shadow: 0 0 3vw rgba(255, 214, 150, .45);
    animation: bob 9s ease-in-out infinite alternate
}

@keyframes bob {
    from {
        translate: 0 -3px
    }

    to {
        translate: 0 4px
    }
}

#mound {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 21vh;
    object-fit: cover;
    object-position: center bottom;
    display: block;
    z-index: 3;
    pointer-events: none
}

h1 {
    position: absolute;
    left: 50%;
    top: 23vh;
    transform: translate(-50%, -50%);
    z-index: 3;
    white-space: nowrap;
    font-weight: 700;
    font-size: 8.1vw;
    line-height: 1;
    letter-spacing: .015em;
    color: #cfe6ff;
    text-shadow: 0 .3vw 2vw rgba(0, 10, 40, .45);
    opacity: 0
}

h1 i {
    font-style: normal;
    color: #ffc800
}

.w {
    display: inline-block;
    white-space: nowrap
}

.ch {
    display: inline-block;
    will-change: transform
}

#p3 .ch,
#p4 .ch {
    will-change: auto
}

#t2 {
    left: 5vw;
    top: 18vh;
    transform: none;
    font-size: 6.3vw;
    text-align: left;
    opacity: 1
}

#p2,
#p3,
#p4 {
    position: absolute;
    z-index: 3;
    font-weight: 700;
    font-size: 2.1vw;
    line-height: 1.37;
    color: #ffd966;
    text-shadow: 0 2px 14px rgba(0, 10, 40, .85)
}

#p2 {
    left: 5vw;
    top: 27.5vh;
    width: 62vw
}

.ln {
    display: block
}

#t3 {
    left: 5vw;
    width: 90vw;
    top: 13vh;
    transform: none;
    font-size: 6.3vw;
    text-align: center;
    opacity: 1;
    text-shadow: 0 .3vw 1.6vw rgba(20, 10, 60, .7)
}

#p3 {
    left: 5vw;
    top: 22vh;
    width: 90vw;
    text-align: center;
    font-size: 1.8vw;
    }

#t4 {
    left: 5vw;
    top: 38vh;
    transform: none;
    font-size: 6.3vw;
    line-height: .98;
    text-align: left;
    opacity: 1;
    text-shadow: 0 .3vw 1.8vw rgba(6, 12, 50, .75)
}

#p4 {
    left: 5vw;
    top: 56vh;
    width: 66vw;
    font-size: 1.62vw;
    line-height: 1.36;
    text-shadow: 0 2px 14px rgba(6, 12, 50, .95), 0 0 4px rgba(6, 12, 50, .75)
}

#p4 .ln {
    color: #fff1c4
}

#planets4 {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none
}

.pl {
    position: absolute;
    width: 11.5vw;
    will-change: transform
}

.pl img {
    display: block;
    width: 100%;
    height: auto;
    animation: plfloat 5s ease-in-out infinite alternate;
    animation-delay: var(--dl, 0s);
    filter: drop-shadow(0 0 1.2vw rgba(255, 214, 160, .35))
}

#pl1 {
    left: 2vw;
    top: 1vh;
    width: 11vw;
    --dl: -.5s
}

#pl2 {
    left: 26.5vw;
    top: 5vh;
    width: 12.5vw;
    --dl: -1.8s
}

#pl3 {
    left: 44vw;
    top: 8vh;
    width: 12vw;
    --dl: -3s
}

#pl4 {
    left: 59.5vw;
    top: 4vh;
    width: 11.5vw;
    --dl: -4.2s
}

@keyframes plfloat {
    0% {
        transform: translateY(.8vh) rotate(-1.6deg)
    }

    100% {
        transform: translateY(-1.8vh) rotate(1.8deg)
    }
}

#chars {
    position: absolute;
    right: -1vw;
    bottom: 8vh;
    width: min(86vw, calc(66vh*2.141));
    z-index: 2;
    will-change: transform
}

#chars2 {
    position: absolute;
    right: -4vw;
    bottom: -1vh;
    width: min(69vw, calc(70vh*1.4955));
    aspect-ratio: 1.4954;
    z-index: 2;
    will-change: transform
}

#chars4 {
    position: absolute;
    right: -3vw;
    bottom: -2vh;
    height: 76vh;
    z-index: 2;
    will-change: transform
}

#chars4 img {
    display: block;
    height: 100%;
    width: auto;
    margin-right:60px;
    transform-origin: 50% 100%;
    animation: breath4 6s ease-in-out infinite alternate
}

@keyframes breath4 {
    from {
        transform: scale(1.1) rotate(0)
    }

    to {
        transform: scale(1.1) rotate(.5deg)
    }
}

#chars img {
    display: block;
    width: 100%;
    height: auto;
    transform-origin: 50% 100%
}

#chars2 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: 50% 100%
}

#chars img {
    animation: breath 7s ease-in-out infinite alternate
}

#chars2 img {
    animation: breath2 5s ease-in-out infinite alternate
}

@keyframes breath {
    from {
        transform: scale(1) rotate(0)
    }

    to {
        transform: scale(1.012) rotate(.3deg)
    }
}

@keyframes breath2 {
    from {
        transform: scale(1) skewX(0)
    }

    to {
        transform: scale(1.018) skewX(-.7deg)
    }
}

#mound3 {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: var(--rock);
    object-fit: cover;
    object-position: center bottom;
    display: block;
    z-index: 1;
    pointer-events: none;
    filter: brightness(1.15) saturate(.92)
}

#chars3 {
    position: absolute;
    left: var(--c3left);
    bottom: calc(var(--rock) - 9vh);
    width: var(--c3w);
    aspect-ratio: 1.8042;
    z-index: 2;
    will-change: transform
}

#chars3 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: 40% 100%;
    animation: float3 4.2s ease-in-out infinite alternate
}

@keyframes float3 {
    0% {
        transform: translateY(.5vh) rotate(-.7deg) skewX(0) scale(1)
    }

    100% {
        transform: translateY(-1.9vh) rotate(1deg) skewX(-1.4deg) scale(1.012)
    }
}

.sh3 {
    position: absolute;
    left: 8%;
    bottom: .8vh;
    width: 74%;
    height: 6%;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(ellipse, rgba(50, 25, 90, .5), transparent 70%);
    filter: blur(.4vw);
    animation: sh3 4.2s ease-in-out infinite alternate
}

@keyframes sh3 {
    from {
        transform: scaleX(1.06);
        opacity: .75
    }

    to {
        transform: scaleX(.8);
        opacity: .35
    }
}

#rose {
    position: absolute;
    z-index: 6;
    bottom: 7.8vh;
    height: 18vh;
    aspect-ratio: 215/325;
    left: calc(89.4vw - 9vh*.6615);
    pointer-events: none;
    will-change: transform
}

#rose img {
    display: block;
    width: 100%;
    height: 100%;
    animation: roseglow 3.5s ease-in-out infinite alternate
}

@keyframes roseglow {
    from {
        filter: drop-shadow(0 .6vh 1vh rgba(0, 0, 0, .35))
    }

    to {
        filter: drop-shadow(0 0 1.8vh rgba(255, 90, 110, .85))
    }
}

.ph {
    background: linear-gradient(#0f1d55, #2d2a6b 70%, #6b5a8e);
    display: grid;
    place-items: center
}

.ph b {
    font-size: min(18vw, 30vh);
    color: rgba(255, 236, 170, .9);
    font-weight: 700;
    line-height: .9;
    text-align: center;
    display: block
}

.ph span {
    display: block;
    font-size: 3vh;
    text-align: center;
    color: #cfe6ff;
    opacity: .7
}

#ui {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(3.4vh + env(safe-area-inset-bottom, 0px));
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1vw
}

.round,
#pill {
    background: var(--pill);
    box-shadow: 0 .4vh 1.6vh rgba(0, 0, 0, .25)
}

.round {
    width: max(44px, 4vw);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    display: grid;
    place-items: center;
    color: var(--blue);
    font: 700 max(24px, 2.1vw) 'Amatic SC';
    transition: transform .25s
}

.round:hover {
    transform: scale(1.08)
}

.round img {
    height: auto;
    display: block
}

#pill {
    height: max(44px, 4vw);
    width: min(35vw, 90vw);
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 1.2vw
}

#pill button {
    background: none;
    border: 0;
    cursor: pointer;
    font: 700 max(22px, 2.3vw) 'Amatic SC';
    color: var(--blue);
    opacity: .35;
    padding: 0 .4vw;
    transition: opacity .25s
}

#pill button:hover {
    opacity: .7
}

#pill button.on {
    opacity: 1
}

button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px
}

#ico-on {
    display: none
}

#music.on #ico-on {
    display: block
}

#music.on #ico-no {
    display: none
}

@media(max-aspect-ratio:1/1) {
    :root {
        --c3w: 118vw;
        --c3left: -10vw
    }

    #t1 {
        font-size: 15vw;
        white-space: normal;
        text-align: center;
        width: 90vw;
        top: 20vh
    }

    #t2,
    #t3 {
        font-size: 11vw;
        white-space: normal;
        width: 90vw;
        left: 5vw;
        top: 15vh
    }

    #t4 {
        font-size: 11vw;
        white-space: normal;
        width: 90vw;
        left: 5vw;
        top: 28vh
    }

    #p2,
    #p3 {
        width: 90vw;
        left: 5vw;
        font-size: 4.8vw;
        top: 27vh
    }

    #p4 {
        width: 90vw;
        left: 5vw;
        font-size: 4.1vw;
        top: 44vh
    }

    .pl {
        width: 22vw !important
    }

    #pl1 {
        left: 2vw !important;
        top: 3vh !important
    }

    #pl2 {
        left: 27vw !important;
        top: 7vh !important
    }

    #pl3 {
        left: 51vw !important;
        top: 11vh !important
    }

    #pl4 {
        left: 74vw !important;
        top: 5vh !important
    }

    #chars4 {
        height: 40vh;
        right: -10vw
    }

    #chars {
        width: 150vw;
        right: -30vw
    }

    #chars2 {
        width: 135vw;
        right: -35vw
    }

    #pill {
        width: 60vw;
        height: max(44px, 9vw)
    }

    #ui {
        gap: 2vw
    }

    .round {
        width: max(44px, 9vw)
    }
}

@media(prefers-reduced-motion:reduce) {

    .bgdrift,
    .bgdrift::after,
    .haze,
    .light,
    .rays,
    .gal,
    .aurora,
    .spark,
    .win,
    .smoke,
    .sunglow,
    .sunray,
    .sh3,
    .pl img,
    #moon,
    #chars img,
    #chars2 img,
    #chars3 img,
    #chars4 img,
    #rose img {
        animation: none
    }
}

#f5 {
    --W5: max(100vw, calc(100vh*1.5388));
    --o5: .5;
    --fx5: .2;
    --fw5: .28
}

#bgpar5 {
    position: absolute;
    inset: 0;
    will-change: transform
}

#bgd5 {
    --img: var(--bg5);
    --c: 255, 232, 180;
    width: var(--W5);
    left: calc((100vw - var(--W5)) * var(--o5));
    top: auto;
    bottom: 0;
    translate: none;
    transform-origin: 12.4% 89.6%;
    animation: drift5 16s ease-in-out infinite alternate
}

#bgd5::after {
    transform-origin: 12.4% 89.6%;
    animation: drift5b 11s ease-in-out infinite alternate
}

@keyframes drift5 {
    from {
        transform: scale(1.012) rotate(-.15deg)
    }

    to {
        transform: scale(1.045) rotate(.15deg)
    }
}

@keyframes drift5b {
    from {
        transform: scale(1.03);
        opacity: .18
    }

    to {
        transform: scale(1.07);
        opacity: .42
    }
}

.glow5 {
    position: absolute;
    left: 0;
    top: 42%;
    width: 100%;
    height: 40%;
    pointer-events: none;
    mix-blend-mode: screen;
    background: radial-gradient(ellipse 45% 50% at 55% 60%, rgba(255, 205, 150, .45), transparent 70%), radial-gradient(ellipse 30% 40% at 15% 40%, rgba(255, 160, 190, .3), transparent 70%);
    animation: glow5 7s ease-in-out infinite alternate
}

@keyframes glow5 {
    from {
        opacity: .35
    }

    to {
        opacity: 1
    }
}

.twk {
    position: absolute;
    width: var(--s, .3vw);
    aspect-ratio: 1;
    translate: -50% -50%;
    border-radius: 50%;
    pointer-events: none;
    background: #fff7dc;
    box-shadow: 0 0 .5vw .1vw rgba(255, 240, 200, .8);
    opacity: .15;
    animation: twk var(--d, 3s) ease-in-out infinite;
    animation-delay: var(--dl, 0s)
}

@keyframes twk {

    0%,
    100% {
        opacity: .15;
        transform: scale(.6)
    }

    50% {
        opacity: 1;
        transform: scale(1.3)
    }
}

.s5a {
    left: 74%;
    top: 8%
}

.s5b {
    left: 42%;
    top: 15%
}

#t5 {
    left: 5vw;
    top: 17vh;
    transform: none;
    font-size: 6.3vw;
    text-align: left;
    opacity: 1;
    text-shadow: 0 .3vw 1.8vw rgba(60, 30, 90, .6)
}

#p5 {
    position: absolute;
    z-index: 3;
    left: 5vw;
    top: 25vh;
    width: 62vw;
    font-weight: 700;
    font-size: 1.75vw;
    line-height: 1.37;
    color: #002b53;
}

#p5 .ch {
    will-change: auto
}

#fox5,
#boy5 {
    position: absolute;
    z-index: 2;
    will-change: transform
}

#fox5 {
    left: calc((100vw - var(--W5)) * var(--o5) + var(--fx5) * var(--W5));
    bottom: calc(.10 * var(--W5));
    width: calc(var(--fw5) * var(--W5));
    aspect-ratio: 599/599
}

#boy5 {
    left: 64vw;
    bottom: 7vh;
    height: 78vh;
    width: 36vw;
    aspect-ratio: 1080/1080
}

#fox5>div,
#boy5>div {
    width: 100%;
    height: 100%;
    background-image: var(--boyfox5);
    background-repeat: no-repeat;
}

#fox5>div {
    background-size: 226.44% auto;
    background-position: 0 100%;
    animation: fox5 4.6s ease-in-out infinite alternate
}

#boy5>div {
    background-size: 215.14% auto;
    background-position: 100% 0;
    transform-origin: 30% 100%;
    animation: boy5 6s ease-in-out infinite alternate
}

@keyframes fox5 {
    from {
        transform: scaleY(1) rotate(0)
    }

    to {
        transform: scaleY(1.018) rotate(-.6deg)
    }
}

@keyframes boy5 {
    from {
        transform: rotate(0) scale(1)
    }

    to {
        transform: rotate(.5deg) scale(1.008)
    }
}

@media(max-aspect-ratio:1/1) {
    #f5 {
        --o5: .06;
        --fx5: .15;
        --fw5: .12
    }

    #t5 {
        font-size: 11vw;
        white-space: normal;
        width: 90vw;
        left: 5vw;
        top: 15vh
    }

    #p5 {
        width: 90vw;
        left: 5vw;
        font-size: 4.1vw;
        top: 25vh
    }

    #boy5 {
        left: auto;
        right: -30vw;
        height: 32vh
    }
}

@media(prefers-reduced-motion:reduce) {

    .glow5,
    .twk,
    #fox5>div,
    #boy5>div {
        animation: none
    }
}
#bgpar6 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -10vw;
    width: 120vw;
    will-change: transform
}

#bgd6 {
    --img: var(--bg6);
    --c: 255, 238, 215;
    top: auto;
    bottom: 0;
    translate: -50% 0;
    transform-origin: 50% 100%;
    animation: drift6 14s ease-in-out infinite alternate
}

#bgd6::after {
    display: none;
}

@keyframes drift6 {
    from {
        transform: scale(1.04) translate(-1.6%, 0) rotate(-.2deg)
    }

    to {
        transform: scale(1.1) translate(1.6%, -.4%) rotate(.2deg)
    }
}

@keyframes drift6b {
    from {
        transform: scale(1.08) translate(1.4%, 0);
        opacity: .16
    }

    to {
        transform: scale(1.02) translate(-1.4%, 0);
        opacity: .4
    }
}

.sun6 {
    position: absolute;
    left: 21%;
    top: 63%;
    width: 30%;
    aspect-ratio: 1;
    translate: -50% -50%;
    pointer-events: none;
    mix-blend-mode: screen;
    background: radial-gradient(circle, rgba(255, 246, 215, .85), rgba(255, 205, 150, .35) 35%, transparent 65%);
    animation: sunp 6s ease-in-out infinite alternate
}

.s6a {
    left: 80%;
    top: 6%
}

.s6b {
    left: 50%;
    top: 13%
}

#f6 .vig {
    background: radial-gradient(ellipse at 50% 45%, transparent 58%, rgba(90, 20, 40, .38))
}

#t6 {
    left: 5vw;
    top: 5.5vh;
    transform: none;
    font-size: 6.3vw;
    line-height: 1.2;
    text-align: left;
    opacity: 1;
    color: #cfe6ff;
    text-shadow: 0 .3vw 1.6vw rgba(110, 40, 60, .45)
}

#t6 i {
    color: #ffffff
}

#t6 em {
    font-style: normal;
    color: #8a0c0c;
    text-shadow: 0 .2vw 1.2vw rgba(255, 210, 190, .45)
}

#p6 {
    position: absolute;
    z-index: 3;
    left: 5vw;
    top: 34.5vh;
    width: 51vw;
    font-weight: 700;
    font-size: 1.78vw;
    line-height: 1.37;
    color: #1F62A1;
}

#p6 .ch {
    will-change: auto
}

#boy6 {
    position: absolute;
    left: 53vw;
    bottom: -1vh;
    height: 90vh;
    z-index: 2;
    will-change: transform
}

#boy6 img {
    display: block;
    height: 100%;
    width: auto;
    transform-origin: 60% 100%;
    animation: breath6 5.5s ease-in-out infinite alternate
}

@keyframes breath6 {
    from {
        transform: scale(1) rotate(0)
    }

    to {
        transform: scale(1.012) rotate(-.4deg)
    }
}

#petals6 {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    will-change: transform
}

.petal {
    position: absolute;
    top: -6vh;
    width: var(--s, 1vw);
    aspect-ratio: 1/.72;
    border-radius: 85% 10% 85% 10%;
    background: radial-gradient(ellipse at 30% 30%, #f27a7f, #c8323f 55%, #8e1626);
    box-shadow: 0 .2vw .6vw rgba(110, 20, 30, .25);
    opacity: .9
}

@media(max-aspect-ratio:1/1) {
    #t6 {
        font-size: 10vw;
        white-space: normal;
        width: 90vw;
        left: 5vw;
        top: 9vh
    }

    #p6 {
        width: 90vw;
        left: 5vw;
        font-size: 4.1vw;
        top: 33vh
    }

    #boy6 {
        left: auto;
        right: -20vw;
        height: 46vh
    }

    .petal {
        width: calc(var(--s, 1vw) * 2.4)
    }
}

@media(prefers-reduced-motion:reduce) {

    .sun6,
    #boy6 img {
        animation: none
    }
}
#f7 {
    --W7: max(100vw, calc(100vh*1.5388));
    --o7: .5
}

#bgpar7 {
    position: absolute;
    inset: 0;
    will-change: transform
}

#bgd7 {
    --img: var(--bg7);
    --c: 255, 240, 200;
    width: var(--W7);
    left: calc((100vw - var(--W7)) * var(--o7));
    top: auto;
    bottom: 0;
    translate: none;
    transform-origin: 50% 100%;
    animation: drift7 18s ease-in-out infinite alternate
}

#bgd7::after {
    display: none
}

@keyframes drift7 {
    from {
        transform: scale(1.008)
    }

    to {
        transform: scale(1.03)
    }
}

.sun7 {
    position: absolute;
    left: 23.8%;
    top: 77.8%;
    width: 26%;
    aspect-ratio: 1;
    translate: -50% -50%;
    pointer-events: none;
    mix-blend-mode: screen;
    background: radial-gradient(circle, rgba(255, 245, 210, .8), rgba(255, 200, 150, .3) 35%, transparent 65%);
    animation: sunp 6s ease-in-out infinite alternate
}

.moon7 {
    position: absolute;
    left: 64.5%;
    top: 15.1%;
    width: 9%;
    aspect-ratio: 1;
    translate: -50% -50%;
    pointer-events: none;
    mix-blend-mode: screen;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 225, 170, .55), rgba(255, 210, 150, .18) 45%, transparent 70%);
    animation: sunp 4.5s ease-in-out infinite alternate
}

.rose7 {
    position: absolute;
    left: 95.3%;
    top: 67%;
    width: 11%;
    aspect-ratio: 1;
    translate: -50% -50%;
    pointer-events: none;
    mix-blend-mode: screen;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 120, 140, .55), rgba(255, 90, 120, .2) 40%, transparent 70%);
    animation: rose7 3.5s ease-in-out infinite alternate
}

@keyframes rose7 {
    from {
        opacity: .25;
        transform: scale(.85)
    }

    to {
        opacity: 1;
        transform: scale(1.15)
    }
}

.s7a {
    left: 82%;
    top: 5%
}

.s7b {
    left: 58%;
    top: 12%
}

#f7 .vig {
    background: radial-gradient(ellipse at 50% 45%, transparent 60%, rgba(10, 20, 60, .35))
}

#t7 {
    left: 5vw;
    top: 20vh;
    transform: none;
    font-size: 6.3vw;
    text-align: left;
    opacity: 1;
    color: #2160a8;
    text-shadow: 0 .2vw 1.2vw rgba(255, 255, 255, .45)
}

#t7 i {
    color: #9cc3f0
}

#t7 em {
    font-style: normal;
    color: #eef6ff
}

#p7 {
    position: absolute;
    z-index: 3;
    left: 5vw;
    top: 28vh;
    width: 44vw;
    font-weight: 700;
    font-size: 1.8vw;
    line-height: 1.37;
    color: #1d4f8f;
    text-shadow: 0 0 10px rgba(255, 240, 230, .75), 0 0 2px rgba(255, 255, 255, .6)
}

#p7 .ch {
    will-change: auto
}

#p7 .k {
    font-weight: 700;
    color: inherit
}

#p7 .qt {
    color: #a4162d
}

@media(max-aspect-ratio:1/1) {
    #f7 {
        --o7: .72
    }

    #t7 {
        font-size: 11vw;
        white-space: normal;
        width: 90vw;
        left: 5vw;
        top: 13vh
    }

    #p7 {
        width: 90vw;
        left: 5vw;
        font-size: 3.7vw;
        top: 21vh;
        color: #fff4dc;
        text-shadow: 0 2px 10px rgba(5, 15, 50, .95), 0 0 3px rgba(5, 15, 50, .8)
    }

    #t7 {
        color: #cfe6ff;
        text-shadow: 0 .3vw 1.6vw rgba(5, 15, 50, .8)
    }

    #p7 .qt {
        color: #ffb3bf
    }
}

@media(prefers-reduced-motion:reduce) {

    .sun7,
    .moon7,
    .rose7 {
        animation: none
    }
}

#f8 {
    --W8: max(100vw, calc(100vh*1.5388));
    --o8: .5
}

#bgpar8 {
    position: absolute;
    inset: 0;
    will-change: transform
}

#bgd8 {
    --img: var(--bg8);
    --c: 255, 236, 180;
    width: var(--W8);
    left: calc((100vw - var(--W8)) * var(--o8));
    top: auto;
    bottom: 0;
    translate: none;
    transform-origin: 50% 100%;
    animation: drift7 18s ease-in-out infinite alternate
}

#bgd8::after {
    display: none
}

.sky8 {
    height: 60%;
    opacity: .6;
    background: radial-gradient(ellipse 35% 40% at 70% 30%, rgba(110, 160, 255, .3), transparent 70%), radial-gradient(ellipse 30% 35% at 30% 20%, rgba(200, 150, 255, .22), transparent 70%), radial-gradient(ellipse 25% 30% at 88% 55%, rgba(255, 190, 150, .18), transparent 70%)
}

.rose8 {
    position: absolute;
    left: 12.4%;
    top: 66.7%;
    width: 13%;
    aspect-ratio: 1;
    translate: -50% -50%;
    pointer-events: none;
    mix-blend-mode: screen;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 110, 130, .6), rgba(255, 90, 120, .2) 40%, transparent 70%);
    animation: rose7 3.2s ease-in-out infinite alternate
}

.s8a {
    left: 62%;
    top: 4%
}

.s8b {
    left: 92%;
    top: 22%
}

.s8end {
    left: 98%;
    top: 48%;
    width: 16vw
}

#f8 .vig {
    background: radial-gradient(ellipse at 50% 45%, transparent 58%, rgba(2, 6, 25, .5))
}

#t8 {
    left: 40.5vw;
    top: 12.5vh;
    transform: none;
    font-size: 6.3vw;
    line-height: 1.33;
    text-align: left;
    opacity: 1;
    color: #d9c56d;
    text-shadow: 0 .3vw 1.6vw rgba(2, 6, 30, .6)
}

#t8 i {
    font-style: normal;
    color: #ead47a
}

#end8 {
    position: absolute;
    z-index: 3;
    right: 3vw;
    top: 82vh;
    translate: 0 -50%;
    margin: 0;
    font-weight: 700;
    font-size: 9.2vw;
    line-height: 1;
    letter-spacing: .02em;
    white-space: nowrap;
    color: #c4e2ff;
    text-shadow: 0 .3vw 1.8vw rgba(2, 6, 30, .6)
}

#burst8 {
    position: absolute;
    right: 3vw;
    top: 82vh;
    width: 34vw;
    height: 26vh;
    translate: 0 -50%;
    z-index: 2;
    pointer-events: none
}

#burst8 .spark {
    opacity: 1;
    animation: none
}

@media(max-aspect-ratio:1/1) {
    #f8 {
        --o8: .29
    }

    #t8 {
        font-size: 9vw;
        white-space: normal;
        width: 90vw;
        left: 5vw;
        top: 9vh
    }

    #end8,
    #burst8 {
        top: 38vh;
        right: 5vw
    }

    #end8 {
        font-size: 15vw
    }

    #burst8 {
        width: 70vw;
        height: 18vh
    }
}

@media(prefers-reduced-motion:reduce) {
    .rose8 {
        animation: none
    }
}

html[lang="ar"] body {
    font-family: 'Baloo Bhaijaan 2', 'Marhey', sans-serif
}

html[lang="ar"] h1,
html[lang="ar"] h2 {
    font-family: 'Marhey', 'Baloo Bhaijaan 2', sans-serif;
    letter-spacing: 0;
    line-height: 1.3;
    direction: rtl
}

html[lang="ar"] p {
    direction: rtl
}

html[lang="ar"] :is(#t2, #p2, #t4, #p4, #t5, #p5, #t6, #p6, #t7, #p7, #t8) {
    text-align: right
}

html[lang="ar"] #t1 {
    font-size: 6vw
}

html[lang="ar"] :is(#t2, #t3, #t4, #t5, #t7) {
    font-size: 4.6vw
}

html[lang="ar"] #t6 {
    font-size: 4.4vw;
    line-height: 1.4
}

html[lang="ar"] #t8 {
    font-size: 4.4vw;
    line-height: 1.55
}

html[lang="ar"] #end8 {
    font-size: 7vw
}

html[lang="ar"] :is(#p2, #p3, #p4, #p5, #p6, #p7) {
    font-weight: 600;
    line-height: 1.75
}

html[lang="ar"] #p2 {
    font-size: 1.7vw
}

html[lang="ar"] #p3 {
    font-size: 1.5vw
}

html[lang="ar"] #p4 {
    font-size: 1.38vw;
    top: 52vh
}

html[lang="ar"] #p5 {
    font-size: 1.5vw
}

html[lang="ar"] #p6 {
    font-size: 1.5vw
}

html[lang="ar"] #p7 {
    font-size: 1.42vw
}

html[lang="ar"] .round#lang {
    font-family: 'Amatic SC'
}

@media(max-aspect-ratio:1/1) {
    html[lang="ar"] #t1 {
        font-size: 11vw
    }

    html[lang="ar"] :is(#t2, #t3, #t4, #t5, #t7) {
        font-size: 8vw
    }

    html[lang="ar"] #t6,
    html[lang="ar"] #t8 {
        font-size: 7.4vw
    }

    html[lang="ar"] #end8 {
        font-size: 12vw
    }

    html[lang="ar"] :is(#p2, #p3, #p5, #p6) {
        font-size: 3.7vw
    }

    html[lang="ar"] #p4 {
        font-size: 3.5vw;
        top: 40vh
    }

    html[lang="ar"] #p7 {
        font-size: 3.3vw
    }
}