.acf-block-preview {
  .muy-overlay {
    @apply
      relative;

    z-index: 0;

    &.fade-out,
    &.no-fade {
      transform: translateY(0);
      transition: none;
      opacity: 1;
    }
  }
}

.muy-overlay {
  @apply
    fixed
    inset-0;

  z-index: 9999;

  &.no-fade {
    transform: translateY(-100vh);
    transition: transform 0.5s;
  }

  &.fade-out {
    opacity: 0;
    transform: translateY(-100vh);
    transition: opacity 0.5s, transform 0.5s;
  }
}
