#butterfly-loader {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    pointer-events: none
}

#butterfly-loader::before {
    content: "";
    position: absolute;
    inset: 0;
    background: white;
    transition: opacity .8s ease;
    animation: loader-failsafe 0s 5s forwards
}

#butterfly-loader.is-flying::before {
    opacity: 0
}

#butterfly-loader img {
    position: relative;
    width: 88px;
    height: auto;
    transform-origin: center;
    animation: butterfly-arrive 1s ease-in-out infinite
}

@keyframes butterfly-arrive {

    0%,
    100% {
        transform: translateY(4px) rotate(-6deg) scaleX(.92)
    }

    50% {
        transform: translateY(-6px) rotate(3deg) scaleX(1)
    }
}

@keyframes loader-failsafe {
    to {
        opacity: 0;
        visibility: hidden
    }
}

@media(prefers-reduced-motion:reduce) {
    #butterfly-loader img {
        animation: none
    }

    #butterfly-loader::before {
        transition: none
    }
}

header.site .brand.butterfly-own-icon {
    position: relative
}

header.site .brand.butterfly-own-icon>img:first-child {
    clip-path: polygon(0 0, 70% 0, 70% 46%, 81.5% 61%, 81.5% 100%, 0 100%)
}

header.site .brand .butterfly-landed-icon {
    position: absolute;
    right: 0;
    top: 0;
    width: 30%;
    height: auto;
    pointer-events: none;
    max-width: none
}
