/*

    Grande qualité de travail de @aaroniker
    Un grand merci à lui d'avoir publié ça sur codepen

*/


/* INPUT QUI SE CLEAN */
/* https://codepen.io/aaroniker/pen/ExgvbXy */

.txt-input {
    --background: #fff;
    --border-default: #D0D0DF;
    --border-active: #3D6DF9;
    --shadow-default: rgba(32, 32, 72, 0.12);
    --shadow-active: rgba(61, 109, 249, 0.25);
    --text-color: #818190;
    --placeholder-color: #C9C9D9;
    --placeholder-color-hover: #BABAC9;
    --close: #818190;
    --close-light: #BABAC9;
    --close-background: #F1F1FA;
    width: 100%;
    /* max-width: 240px; */
    display: flex;
    align-items: center;
    position: relative;
    z-index:0;
    border-radius: 8px;
    background: var(--background);
    box-shadow: inset 0 0 0 var(--border-width, 1px) var(--border, var(--border-default)), 0 1px 3px var(--shadow, var(--shadow-default));
    transition: box-shadow 0.2s;
    --clear-x: 0px;
    --clear-swipe-left: 0px;
    --clear-swipe-x: 0;
    --clear-swipe: 0px;
    --clear-scale: 0;
    --clear-rotate: 0deg;
    --clear-opacity: 0;
    --clear-arrow-o: 1;
    --clear-arrow-x: 0px;
    --clear-arrow-y: 0px;
    --clear-arrow-offset: 4px;
    --clear-arrow-offset-second: 4px;
    --clear-line-array: 8.5px;
    --clear-line-offset: 27px;
    --clear-long-array: 8.5px;
    --clear-long-offset: 24px;
}
.txt-input:hover {
    --border: var(--border-active);
}
.txt-input.clearing, .txt-input:focus-within {
    --border-width: 1.5px;
    --border: var(--border-active);
    --shadow: var(--shadow-active);
}
.txt-input.clearing {
    --close-background: transparent;
    --clear-arrow-stroke: var(--close-light);
    --border: var(--border-default);
}
.txt-input .text {
    flex-grow: 1;
}
.txt-input .text input {
    -webkit-appearance: none;
    line-height: 24px;
    background: none;
    border: none;
    outline: none;
    display: block;
    width: 100%;
    margin: 0;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}
.txt-input .text input::-moz-placeholder {
    color: var(--placeholder-color);
    -moz-transition: color 0.2s;
    transition: color 0.2s;
}
.txt-input .text input:-ms-input-placeholder {
    color: var(--placeholder-color);
    -ms-transition: color 0.2s;
    transition: color 0.2s;
}
.txt-input .text input::placeholder {
    color: var(--placeholder-color);
    transition: color 0.2s;
}
.txt-input:hover .text input::-moz-placeholder {
    color: var(--placeholder-color-hover);
}
.txt-input:hover .text input:-ms-input-placeholder {
    color: var(--placeholder-color-hover);
}
.txt-input:hover .text input::placeholder {
    color: var(--placeholder-color-hover);
}
.txt-input .clear {
    -webkit-appearance: none;
    position: relative;
    outline: none;
    z-index: 1;
    padding: 0;
    margin: 12px 12px 12px 0;
    border: none;
    background: var(--b, transparent);
    transition: background 0.2s;
    border-radius: 50%;
    opacity: var(--clear-opacity);
    transform: scale(var(--clear-scale)) translateZ(0);
}
.txt-input .clear:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 12px;
    left: var(--clear-swipe-left);
    background: var(--background);
    transform-origin: 100% 50%;
    transform: translateX(var(--clear-swipe)) scaleX(var(--clear-swipe-x)) translateZ(0);
}
.txt-input .clear svg {
    display: block;
    position: relative;
    z-index: 1;
    width: 24px;
    height: 24px;
    outline: none;
    cursor: pointer;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: var(--close);
    transform: translateX(var(--clear-x)) rotate(var(--clear-rotate)) translateZ(0);
}
.txt-input .clear svg path {
    transition: stroke 0.2s;
}
.txt-input .clear svg path.arrow {
    stroke: var(--clear-arrow-stroke, var(--close));
    stroke-dasharray: 4px;
    stroke-dashoffset: var(--clear-arrow-offset);
    opacity: var(--clear-arrow-o);
    transform: translate(var(--clear-arrow-x), var(--clear-arrow-y)) translateZ(0);
}
.txt-input .clear svg path.arrow:last-child {
    stroke-dashoffset: var(--clear-arrow-offset-second);
}
.txt-input .clear svg path.line {
    stroke-dasharray: var(--clear-line-array) 28.5px;
    stroke-dashoffset: var(--clear-line-offset);
}
.txt-input .clear svg path.long {
    stroke: var(--clear-arrow-stroke, var(--close));
    stroke-dasharray: var(--clear-long-array) 15.5px;
    stroke-dashoffset: var(--clear-long-offset);
    opacity: var(--clear-arrow-o);
    transform: translate(var(--clear-arrow-x), var(--clear-arrow-y)) translateZ(0);
}
.txt-input .clear:hover {
    --b: var(--close-background);
}
  

  
/* CHECKBOXS ET CO */
/* https://codepen.io/aaroniker/pen/ZEYoxEY */

