.mh-colibri-grafico {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color-scheme: light;
  background: #ffffff;
  isolation: isolate;
}

.mh-colibri-grafico,
.mh-colibri-grafico *,
.mh-colibri-grafico *::before,
.mh-colibri-grafico *::after {
  box-sizing: border-box;
}

.mh-colibri-grafico__canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  contain: layout paint;
  background: #ffffff;
}

.mh-colibri-grafico__layer {
  position: absolute;
  margin: 0;
  pointer-events: none;
  transform-origin: 50% 50%;
}

.mh-colibri-grafico__shadow {
  z-index: 1;
  top: 50%;
  left: 49%;
  width: 108%;
  aspect-ratio: 1;
  transform: translate3d(-50%, -50%, 0);
}

.mh-colibri-grafico__brand {
  z-index: 2;
  top: 63%;
  left: 49%;
  width: 91%;
  aspect-ratio: 448.62 / 142.19;
  transform: translate3d(-50%, -50%, 0);
}

.mh-colibri-grafico__brand-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mh-colibri-grafico__bird {
  z-index: 3;
  top: 68.5%;
  left: 71.5%;
  width: 35%;
  aspect-ratio: 1;
  transform: translate3d(-50%, -50%, 0);
}

.mh-colibri-grafico__motion {
  --mh-grafico-hover-distance: clamp(0.75px, 0.16vmin, 1.6px);

  width: 100%;
  height: 100%;
  margin: 0;
  contain: layout paint;
  transform: translate3d(0, 0, 0);
}

.mh-colibri-grafico__motion.is-running {
  animation: mh-colibri-grafico-hover 1050ms cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: transform;
}

.mh-colibri-grafico__frames {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.mh-colibri-grafico__frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  object-fit: contain;
}

.mh-colibri-grafico__frame.is-active {
  opacity: 1;
  visibility: visible;
}

.mh-colibri-grafico__load-error {
  position: absolute;
  z-index: 5;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  margin: 0;
  padding: 0.65rem 0.8rem;
  background: rgb(255 255 255 / 92%);
  color: #7d1414;
  font: 500 0.875rem/1.4 "Raleway", sans-serif;
  text-align: center;
}

.mh-colibri-grafico__visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes mh-colibri-grafico-hover {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, calc(-1 * var(--mh-grafico-hover-distance)), 0);
  }
}

@media (max-width: 43.75rem) {
  .mh-colibri-grafico__shadow {
    left: 48%;
    width: 114%;
  }

  .mh-colibri-grafico__brand {
    top: 63.5%;
    width: 96%;
  }

  .mh-colibri-grafico__bird {
    top: 69%;
    left: 70.5%;
    width: 40%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mh-colibri-grafico__motion.is-running {
    animation: none;
    transform: none;
    will-change: auto;
  }
}
