body{
    margin: 0;
    min-height: 100vh;
    background-image: url("assets/lena-situations.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#bouton-equipe{
    display: block;
    width: fit-content;
    margin: 0 auto;
    position: relative;
    z-index: 600;
    padding: 12px 28px;
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(15, 15, 15, 0.75);
    border: 2px solid white;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top: none;
    transition: background 0.2s ease, color 0.2s ease;
}

#bouton-equipe:hover{
    background: white;
    color: #111;
}

#main-conatainer{
    display: flex;
    justify-content: center;
    width: 100%;
}

@keyframes rotationVersDroite {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotationVersGauche {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-180deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}


#charlie-kirk{
    position: absolute;
    bottom: 150px;
    right: 150px;
    width: 20%;
    animation: rotationVersDroite 2s linear infinite;
}

@keyframes multicolor {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

/* le titre remplace l'ancienne image : il garde l'id pour le script */
#papatim-img{
    margin-top: 20px;
    padding: 0;
    border: none;
    background: linear-gradient(
        90deg,
        #7F77DD, #1D9E75, #D85A30, #D4537E, #378ADD, #7F77DD
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 2px black;
    font-family: Impact, "Arial Black", sans-serif;
    font-size: clamp(48px, 10vw, 140px);
    line-height: 1;
    animation: multicolor 6s linear infinite;
}

#papatim-img small{
    display: block;
    margin-top: 6px;
    -webkit-text-stroke: 0;
    color: white;
    font-family: sans-serif;
    font-size: clamp(13px, 1.5vw, 18px);
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
}

#txt-sportif{
    position: absolute;
    left: 8%;
    bottom: 20%;
    transform: rotate(40deg);
    color: red;
    font-size: 30px;
    animation: rotationVersGauche 2s linear infinite;
}


/* ---- Animation d'explosion a l'arrivee sur la page ---- */
#explosion-overlay{
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.8s ease;
}

#explosion-overlay.fini{
    opacity: 0;
    pointer-events: none;
}

#explosion-video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gif-haut-droite{
    position: absolute;
    top: 0;
    right: 0;
}

#texte-presentation{
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    border: 3px solid white;
    color: white;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    /* ombre portee : sans le fond noir, le texte blanc doit ressortir sur l'image */
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
}

#grandmaster-baiter{
    position: absolute;
    width: 15%;
    left: 15%;
    top: 33%;
}

#txt-alternance{
    position: absolute;
    right: 10%;
    bottom: 3%;

}

#txt-hypergamie{
    position: absolute;
    right: 23%;
    top: 20%;
    transform: rotate(40deg);
    color: #FFE500;
    font-weight: 900;
    font-size: 26px;
    /* contour noir pour que le jaune ressorte sur l'image de fond */
    -webkit-text-stroke: 1px black;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

#txt-feet-lover{
    position: absolute;
    left: 50%;
    bottom: 25%;
    font-size: 40px;
    transform: translateX(-50%);
    color: red;
    font-weight: 900;
    text-decoration: underline;
}
/* ---- Deuxieme facette : la vraie identite ---- */

#papatim-img{
    cursor: pointer;
}

#vraie-identite{
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    background: #1c1c1c;
    color: white;
    padding: 60px clamp(15px, 5vw, 60px) 30px;
    box-sizing: border-box;
    overflow-y: auto;
}

/* flex en colonne : le contenu reste centre quelle que soit la taille */
body.identite-active #vraie-identite{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#identite-contenu{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(25px, 5vw, 60px);
    flex-wrap: wrap;
    width: 100%;
    max-width: 1100px;
}

#identite-cadre{
    background: white;
    padding: 12px;
    border: 4px solid white;
    flex-shrink: 0;
}

#identite-cadre img{
    display: block;
    /* suit la largeur de la fenetre, sans jamais depasser sa hauteur */
    width: clamp(160px, 30vw, 350px);
    max-height: 55vh;
    object-fit: cover;
}

#identite-infos{
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: clamp(15px, 2vw, 24px);
    line-height: 2;
}

#identite-infos li::before{
    content: "- ";
}

#identite-retour{
    display: block;
    margin-top: clamp(25px, 5vh, 50px);
    padding: 10px 25px;
    background: transparent;
    border: 2px solid white;
    color: white;
    font-size: clamp(14px, 1.5vw, 18px);
    cursor: pointer;
}

#identite-retour:hover{
    background: white;
    color: black;
}

/* fenetre etroite : photo et infos passent l'une sous l'autre */
@media (max-width: 700px){
    #identite-contenu{
        flex-direction: column;
    }

    #identite-cadre img{
        width: clamp(140px, 55vw, 260px);
        max-height: 35vh;
    }
}
