/* ===========================
   Animation logo flip
   =========================== */
.logo-flip-container {
    perspective: 1000px;
    display: inline-block;
    width: 160px;
    height: 70px;
}

.logo-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    animation: flipLogo 10s ease-in-out infinite;
    animation-play-state: paused;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-flip-inner.synced {
    animation-play-state: running;
}

@keyframes flipLogo {
    0%, 40% {
        transform: rotateY(0deg);
    }
    50%, 90% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.logo-flip-front,
.logo-flip-back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-flip-front {
    transform: rotateY(0deg);
}

.logo-flip-front img,
.logo-flip-back img {
    height: 70px;
    width: auto;
}

.logo-flip-back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: rotateY(180deg);
}