@supports (-webkit-appearance: none) or (-moz-appearance: none) {

    input[type='checkbox'], input[type='radio'] {
        --active: #275efe;
        --active-inner: #fff;
        --focus: 2px rgba(39, 94, 254, .3);
        --border: #bbc1e1;
        --border-hover: #275efe;
        --background: #fff;
        --disabled: #f6f8ff;
        --disabled-inner: #e1e6f9;
        -webkit-appearance: none;
        -moz-appearance: none;
        height: 19px;
        outline: none;
        display: inline-block;
        vertical-align: top;
        position: relative;
        margin: 0;
        cursor: pointer;
        border: 1px solid var(--bc, var(--border));
        background: var(--b, var(--background));
        transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
    }
    input[type='checkbox']:after, input[type='radio']:after {
        content: '';
        display: block;
        left: 0;
        top: 0;
        position: absolute;
        transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
    }
    input[type='checkbox']:checked, input[type='radio']:checked {
        --b: var(--active);
        --bc: var(--active);
        --d-o: 0.3s;
        --d-t: 0.6s;
        --d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
    }
    input[type='checkbox']:disabled, input[type='radio']:disabled {
        --b: var(--disabled);
        cursor: not-allowed;
        opacity: 0.9;
    }
    input[type='checkbox']:disabled:checked, input[type='radio']:disabled:checked {
        --b: var(--disabled-inner);
        --bc: var(--border);
    }
    input[type='checkbox']:disabled + label, input[type='radio']:disabled + label {
        cursor: not-allowed;
    }
    input[type='checkbox']:hover:not(:checked):not(:disabled), input[type='radio']:hover:not(:checked):not(:disabled) {
        --bc: var(--border-hover);
    }
    input[type='checkbox']:focus, input[type='radio']:focus {
        box-shadow: 0 0 0 var(--focus);
    }
    input[type='checkbox']:not(.switch), input[type='radio']:not(.switch) {
        width: 19px;
    }
    input[type='checkbox']:not(.switch):after, input[type='radio']:not(.switch):after {
        opacity: var(--o, 0);
    }
    input[type='checkbox']:not(.switch):checked, input[type='radio']:not(.switch):checked {
        --o: 1;
    }
    input[type='checkbox'] + label, input[type='radio'] + label {
        --text-color-active: inherit; /* #585e74 */
        --text-color-inactive: #C9C9D9;
        --text-color-inactive-hover: #aeaebf;
        font-size: 14px;
        line-height: 19px;
        /* color: inherit; */
        color: var(--text-color-inactive);
        display: inline-block;
        vertical-align: top;
        cursor: pointer;
        margin-left: 4px;
    }
    input[type='checkbox']:checked + label, input[type='radio']:checked + label {
        color: var(--text-color-active);
    }
    input[type='checkbox']:hover:not(:checked) + label, input[type='radio']:hover:not(:checked) + label {
        color: var(--text-color-inactive-hover);
    }


    input[type='checkbox']:not(.switch) {
        border-radius: 7px;
    }
    input[type='checkbox']:not(.switch):after {
        width: 5px;
        height: 9px;
        border: 2px solid var(--active-inner);
        border-top: 0;
        border-left: 0;
        left: 7px;
        top: 4px;
        transform: rotate(var(--r, 20deg));
    }
    input[type='checkbox']:not(.switch):checked {
        --r: 43deg;
    }
    input[type='checkbox'].switch {
        width: 36px;
        border-radius: 11px;
    }
    input[type='checkbox'].switch:after {
        left: 2px;
        top: 2px;
        border-radius: 50%;
        width: 13px;
        height: 13px;
        background: var(--ab, var(--border));
        transform: translateX(var(--x, 0));
    }
    input[type='checkbox'].switch:checked {
        --ab: var(--active-inner);
        --x: 17px;
    }
    input[type='checkbox'].switch:disabled:not(:checked):after {
        opacity: 0.6;
    }
    /* Rond Interne */
    input[type='radio'] {
        border-radius: 50%;
    }
    input[type='radio']:after {
        width: 17px;
        height: 17px;
        border-radius: 50%;
        background: var(--active-inner);
        opacity: 0;
        transform: scale(var(--s, 0.7));
    }
    input[type='radio']:checked {
        --s: 0.5;
    }
}

