:root {
 --T: 12s;
 --u: min(1vw, 1.7778vh);
 --hu: var(--u);
 --cu: var(--u);
 --h-left: calc(var(--hu) * 15.4);
 --h-top: calc(var(--hu) * 2.6);

 --head-w: 58.5;
 --head-right: 1;
 --head-bottom: 0;
 --body-w: 46;
 --body-right: -12;

 --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
 --ease-out: cubic-bezier(0.22, 0.8, 0.3, 1);
 --ease-in: cubic-bezier(0.5, 0, 0.75, 0);
 --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

.visually-hidden {
 clip: rect(0 0 0 0);
 height: 1px;
 overflow: hidden;
 position: absolute;
 white-space: nowrap;
 width: 1px;
}

@keyframes bg-zoom {
 0%,
 100% {
  transform: scale(1);
 }

 50% {
  transform: scale(1.1);
 }
}

@keyframes deco {
 0%,
 3.33% {
  animation-timing-function: var(--ease-pop);
  opacity: 0;
  transform: scale(0.3) rotate(-35deg);
 }

 8.33% {
  animation-timing-function: linear;
  opacity: 1;
  transform: scale(1) rotate(0);
 }

 89.17% {
  animation-timing-function: var(--ease-io);
  opacity: 1;
  transform: scale(1) rotate(0);
 }

 95.83%,
 100% {
  opacity: 0;
  transform: scale(1.3) rotate(150deg);
 }
}

@keyframes white-claude {
 0%,
 7.5% {
  animation-timing-function: var(--ease-pop);
  opacity: 0;
  transform: scale(0.4) rotate(-12deg);
 }

 11.67% {
  animation-timing-function: linear;
  opacity: 1;
  transform: scale(1) rotate(0);
 }

 89.17% {
  animation-timing-function: var(--ease-io);
  opacity: 1;
  transform: scale(1) rotate(0);
 }

 95%,
 100% {
  opacity: 0;
  transform: scale(1.35) rotate(-120deg);
 }
}

@keyframes black-claude {
 0%,
 10.83% {
  animation-timing-function: var(--ease-pop);
  opacity: 0;
  transform: scale(0.4) rotate(10deg);
 }

 15% {
  animation-timing-function: linear;
  opacity: 1;
  transform: scale(1) rotate(0);
 }

 90% {
  animation-timing-function: var(--ease-io);
  opacity: 1;
  transform: scale(1) rotate(0);
 }

 95.83%,
 100% {
  opacity: 0;
  transform: scale(1.2) rotate(-18deg);
 }
}

@keyframes h1-1 {
 0%,
 13.33% {
  animation-timing-function: var(--ease-pop);
  opacity: 0;
  transform: scale(0.75) translateY(6%);
 }

 16.67% {
  animation-timing-function: linear;
  opacity: 1;
  transform: none;
 }

 33.33% {
  animation-timing-function: var(--ease-in);
  opacity: 1;
  transform: none;
 }

 36.67%,
 100% {
  opacity: 0;
  transform: scale(0.85) translateY(-4%);
 }
}

@keyframes h1-2 {
 0%,
 16.67% {
  animation-timing-function: var(--ease-pop);
  opacity: 0;
  transform: scale(0.75) translateY(6%);
 }

 20% {
  animation-timing-function: linear;
  opacity: 1;
  transform: none;
 }

 35.83% {
  animation-timing-function: var(--ease-in);
  opacity: 1;
  transform: none;
 }

 39.17%,
 100% {
  opacity: 0;
  transform: scale(0.85) translateY(-4%);
 }
}

@keyframes h2-1 {
 0%,
 39.17% {
  animation-timing-function: var(--ease-pop);
  opacity: 0;
  transform: scale(0.75) translateY(6%);
 }

 42.5% {
  animation-timing-function: linear;
  opacity: 1;
  transform: none;
 }

 86.67% {
  animation-timing-function: var(--ease-in);
  opacity: 1;
  transform: none;
 }

 89.17%,
 100% {
  opacity: 0;
  transform: scale(0.85) translateY(-4%);
 }
}

@keyframes h2-2 {
 0%,
 42.5% {
  animation-timing-function: var(--ease-pop);
  opacity: 0;
  transform: scale(0.75) translateY(6%);
 }

 45.83% {
  animation-timing-function: linear;
  opacity: 1;
  transform: none;
 }

 83.33% {
  animation-timing-function: var(--ease-in);
  opacity: 1;
  transform: none;
 }

 86.67%,
 100% {
  opacity: 0;
  transform: scale(0.85) translateY(-4%);
 }
}

@keyframes cow-body {
 0%,
 3.33% {
  animation-timing-function: var(--ease-out);
  transform: translate3d(calc(var(--cu) * 77), 0, 0);
 }

 8.33% {
  animation-timing-function: ease-in-out;
  transform: translate3d(calc(var(--cu) * 38), 0, 0);
 }

 33.33%,
 35% {
  animation-timing-function: var(--ease-io);
  transform: translate3d(calc(var(--cu) * 24), 0, 0);
 }

 41.67%,
 91.67% {
  transform: translate3d(0, 0, 0);
 }

 98.33%,
 100% {
  transform: translate3d(calc(var(--cu) * 77), 0, 0);
 }
}

@keyframes cow-head {
 0%,
 3.33% {
  animation-timing-function: var(--ease-out);
  transform: translate3d(calc(var(--cu) * 95), 0, 0);
 }

 8.33% {
  animation-timing-function: ease-in-out;
  transform: translate3d(calc(var(--cu) * 37), 0, 0);
 }

 33.33%,
 35% {
  animation-timing-function: var(--ease-io);
  transform: translate3d(calc(var(--cu) * 24), 0, 0);
 }

 41.67%,
 91.67% {
  transform: translate3d(0, 0, 0);
 }

 98.33%,
 100% {
  transform: translate3d(calc(var(--cu) * 95), 0, 0);
 }
}

@keyframes cow-wobble {
 0% {
  rotate: 0deg;
 }

 25% {
  rotate: -7deg;
 }

 50% {
  rotate: 0deg;
 }

 75% {
  rotate: 7deg;
 }

 100% {
  rotate: 0deg;
 }
}

*,
*::before,
*::after {
 box-sizing: border-box;
}

html,
body {
 background: #9cc3e6;
 height: 100%;
 margin: 0;
 overflow: hidden;
}

img {
 display: block;
 -webkit-user-drag: none;
 user-select: none;
}

.stage {
 contain: paint;
 inset: 0;
 overflow: hidden;
 position: fixed;
}

.stage:not(.is-ready) * {
 animation-play-state: paused !important;
}

.stage img,
.cow-head,
.cow-body {
 animation-duration: var(--T);
 animation-iteration-count: infinite;
 animation-timing-function: linear;
 will-change: transform, opacity;
}

.background {
 animation-name: bg-zoom;
 animation-timing-function: ease-in-out;
 height: 100%;
 object-fit: cover;
 object-position: 60% 60%;
 position: absolute;
 transform-origin: 65% 60%;
 width: 100%;
}

.first-heading,
.second-heading {
 align-items: center;
 display: flex;
 justify-content: center;
 transform: rotate(-10deg);
}

.first-heading img,
.second-heading img {
 height: auto !important;
 left: 0;
}

.first-heading img {
 max-width: 370px;
}

.first-heading-1 {
 animation-name: h1-1;
 left: 115px !important;
 top: 160px;
}

.first-heading-2 {
 animation-name: h1-2;
 bottom: 160px;
 left: 40px !important;
}

.second-heading img {
 max-width: 320px;
}

.second-heading-1 {
 animation-name: h2-1;
 left: 140px !important;
 top: 150px;
}

.second-heading-2 {
 animation-name: h2-2;
 bottom: 160px;
 left: 50px !important;
}

.made-using-ai {
 bottom: 25px;
 display: block;
 height: auto;
 max-width: 70px;
 width: 100%;
 position: absolute;
 right: 25px;
 z-index: 2222;
}

.heading-stage {
 height: 500px;
 left: calc(var(--h-left) + env(safe-area-inset-left, 0px));
 position: absolute;
 top: calc(var(--h-top) + env(safe-area-inset-top, 0px));
 width: 500px;
 z-index: 2;
}

.heading-stage > img:not(.white-deco) {
 height: 100%;
 max-width: 500px;
}

.heading-stage img,
.first-heading,
.second-heading {
 height: 100%;
 position: absolute;
 width: 100%;
}

.heading-stage img {
 object-fit: contain;
 opacity: 0;
}

.white-deco {
 animation-name: deco;
}

.white-claude {
 animation-name: white-claude;
}

.black-claude {
 animation-name: black-claude;
}

.cow-stage {
 inset: 0;
 pointer-events: none;
 position: absolute;
 z-index: 1;
}

.cow-head,
.cow-body {
 height: auto;
 position: absolute;
}

.cow-body {
 animation-name: cow-body;
 bottom: 0;
 max-width: 1200px;
 right: calc(var(--cu) * var(--body-right));
 width: 100%;
 z-index: 1;
}

.cow-head {
 animation-name: cow-head, cow-wobble;
 animation-timing-function: linear, ease-in-out;
 bottom: calc(var(--cu) * var(--head-bottom));
 max-width: 1000px;
 right: calc(var(--cu) * var(--head-right));
 transform-origin: 68% 88%;
 width: 100%;
 z-index: 2;
}

@media all and (max-width: 700px) {
 .heading-stage {
  left: 50%;
  max-width: 320px;
  transform: translateX(-50%);
  width: 96%;
 }

 .first-heading img {
  max-width: 200px;
 }

 .first-heading-1 {
  left: 80px !important;
  top: 195px;
 }

 .first-heading-2 {
  bottom: 200px;
 }

 .second-heading img {
  max-width: 190px;
 }

 .second-heading-1 {
  left: 95px !important;
  top: 190px;
 }

 .second-heading-2 {
  bottom: 195px;
  left: 45px !important;
 }
}
