/* Commune à tous les écrans */
body,html {
    margin: 0 auto;
    padding: 0;
    background-color: #F4F4F6;
}

/* Définir la police pour tout le site */
body, h1, h2, h3, p, a, li {
    font-family: 'Neue Haas Grotesk Text Pro', sans-serif;
}

/* Déclaration @font-face pour la version régulière et en gras */
@font-face {
    font-family: 'Neue Haas Grotesk Text Pro';
    font-weight: 400;
    font-style: normal;
    src: url('./NeueHaasGroteskTextPro-Regular/NeueHaasGroteskTextPro-Regular.woff2') format('woff2'),
         url('./NeueHaasGroteskTextPro-Regular/NeueHaasGroteskTextPro-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Neue Haas Grotesk Text Pro';
    font-weight: bold;
    font-style: normal;
    src: url('./NeueHaasGroteskTextPro-Bold/NeueHaasGroteskTextPro-Bold.woff2') format('woff2'),
         url('./NeueHaasGroteskTextPro-Bold/NeueHaasGroteskTextPro-Bold.woff') format('woff');
}
#list{
    display: flex;
    }
    #list2{
        display: none;
    }
/*** HEADER ***/

header {
    margin: 0;
    display: flex;
    height: 100px;
    align-items: center;
    font-family: 'Neue Haas Grotesk Text Pro', sans-serif;
    font-weight: bold;
    z-index: 10;
    padding: 0 10px;
    position: absolute;
    width: 100%;
    justify-content: flex-end; /* Ajout de cette ligne pour décaler vers le côté droit */
}

#items-header {
    max-width: 1250px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin: 0 auto;
}

header #logo {
    color: #9b724c;
    text-decoration: none;
    font-size: 10px;
}

#logo img {
    width: 50px;
    filter: grayscale(100%);
    transition: ease-in-out 0.3s;
}

#logo img:hover {
    filter: none;
    transition: ease-in-out 0.3s;
}

#kdot {
    font-size: 1.5em; /* Ajustez la taille du texte selon vos préférences */
    margin-right: 10px; /* Ajoute une marge à droite pour l'espace entre le logo et "KDOT" */
    font-weight: bold; /* Met le texte en gras */
}


header nav {
    left: 0;
    display: flex;
    width: 100%;
    justify-content: flex-end; /* Aligner les liens à droite */
}

header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin: 0 10px;
    text-align: center;
}

header nav ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 12px; /* Taille de police légèrement augmentée */
    margin-right: 8px; /* Ajout d'un espace entre les titres des liens */
}

.link-header {
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 10px;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.25s ease;
}

ul {
    display: flex;
    justify-content: space-around; /* Répartir les liens avec un espacement égal */
    padding: 0; /* Supprimer le remplissage par défaut de la liste */
}

ul li {
    margin: 0;
    padding: 5px;
}

ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 10px;
    font-weight: bold;
    padding: 4px;
    display: inline-block;
    border: 2px solid transparent;
}

ul li.active a {
    color: #9b724c !important; /* Utiliser !important pour s'assurer que la couleur est appliquée */
    border-color: transparent; /* Supprimer la bordure pour le lien actif */
}

header nav ul li.active a {
    color: #9b724c !important;
    border-color: transparent;
}

ul li:not(.active) a:hover {
    border: 2px solid #000000;
}


/*** FIN HEADER ***/

/*** FOOTER ***/

footer {
    margin: 0px auto;
    height: 50px;
    text-align: center;
    padding: 5px;
    font-family: 'Neue Haas Grotesk Text Pro';
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1080px;
    margin-top: auto;
}

footer a {
    color: #000;
    font-size: 14px;
    font-family: 'Neue Haas Grotesk Text Pro';
}

footer:hover a:hover {
    box-shadow: 0 2px 0 0 #9b724c;
}

footer p {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

/*** FIN FOOTER ***/

/*** SLIDER ?? ***/
  
  .slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  
  .slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    position: relative;
  }
  
  .slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    position: relative;
  }
  
  img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .slide-caption {
    font-family: 'Neue Haas Grotesk Text Pro', sans-serif;
    font-size: 48px; /* Ajustez la taille du texte au besoin */
    font-weight: bold;
    color: #000000;
    position: absolute;
    bottom: 20px; /* Ajustez la position verticale au besoin */
    left: 20px; /* Ajustez la position horizontale au besoin */
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(79, 79, 79, 0.8); /* Ombre de texte pour la lisibilité */
  }
  
/*** SLIDER FIN ??***/

/*** SLIDER ALBUMS ACCEUIL ***/

.image-list {
    width: 100%; /* Utilise toute la largeur disponible */
    overflow-x: hidden; /* Cache la barre de défilement horizontale */
    overflow-y: hidden; /* Cache la barre de défilement verticale */
    white-space: nowrap; /* Empêche le retour à la ligne des éléments enfants */
}

.scrollable-area {
    width: 100%; /* Utilise toute la largeur disponible */
    overflow-x: hidden; /* Cache la barre de défilement horizontale */
    overflow-y: hidden; /* Cache la barre de défilement verticale */
    white-space: nowrap; /* Empêche le retour à la ligne des éléments enfants */
    display: flex; /* Utilise Flexbox pour aligner les éléments horizontalement */
}

.images {
    display: flex; /* Utilise Flexbox pour aligner les images horizontalement */
}

.image-container {
    position: relative; /* Position relative pour permettre le positionnement absolu du titre */
    margin-right: 20px; /* Ajoute un espace entre les images */
}