.radio-input, .checkbox-input {
    /* border: solid green 1px; */
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 15px;
}
.radio-input p, .checkbox-input p {
    /* border: solid blue 1px; */
    padding-top: 5px;
    width : fit-content;
    max-width: 45%; 
}

ul {
    /* Contenant des éléments */
    /* border: solid red 1px; */
    margin: 0px;
    padding: 0;
    list-style: none;
    /* width: 50%; */
    /* max-width: 320px; */
}
ul li {
    /* Margin entre les éléments */
    margin: 5px 0;
    position: relative;
}



/* AUTO HEIGHT */
/* https://codepen.io/aaroniker/pen/qBOXLdE */

.textarea-auto textarea {
    resize: none;
}
.textarea-auto textarea.overflow {
    height: 100%;
    overflow-y: hidden;
}
.textarea-auto textarea {
    --border-default: #D0D0DF;
    --border-hover: #BBC1E1;
    --border-active: #3D6DF9;
    --shadow-default: rgba(32, 32, 72, 0.12);
    --shadow-active: rgba(61, 109, 249, 0.25);
    -webkit-appearance: none;
    --text-color: #818190;
    --placeholder-color: #C9C9D9;
    --placeholder-color-hover: #BABAC9;
    box-sizing: border-box;
    outline: none;
    width: 100%;
    /* max-width: 240px; */
    font-family: inherit;
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    background: #fff;
    transition: box-shadow 0.2s;
    box-shadow: inset 0 0 0 var(--border-width, 1px) var(--border, var(--border-default)), 0 1px 3px var(--shadow, var(--shadow-default));
    /* box-shadow: inset 0 0 0 1px var(--border-color, #E1E6F9), 0 0 0 3px var(--focus-color, transparent); */
}
.textarea-auto textarea::placeholder {
    color: var(--placeholder-color);
    transition: color 0.2s;
}
.textarea-auto:hover textarea::placeholder {
    color: var(--placeholder-color-hover);
}
.textarea-auto textarea:focus {
    --border-width: 1.5px;
    --border: var(--border-active);
    --shadow: var(--shadow-active);
    /* --focus-color: #ECEFFC; */
}
.textarea-auto textarea:focus, textarea:hover {
    --border: var(--border-active);
}



/* PUBLISH */
/* https://codepen.io/aaroniker/pen/eYzZzpV */

