@font-face {
    font-family: "crash test";
    src: url('Crashtestdummy.woff') format('woff'),
         url('Crashtestdummy.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "creato";
    src: url('CreatoDisplay-Regular.woff') format('woff'),
         url('CreatoDisplay-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}


.alexsachandra {
    position: fixed; top: 20px; left: 20px; z-index: 100;
    color: black;
    background-color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: 'crash test', sans-serif; font-size: 55px;
}

.power {
    position: fixed; top: 70px; left: 20px; z-index: 100;
    text-decoration: none; color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255, 0.9);
    font-family: 'creato', sans-serif; font-size: 14px;
}

/* --- Curseur (Appliqué partout) --- */
*, html, body, input, textarea, a, button, label, span {
    cursor: url('souris.png'), auto !important;
    animation: clignotement 0.1s ease-in-out infinite;
}

/* 1. LE CONTENEUR GLOBAL (Gère la position de tout le bloc sur ton écran) */
.menu-global {
    position: absolute;
    top: 17%;
    left: 5%;
    width: 170px; /* Largeur fixe pour le menu */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre le GIF fleuri horizontalement sous le menu */
    gap: 12px; /* Espace entre le bas du menu et le GIF de fleurs */
}

/* 2. LE BOÎTIER DU MENU */
.menu {
    position: relative; /* Indispensable pour que le titre "MES VIDEOS" se cale dessus */
    width: 100%; /* S'aligne sur les 170px du conteneur global */
    background: rgb(255, 255, 255, 0.9); 
    padding: 28px 6px 6px 6px; /* Plus d'espace en haut pour laisser respirer le titre */
    border-radius: 10px;
    border: 2px dashed #7b3737; /* La bordure en pointillés style vintage */
    display: flex;
    flex-direction: column;
    gap: 5px; /* Rapproche les cases pour l'effet compact */
    box-shadow: 2px 2px 10px rgba(255, 255, 255, 0.1);
}

/* 3. LE BANDEAU DE TITRE (Effet étiquette scotchée par-dessus) */
.menu-title {
    position: absolute;
    top: -12px; /* Fait remonter l'étiquette à cheval sur la bordure haute */
    left: -8px; /* Fait dépasser l'étiquette un peu vers la gauche */
    background-color: white; /* Teinte beige rétro/papier */
    color: #000000;
    font-family: 'creato', sans-serif; 
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
    padding: 4px 12px;
    white-space: nowrap;
    z-index: 10;
    
    /* Fine bordure noire et micro-ombre pour l'effet "collé par-dessus" */
    border: 1px solid #ffffff;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

/* 4. LES CASES DE LIENS (Plus fines et compactes) */
.menu a {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    background: radial-gradient(circle, #ffffff 0%, #e1d6d6 100%); 
    color: black !important;
    text-decoration: none !important;
    font-family: 'creato', sans-serif;
    font-weight: bold;
    font-size: 11px; 
    padding: 4px 7px; /* Réduit pour affiner les cases en hauteur */
    border: 1px dashed #ffffff; 
    
    transition: 0.2s;
}

/* Effet au survol (hover) */
.menu a:hover {
    background: linear-gradient(to bottom, #ffffff, #ffffff);
    transform: translateY(-1px);
    color: #555 !important;
}

/* Style pour l'icône spirale */
.menu a span {
    font-size: 16px;
    filter: grayscale(100%);
}

/* 5. LE GIF DE FLEURS */
.fleurs {
    width: 100%; /* Ajuste ce pourcentage si tu veux qu'il soit plus ou moins large que le menu */
    height: auto; /* Évite de déformer ton fichier gif */
    opacity: 1; /* Optionnel : léger effet de transparence pour adoucir */
}



.fleurs-droite {
    position: absolute;
    z-index: -1; 
    pointer-events: none; 
    height: auto;
    top: 25%; 
    right: 3%; 
    width: 250px; 
    opacity: 0.9;
    transform: scaleX(-1);
    transform: rotate(-200deg);
    animation: flottaison 5s ease-in-out infinite;
}

.fleurs-gauche1 {
    position: absolute;
    z-index: -1; 
    pointer-events: none; 
    height: auto;
    top: 70%; 
    left: 12%; 
    width: 250px; 
    opacity: 0.9;
    transform: scaleX(-1);
    transform: rotate(-200deg);
    animation: flottaison 5s ease-in-out infinite;
}

.fleurs-gauche2 {
    position: absolute;
    z-index: -2; 
    pointer-events: none; 
    height: auto;
    top: 60%; 
    left: 20%; 
    width: 250px; 
    opacity: 0.9;
    animation: flottaison 5s ease-in-out infinite;
}

.bande1 {
    position: absolute;
    bottom: 10%;
    width: 50%;       /* Prend toute la largeur de l'écran */
    height: 10px;      /* L'épaisseur de ta bande (ajuste comme tu veux) */
    background-color: #ffffff; /* Couleur blanche opaque */
    opacity: 0.9;
    margin: 20px 0;    
    z-index: -1;/* Espace au-dessus et en-dessous de la bande */
}

.bande2 {
    position: absolute;
    bottom: 8%;
    width: 30%;       /* Prend toute la largeur de l'écran */
    height: 10px;      /* L'épaisseur de ta bande (ajuste comme tu veux) */
    background-color: #ffffff; /* Couleur blanche opaque */
    opacity: 0.9;
    margin: 20px 0;    
    z-index: -1;/* Espace au-dessus et en-dessous de la bande */
}

/* --- BASES SANS SCROLL --- */
html, body {
    height: 100%;
    overflow: hidden; 
    margin: 0;
    padding: 0;
}

body {
    
    background-image: url(seamless.jpg);
    background-repeat: repeat;
    background-size: 200px;
    background-attachment: fixed;

    font-family: 'creato', sans-serif;
    display: flex;
    align-items: center; 
    justify-content: center;
}

/* --- LA GRANDE BOITE BLANCHE --- */
.boite {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    width: 60%;
    height: 65%;
    position: relative; /* Indispensable pour placer les vidéos dedans */
    box-sizing: border-box;
    border-color: white;
    border-radius: 15px;
}




.video1 { 
    top: 10%; 
    left: 17%; 
    position: absolute;
    width: 266px;
    height: 150px;
    overflow: hidden;
}

.video2 { 
    top: 10%; 
    right: 17%; 
    position: absolute;
    width: 266px;
    height: 150px;
    overflow: hidden;
}

.video3 { 
    bottom: 15%;
    left: 3%; 
    position: absolute;
    width: 266px;
    height: 150px;
    overflow: hidden;
}

.video4 { 
    bottom: 15%;
    left: 35%; 
    position: absolute;
    width: 266px;
    height: 150px;
    overflow: hidden;
}

.video5 { 
    bottom: 15%;
    left: 67%; 
    position: absolute;
    width: 266px;
    height: 150px;
    overflow: hidden;
}


.mini1, .mini2, .mini3, .mini4, .mini5 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.resume1, .resume2, .resume3, .resume4, .resume5 {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: white;
    color: rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.4s;
    box-sizing: border-box;
    border-radius: 20px;
}

.resume1, .resume2, .resume3, .resume4, .resume5 h3 {
    font-family: 'creato', sans-serif;
    font-size: 20px;
    margin-bottom: 5px;
}

.resume1, .resume2, .resume3, .resume4, .resume5 p {
    font-family: 'creato', sans-serif;
    font-size: 13px;
    line-height: 1.3;
}


.video1:hover .mini1 {opacity: 0;}
.video1:hover .resume1 {opacity: 1;}

.video2:hover .mini2 {opacity: 0;}
.video2:hover .resume2 {opacity: 1;}

.video3:hover .mini3 {opacity: 0;}
.video3:hover .resume3 {opacity: 1;}

.video4:hover .mini4 {opacity: 0;}
.video4:hover .resume4 {opacity: 1;}

.video5:hover .mini5 {opacity: 0;}
.video5:hover .resume5 {opacity: 1;}

@keyframes flottaison {
    0% {
        transform: translate(-50%, -50%) translateY(0px);
    }
    50% {
        transform: translate(-50%, -50%) translateY(15px); /* Descend de 15px */
    }
    100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
}