body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column; /* Utilisation de flex-direction: column */
    justify-content: center; /* Centrer le contenu verticalement */
    align-items: center;
    text-align: center;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

pre {
    font-family: times, sans-serif;
    color : navy;
    background: linear-gradient(aliceblue, lightyellow);
    padding: 10px;
    box-shadow: 2px 2px 10px gray;
    border-left : 10px solid yellow;
    border-radius: 10px;
    font-size: 14pt;
}
pre:hover {
    color : blue;
    background: linear-gradient(white, lightyellow);
    box-shadow: 5px 5px 10px blue;
    border-left : 10px solid gold;
}

.songbody {
    display: block;
    height: auto;
    margin: 0px;
}
/* Styles du logo */
.logo {
    width: 80%;
    max-width: 650px;
    height: auto;
    border-radius: 15px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

/* Conteneur de la recherche */
.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    max-width: 650px;
    margin: 10px auto;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 25px;
    background-color: white;
}

/* Icône loupe */
.search-container img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}
/* Champ de texte */
.search-container input {
    width: 600px;
    border: none;
    outline: none;
    font-size: 16px;
    flex: 1;
}
input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
}
/* Bouton de recherche */
.search-btn {
    width: 80%;
    max-width: 650px;
    padding: 5px 20px;
    font-size: 16px;
    border: none;
    border: 1px solid white;
    border-radius: 20px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.search-btn:hover {
    background-color: #0056b3;
    border: 1px solid gold;
    color: lightyellow;
}

/* Conteneur des résultats */
.results {
    width: 80%;
    max-width: 800px;
    text-align: left;
    padding: 10px;
}
.result-item {
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.autocomplete-list {
    list-style-type: none;
    padding: 0;
    margin: 5px 0;
    border: 1px solid #ccc;
    background: white;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    width: 650px; /* Ajuste la largeur selon la zone de recherche */
    z-index: 1000;
}

.autocomplete-list li {
    padding: 8px;
    cursor: pointer;
}

.autocomplete-list li:hover {
    background: #f0f0f0;
}
.search-results {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.search-results li {
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.search-results li a {
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.search-results img {
    display: block;
    max-width: 100px;
    height: auto;
    margin-top: 5px;
}
/* Illustration */
.illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align : center;
    width: 60%;
    max-width: 500px;
    border-radius: 25px;
    box-shadow: 5px 5px 10px gray;
    background: white;
}
.titre {
    width: 70%;
    max-width: 650px;
    border : 1px solid #338866;
    border-radius: 10px;
    box-shadow: 2px 2px 5px gray;
    background-color : #f2f8cc;
    text-align : center;
    font-size: 15pt;
    padding : 5px;
    color : green;
}
.sous-titre {
    border-bottom : 1px solid #338866;
    box-shadow: 2px 2px 5px gray;
    background-color : navy;
    text-align : center;
    font-size: 13pt;
    padding : 5px;
    color : white;
}

.auteur {
    width: 70%;
    max-width: 650px;
    border : 1px dashed #navy;
    border-radius: 2px;
    text-align : start;
    font-size: 12pt;
    padding : 5px;
    color : navy;
    font-style:italic;
}
.indice {
    color : green;
}
.lyrics {
    color : navy;
    font-size: 14pt;
}
.img_txt {
    max-height: 500px;
    overflow-y: auto;
    border-left : 5px solid yellow;
    border-right : 5px solid yellow;
}
/*///////////// Affichage des chants ///////////////////*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.container {
    display: flex; /* Utiliser flexbox pour l'affichage côte à côte */
    align-items: center; /* Aligner verticalement les éléments */
    justify-content: center; /* Centrer le bloc horizontalement */
    text-align: left; /* Aligner le texte à gauche par défaut */
}

.image {
    width: 500px; /* Largeur de l'image pour les écrans larges */
    margin-right: 20px; /* Espacement entre l'image et le texte */
}

.texte {
    color: navy; /* Couleur du texte */
    /* Taille du texte */
}

.tbl_add {
    width: 100%;
    max-width: 650px;
    color :navy; 
    border : 1px dashed navy;
    text-align : left;
    background: linear-gradient(aliceblue, lightyellow);
    border-radius: 25px;
    box-shadow: 5px 5px 10px gray;
}
.lbl {
    color :navy;
    text-align : right;
    width : 150px;
}
.in {
    font-size : 14pt;
    border-radius: 10px;
    padding : 5px;
    border : 1px solid gray;
    font-family : courier;
}
.in:hover {
    border : 1px solid blue;
}

/* Style pour les écrans plus petits */
@media (max-width: 650px) {
    .container {
        flex-direction: column; /* Affichage vertical sur écrans petits */
    }

    .image {
        width: 300px; /* Largeur de l'image pour les petits écrans */
        margin-right: 0; /* Pas d'espacement à droite sur petits écrans */
        margin-bottom: 10px; /* Espacement en bas */
    }

    .texte {
        text-align: center; /* Centrer le texte pour les écrans plus petits */
    }

    .search-container {
        width: 90%; /* Réduit la largeur pour mieux s'adapter */
        padding: 10px; /* Un peu plus de padding pour l'espacement */
        margin: 10px 0; /* Marge verticale pour aérer */
    }

    .search-container input {
        width: 100%; /* Assurez-vous que l'input prend toute la largeur */
    }

    .search-btn {
        width: 100%; /* Assurez-vous que le bouton prend toute la largeur */
    }
}

