body {
    font-family: 'Arial', sans-serif;
    font-weight: initial;
    margin: 0;
    padding: 0;
}

.header {
    background-color: rgb(91, 25, 89);
    color: #fff;
    padding: 1em 0;
    border-bottom: 2px solid #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 6px 6px 25px rgba(0, 0, 0, 0.5);
}

.banner {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.banner h1#title {
    font-size: 70px;
    text-shadow: 10px 10px 25px rgba(0, 0, 0, 0.5);
    text-align: center;
    font-family: "DynaPuff", system-ui;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
            "wdth" 100;
    margin: 0;
    flex-grow: 1;
}

.banner img{
    border: 2px solid #000;
    border-radius: 100%;
    float: left;
    margin-left: 0;
    transition: transform 0.3s; /* ajout d'une transition pour un effet smooth */
    margin-top: 2%;
}

.banner a{
    text-decoration: none;
    color: white;
    font-family: "Source Code Pro", monospace;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 1.2em;
    float: right;
    padding-top: 2%;
    transition: box-shadow 0.3s, background-color 0.3s;
}

.banner a:hover{
    font-weight: bold;
}

.banner img:hover {
    border-radius: 100px;
    box-shadow: 6px 6px 25px rgba(0, 0, 0, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.2); /* agrandissement de 20% */
}

h1{
    font-size: 60px;
    margin: 0;
    text-shadow: 10px 10px 25px rgba(0, 0, 0, 0.5);
    flex-grow: 1;
    text-align: center;
    font-family: "DynaPuff", system-ui;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
            "wdth" 100;
}
h2 {
    font-size: 45px;
    text-align: center;
    font-family: "DynaPuff", system-ui;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
            "wdth" 100;;
}

h3 {
    font-family: "DynaPuff", system-ui;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
            "wdth" 100;
    font-size: 40px;
}

h4 {
    font-family: "DynaPuff", system-ui;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
            "wdth" 100;
    font-size: 35px;
}

h5 {
    font-family: "DynaPuff", system-ui;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
            "wdth" 100;
    font-size: 30px;
}

h5 a {
    text-decoration: none;
    color: black;
}

p {
    font-size: 18px;
    font-family: "Source Code Pro", monospace;
    font-optical-sizing: auto;
    font-style: normal;
}

p ul li{
    font-size: 18px;
    font-family: "Source Code Pro", monospace;
    font-optical-sizing: auto;
    font-style: normal;
}

/* Navigation Menu */
nav {
    width: 100%;
    margin-top: 1em;
    top: 0;
    left: 0;
    z-index: 1000;
}

.niveau1 {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    position: relative;
}

.niveau1 > li {
    position: relative;
    margin: 0 10px;
}

.niveau1 a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    padding: 10px;
    display: block;
    border-radius: 10px;
    font-family: "Source Code Pro", monospace;
    transition: box-shadow 0.3s, background-color 0.3s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.niveau1 a:hover,
.niveau1 li:hover > a {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
}

.niveau2 {
    display: none;
    position: absolute;
    border-radius: 10px;
    padding: 10px;
    z-index: 1000;
    min-width: 150px;
    list-style: none;
    text-align: center;
    justify-content: center;
    top: 100%;
    left: 0;
}

.niveau1 li:hover > .niveau2 {
    display: block;
}

.niveau2 li {
    margin: 5px 0;
    position: relative;
}

.niveau2 a {
    font-size: 0.9em;
    padding: 5px 10px;
    background-color: rgb(91, 25, 89);}

.niveau2 a:hover{
    font-weight: bold;
    font-size: 1.2em;
}

.niveau2 li:hover{
    background-color: rgb(91, 25, 89);
    border-radius: 10px;
}

.non-cliquable {
    cursor: default;
}

.niveau1 a:hover{
    font-weight: bold;
}

.niveau3 {
    display: none;
    position: absolute;
    border-radius: 10px;
    padding: 10px;
    z-index: 1000;
    min-width: 150px;
    list-style: none;
    text-align: center;
    justify-content: center;
    left: 100%;
    top: 0;
}

.niveau2 li:hover > .niveau3 {
    display: block;
}

.niveau3 li {
    margin: 5px 0;
}

.niveau3 a {
    font-size: 0.9em;
    padding: 5px 10px;
    background-color: rgb(91, 25, 89);
}

.niveau3 a:hover{
    font-weight: bold;
    font-size: 1.2em;
}

.niveau3 li:hover{
    background-color: rgb(91, 25, 89);
    border-radius: 10px;
}

.niveau1 > li:hover > .niveau2,
.niveau2 > li:hover > .niveau3 {
    display: block;
}


.box {
    background-color: rgba(242, 232, 201, 0.5);
    border: 2px solid rgba(211, 182, 131, 0.5);
    color: black;
    position: relative;
    text-align: center;
    box-shadow: 6px 6px 25px rgba(0, 0, 0, 0.5);
    padding: 1%;
    border-bottom: 2px solid #000;
}

