@import url(https://fonts.googleapis.com/css?family=Playfair+Display+SC:900);

* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Anti scroll horizontal */
}

body {
    background-color: #000;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    overflow-x: hidden;

}

/* Conteneur principal de l'animation chrome */
.chrome-container {
    position: relative;
    display: inline-block;
    padding-top: 150px;  /* Décalage du contenu pour éviter l'image */
}

/* Style du texte ARCHIVES */
.chrome {
    display: inline-block;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 12vw;
    white-space: normal; /* anciennement nowrap;*/
    word-break: break-word;
    text-align: center;
    animation: fadeOut 3s ease-in-out forwards;
    color: rgba(0,0,0,0.75);
    text-shadow: 0 -.125em .25em #000, 0 -.0175em 0 #fff, 0 .0125em 0 rgba(255,255,255,0.125), 0 .25em 1em #000;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Style de l'image darkangel */
.darkangel-image {
    position: fixed;  /* Utiliser fixed pour qu'elle soit toujours en haut */
    top: -20px;  /* Décalage négatif pour "mordre" l'espace au-dessus */
    left: 50%;
    transform: translateX(-50%);  /* Centrer image horizontalement */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    animation: fadeIn 1s ease-in-out 3s forwards;
    z-index: 10;
    max-width: 80%;
    max-height: 80vh;
    margin: 0;
    padding: 0;
}

/* Animation de l'apparition de l'image */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Conteneur du texte */
.shadow-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;  /* Centre le contenu horizontalement */
    justify-content: center;  /* Centre verticalement si nécessaire */
    margin-top: 50px;
    max-width: 100%;
    padding: 0 5vw; /* anciennement padding: 0 20px;*/
    position: relative;
    z-index: 20;
}

/* Style du texte */
.shadow-text {
    max-width: 100%;  /* Largeur maximale du texte : anciennement 800px;*/
    width: 100%;  /* Assure que l'élément prend toute la largeur disponible */
    text-align: center;  /* Centrer le texte à l'intérieur */
    font-size: 1.2rem;  /* Taille du texte */
    line-height: 1.6;  /* Espacement entre les lignes */
    color: rgba(255,255,255,.5);
    padding: 0 20px;  /* Un peu d'espace à gauche et à droite pour éviter que le texte touche les bords */
    box-sizing: border-box;  /* S'assurer que padding ne dépasse pas la largeur */
}

/* Liste des puces */
.shadow-list {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
    text-align: center;
    position: relative;
    z-index: 20;
}

.shadow-list li {
    margin-bottom: 10px;
    font-size: 1.2em;
    opacity: 0.6;
    color: #fff;  /* Couleur du texte des puces */
}

/* Pour les petits écrans, on ajuste la taille de la police */
@media (max-width: 600px) {
    .chrome {
        font-size: 16vw;
    }
    .shadow-list li {
        font-size: 1em;
    }
    .shadow-text {
        font-size: 1rem; /* Ajuster la taille du texte sur mobile */
    }
}

/* F */
footer {
    margin-top: 80px;
    padding: 20px;
    background-color: transparent;
    text-align: center;
    border-top: none;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    position: relative;
    z-index: 30;
}

.footer-links a {
    margin: 0 10px;
    color: rgba(255,255,255,.5);
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-insta {
    margin-top: 10px;
}

.footer-insta svg {
    fill: rgba(255,255,255,.5);
}

/* Animation pour faire apparaître le texte et les puces après la disparition d'ARCHIVES */
@keyframes fadeInText {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Applique l'animation à la section de texte */
.shadow-text-container,
.shadow-list {
    opacity: 0;  /* Cache tout au départ */
    animation: fadeInText 2s ease-in-out 3s forwards;  /* Fait apparaître le contenu après 3 secondes (juste après la disparition de ARCHIVES) */
}