.image-title {
    position: absolute; /* Position absolue par rapport à l'image */
    bottom: 0; /* Aligne le titre en bas */
    left: 0; /* Aligne le titre à gauche */
    font-size: 14px; /* Définit la taille de la police du titre */
    font-weight: bold; /* Met en gras le texte */
    color: white; /* Couleur du texte */
    background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
    padding: 5px; /* Ajoute un peu de rembourrage autour du texte */
    border-bottom-left-radius: 8px; /* Arrondi le coin inférieur gauche */
}

.images img {
    width: 200px; /* Largeur des images */
    height: auto; /* Hauteur automatique pour conserver les proportions */
    border-radius: 10px; /* Ajoute un border radius aux images */
    filter: grayscale(100%); /* Rend les images en noir et blanc */
    transition: filter 0.3s ease; /* Ajoute un effet de transition */
}

.images img:hover {
    filter: grayscale(0%); /* Applique la couleur au survol */
}

/*** SLIDER ALBUMS ACCEUIL FIN ***/

/*** BIOGRAPHIE ***/

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.content {
    position: relative;
    overflow: hidden;
}

.content p {
    font-size: 16px;
    line-height: 1.5;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.content p.hide {
    opacity: 0;
}

.fade-out {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

#plusButton {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #ffffff00;
    color: #000000;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}


/*** FIN BIOGRAPHIE ***/

/*** RECHERCHE ***/

main {
    text-align: center;
}

#admin{
    padding-top: 100px;
}

.phrase {
    font-size: 1.5em;
    font-weight: bold; /* Ajout pour mettre le texte en gras */
}

form {
    margin-top: 20px;
}

.test {
    width: 80%;
    padding: 10px;
    font-size: 1em;
}

.bouton {
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    background-color: #9b724c; /* Ajoutez une couleur au bouton */
    color: #fff;
    border: none;
    border-radius: 4px;
}

/*** FIN RECHERCHE ***/

/*** ADMIN ***/ 

#admin {
    margin-top: 100px; /* Pour éviter que le contenu ne soit caché sous l'en-tête */
}

#admin div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#admin a {
    color: inherit;
    text-decoration: none;
    font-size: 16px; /* Augmentation de la taille de la police */
    font-weight: bold;
    margin: 10px; /* Espace autour des liens */
    padding: 6px; /* Ajout de rembourrage pour créer de l'espace autour du texte */
    border: 2px solid transparent; /* Ajout d'un bord transparent */
    transition: border 0.3s ease; /* Transition pour une animation fluide du bord */
}

#admin a:hover {
    border: 2px solid #000000;
}

/*** FIN ADMIN ***/

/*** CARD ***/

/* Style pour le conteneur des albums */
.cover {
    list-style: none;
    float: left;
    width: calc(33.33% - 20px);
    margin-right: 20px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

/* Style pour le titre de l'album */
.cover h3 {
    color: #333;
    margin-bottom: 5px;
}

/* Style pour les informations de l'album */
.cover p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

/* Style pour l'image de l'album */
.cover img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    display: block;
    width: 250px; /* Ajustez la largeur selon vos préférences */
    height: auto; /* Garde le ratio d'aspect de l'image */
    margin: 0 auto; /* Centre l'image horizontalement */
    transition: transform 0.3s ease; /* Ajout de la transition uniquement sur la propriété transform */
}

/* Style pour agrandir l'image lors du survol */
.cover img:hover {
    transform: scale(1.1); /* Ajustez le facteur d'échelle selon vos préférences */
}

/* Style pour les éléments pill */
.pill {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
    background-color: #9b724c; /* Couleur de fond des éléments pill */
    margin-bottom: 5px; /* Espace entre les éléments pill */
    margin-right: 5px; /* Espace entre les éléments pill */
}

/* Style pour la date de sortie */
.date-sortie {
    display: block;
    text-align: center;
    margin: 0; /* Réinitialise la marge par défaut */
    color: #888;
}

/*** FIN CARD ***/

/*** Responsive ***/


.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    list-style: none;
    position: relative;
    padding: 10px;
    
}  
.menu {display: flex;}
.menu li {padding-left: 55px;}
.menu li a {
    display: inline-block;
    text-decoration: none;
    color: var(--color2);
    text-align: center;
    transition: 0.15s ease-in-out;
    position: relative;
    text-transform: uppercase;
}
.menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0px;
    width: 0;
    height: 1px;
    background-color: var(--color2);
    transition: 0.15s ease-in-out;
}
.menu li a:hover:after {
    width: 100%;
}
.open-menu , .close-menu {
    position: absolute;
    color: var(--color2);
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
}
.open-menu {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}
.close-menu {
    top: 20px;
    right: 20px;
}
#check {display: none;}
@media(max-width: 480px){
    .menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 100;
        background-color: #F4F4F6;
        transition: all 0.2s ease-in-out;
    }
    .menu li {margin-top: 40px;}
    .menu li a {padding: 10px;}
    .open-menu , .close-menu {display: block;}
    #check:checked ~ .menu {right: 0;}
}


@media all and (max-width: 480px) {
    body {
    }

    header {
    }

    footer {
    }

    .animating {
        width: 100%; /* Un élément prendra la pleine largeur en mode portrait */
    }
}

@media all and (min-width: 480px) and (max-width: 1023px) {

    body {

    }

    header {

    }

    footer {

    }

    .animating {
        width: calc(66.66% - 20px);
    }
}