.publish-button {
    --color: #fff;
    --icon-color: #fff;
    --background-default: #275efe;
    --background-received: #16a400;
    --background: #275efe;
    --text-normal-o: 1;
    --text-normal-y: 0px;
    --text-progress-o: 0;
    --text-progress-y: -8px;
    --text-done-o: 0;
    --text-done-y: -8px;
    --icon-arrow-offset: 0px;
    --icon-arrow-y: 0px;
    --icon-cloud-y: 0px;
    --icon-tick-offset: 11px;
    --icon-line-offset: 21px;
    --icon-circle-scale: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    outline: none;
    border: none;
    background: none;
    padding: 10px 20px 10px 12px;
    border-radius: 8px;
    overflow: hidden;
    margin: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    color: var(--color);
    background: var(--background, var(--background-default));
}
.publish-button .icon {
    width: 20px;
    height: 20px;
    pointer-events: none;
    position: relative;
    margin-right: 8px;
}
.publish-button .icon:before {
    content: '';
    position: absolute;
    left: 1px;
    top: 1px;
    right: 1px;
    bottom: 1px;
    opacity: 0.25;
    border-radius: 50%;
    background: var(--icon-color);
    transform: scale(var(--icon-circle-scale)) translateZ(0);
}
.publish-button .icon svg {
    display: block;
    width: 20px;
    height: 24px;
    position: absolute;
    top: 0;
    left: 0;
}
.publish-button .icon svg.cloud {
    fill: var(--icon-color);
    fill-opacity: 0.25;
    transform: translateY(var(--icon-cloud-y)) translateZ(0);
}
.publish-button .icon svg:not(.cloud) {
    fill: none;
    stroke: var(--icon-color);
    stroke-width: 1.5;
    stroke-linecap: round;
}
.publish-button .icon svg:not(.cloud) path.line, .publish-button .icon svg:not(.cloud) path.arrow {
    transform: translateY(var(--icon-arrow-y)) translateZ(0);
}
.publish-button .icon svg:not(.cloud) path.line {
    stroke-dasharray: 13px;
    stroke-dashoffset: var(--icon-line-offset);
}
.publish-button .icon svg:not(.cloud) path.arrow {
    stroke-dasharray: 4px;
    stroke-dashoffset: var(--icon-arrow-offset);
}
.publish-button .icon svg:not(.cloud) path.tick {
    stroke-dasharray: 11px;
    stroke-dashoffset: var(--icon-tick-offset);
}
.publish-button .text {
    position: relative;
}
.publish-button .text span {
    display: block;
    opacity: var(--o, var(--text-normal-o));
    transform: translateY(var(--y, var(--text-normal-y))) translateZ(0);
}
.publish-button .text span:not(.normal) {
    position: absolute;
    left: 0;
    top: 0;
}
.publish-button .text span.progress {
    --o: var(--text-progress-o);
    --y: var(--text-progress-y);
}
.publish-button .text span.done {
    --o: var(--text-done-o);
    --y: var(--text-done-y);
}



/* BTN ADD TO COMMANDE */
/* https://codepen.io/aaroniker/pen/qBEgjjM */

