@font-face {
    font-family: 'Little Miku';
    src: url('Police/Little Miku.ttf');
}

body {
    
    display: flex;
    align-items: flex-start;
    gap: 30px; /* Espace entre le menu et le bloc de texte */
    margin: 0;
    padding: 20px;
}


.accueil-texte {
    flex: 1; 
    padding: 30px;
    border-radius: 8px;
    min-height: 800px;
}

p {
    font-family: 'Little Miku', sans-serif;
    color: white;
    font-size: 300%;
}

h2 {
    font-family: 'Little Miku', sans-serif;
    color: white;
    
}

h1{
    font-family: 'Little Miku', sans-serif;
    color: white;
    font-size: 400%;
}
li{ 
    font-family: 'Little Miku', sans-serif;
     font-size: xx-large;
}



.banniere {
    width: 280px;                    
    min-height: 1000px;               
    
    
    background-image: url('Image/hatsune-miku-simple-background-portrait-display-phone-minimalism-hd-wallpaper-preview.jpg');
    background-size: cover;          
    background-position: center;     
    background-repeat: no-repeat;
    padding: 15px;
    box-sizing: border-box;
}


.banniere ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.banniere li {
    margin-bottom: 6px;
}


.banniere a {
    display: block;
    padding: 8px 10px;
    background-color: rgba(0, 0, 139, 0.45); 
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Little Miku', sans-serif;
    margin-bottom: 4px;
}


.banniere a.titre-menu {
    background-color: rgba(57, 197, 187, 0.9); 
    font-weight: bold;
    border-left: 5px solid #ffffff;                         
    font-size: 1.05em;
}


.banniere a.titre-menu:hover {
    background-color: #39C5BB;
}

.main-nav a {
    transition: all 0.3s ease;
    padding: 6px 12px;
    display: inline-block;

    border: 2px solid transparent;
}

.main-nav a:hover {
    background-color: rgba(0, 0, 0, 0.70);
    color: #00ffff;
    border: 2px solid white;
}


/* Barre du haut bien alignée */
        .audio-bar {
            height: 50px;
            background: rgba(0, 0, 0, 0.85);
            border-bottom: 2px solid white;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
            box-sizing: border-box;
            overflow: hidden; /* Empêche tout texte de dépasser */
        }

        /* Texte bien cadré et lisible */
        .audio-bar p {
            color: #00ffff;
            font-family: sans-serif;
            font-size: 14px;
            font-weight: bold;
            margin: 0;
            white-space: nowrap; /* Garde le texte sur une seule ligne */
        }

        /* Lecteur audio plus discret et stylé Miku */
        audio {
            height: 32px;
            max-width: 300px; /* Limite la largeur du lecteur pour pas qu'il s'étale */
            border-radius: 20px;
            border: 1px solid white;
            filter: invert(0.9) hue-rotate(170deg); /* Donne une touche cyan/bleu Miku */
        }