*,
*::after,
*::before {
    box-sizing: border-box;
}

nav {
    background-color: #1f1f1f;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0 2rem 0;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #373737;
    color: #eee;
}

.pancarte {
    background-color: #9b0505;
    padding: 1.5rem 1rem;
    text-align: center;
    border: 10px dotted #f5c518;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(245, 197, 24, 0.5), 0 0 20px rgba(245, 197, 24, 0.2) inset;
    position: relative;
}

.pancarte h1 {
   
    color: #f5c518;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 6px rgba(245, 197, 24, 0.7), 0 0 12px rgba(245, 197, 24, 0.4);
    font-family: 'Impact', 'Arial Black', sans-serif;
    line-height: 1.1;
    
}

.main p{
    color:#ffffff;
    margin: 10;
}

/*Titre CM */
.main h2 {
    color: #ffffff;
     font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* playbill */
/* ici j'avais rencontré un léger soucis que chat.gpt m'a aider a résoudre:https://chatgpt.com/s/t_6a07127823dc81918834c9c89621b4b6 */
.playbill-container {
      overflow-x: auto;

    justify-content: flex-start;

    padding-left: 1rem; display: flex;
    gap: 1.5rem;

    overflow-x: auto;
    overflow-y: hidden;

    justify-content: flex-start;

    padding: 1rem;

    width: 100%;
    
}

/* Carte playbill */
.playbill {
   width: 200px;
    height: 300px;
    position: relative;

    flex: 0 0 auto;

}

.playbill-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.playbill-front,
.playbill-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
}

.playbill-front {
    transform: rotateY(0deg);
    background: #f5c518;
    overflow: hidden;
}

.playbill-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playbill-back {
    transform: rotateY(180deg);
    background: #f5c518;
    padding: 16px;
    text-align: left;
    color: #333;
    font-size: 0.9rem;
}

.playbill-flipped .playbill-inner {
    transform: rotateY(180deg);
}

/* Flèches*/
.navigation-arrows {
    margin-top: 1rem;
}

.navigation-arrows button {
    background: #f5c518;
    color: #000;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 4px;
}

.navigation-arrows button:hover {
    background: #ffb800;
}

/* Sect° recherche */
.searchsection {
    padding: 2rem;
    background: #1f1f1f;
    text-align: center;
}

.searchsection h2 {
    color: #f5c518;
}

.searchsection input {
    padding: 0.6rem;
    font-size: 1rem;
    border: 1px solid #444;
    border-radius: 4px 0 0 4px;
    width: 280px;
}

.searchsection button {
    padding: 0.6rem 1rem;
    background: #f5c518;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.searchsection button:hover {
    background: #ffb800;
}

/* mention légales */

details summary {
    width: 100%;
    max-width: 900px;
      margin: 2.5rem auto 0;
    display: block;
    padding: 0.5rem 0.8rem;
    background: #333;
    color: #ffffff;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

details summary h4 {
    margin: 0;
    display: inline;
}

details summary:hover {
    background: #3a3a3a;
    box-shadow: 0 0 4px rgb(255, 255, 255);
}


details p {
    margin: 0.7rem 1.2rem;
    padding-left: 1.2rem;
    border-left: 1px solid #ffffff;
}