body {
    margin: 0;
    background: yellow;
    position: relative;
    min-height: 100vh;
}

/* Crée une bordure avec 4 éléments */
body::before,
body::after,
body .border-left,
body .border-right {
    content: "" ;
    position: fixed;
    background-image: url('../02_image_ok/noeud01.png');
    background-repeat: repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 999;
}

/* Haut */
body::before {
    top: 0;
    left: 0;
    height: 50px; /* hauteur de la bordure */
    width: 100vw;
}

/* Bas */
body::after {
    bottom: 0;
    left: 0;
    height: 50px;
    width: 100vw;
}

/* Gauche */
body .border-left {
    top: 0;
    left: 0;
    width: 50px;
    height: 100vh;
    position: fixed;
}

/* Droite */
body .border-right {
    top: 0;
    right: 0;
    width: 50px;
    height: 100vh;
    position: fixed;
}

#content {
    position: relative;
    z-index: 1; /* Passe au-dessus du cadre (z-index 999), car cadre est pointer-events: none */
}



#journalintime{
    height : 100vh;
}

#animation-zone {
    position: relative;
    height: 100vh; /* ou plus petit si tu veux */
    overflow: hidden;
}

#chat1, #chat2, #chat3, #chat4, #karl1 {
    height : 30vh;
    position: center;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spiral 5s linear infinite;
}

#chat1 {
    animation-delay: 0s;
}
#chat2 {
    animation-delay: 1s;
}
#chat3 {
    animation-delay: 2s;
}
#chat4 {
    animation-delay: 3s;
}
#karl1 {
    animation-delay: 4s;
}

/* Mouvement spiralé */
@keyframes spiral {
    0% {
        transform: rotate(0deg) translateX(0) rotate(0deg);
    }
    25% {
        transform: rotate(90deg) translateX(25vh) rotate(-90deg);
    }
    50% {
        transform: rotate(180deg) translateX(50vh) rotate(-180deg);
    }
    75% {
        transform: rotate(270deg) translateX(75vh) rotate(-270deg);
    }
    100% {
        transform: rotate(360deg) translateX(100vh) rotate(-360deg);
    }
}
#pp{
    margin-bottom: 50vh;
}


#jeu1 {
    padding: 20px;
    margin-top: 20px;
    background-image: url(../02_image_ok/herbe01.jpg)
    
} 
h1 {
    color: rgb(255, 2, 213);
    text-align: center;
    font-size: 2em;
    margin-top: 20px;
}
#rondoudou1 {
    height: 20vh;

}
#jordanvivant {
    height: 20vh;
    transition: all 0.3s ease-in-out;
}

#jordanvivant:hover {
    content: url("../02_image_ok/jordan02.png");
}



#ref {
    padding: 20px;
    margin-top: 20px;
    
    
} 
h2 {
    color: rgb(255, 2, 213);
    text-align: center;
    font-size: 2em;
    margin-top: 20px;
}

#jeanluc, #sexysushi, #orlan {
    height: 57vh;
} 

h3 {
    color: rgb(255, 2, 213);
    text-align: center;
    font-size: 2em;
    margin-top: 20px;
}

#nanmeouie{
    height: 20vh;
}

h4 {
    color: rgb(255, 2, 213);
    text-align: absolute;
    font-size: 2em;
    margin-top: 20px;
}



