    body {
        margin: 0;
        font-family: 'Segoe UI', sans-serif;
        background: #f9f9f9;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    a {
        text-decoration: none;
        color: #000;
    }

    .left-section {
        display: flex;
        align-items: center;
        gap: 1em;
    }

    .logo {
        height: 30px;
        width: auto;
    }

    .main-links {
        display: flex;
        gap: 1em;
    }

    .location-box {
        border: 1px solid #A9A9A9;
        border-radius: 5px;
        max-height: 50px;

        display: flex;
        align-items: center;
        gap: 0.5em;

        padding: 12px 12px;
    }

    .vertical-bar {
        color: solid #A9A9A9;
    }

    .mobile-nav {
        display: none;
        width: 100%;
        height: 50px;
        background-color: rgba(100, 100, 100, 0.5);
        z-index: 10;
        align-items: center;
        justify-content: flex-end;
        padding: 0 1em;
    }

    .mobile-menu-btn {
        border: 1px solid #000;
        border-radius: 5px;
        background: white;
        width: 40px;
        height: 40px;
        cursor: pointer;
        font-size: 1.5em;
    }

    @media (max-width: 768px) {


}

    .bottom-bar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 20px;
        width: 100%;
        height: 100px;
        z-index: 1000;
        /*background-color: rgba(211, 211, 211, 0.8);*/
        /*background-color: rgba(79, 115, 142, 0.6);*/
        background-color: rgba(100, 100, 100, 0.6);
        /*margin: 60px 0px 20px 0px;*/
        padding: 0 1em;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }

    .main-title {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        margin: 0;
        font-size: 2em;
        color: #f2f2ee;
        font-family: 'Yellowtail', cursive;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .family-box {
        display: flex;
        flex-direction: column;
        gap: 15px;
        justify-content: center;
        align-items: center;
        padding: 20px 12px;
    }

    .menu-toggle {
        width: 25px;
        height: 20px;
        display: flex;
        z-index: 1001;
        gap: 5px;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }

    .menu-toggle span {

        height: 2px;
        background: #000;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .side-menu {
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100%;
        background: #111;
        color: #fff;
        padding: 20px;
        box-sizing: border-box;
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        max-height: auto;
    }

    .side-menu.open {
        left: 0;
    }

    .side-menu h2 {
        margin-top: 0;
    }

    .side-menu ul {
        list-style: none;
        padding: 0;
    }

    .side-menu li {
        margin: 20px 0;
        font-size: 1.1em;
        cursor: pointer;
        color: #ffffff;
    }

    .side-menu li i {
        margin-right: 10px;
    }

    .side-menu li:hover {
        color: #0af;
    }
    .side-menu a {
        text-decoration: none;
    }
    .side-menu a:hover {
        color: #0af;
    }
    .side-menu a:visited {
        color: #ffffff;
        text-decoration: none;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.3);
        display: none;
        z-index: 999;
    }

    .overlay.active {
        display: block;
    }


    main {
        padding: 2em;
        margin: 0 auto;
        z-index: 1;
        max-width: 1410px;
    }

    main p {
        margin-bottom: 1rem;
    }

    .content-section_2 {
        background: rgba(245, 245, 245, 1);
        padding: 40px;
        margin-bottom: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .text-section {
        font-size: 1.1em;
        text-align: justify;
        line-height: 1.5;
        color: #555;
    }

    .text-section h2 {
        margin-top: 0;
        margin-bottom: 15px;
        font-size: 32px;
        color: #000;
    }

    .menu-droite {
        position: fixed;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1002;
    }

    .menu-droite > .label {
        background: rgba(100, 100, 100, 0.6);
        color: #000;
        border: none;
        border-radius: 15px 0 0 15px;
        cursor: pointer;
        padding: 20px 10px;
        font-size: 1.1em;
        font-weight: bold;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

    .menu-droite ul {
        list-style: none;
        margin: 0;
        padding: 20px;
        position: absolute;
        right: 10%;
        top: 50%;
        transform: translateY(-50%) translateX(20px);
        width: 260px;
        background: #1b2431;
        border-radius: 15px 0 0 15px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }

    .menu-droite:hover ul,
    .menu-droite:focus-within ul {
        opacity: 1;
        visibility: visible;
        transform: translateY(-50%) translateX(0);
}

    .menu-droite ul a {
        display: block;
        text-decoration: none;
        color: #fff;
        font-size: 1.1em;
        margin: 6px 0;
        transition: color 0.2s, transform 0.2s;
}

    .menu-droite ul a:hover {
        color: #00aced;
        transform: translateX(5px);
}

/* Container holding all gallery blocks */

.gallery-container {
    max-width: 1100px;
    margin: 0 auto;
}


/* One gallery + text */

.gallery-block {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 50px;

    margin-bottom: 70px;
    align-items: center;
}


/* The complete image area is exactly 500 x 500 */

.gallery {
    width: 500px;
    height: 500px;
}

/* Main picture */

.main-image {
    width: 500px;
    height: 333px;
    overflow: hidden;
}


.main-image img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
}


/* Three thumbnails */

.thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 160px);
    gap: 10px;

    margin-top: 10px;
}


/* Thumbnail buttons */

