body {
    background-color: #eee;
    font-family: sans-serif;
    color: #333; 
}
svg {
    overflow: visible;
}
.container{
    cursor: pointer; 
    display: flex;
    flex-wrap:wrap;
}
.info {
    order: 4;
    width: 100%;
    text-align: center;
    font-size: 13px;
}

/* Animation des lions */
.lion {
    width: 20%;
    opacity: 0;
    animation-name: visible;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-delay: 1s; 
    animation-fill-mode: forwards;
}
.lion-1 {
    order: 1;
}
.lion-2 {
    order: 3;
    transform: rotateY(180deg);
}
.lion-1 path,
.lion-2 path {
    animation-name: color;
    animation-duration: 4s;
    animation-direction: alternate ;
    animation-timing-function: linear;
    animation-iteration-count: infinite ;
}
.lion-2 path {
    animation-delay:1s;
}
@keyframes visible {
    100% {
        opacity: 1 ;
    }
}
@keyframes color {
    100% {
        fill: #555555 ;
    }
}

/* Animation des mots */
.solo-lyon{
    order: 2;
    width: 60%;
}
.solo {  
    animation-name: slide-right;
    animation-duration: 1s;
    animation-timing-function: linear;
    transform-origin: center center;
}
.lyon {
    animation-name: slide-left;
    animation-duration: 1s;
    animation-timing-function: linear;
    transform-origin: center center ;
}
@keyframes slide-right {
    0% {
        transform: translateX(-100%);
    }
    66% {
        transform: translateX(6%) scaleX(1);
    }
    84% {
        transform: scaleX(0.5) translateX(7%);
    }
    92%{
        transform: scaleX(1) translateX(6%);
    }
    100% {
        transform: translateX(0);
    }
}
@keyframes slide-left {
    0% {
        transform: translateX(100%);
    }
    66% {
        transform: translateX(-5%) scaleX(1) ;
    }
    84%{
        transform: scaleX(0.5) translateX(-6%);
    }
    92%{
        transform: scaleX(1) translateX(-6%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Animation des lettres */
.solo-s {    
    transform-origin: 50% bottom;   
    animation-name: bounce;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-delay: 1s;
}
.solo-l,
.lyon-l {
    animation-name: vibrate;
    animation-duration: 0.3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-delay: 1s;
    animation-fill-mode: both;    
}
.solo-o,
.solo-o2,
.lyon-o {
    animation-name: spin;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
    animation-delay: 1s;
}
.solo-o {
    animation-delay: 1.5s;
    transform-origin: 18.85% 50%;
}
.solo-o2 {
    animation-delay: 1s;
    transform-origin: 39% 50%;
}
.lyon-o {
    animation-delay: 1s;
    transform-origin: 78.7% 50%;
}
.lyon-y {
    animation-name: elastic;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    animation-delay: 1s;
    transform-origin: 68% center;
}
.lyon-n {
    animation-name: flip;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-delay: 1s;
    transform-origin: 90% bottom;
}
@keyframes bounce {
    10% {
        transform: scaleY(0.8);
    }
    25%, 26% {
        transform: translateY(-20%) scaleY(1.001);
    }
    35% {
        transform: translateY(0) scaleY(0.999);
    }
    50% {
        transform: scaleY(0.95);
    }
    60% {
        transform: scaleY(1);
    }
}
@keyframes elastic {
    0% {
        transform: scale3d(1, 1, 1);
    }
    30% {
        transform: scale3d(1.25, 0.75, 1);
    }
    40% {
        transform: scale3d(0.75, 1.25, 1);
    }
    50% {
        transform: scale3d(1.15, 0.85, 1);
    }
    65% {
        transform: scale3d(0.95, 1.05, 1);
    }
    75% {
        transform: scale3d(1.05, 0.95, 1);
    }
    100% {
        transform: scale3d(1, 1, 1);
    }
}
@keyframes flip {
    from {
    }
    to {
        transform: matrix(-1, 0, 0, 1, 0, 0);
    }
}
@keyframes spin {
    25% {
        transform: rotate(360deg);
    }
    50% {
        transform: rotate(270deg);
    }
    90% {
        transform: rotate(1100deg);
    }
    100% {
        transform: rotate(1000deg);
    }
}
@keyframes vibrate {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}




