html {
    width: 100%;
    box-sizing: border-box;
    background: #4f4f4e;
}

body {
    max-width: 1024px;
    min-width: 768px;
    margin: auto;
    font-family: "Delius", serif;
}
/* ALERTE STYLE */
        /* Style de l'alerte */
        .alert {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: #ffcc80; /* Orange pastel */
            color: #333;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            text-align: center;
            z-index: 1000;
            width: 80%;
            max-width: 400px;
        }
        
        .alert button {
            margin-top: 15px;
            padding: 10px 15px;
            border: none;
            background-color: #ff9800; /* Orange plus foncé */
            color: white;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
        }
        
        .alert button:hover {
            background-color: #e68900;
        }
          
/* FIN ALERTE STYLE */
.titre-secondaire {
    border-radius: 5px;
    padding-left: 10px;
    background-color: #fed167;
    height: 40px;
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
    justify-content: flex-start;
    position: relative;
}

#titre-liste {
    background-color: #f6e7b9;
    border: solid 1px black;
    border-radius: 4px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0px;
    transition: transform 0.3s ease;
}

.ouvert #titre-liste {
    transform: rotate(180deg);
}

header {
    position: relative;
    width: 100%;
    height: 250px;
}

.header {
    border-radius: 5px;
    margin-top: 10px;
    position: absolute;
    height: 200px;
    background-position: bottom 100px left 0;
    object-fit: cover;
    background-repeat: no-repeat;
    width: 100%;
    border-radius: 10px;
}

.header-image {
    border-radius: 5px;
    background: rgba(248, 252, 122, 1);
    background: linear-gradient(180deg, rgba(248, 252, 122, 1) 19%, rgba(255, 159, 67, 1) 62%, rgba(255, 159, 67, 1) 100%);
    width: 100%;
    height: 100%;
}

.header-image-img {
    border-radius: 5px;
    opacity: 0.8;
    width: 100%;
    height: 100%;
}

.header-title {
    width: 100%;
    background-color: rgba(246, 169, 35, 0.5);
    z-index: 1;
    position: absolute;
    top: -10px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    text-align: center;
    font-family: serif;
    font-style: italic;
    font-size: 5em;
}

/* NAVIGATION */
nav {
    border-radius: 5px;
    height: 40px;
    width: 100%;
}

nav ul {
    display: flex;
    justify-content:space-between;
    list-style: none;
    align-items: center;
    padding: 0;
}


nav li {
    width: 25%;
    height: 40px;
}

nav li a {
    height: 100%;
    text-decoration: none;
    align-items: center;
    color: #ed9f22;
    display: flex;
    justify-content: space-around;
}

nav li a:hover,
.inpage {

    border-radius: 20px;
    background-color: #f2c13a;
    text-shadow: #7f7f7e;
    transition: 0.5s;
    color: rgb(255, 255, 255);
}

h1 {
    color: #ffffff;
    font-size: 1em;
    text-align: center;
    background-color: rgba(241, 193, 58, 0.5);
    border-radius: 5px;
}

.main-mentions {
    padding: 10px 20px;
    background: #fff9f0;
    border-radius: 5px;
}

article {
    padding: 20px;

}

.contenu-primaire {
    text-align: justify;
}

.contenu {
    display: none;
    padding: 20px;
    text-align: justify;
    margin: auto;
    flex-wrap: wrap;
    transition: all 0.3s ease-in-out;
}

.contenu.ouvert {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.image-conteneur {
    width: 400px;
    height: 400px;
    display: flex;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 5px 5px 10px;
    object-fit: contain;
}

.image {
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.info-date{
    display: flex;
    justify-content: flex-end;
    font-style: italic;
    font-size: small;
    margin-top: 20px;
}

/* FOOTER */
footer {
    position: relative;
    margin: 10px auto;
    width: 100%;
    height: 50px;
    background-color: black;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.contain-footer {
    margin: 0;
    padding: 0;
}

.ul-footer {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.list-footer {
    margin: 0 40px;
}

.link-footer {
    text-decoration: none;
    color: #ffffff;
    font-size: small;
}

.section-mentions {
    margin-bottom: 30px;
}
.titre-mentions {
    color: #e68900;
}

.bold {
    font-weight: bold;
}