.thumbnails button {
    width: 160px;
    height: 157px;

    padding: 0;
    border: none;
    background: none;

    cursor: pointer;
    overflow: hidden;
}


.thumbnails img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;

    transition: opacity 0.2s ease,
    transform 0.2s ease;
}


/* Hover effect */

.thumbnails button:hover img {
    opacity: 0.75;
    transform: scale(1.03);
}

.gallery-figcaption p {
    margin-top: 7px;
    margin-bottom: 7px;
    max-width: 500px;
    color: #555;
    text-align: justify;
    font-size: 0.8em;
}
/* Text on the right */

.gallery-text {
    max-width: auto;
}


.gallery-text h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 32px;
}


.gallery-text p {
    font-size: 1.2em;
    line-height: 1.5;
    text-align: justify;
    color: #555;
}


.gallery-text a {
    display: inline-block;
    margin-top: 15px;

    color: #222;
    text-decoration: none;
    font-weight: bold;
}


/* Responsive */

@media (max-width: 1000px) {

    .gallery-block {
        grid-template-columns: 500px;
        gap: 30px;
    }

    .gallery-text {
        max-width: 500px;
    }
}

@media (max-width: 768px) {

    .topbar {
        display: none;
    }

    .mobile-nav {
        display: flex;
        position: fixed;
        top: 0;
    }

    .bottom-bar {
        display: none;
    }

    .content-section_1 h2 {
        font-size: 1.8em;
    }

    .content-section_2 {
        margin-top: 20px;
    }

    .gallery-text h2 {
        font-size: 26px;
    }

    .text-section h2 {
        font-size: 26px;
    }

    .menu-toggle {
        display: block;
        z-index: 10000;
        width: 25px;
        height: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #d3d3d3;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .author-section, .publication-section {
        flex-wrap: wrap;
        /*flex-direction: column;*/
        text-align: center;
    }
    .content-section_2 {
        padding: 10px;
    }

    .slides img {
        max-width: 100%;
    }
    .foot-section {
        flex-direction: column;
        align-items: center;
    }
    .frontpic {
        width: 100%;
    }
    header {
        margin: 0;
    }
}

@media (max-width: 600px) {

    body {
        padding: 20px;
    }

    .mobile-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: auto;
        box-sizing: border-box;
        padding: 0 1em;
    }

    .mobile-menu-btn {
        margin-left: auto;
    }

    .gallery-block {
        display: block;
    }

    .gallery {
        width: 100%;
        height: auto;
    }

    .text-section {
        font-size: 1em;
    }

    .text-section h2 {
        font-size: 25px;
    }

    .gallery-text {
        font-size: 0.9em;
        margin-top: 30px;
    }

    .gallery-text h2 {
        font-size: 25px;
    }

    .main-image {
        width: 100%;
        height: auto;
        aspect-ratio: 500 / 333;
    }

    .thumbnails {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

    .thumbnails button {
        width: 100%;
        height: auto;
        aspect-ratio: 160 / 157;
    }

}

    footer {
        background: black;
        height:350px;
        color: white;
        text-align: center;
        padding: 1em;
    }

    .foot-section {
        display: flex;
        justify-content: center;
        gap: 20px;
        background-color: #000;
        text-decoration: none;
        font-size: 1.1em;
        padding: 20px;
        margin: 20px;
        -moz-box-shadow: 0px 0px 8px #000;
        -webkit-box-shadow: 0px 0px 8px #000;
        box-shadow: 0px 0px 8px #000;
    }

    div.foot-section a {padding: 0px 30px; text-align: right; text-decoration: none;}
    div.foot-section a:link {color:#ffffff;}
    div.foot-section a:visited {color:#ffffff;}
    div.foot-section a:hover {color:#696969;}

    a.valeurs {
        position:relative;
        text-align:center;
    }
    a.valeurs:hover {
        background: none;
        z-index: 50;
    }
    a.valeurs span {
        display: none;
    }
    a.valeurs:hover span {
        display: block;
        position: absolute;
        bottom: 37px;
        right: 10px;
        font-family:arial, verdana, sans-serif;
        text-align:justify;
        font-size:12px;
        font-weight:normal;
        width:380px;
        background:#fff;
        padding: 5px 20px 20px 20px;
        border: 10px solid #ddd;
        -webkit-box-shadow: 0px 0px 20px #000;
        -moz-box-shadow: 0px 0px 20px #000;
        box-shadow: 0px 0px 20px #000;
        /*--Coins arrondis en CSS3--*/
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;}

    a.infobox {
        position:relative;
        text-align:center;
    }
    a.infobox:hover {
        background: none;
        z-index: 50;
    }
    a.infobox span {
        display: none;
    }
    a.infobox:hover span {
        display: block;
        position: absolute;
        bottom: 37px;
        right: 10px;
        font-family:arial, verdana, sans-serif;
        color: black;
        text-align:justify;
        font-size:0.7em;
        font-weight:normal;
        width:380px;
        background:#fff;
        padding: 5px 20px 20px 20px;
        border: 10px solid #ddd;
        -webkit-box-shadow: 0px 0px 20px #000;
        -moz-box-shadow: 0px 0px 20px #000;
        box-shadow: 0px 0px 20px #000;
        /*--Coins arrondis en CSS3--*/
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
    }
