/* decoration */

.header-pane-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 500px;
    height: 250px;
    z-index: 500; /* Place l'image derrière le texte */
}

.header-pane-2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 250px;
    z-index: 500; /* Place l'image derrière le texte */
}



/* header animation */

header {
    height: 250px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-animation {
    position: relative;
    height: 40px;
    background-color: #333;
    border-bottom: 2px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Aligne à gauche */
    overflow: hidden; /* Cache le texte qui déborde */
}

.header-scroll {
    white-space: nowrap;
    display: inline-block;
    padding-left: 100%; /* Commence hors écran à gauche */
    animation: scroll-header 10s linear infinite;
    font-size: 1.2em;
}

.header-scroll > * {
    display: inline-block;
    margin-right: 0; /* Supprime la marge */
    position: relative;
}

.header-scroll > *:not(:last-child)::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 40px; /* largeur du séparateur */
    height: 40px; /* hauteur du séparateur */
    background: url('../assets/workings/seperator.png') no-repeat center/contain;
    margin: 0 0.5em;
    margin-left: 1em;
}


@keyframes scroll-header {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}