.add-button {
    --background: #275efe;
    --text: #fff;
    --cart: #fff;
    --tick: var(--background);
    position: relative;
    border: none;
    background: none;
    padding: 8px 28px;
    border-radius: 8px;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
    min-width: 144px;
    color: var(--text);
    background: var(--background);
    transform: scale(var(--scale, 1));
    transition: transform 0.4s cubic-bezier(0.36, 1.01, 0.32, 1.27);
}
.add-button:active {
    --scale: 0.95;
}
.add-button span {
    font-size: 14px;
    font-weight: 500;
    display: block;
    position: relative;
    padding-left: 24px;
    margin-left: -8px;
    line-height: 26px;
    transform: translateY(var(--span-y, 0));
    transition: transform 0.7s ease;
}
.add-button span:before, .add-button span:after {
    content: '';
    width: var(--w, 2px);
    height: var(--h, 14px);
    border-radius: 1px;
    position: absolute;
    left: var(--l, 8px);
    top: var(--t, 6px);
    background: currentColor;
    transform: scale(0.75) rotate(var(--icon-r, 0deg)) translateY(var(--icon-y, 0));
    transition: transform 0.65s ease 0.05s;
}
.add-button span:after {
    --w: 14px;
    --h: 2px;
    --l: 2px;
    --t: 12px;
}
.add-button .cart {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -13px 0 0 -18px;
    transform-origin: 12px 23px;
    transform: translateX(-120px) rotate(-18deg);
}
.add-button .cart:before, .add-button .cart:after {
    content: '';
    position: absolute;
}
.add-button .cart:before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px var(--cart);
    bottom: 0;
    left: 9px;
    filter: drop-shadow(11px 0 0 var(--cart));
}
.add-button .cart:after {
    width: 16px;
    height: 9px;
    background: var(--cart);
    left: 9px;
    bottom: 7px;
    transform-origin: 50% 100%;
    transform: perspective(4px) rotateX(-6deg) scaleY(var(--fill, 0));
    transition: transform 1.2s ease var(--fill-d);
}
.add-button .cart svg {
    z-index: 1;
    width: 36px;
    height: 26px;
    display: block;
    position: relative;
    fill: none;
    stroke: var(--cart);
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.add-button .cart svg polyline:last-child {
    stroke: var(--tick);
    stroke-dasharray: 10px;
    stroke-dashoffset: var(--offset, 10px);
    transition: stroke-dashoffset 0.4s ease var(--offset-d);
}
.add-button.loading {
    --background: #228f41;
    --scale: 0.95;
    --span-y: -32px;
    --icon-r: 180deg;
    --fill: 1;
    --fill-d: 0.8s;
    --offset: 0;
    --offset-d: 1.73s;
}
.add-button.loading .cart {
    animation: cart 3.4s linear forwards 0.2s;
}
@keyframes cart {
    12.5% {
        transform: translateX(-60px) rotate(-18deg);
   }
    25%, 45%, 55%, 75% {
        transform: none;
   }
    50% {
        transform: scale(0.9);
   }
    44%, 56% {
        transform-origin: 12px 23px;
   }
    45%, 55% {
        transform-origin: 50% 50%;
   }
    87.5% {
        transform: translateX(70px) rotate(-18deg);
   }
    100% {
        transform: translateX(140px) rotate(-18deg);
   }
}



/* GRILLE LISTE */
/* https://codepen.io/aaroniker/pen/dyoKeMP */

.grid-list {
    --color: #f6f8ff;
    --background: #2b3044;
    --background-hover: #1e2235;
    --icon-color: #bbc1e1;
    padding: 6px 12px 6px 8px;
    margin: 0;
    display: flex;
    outline: none;
    position: relative;
    border: none;
    border-radius: 9px;
    background: var(--b, var(--background));
    cursor: pointer;
    -webkit-appearence: none;
    -webkit-tap-highlight-color: transparent;
    transform: scale(var(--scale, 1)) translateZ(0);
    transition: transform 0.15s, background 0.4s;
}
.grid-list:active {
    --scale: 0.95;
}
.grid-list:hover {
    --b: var(--background-hover);
}
.grid-list.without-text {
    --background: #275efe;
    --background-hover: #1548db;
    --icon-color: #fff;
    padding: 6px;
}
.grid-list .icon {
    width: 24px;
    height: 24px;
    position: relative;
}
.grid-list .icon i {
    position: absolute;
    left: var(--left, 4px);
    top: var(--top, 4px);
    display: block;
    border-radius: 2px;
    width: var(--width, 7px);
    height: var(--height, 7px);
    background: var(--icon-color);
    animation: var(--name, var(--dots-name, none)) var(--duration, var(--dots-duration, 0.5s)) var(--easing, var(--dots-easing, linear)) forwards var(--delay, var(--dots-delay, 0s));
}
.grid-list .icon .dots i:nth-child(1) {
    --x-middle: -8px;
    --y-middle: 10px;
    --x-end: -2px;
    --y-end: 12px;
    --x-back: 10px;
    --y-back: 7px;
    --x-back-end: 9px;
    --y-back-end: 0;
}
.grid-list .icon .dots i:nth-child(2) {
    --left: 13px;
    --x-middle: -12px;
    --y-middle: 5px;
    --x-end: -11px;
    --y-end: 7px;
    --x-back: -3px;
    --y-back: 1px;
    --x-back-end: -9px;
    --y-back-end: 0;
}
.grid-list .icon .dots i:nth-child(3) {
    --top: 13px;
    --x-middle: 4px;
    --y-middle: -5px;
    --x-end: -2px;
    --y-end: -7px;
    --x-back: -5px;
    --y-back: 0px;
    --x-back-end: 9px;
    --y-back-end: 0;
}
.grid-list .icon .dots i:nth-child(4) {
    --left: 13px;
    --top: 13px;
    --x-middle: 0;
    --y-middle: -10px;
    --x-end: -11px;
    --y-end: -12px;
    --x-back: -14px;
    --y-back: -8px;
    --x-back-end: -9px;
    --y-back-end: 0;
}
.grid-list .icon .lines {
    --name: var(--lines-name, none);
    --duration: var(--lines-duration, 0.15s);
    --easing: var(--lines-easing, linear);
    --delay: var(--lines-delay, 0s);
}
.grid-list .icon .lines i {
    --left: 9px;
    --top: 3px;
    --height: 2px;
    --width: 11px;
    transform: translateY(20%) translateZ(0) scaleX(0);
}
.grid-list .icon .lines i:nth-child(2) {
    --top: 8px;
}
.grid-list .icon .lines i:nth-child(3) {
    --top: 13px;
}
.grid-list .icon .lines i:nth-child(4) {
    --top: 18px;
}
.grid-list .text {
    margin-left: 4px;
    position: relative;
    line-height: 24px;
    font-weight: 600;
    font-size: 14px;
    min-width: 28px;
    color: var(--color);
}
.grid-list .text span {
    --y-default: 0;
    --o-default: 1;
    --y-active: -12px;
    --o-active: 0;
    display: block;
    opacity: var(--o-default);
    transform: translateY(var(--y-default)) translateZ(0);
    animation: var(--span-name, none) 0.4s ease forwards;
}
.grid-list .text span:last-child {
    --y-default: 12px;
    --o-default: 0;
    --y-active: 0;
    --o-active: 1;
    position: absolute;
    left: 0;
    top: 0;
}
.grid-list.animation {
    --span-name: text;
    --dots-name: back;
    --lines-name: scale-down;
}
.grid-list.animation .lines i {
    transform-origin: 0 50%;
}
.grid-list.animation .lines i:nth-child(3), .grid-list.animation .lines i:nth-child(4) {
    transform-origin: 100% 50%;
}
.grid-list.animation.active {
    --span-name: text-active;
    --dots-name: move;
    --lines-name: scale;
    --lines-duration: 0.15s;
    --lines-delay: 0.3s;
}
.grid-list.animation.active .lines i {
    transform-origin: 100% 50%;
}
.grid-list.animation.active .lines i:nth-child(3), .grid-list.animation.active .lines i:nth-child(4) {
    transform-origin: 0 50%;
}
@keyframes text {
    0% {
        opacity: var(--o-active);
        transform: translateY(var(--y-active)) translateZ(0);
   }
    100% {
        opacity: var(--o-default);
        transform: translateY(var(--y-default)) translateZ(0);
   }
}
@keyframes text-active {
    0% {
        opacity: var(--o-default);
        transform: translateY(var(--y-default)) translateZ(0);
   }
    100% {
        opacity: var(--o-active);
        transform: translateY(var(--y-active)) translateZ(0);
   }
}
@keyframes move {
    50% {
        transform: translate(var(--x-middle, 0), var(--y-middle, 0)) scale(0.4);
   }
    100% {
        transform: translate(var(--x-end, 0), var(--y-end, 0)) scale(0.4);
   }
}
@keyframes back {
    0%, 15% {
        transform: translate(var(--x-end, 0), var(--y-end, 0)) scale(0.4);
   }
    50% {
        transform: translate(var(--x-back, 0), var(--y-back, 0)) scale(0.5);
   }
    100% {
        transform: translate(var(--x-back-end, 0), var(--y-back-end, 0)) scale(1);
   }
}
@keyframes scale {
    100% {
        transform: translateY(20%) translateZ(0) scaleX(1);
   }
}
@keyframes scale-down {
    0% {
        transform: translateY(20%) translateZ(0) scaleX(1);
   }
    100% {
        transform: translateY(20%) translateZ(0) scaleX(0);
   }
}



/* PATOUNE À AJOUTER ? */
/* https://codepen.io/aaroniker/pen/VwwxopM */