.box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0) 20%,
            rgba(0, 0, 0, 0) 80%,
            rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
}

.box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9l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xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==');
    opacity: 0.3;
    pointer-events: none;
}

.footer {
    background-color: rgb(91, 25, 89);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 6px 6px 25px rgba(0, 0, 0, 0.5);
    padding: 20px 0;
    margin-top: auto;
    font-family: "DynaPuff", system-ui;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    width: 100%;
}

.footer a {
    text-decoration: none;
    color: white;
    font-family: "DynaPuff", system-ui;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
            "wdth" 100;
}


.hamburger {
    display: none; /* Par défaut, masquer l'icône hamburger */
}

.nav{
    display: none;
}

input {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header, .footer {
        padding: 0.5em 0;
    }
    .box {
        font-size: 14px;
    }

}

@media (max-width: 780px) {
    body {
        font-family: 'Arial', sans-serif;
        font-weight: initial;
    }
    .header{
        flex-direction: column;
        height: 2%;
    }
    .header img {
        width: 40%;
        align-items: center;
        padding: 0;
        margin: 0;
        border-radius: 50%;
    }
    .banner{
        flex-direction: column;
    }
    .banner a{
        text-align: center;
    }
    .banner h1#title {
        font-size: 30px;
        padding-bottom: 10%;
        padding-top: 0;
        padding-left: 0;
    }
    .partenaire {
        display: flex;
    }
    .logo {
        display: none;
    }
    h1 {
        font-size: 25px;
    }
    h2 {
        font-size: 18px;
    }
    h3 {
        font-size: 15px;
    }
    h5 {
        font-size: 13px;
    }
    p {
        font-size: 11px;
    }
    .bienvenue{
        font-size: 11px;
    }
    #toggle, nav {
        display: none;
    }

    input, .nav {
        display: block;
    }

    .hamburger {
        display: block;
        position: absolute;
        top: 5em;
        right: 5%;
        margin-left: -2em;
        margin-top: -45px;
        width: 2em;
        height: 45px;
        z-index: 1000;
    }

    .hamburger div {
        position: relative;
        width: 3em;
        height: 7px;
        border-radius: 3px;
        background-color: black;
        margin-top: 8px;
        transition: all 0.3s ease-in-out;
    }

    .nav {
        position: fixed;
        width: 100%;
        height: 100%;
        background-color: rgb(91, 25, 89);
        color: #fff;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
        transform: scale(0);
        font-family: "Source Code Pro", monospace;
        font-optical-sizing: auto;
        font-style: normal;
        z-index: 1;
    }

    .nav-wrapper {
        position: relative;
        overflow: hidden;
        overflow-y: auto;
        height: 100%;
    }

    .nav {
        text-align: left;
        padding: 4% 0;
        margin-top: 1.25em;
    }

    .nav a {
        position: relative;
        text-decoration: none;
        color: white;
        font-size: 1.2em;
        display: inline-block;
        transition: color 0.2s ease-in-out;
        letter-spacing: 1px;
    }

    .nav a:before {
        content: '';
        height: 0;
        position: absolute;
        width: 0.25em;
        background-color: white;
        left: -0.5em;
        transition: all 0.2s ease-in-out;
    }

    .nav a:hover {
        color: white;
    }

    .nav a:hover:before {
        height: 100%;
    }

    .nav ul ul {
        text-align: center;
    }

    .nav ul li {
        text-decoration: none;
        color: rgba(51, 51, 51, 0);
    }

    .niveau1 {
        display: initial;
    }


    #toggle:checked + .hamburger .top-bun {
        transform: rotate(-45deg);
        margin-top: 25px;
    }

    #toggle:checked + .hamburger .bottom-bun {
        opacity: 0;
        transform: rotate(45deg);
    }

    #toggle:checked + .hamburger .meat {
        transform: rotate(45deg);
        margin-top: -7px;
    }

    #toggle:checked + .hamburger + .nav {
        top: 0;
        transform: scale(1);
    }


    label[for="menu-toggle"] {
        display: block;
        background-color: #333;
        color: white;
        text-align: center;
    }

}

.menu, .submenu {
    display: none;
    list-style-type: none;

}

#menu-toggle:checked ~ .menu {
    display: block;
    color: white;
}


#submenu-toggle:checked ~ .submenu {
    display: block;
    color: white;
}

#submenus-toggle:checked ~ .submenu {
    display: block;
    color: white;
}

#submenuss-toggle:checked ~ .submenu {
    display: block;
    color: white;
}

#submenusss-toggle:checked ~ .submenu {
    display: block;
    color: white;
}

#submenussss-toggle:checked ~ .submenu {
    display: block;
    color: white;
}

label {
    display: block;
    color: white;
    cursor: pointer;
}

input[type="checkbox"] {
    display: none;
}

