/*
Copyrights : Bastien Aulney, Ako Didion, Flavien Devallan, Titouan Moquet, all rights reserved, 2025
Do not reuse without permission ! 
*/

/* IMPORT FONT*/
@font-face {
    font-family: 'NATS';
    src: url('assets/fonts/NATS.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BEBAS';
    src: url('assets/fonts/BebasNeue-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FREDOKA';
    src: url('assets/fonts/fredoka.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Caveat Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Caveat Regular'), url('assets/fonts/Caveat-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Alexandria Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Alexandria Regular'), url('assets/fonts/Alexandria.woff') format('woff');
}

/* VARIABLES */
:root {
    --bleu-fonce: #1C2F66;
    --bleu-deep: #1D3060;
    --bleu: #0A3D91;
    --bleu-ciel: #3e5fbf;
    --rouge-fonce: #BF0606;
    --rouge-deep: #A41015;
    --rouge: #cc0102;
    --white: #ffffff;
    --bg-color-article: rgb(255, 255, 255);
    --background-gradient: linear-gradient(180deg, #f8f9fa 0%, #f0f0ff 50%);
    --border-radius-bloc: 15px;
    --font-family-fredoka: 'FREDOKA', Arial, Helvetica, sans-serif;
    --font-family-nats: 'NATS', Arial, Helvetica, sans-serif;
    --font-family-alexandria: 'Alexandria Regular', Arial, Helvetica, sans-serif;
    --font-family-bedas: 'BEBAS', Arial, Helvetica, sans-serif;
    --drop-shadow-0-25: drop-shadow(0px 5px 20px rgba(0, 0, 0, 0.25));
    --drop-shadow-0-50: drop-shadow(0px 5px 20px rgba(0, 0, 0, 0.5));
}

body {
    background: #F8F9FA;
    background: var(--background-gradient);
    margin: 0;
}

body {
    background-color: var(--white);
    overflow-x: hidden;
}

body>main>section,
body>main>aside {
    margin-left: auto;
    margin-right: auto;
}

p {
    font-family: var(--font-family-fredoka);
    font-size: 1.2em;
}

h2 {
    font-family: var(--font-family-alexandria);
}

/* ======== HEADER / NAV =======*/
/*
original : Titouan Moquet 
refonte et menu déroulant : Bastien Aulney
version responsive : Titouan Moquet 
*/
header nav {
    height: 60px;
    font-family: 'Alexandria Regular';
    font-size: 2em;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    background: #fff;
    border-bottom: 3px solid #BF0606;
    z-index: 100;
    color: var(--bleu-deep);
    font-weight: 600;
}

.nav-top {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0;
}

.nav-left {
    height: 60px;
    margin: 0;
    padding: 0;
}

.nav-right {
    margin-left: auto;
    margin-right: 20px;
    margin-top: 0;
    margin-bottom: 0;
}

.nav-left img {
    width: 80px;
    height: 80px;
    transition: all 0.3s ease;
}

.nav-right img {
    width: 28px;
    height: 28px;
    margin-right: 10px;
}

.nav-left,
.nav-right {
    list-style: none;
    display: flex;
    align-items: center;

}

.navbar a {
    text-decoration: none;
    color: #1a1a1a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    transition: all 0.3s ease;
}

.navbar li:hover>a {
    color: var(--rouge);
}

.nav-right li {
    position: relative;
    margin-left: 0;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #BF0606;
    min-width: 180px;
    z-index: 100;
    padding-left: 0;
}

.submenu li {
    list-style: none;
}

.submenu li a {
    display: block;
    padding: 10px;
    transition: all 0.3s ease;
}

.submenu li a:hover {
    background: #f5f5f5;

}

/* Affichage au survol */
.has-submenu:hover>.submenu {
    display: block;
    height: 500px;
    width: auto;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-color: #cc0102 white;
    scrollbar-width: thin;
}

#menu-toggle {
    display: none;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger svg {
    width: 40px;
}

/* ======== FOOTER ========*/
/*
original : Bastien Aulney
refonte : Titouan Moquet 
version responsive Titouan Moquet :  
*/

footer {
    color: var(--white);
    font-family: var(--font-family-alexandria);
    position: relative;
    z-index: 101;
    /*pour masquer les bouton crédits et top*/
}


footer>div:first-child {
    background-color: var(--bleu-ciel);
    padding: 20px;
}

footer>div:nth-child(2) {
    background-color: var(--bleu-ciel);
    text-align: center;
    font-family: var(--font-family-fredoka);
    font-size: 1.2em;
    padding: 20px;
}

footer>div:first-child h1 {
    text-align: center;
    font-size: 2em;
    margin-top: 20px;
}

footer>div:first-child>div {
    display: flex;
    justify-content: space-around;
}

footer>div:first-child>div section {
    width: 33%;
    text-align: center;
}

footer>div:first-child>div section h2 {
    font-size: 1.5em;
    margin-top: 16px;
}

footer>div:first-child>div section:nth-child(2) {
    border-right: 3px solid white;
    border-left: 3px solid white;

}

footer>div:last-of-type {
    background-color: var(--bleu-fonce);
    display: flex;
    justify-content: center;
    padding: 20px;
}

footer>div:last-of-type p {
    margin: 0;
    font-weight: bold;
    padding: 0;
    align-self: center;
}

footer a {
    color: white;
    transition: all 0.5s;
}

footer a:hover {
    color: var(--rouge);
}

footer>div:last-of-type a {
    align-self: center;
    margin: 0;
    padding: 0;
    width: auto;
}

footer svg {
    width: 35px;
    margin-left: 10px;
}

/* ======== top button========*/
/*
Crédits : Titouan Moquet 
*/
.top-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    --taille-bouton: 35px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.top-button.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.top-button a {
    display: block;
    padding: 11px;
    background-color: #ffffffe8;
    border-radius: 50%;
    width: var(--taille-bouton);
    height: var(--taille-bouton);
    transition: transform 0.5s ease;
}

.top-button svg {
    width: var(--taille-bouton);
    transition: width 0.3s ease;
}

.top-button svg path {
    fill: #0A3D91;
}

.top-button a:hover {
    transform: scale(1.1);
}

/* ======== credits & warning ========*/
/*
Par : Titouan Moquet 
*/

.popup-credit {
    background-color: #fff;
    position: fixed;
    left: -170px;
    bottom: 20px;
    transition: 0.3s;
    padding: 10px 10px 10px 10px;
    width: 190px;
    text-align: end;
    text-decoration: none;
    color: rgb(0, 0, 0);
    border-radius: 0 5px 5px 0;
    display: flex;
    flex-direction: row-reverse;
    justify-content: left;
    align-items: center;
    z-index: 4;
    border-color: #696969;
    border-width: 2px;
    border-style: solid;
}

.popup-credit p {
    margin: 0;
    font-size: 18px;
    margin-left: auto;
}

.popup-credit svg {
    width: 25px;
    height: 25px;
    margin-left: auto;
}

.popup-credit:hover {
    left: -5px;
}

.popup-warn {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 102;
}

/* fenêtre */
.popup-warn div {
    background: white;
    padding: 20px;
    max-width: 400px;
    text-align: center;
    border-radius: 8px;
}

/* bouton */
.popup-warn button {
    margin-top: 15px;
    padding: 8px 15px;
    cursor: pointer;
}

/*=== HR ===*/
hr {
    height: 4px;
    background-color: var(--bleu);
    width: 90%;
    border-radius: 10px;
    border-style: none;
}

/* ======== CGU & PDC ========*/
#cgu-and-pdc {
    width: 60%;
    margin: 8em auto 4em auto;
    transition: all 0.5s ease;

}

#cgu-and-pdc h3 {
    font-family: var(--font-family-fredoka);
}

#cgu-and-pdc>section {
    border-radius: 20px;
    filter: drop-shadow(0px 5px 20px rgba(0, 0, 0, 0.25));
    margin: 4em 0 4em 0;
    background-color: white;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    transition: all 0.5s ease;
}

#cgu-and-pdc>section>p:last-child {
    text-align: center;
}

#cgu-and-pdc h2 {
    font-size: 30px;
    text-align: center;
    background-color: white;
}

/* ======== TRAVAUX ========*/

.travaux {
    font-family: var(--font-family-alexandria);
    font-size: 1.2em;
    color: var(--bleu);
    background-image: url(assets/images/accueil/background_las-vegas.jpg);

}

.travaux h1 {
    font-size: 2.5em;
    animation: zoom-comming-soon 1s infinite;
}

.travaux>div:first-of-type {
    backdrop-filter: blur(5px);
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 1px;

}

.travaux>div:first-of-type>div {
    background-color: #ffffffe0;
    width: fit-content;
    padding: 20px;
    border-radius: var(--border-radius-bloc);
    margin-top: 6em;
    margin-bottom: 2.5em;
    margin: 220px auto 150px auto;

}

.travaux div:first-of-type div section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.travaux>div:first-of-type svg {
    width: 1.5em;
    margin-left: 10px;
}

.travaux>div:first-of-type svg path {
    fill: var(--bleu);
}

.travaux .home-button {
    display: block;
    font-weight: bold;
    font-size: 1.3em;
    color: var(--bleu-fonce);
    background-color: var(--white);
    border-radius: 10px;
    width: fit-content;
    transition: transform 0.5s ease;
    margin: auto;
    text-align: center;
    padding: 10px 30px;
    text-decoration: none;
}

.travaux .home-button:hover {
    background-color: white;
    color: var(--bleu-fonce);
}

.link-card-travaux {
    display: flex;
    justify-content: center;
}

.link-card-travaux div {
    background-color: rgb(255, 255, 255);
    border-radius: var(--border-radius-bloc);
    width: 32%;
    max-width: 330px;
    transition: transform 0.5s ease;

}

.link-card-travaux div a {
    text-decoration: none;
    color: var(--bleu-fonce);
}

.link-card-travaux div:nth-of-type(2) {
    margin-left: 20px;
    margin-right: 20px;
}

.travaux .home-button:hover {
    transform: scale(1.1);
}

.link-card-travaux div:hover {
    transform: scale(1.05);
}

.link-card-travaux img {
    width: 100%;
    height: 12em;
    object-fit: cover;
    object-position: top;
    border-radius: 15px 15px 0 0;
}

@keyframes zoom-comming-soon {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* ======== margin communs ======== */
#mlk section,
#mlk aside,
#accueil section {
    margin-top: 50px;
    margin-bottom: 50px;
}

/* ======== PERSONNAGES & MLK ========*/
/*
Crédits : Titouan Moquet
*/
#mlk,
#personnages {
    cursor: default;
}

/*========== page tous les perso ==========*/
#personnages header {
    background-color: var(--bleu);
    height: 300px;
    padding-top: 8em;
    color: white;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#personnages header h1 {
    font-family: var(--font-family-bedas);
    letter-spacing: 0.1rem;
    font-size: 4em;
    margin-top: 0;
    font-weight: 400;
    transition: font-size 0.5s ease;
}

#personnages header p {
    font-family: var(--font-family-alexandria);
    font-size: 1.5em;
}

#personnages>section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
}


#personnages>section div {
    background-color: var(--white);
    margin: 30px;
    width: 360px;
    height: 530px;
    border-radius: var(--border-radius-bloc);
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 10px #0000002a;
    overflow: hidden;
    transform: scale(1);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    transition: height, margin 0.5s ease;
}

#personnages>section h2 {
    color: var(--bleu);
    margin: 0;
    padding: 15px 15px 0 15px;
    font-size: 1.5em;
    background-color: var(--white);
    z-index: 2;
}

#personnages>section p {
    color: #000000;
    font-family: var(--font-family-fredoka);
    margin: 15px 15px 0 15px;
    font-size: 1.1em;

}

#personnages>section div img {
    height: 330px;
    object-fit: cover;
    object-position: top;
    border-radius: var(--border-radius-bloc) var(--border-radius-bloc) 0 0;
    box-shadow: inset 0 0 20px #00000040;
    transition: transform 0.5s ease;
}

#personnages>section div a {
    margin: 20px;
    padding: 10px;
    border-radius: 8px;
    width: 120px;
    align-self: flex-end;
    margin-top: auto;
    text-align: center;
    background-color: var(--bleu);
    color: var(--white);
    text-decoration: none;
    box-shadow: 0px 0px 10px #0000002a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Alexandria Regular', Arial, Helvetica, sans-serif;
}

#personnages>section>div:not(:first-of-type) {
    opacity: 0.5;
}

/* --- HOVER --- */

#personnages>section div:hover {
    box-shadow: 0px 0px 20px #00000064;
    transform: scale(1.02);
}

#personnages>section div:hover img {
    transform: scale(1.05);
}

#personnages>section div:hover a {
    box-shadow: 0px 0px 20px #00000064;
}

#personnages>section div a:hover {
    transform: scale(1.07);
}

/*========== page mlk ==========*/
/*
Crédits : Titouan Moquet
*/
#mlk hr {
    width: 70%;
}

#mlk mark {
    background: #ffcf5e;
    background: linear-gradient(90deg, rgba(255, 207, 94, 0.5) 0%, rgba(255, 237, 122, 0.5) 100%);
    padding: 5px;
    border-radius: 5px;
    font-size: 0.9em;
}

#mlk section p {
    line-height: 1.6;

}

#mlk figcaption {
    font-family: var(--font-family-fredoka);
}

#mlk h2 {
    position: relative;
    font-size: 2em;
    margin: 0;
    padding-bottom: 15px;
    color: var(--bleu-fonce);
    border-bottom: 3px solid var(--bleu-fonce);
}

#mlk h3 {
    font-family: var(--font-family-alexandria);
    color: var(--bleu-fonce);
    font-size: 1.3em;
    background: #ffcf5e;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    padding: 10px 15px;
    border-radius: 10px;
    text-decoration-line: underline;
    text-decoration-color: #cc0102;
}

#mlk header {
    background-image: url(assets/images/personnages/background.jpeg);
    background-repeat: no-repeat;
    background-position: right;
    background-size: cover;
    height: 55em;
    padding-top: 20px;
    position: relative;
}

#mlk header h1 {
    color: var(--bleu);
    background-color: rgba(255, 255, 255, 0.500);
    padding: 10px;
    box-shadow: 0px 0px 10px #0000002a;
    margin-right: 3%;
    margin-left: 2%;
    margin-top: 1.5em;
    width: fit-content;
    border-radius: 10px;
    font-family: 'Alexandria Regular', Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 3em;
    transition: all 0.5s ease;
}

#mlk header blockquote {
    color: var(--white);
    position: absolute;
    right: 8%;
    top: 11em;
    width: 670px;
    font-size: 35px;
    font-family: 'Caveat Regular', sans-serif;
    quotes: "«" "»";
    font-weight: bold;
    background-color: #0d0d0d85;
    border-radius: 20px;
    padding: 10px;
}

#mlk blockquote::before {
    content: open-quote;
}

#mlk blockquote::after {
    content: close-quote;
}

#mlk header ul {
    background-color: rgba(255, 255, 255, 0.831);
    backdrop-filter: blur(5px);
    padding: 10px 20px 10px 20px; 
    border-radius: var(--border-radius-bloc);
    transition: all 0.5s ease;
    position: absolute;
    bottom: 10px;
    left: 10px;
    margin: 0;
}

#mlk header ul li {
    margin-top: 5px;
    margin-bottom: 5px;
    list-style: none;
    color: var(--bleu);
    font-size: 1.4em;
    line-height: 2em;
    font-family: 'Alexandria Regular', sans-serif;
    transition: all 0.5s ease;
}

#mlk header ul li u {
    text-decoration-color: var(--rouge);
}

#mlk section,
#mlk aside {
    border-radius: var(--border-radius-bloc);
    width: 70%;
}

#mlk aside {
    padding: 30px 40px 30px 40px
}

/*=== biographie ===*/
#mlk section:first-of-type {
    min-height: 450px;
}

#mlk section,
#mlk aside {
    opacity: 0;
    transition: all 0.8s ease-out;
}

#mlk section.appear,
#mlk aside.appear {
    opacity: 1;
}

#mlk section:first-of-type figure {
    float: right;
    margin-left: 15px;
    width: 200px;
}

#mlk section:first-of-type figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

/*=== oeuvres ===*/

#mlk section:nth-of-type(2) img {
    border-radius: 10px;
    margin-right: 20px;
}

#mlk section:nth-of-type(2) article {
    margin-top: 20px;
}

/*articles livres */
#mlk section:nth-of-type(2) .livres>div {
    display: flex;
    flex-direction: row;
}

#mlk section:nth-of-type(2) .livres>div>div {
    width: 50%;
    text-align: center;
    padding: 20px;
    border-radius: var(--border-radius-bloc);
    background-color: var(--bg-color-article);
    align-items: center;
    transition: transform 0.3s ease;
}

#mlk section:nth-of-type(2) .livres>div>div:first-of-type {
    margin-right: 10px;
}

#mlk section:nth-of-type(2) .livres>div>div:nth-of-type(2) {
    margin-left: 10px;
}


/*article film*/

#mlk section:nth-of-type(2) .livres>div>div>img:first-of-type,
#mlk section:nth-of-type(2) .film div img {
    height: 13em;
    width: auto;
    float: left;
}

#mlk section:nth-of-type(2) .film div {
    background-color: var(--bg-color-article);
    display: block;
    padding: 20px;
    border-radius: var(--border-radius-bloc);
    transition: transform 0.3s ease;
}

#mlk section:nth-of-type(2) .film div img:nth-of-type(2) {
    margin-left: 10px;
    margin-right: 20px;
}

#mlk section:nth-of-type(2) .film div p {
    margin-top: 0;
    margin-bottom: 0;
}

/*hover*/
#mlk section:nth-of-type(2)>article>div>div:hover,
#mlk section:nth-of-type(2) .film div:hover {
    transform: scale(1.03);
}

/*=== activité ===*/

#mlk section:nth-of-type(3)>div {

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: auto;
    padding: 10px;
}

#mlk section:nth-of-type(3) div>div {
    background-color: var(--bg-color-article);
    margin: 20px auto 20px auto;
    width: 40%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    flex-wrap: nowrap;
    border-radius: var(--border-radius-bloc);
    transition: transform 0.3s ease;
}

#mlk section:nth-of-type(3) div>div .mark {
    margin-bottom: 0;
    margin-top: auto;
}

#mlk section:nth-of-type(3) div>div>img {
    align-self: center;
    width: 25em;
    height: 13em;
    /*height: 200px;*/
    object-fit: cover;
    object-position: center;
    border-radius: var(--border-radius-bloc);
}

#mlk section:nth-of-type(3) div>div:hover {
    transform: scale(1.05);

}

/*=== galerie ===*/

#mlk aside:first-of-type div {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20em, 1fr));
    gap: 20px;
    margin-top: 20px;
}

#mlk aside:first-of-type figure {
    margin: 0;
    padding: 0;

}

#mlk aside:first-of-type div img {
    width: 100%;
    height: 20em;
    object-fit: cover;
    object-position: top;
    transition: all 0.5s ease;
}

#mlk aside:first-of-type div img:hover {
    transform: scale(0.92);
    object-fit: contain;
    object-position: center;
}

#mlk aside p {
    display: none;
}

#personnages>p:last-of-type,
#mlk>p:last-of-type {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
}

#personnages>p:last-of-type a,
#mlk>p:last-of-type a {
    color: inherit;
}


/* ======== PAGE D'ACCUEIL ========*/

/* ======== fullscreen accueil ========*/

#fullscreen_las-vegas {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #1C2F66;
}

#fullscreen_las-vegas img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
    z-index: 0;
    filter: blur(3px) brightness(40%);
}

#fullscreen_las-vegas h1 {
    color: var(--white);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-family-bedas);
    font-size: 110px;
    z-index: 10;
    text-align: center;
    width: 700px;
    letter-spacing: 0.2rem;
    font-weight: 400;
}

/* ======== carte interactive + popup carte ========*/

.carte {
    filter: var(--drop-shadow-0-25);
    display: flex;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 90%;
}

.carte svg {
    background-color: var(--white);
    padding: 50px;
    width: 100%;
    height: 680px;
    padding-left: 100px;
    border-radius: 30px;
    padding-left: 200px;
    align-items: center;
    justify-content: center;
}

.carte path {
    fill: var(--bleu-ciel);
    stroke: var(--white);
    stroke-width: 1.5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carte path:hover {
    fill: var(--rouge);
    stroke: var(--white);
    stroke-width: 2.5;
    box-shadow: 0 0 5px rgb(255, 255, 255);
}

#texte-carte {
    width: 200px;
    height: 250px;
    background-color: rgb(255, 255, 255);
    border: 3px solid var(--bleu-fonce);
    color: var(--bleu-fonce);
    border-radius: 30px;
    justify-content: center;
    text-align: center;
    padding: 10px;
    font-size: 17px;
    position: fixed;
    left: 1em;
    top: 20em;
    font-family: var(--font-family-fredoka);
}

#texte-carte img {
    width: 70px;
    height: 70px;
}

.popup {
    display: none;
    position: fixed;
    inset: 0;
    align-items: center;
    justify-content: center;
}

.popup:target {
    display: flex;
}

.popup-content {
    border: 3px solid black;
    background: var(--white);
    color: black;
    padding: 30px;
    border-radius: 10px;
    width: 300px;
}

.close {
    display: inline-block;
    margin-top: 20px;
    background: #222;
    color: var(--white);
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
}

.close:hover {
    background: #444;
}

/* ======== présentation des USA ========*/

.usa-presentation {
    display: flex;
    width: 90%;
    height: 750px;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

#usa-title,
#article-title,
#discover-title {
    filter: var(--drop-shadow-0-25);
    background-color: var(--white);
    height: 120px;
    width: 60vw;
    border-radius: 10px;
    text-align: center;
}

#usa-title h1,
#article-title h1,
#discover-title h1 {
    font-size: 55px;
    color: var(--bleu-fonce);
    margin: 0;
    font-family: 'NATS';
}

#usa-all-presentation {
    display: flex;
    padding: 50px;
    width: 100%;
    justify-content: space-between;
    font-family: var(--font-family-fredoka);
}

#usa-presentation {
    filter: var(--drop-shadow-0-25);
    display: flex;
    background-color: var(--white);
    width: 50%;
    height: 400px;
    border-radius: 10px;
    padding: 30px;
    margin-left: 40px;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

#right-presentation-cate {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    width: 50px;
    width: 40%;
}

#presentation-usa-tout {
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.right-presentation {
    filter: var(--drop-shadow-0-25);
    height: 30%;
    width: 90%;
    justify-content: center;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 10px;
}

.right-presentation h3 {
    margin: 30px;
}


/* ======== articles récents ========*/

.article-recent {
    width: 90vw;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    height: 680px;
}

.article {
    filter: var(--drop-shadow-0-25);
    background-color: var(--white);
    height: 120px;
    width: 80%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    transition: 0.5s;
}

.article a {
    text-decoration: none;
    color: var(--bleu-deep);
    width: 100%;
    align-items: center;
    display: flex;
    align-items: center;
}

.article:hover {
    transform: translateY(-10px);
    filter: var(--drop-shadow-0-5);
}

.article img {
    width: 170px;
    height: 80px;
    border-radius: 10px;
    margin-left: 20px;
}

.article div {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-family: var(--font-family-fredoka);
    padding-left: 20px;
    width: 70%;
}

.article div h1 {
    font-size: 26px;
    font-weight: 600;
    margin: 0;
}

.article div h2 {
    font-size: 24px;
    font-weight: 300;
    margin: 0;
}

.article div h3 {
    font-weight: 100;
    font-size: 22px;
    margin: 0;
}

.article-button {
    float: right;
    color: white;
    background-color: var(--bleu-fonce);
    border-radius: 20px;
    width: 100px;
    height: 40px;
    font-size: larger;
    border: 1px solid black;
    transition: 0.5s;
}

.article-button:hover {
    background-color: white;
    color: var(--bleu-fonce);
}


/* ======== découvrir ========*/

#discover-description {
    filter: var(--drop-shadow-0-25);
    background-color: var(--white);
    margin: 30px;
    height: 120px;
    width: 80%;
    border-radius: 10px;
    padding: 20px;
}

#discover-cate {
    display: flex;
    justify-content: space-between;
    width: 90%;
}

#discover {
    width: 100%;
    height: 700px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: space-around;
    flex-direction: column;
    font-family: var(--font-family-fredoka);
    color: var(--bleu-fonce);
    padding: 20px 0 20px 0;
}

.discover img {
    width: 100%;
    height: 250px;
    border-radius: 10px 10px 0 0;
    margin-bottom: -30px;
    object-fit: cover;
    transition: all 0.5s;
}

.discover {
    width: 30%;
    background-color: var(--white);
    height: 320px;
    border-radius: 10px;
    font-family: var(--font-family-nats);
    filter: var(--drop-shadow-0-25);
    transition: all 0.5s;
    overflow: hidden;
}

.discover:hover {
    transform: translateY(-10px);
    filter: var(--drop-shadow-0-5);
}

.discover:hover img {
    transform: scale(1.05) translateY(-5px);
}

.discover a {
    text-decoration: none;
    color: var(--bleu-fonce);
}

/* ======== PAGE OEUVRE ========*/

.main-oeuvres header {
    background-color: var(--bleu);
    height: 25em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding: 2% 8% 2% 8%;
    margin-top: 60px;
}

.main-oeuvres header h1 {
    color: var(--white);
    font-family: var(--font-family-bedas);
    font-size: 5em;
    letter-spacing: 0.1rem;
    font-weight: 400;
    justify-self: flex-end;
    margin-top: 0;
    margin-bottom: 0.5em;
}

.main-oeuvres header h3 {
    font-family: var(--font-family-nats);
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 50;
    margin: 0;
}

.main-oeuvres section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4em 2em;
    margin: 4% 8% 4% 8%;
}

.main-oeuvres>section>div {
    width: 35em;
    height: 100%;
    background-color: var(--white);
    border-radius: var(--border-radius-bloc);
    box-shadow: 0px 0px 10px #0000002a;
    overflow: hidden;
    transition: all;
    transition-duration: 300ms;
}

.main-oeuvres>section>div:hover {
    box-shadow: 0px 0px 10px #0000002a;
}

.main-oeuvres>section>div:hover img {
    transform: scale(1.02);
}

.main-oeuvres>section>div img {
    width: 100%;
    height: 15em;
    border-radius: var(--border-radius-bloc) var(--border-radius-bloc) 0 0;
    object-fit: cover;
    overflow: hidden;
    transition-duration: 300ms;
}

#img-american-gothic {
    object-position: 50% 30%;
}

.main-oeuvres>section>div>div p {
    width: 80%;
    text-align: left;
    font-family: var(--font-family-fredoka);
    font-weight: 100;
    margin: 0;
    font-size: 1em;
}

.main-oeuvres>section>div>div a {
    background-color: var(--bleu);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12.5em;
    height: 2em;
    margin: 1em;
    font-family: var(--font-family-fredoka);
    color: var(--white);
    text-decoration: none;
    font-size: 1.3em;
    border-radius: calc(var(--border-radius-bloc) / 2);
    border: 0;
    box-shadow: 0 0px 5px var(--bleu);
    transition: all;
    transition-duration: 300ms;
}

.main-oeuvres>section>div>div a:hover {
    background-color: var(--white);
    color: var(--bleu);
    box-shadow: 0 0px 15px var(--bleu);
}

.main-oeuvres>section>div>div h2 {
    width: 80%;
    text-align: left;
    color: var(--bleu);
    text-transform: uppercase;
    font-family: var(--font-family-nats);
    font-size: 2.5em;
    font-weight: 50;
    margin: 0.5em 0;
    padding: 0;
    position: relative;
    margin-left: 1em;
    line-height: 1em;
}

.main-oeuvres>section>div>div h2::before {
    background-color: var(--rouge-fonce);
    content: "";
    width: 10px;
    height: 110%;
    position: absolute;
    left: -0.5em;
    top: 50%;
    transform: translateY(-50%);
}

.main-oeuvres>section>div>div {
    width: 100%;
    height: 100%;
    
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: left;
    align-self: center;
    position: relative;
}

.main-oeuvres section>div:not(:first-of-type) {
    opacity: 0.5;
}

/* ======== PAGE FORREST GUMP ========*/

.main-fg {
    margin: 0;
    padding: 0;
    width: 100%;
}

.main-fg header:has(h1) {
    background-image: url(assets/images/forrest-gump/fg-cours.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 40vh;
    margin: 0;
    padding-top: 50%;
    margin-top: 60px;
}

.main-fg header:has(h1) div {
    text-align: center;
}

.main-fg header:has(h1) img {
    object-fit: cover;
}

.main-fg header:has(h1) div h1 {
    color: var(--white);
    font-family: var(--font-family-bedas);
    font-size: 80px;
    letter-spacing: 0.1rem;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.main-fg header:has(h1) div h3 {
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-family-bedas);
    font-size: 20px;
    letter-spacing: 0.05rem;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.main-fg section {
    width: 90%;
    margin: 4em auto;
    padding: 2em;
    background-color: var(--white);
    border-radius: var(--border-radius-bloc);
    box-shadow: 0px 0px 10px #0000002a;
    box-sizing: border-box;
}

.main-fg section:nth-child(2) {
    display: flex;
    align-items: flex-start;
    gap: 1em;
    flex-wrap: wrap;
}

.main-fg section:nth-child(2) div {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    flex: 1;
}

.main-fg section:nth-child(2) p {
    text-align: left;
    font-family: var(--font-family-fredoka);
    font-weight: 100;
    margin: 0;
    padding-left: 1.5em;
    margin-top: 1em;
    flex: 1;
    display: flex;
    align-items: center;
}

.main-fg section:nth-child(2) img {
    width: 30%;
    justify-self: center;
    align-self: center;
    object-fit: cover;
}

.main-fg section h2 {
    text-align: left;
    color: var(--bleu);
    text-transform: uppercase;
    font-family: var(--font-family-nats);
    font-size: 2.5em;
    font-weight: 50;
    line-height: 1em;
    margin: 0;
    padding: 0;
    position: relative;
    margin-left: 1em;
}

.main-fg section h2::before {
    background-color: var(--rouge-fonce);
    content: "";
    width: 10px;
    height: 110%;
    position: absolute;
    left: -0.5em;
    top: 50%;
    transform: translateY(-50%);
}

.main-fg section:nth-child(3) {
    background: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2em;
    width: 90%;
    margin: 4em auto;
}

.main-fg section:nth-child(3)>div:first-child {
    box-sizing: border-box;
    padding: 2em;
    flex: 1 1 30%;
    background-color: var(--white);
    border-radius: var(--border-radius-bloc);
    box-shadow: 0px 0px 10px #0000002a;
    text-align: left;
    font-family: var(--font-family-fredoka);
    font-weight: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5em;

    width: 100%;
    height: auto;
}

.main-fg section:nth-child(3)>div:first-child cite {
    color: #8C8C8C;
}

.main-fg section:nth-child(3)>div:first-child q {
    font-size: 1.1em;
}

.main-fg section:nth-child(3)>div:last-child {
    display: flex;
    flex-direction: column;
    flex: 2 1 60%;
    gap: 1em;
}

.main-fg section:nth-child(3)>div:last-child>div {
    box-sizing: border-box;
    padding: 1.5em 2em;
    width: 100%;
    background-color: var(--white);
    border-radius: var(--border-radius-bloc);
    box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 20px, inset -100px 0 140px -100px var(--bleu-ciel);
    display: flex;
    align-items: center;
    gap: 2em;
    transition: all ease 500ms;
}

.main-fg section:nth-child(3)>div:last-child>div:hover {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 20px, inset 100px 0 140px -100px var(--rouge);
}

.main-fg section:nth-child(3)>div:last-child>div:hover .hover-p {
    display: block;
}

.main-fg section:nth-child(3)>div:last-child>div:hover .base-p {
    display: none;
}

.hover-p {
    display: none;
}

.main-fg section:nth-child(3)>div:last-child>div>div {
    height: 5em;
    width: 6em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.main-fg section:nth-child(3)>div:last-child>div img {
    height: 5em;
    width: 100%;
    object-fit: contain;
    filter: saturate(0) brightness(0.8) contrast(1.5);
    transition: transform 0.3s ease;
}

.main-fg section:nth-child(3)>div:last-child>div:nth-child(2) img {
    transform: scale(1.5);
}

.main-fg section:nth-child(3)>div:last-child>div:nth-child(4) img {
    transform: scale(1.2);
}

.main-fg section:nth-child(3)>div:last-child>div p {
    margin: 0;
    text-align: left;
    flex: 1;
    font-family: var(--font-family-fredoka);
    font-weight: 100;
}

.note {
    position: relative;
    width: 17em;
    height: 17em;
    border-radius: 50%;
    background: conic-gradient(#15305B 0% 88%, transparent 88% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2em;
}

.note::before {
    content: "";
    position: absolute;
    width: 14em;
    height: 14em;
    background-color: var(--white);
    border-radius: 50%;
}

.note span {
    position: relative;
    color: #15305B;
    font-family: var(--font-family-bedas);
    font-size: 5em;
    letter-spacing: 0.1rem;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.section-mouvement p {
    text-align: left;
    font-family: var(--font-family-fredoka);
    font-weight: 100;
    margin-bottom: 2em;
    padding: 0 1.5em;
}

.mouvement-images {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    padding: 0 1.5em 1em;
}

.mouvement-images img {
    object-fit: cover;
    border-radius: var(--border-radius-bloc);
    width: 50%;
    height: auto;
    display: flex;
}

.mouvement-images img:nth-child(1) {
    flex: 2 1 70%;
}

/* LIEU & LIEU VISITE */

.section-lieux {
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 3em;
    margin-bottom: 0 !important;
}

.section-lieux header {
    background-color: var(--white);
    padding: 2em;
    border-radius: var(--border-radius-bloc);
    box-shadow: 0px 0px 10px #0000002a;
    text-align: left;
    height: 100%;
}

.section-lieux header p {
    font-family: var(--font-family-fredoka);
    font-weight: 100;

    margin: 1em 1em 0em;
}

.zigzag-container {
    position: relative;
    display: flex;

    flex-direction: column;
    width: 100%;
}

.lieu-card,
.lieu-card-visite {
    background-color: var(--white);
    padding: 2em;

    border-radius: var(--border-radius-bloc);
    box-shadow: 0px 0px 10px #0000002a;

    width: 65%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lieu-card:nth-child(n+3),
.lieu-card-visite:nth-child(n+3) {
    margin-top: -5em;
}

.cercle-pointille {
    position: absolute;
    width: 20em;
    height: 20em;

    border-radius: 50%;
    border: 1em dashed var(--bleu);

    z-index: -1;
}

.cercles-visite>.cercle-pointille {
    border: 1em dashed var(--rouge);
}

.cercle-pointille:nth-child(1) {
    top: 6em;
    left: 15em;
}

.cercle-pointille:nth-child(2) {
    top: 34em;
    right: 15em;
}

.cercle-pointille:nth-child(3) {
    top: 55em;
    left: 14em;
}

.cercle-pointille:nth-child(4) {
    top: 77em;
    right: 16em;
}

.cercle-pointille:nth-child(5) {
    top: 100em;
    left: 16em;
}

.cercle-pointille:nth-child(6) {
    top: 122em;
    right: 15em;
}

.lieu-card:nth-child(even),
.lieu-card-visite:nth-child(even) {
    margin-left: auto;
}

.lieu-card>div,
.lieu-card-visite>div {
    display: flex;
    text-align: left;

    align-items: center;

    gap: 2em;

    text-wrap: wrap;
}

.zigzag-container h4 {
    text-align: left;
    color: var(--bleu);
    text-transform: uppercase;

    font-family: var(--font-family-nats);
    font-size: 1.9em;
    font-weight: 50;

    margin: 0;
    padding: 0;

    position: relative;
    align-self: flex-start;

    margin-left: 1em;
}

.zigzag-container p {
    font-family: var(--font-family-fredoka);
    font-weight: 100;
    font-size: 1.3em;
    margin: 0;
    padding: 0.5em 1em;
}

.zigzag-container img {
    width: 35em;
    height: 18em;

    object-fit: cover;
    border-radius: calc(var(--border-radius-bloc) / 2);
}

.section-lieux {
    gap: 1em;
}

.lieu-card>div,
.lieu-card-visite>div {
    flex-direction: column;
    width: 90%;
    box-sizing: border-box;
    margin-bottom: 1em;
}

.zigzag-container img {
    width: 100%;
}

.zigzag-container h4 {
    line-height: 1em;
    margin: 1em;
}

.lieu-card,
.lieu-card-visite {
    padding: 0;
    margin: 0;
}

.cercles-lieu,
.cercles-visite {
    display: none;
}

.lieu-card-visite,
.lieu-card {
    width: 100%;
    margin-top: 1em !important;
}

/* ====== ======= */

.section-oeuvres {
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-top: 0 !important;
    display: flex;
    flex-direction: column;
}

.section-oeuvres header {
    background-color: var(--white);
    padding: 2em;
    margin: 2em 0;
    border-radius: var(--border-radius-bloc);
    box-shadow: 0px 0px 10px #0000002a;
    text-align: left;
    height: 100%;
}

.section-oeuvres header p {
    margin: 1em 1em 0em;
}

.section-oeuvres>div:first-child {
    margin: 4em auto;
    padding: 2em;
    background-color: var(--white);
    border-radius: var(--border-radius-bloc);
    box-shadow: 0px 0px 10px #0000002a;
    box-sizing: border-box;
    width: 100%;
}

.section-oeuvres>div:first-child p {
    margin: 1.5em;
}

.section-oeuvres p {
    text-align: left;
    font-family: var(--font-family-fredoka);
    font-weight: 100;
    margin-bottom: 2em;
}

.main-fg>section:last-of-type>header {
    background-color: var(--white);
    padding: 2em;
    margin: 2em 0;
    border-radius: var(--border-radius-bloc);
    box-shadow: 0px 0px 10px #0000002a;
    text-align: left;
    height: 100%;
}

.main-fg>section:last-of-type>header p {
    margin: 1em 1em 0em;
}


.oeuvres-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 2em;
    width: 100%;
    margin: 0 auto;
}

.oeuvre-card {
    width: 28%;
    background-color: var(--white);
    border-radius: var(--border-radius-bloc);
    box-shadow: 0px 0px 10px #0000002a;
    padding: 1.5em;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;

}

.oeuvre-card:nth-child(2) {
    height: 35em;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.oeuvre-card:nth-child(1),
.oeuvre-card:nth-child(3) {
    height: 30em;
    opacity: 40%;
}

.oeuvre-card h4 {
    text-align: center;
    color: var(--bleu);
    text-transform: uppercase;
    font-family: var(--font-family-nats);
    font-size: 1.3em;
    line-height: 1.2em;
    font-weight: 50;
    margin: 0 0 1em 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.5em;
}

.oeuvre-card img {
    width: 100%;
    flex: 1;
    height: 0;
    object-fit: contain;
}

.fleche-oeuvre {
    position: absolute;
    width: 5em;
    height: 5em;
    background-color: var(--bleu);
    border-radius: 50%;
    box-shadow: 0px 0px 10px #0000002a;
    z-index: 10;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.fleche-oeuvre::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1em;
    height: 1em;
    border-left: 5px solid var(--white);
    border-top: 5px solid var(--white);
    border-top-left-radius: 10%;
}

.oeuvre-card:nth-child(1) .fleche-oeuvre {
    opacity: 1 !important;
    pointer-events: auto;
}

.oeuvre-card:nth-child(1) .fleche-oeuvre::before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.oeuvre-card:nth-child(2) .fleche-oeuvre {
    opacity: 0 !important;
    pointer-events: none;
}

.oeuvre-card:nth-child(3) .fleche-oeuvre {
    opacity: 1 !important;
    pointer-events: auto;
}

.oeuvre-card:nth-child(3) .fleche-oeuvre::before {
    transform: translate(-50%, -50%) rotate(135deg);
}

.fleche-oeuvre:hover {
    background-color: var(--bleu-ciel);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
    transform: translate(-50%, -50%) scale(1.1);
}

.main-fg>section:last-of-type {
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 8em !important;
}

.main-fg>section:last-of-type div:nth-child(1) {
    margin: 4em auto;
    padding: 2em;
    background-color: var(--white);
    border-radius: var(--border-radius-bloc);
    box-shadow: 0px 0px 10px #0000002a;
    box-sizing: border-box;
}

.main-fg>section:last-of-type p {
    text-align: left;
    font-family: var(--font-family-fredoka);
    font-weight: 100;
    margin-bottom: 2em;
    margin: 1.5em;
}

.main-fg>section:last-of-type div:nth-child(2) {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(35em, 1fr));
    gap: 1.5em;
}

.main-fg>section:last-of-type div:nth-child(2) img {
    width: 100%;
    height: 25em;
    object-fit: cover;
    border-radius: calc(var(--border-radius-bloc) / 2);
    box-shadow: 0px 0px 10px #0000002a;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.main-fg>section:last-of-type div:nth-child(2) img:hover {
    filter: brightness(1.1);
    transform: scale(1.01);
    box-shadow: 0px 0px 10px #0000002a;
}



/* ======== PAGE LIEUX ========*/

#lieux-page header h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "BEBAS", sans-serif;
    font-size: 120px;
    color: var(--bg-color-article);
    text-shadow: 2px 5px 40px var(--bleu-fonce);
    height: 100vh;
    width: 100vw;
    margin: auto;
    background-image: url("assets/images/lieux/header-background.jpg");
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.2);
}

#lieux-page header {
    height: auto;
    margin-bottom: 50px;
}

#lieu section {
    display: flex;
    flex-direction: column;
    width: 50%;
}

#lieux-page main h2 {
    font-family: "BEBAS", sans-serif;
    font-size: 36px;
    color: var(--bleu-fonce);
    margin-bottom: 20px;
    border-bottom: 5px solid var(--bleu-fonce);
    padding-bottom: 10px;
}

#lieux-list article {
    margin-bottom: 60px;
    height: auto;
    position: relative;
}

#yellowstone p,
#lieux-list article p {
    font-family: "FREDOKA", sans-serif;
    font-size: 1.2em;
    color: var(--bleu-deep);
    line-height: 1.6;
}

#container-image-aside {
    height: 30vw;
    width: 100%;
    margin-bottom: 20px;
    transition: all 0.5s ease-in-out;
}

#container-image-aside:hover {
    margin: 5% 0 5% 0;
}

#container-image-aside img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 15px #0000001a;
    transition: all 0.7s ease-in-out;
}

#container-image-aside:hover img {
    transform: scale(1.1);
}

#lieux-list aside {
    padding: 1%;
    width: 30%;
    font-family: "fredoka", cursive;
    color: var(--bleu-fonce);
    background-color: var(--bg-color-article);
    border-radius: 10px;
    box-shadow: 0px 0px 10px #0000001a;
    position: absolute;
    top: 10%;
    right: -40%;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: all 1.1s ease-in-out;
}

#container-image-aside:hover aside {
    opacity: 1;
    transform: translateX(-120%);
    visibility: visible;
}

#button {
    font-family: "BEBAS", sans-serif;
    font-size: 20px;
    color: #ffffff;
    background-color: var(--bleu);
    width: fit-content;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px #0000002a;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

#button:hover {
    background-color: var(--bleu-deep);
    box-shadow: 0px 0px 15px #0000003a;
    transform: translateY(-2px);
}

#conseils-pratiques div {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5em;
}

#conseils-pratiques h3 {
    font-family: "FREDOKA", cursive;
    font-size: 25px;
    color: var(--bleu-deep);
}

#conseils-pratiques button {
    display: flex;
    width: 100%;
    height: 40em;
    position: relative;
    border: none;
    flex-basis: 20%;
    transition: all 0.8s ease-in-out;
    justify-content: center;
}

#conseils-pratiques button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 0px 15px #0000001a;
}

#conseils-pratiques button h3 {
    font-family: "fredoka", cursive;
    font-size: 15px;
    padding: 3px;
    background-color: var(--bg-color-article);
    border-radius: 10px;
    color: var(--bleu-fonce);
    position: absolute;
    bottom: 0px;
}

#conseils-pratiques button aside {
    font-family: "fredoka", cursive;
    position: absolute;
    width: 80%;
    font-size: 1em;
    background-color: var(--bg-color-article);
    border-radius: 10px;
    color: var(--bleu-fonce);
    padding: 10px;
    box-shadow: 0px 0px 10px #0000001a;
    transition: all 0.8s ease-in-out;
    opacity: 0;
    visibility: hidden;

}

#conseils-pratiques button:hover {
    cursor: pointer;
}

#conseils-pratiques button:focus {
    flex-basis: 40%;
}

#conseils-pratiques button:focus aside {
    visibility: visible;
    opacity: 1;
    top: 10%;
}

#galerie-images {
    margin-bottom: 50px;
    padding: 0 20px;
    overflow: hidden;
}

#galerie-images article {
    width: 100%;
}

#galerie-images img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* ======== PAGE YELLOWSTONE ========*/

#yellowstone-page header h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "BEBAS", sans-serif;
    font-size: 120px;
    color: var(--bg-color-article);
    text-shadow: 2px 5px 40px var(--bleu-fonce);
    height: 100vh;
    margin: 0;
    background-image: url("assets/images/lieux/yellowstone-national-park.jpg");
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.2);
}

#yellowstone header {
    height: auto;
    margin-bottom: 50px;
}

#yellowstone section {
    width: 55%;
}

#yellowstone p {
    font-family: "FREDOKA", sans-serif;
    font-size: 1.2em;
    color: var(--bleu-deep);
    line-height: 1.6;
}

#yellowstone li {
    font-family: "FREDOKA", sans-serif;
    font-size: 0.9em;
    color: var(--bleu-deep);
    line-height: 1.6;
}

#yellowstone h2 {
    font-family: "BEBAS", sans-serif;
    font-size: 40px;
    color: var(--bleu-fonce);
    border-bottom: 5px solid var(--bleu-fonce);
    padding-bottom: 20px;
    margin-bottom: 20px;
    margin-bottom: 50px;
}

#yellowstone h3 {
    font-family: "BEBAS", sans-serif;
    font-size: 32px;
    color: var(--bleu-deep);
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--bleu-fonce);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

#frise-chronologique {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    height: 100%;
    width: 100%;
}

#frise-section1,
#frise-section2 {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 60em;
}

#frise-section2 {
    margin-top: 12em;
}

#frise-chronologique article {
    width: 100%;
    height: auto;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    margin-bottom: 12em;
}

#frise-section1 article {
    justify-content: flex-end;
}

#frise-chronologique article h2 {
    font-family: "BEBAS", sans-serif;
    font-size: 2.6em;
    color: var(--rouge-deep);
    top: -50px;
    margin: 10px;
    border: none;
    padding: 0;
}

#frise-chronologique article p {
    width: 50%;
    font-family: var(--font-family-fredoka);
    line-height: 1.6;
    padding: 5px;
    margin: 0;
    color: var(--bleu-fonce);
    overflow: auto;
    background-color: var(--bg-color-article);
    border-radius: var(--border-radius-bloc);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

#barre {
    height: 96em;
    border: 4px solid var(--bleu-fonce);
    border-radius: 10px;
    margin: 0 20px;
}

.point {
    width: 20px;
    height: 20px;
    background-color: var(--bg-color-article);
    border: 3px solid var(--bleu-fonce);
    border-radius: 50%;
    position: absolute;
}

#frise-section1 article .point {
    right: -37px;
}

#frise-section2 article .point {
    left: -37px;
}

#biodiversite article {
    height: 100%;
    margin-bottom: 20px;
    padding: 10px;
}

#biodiversite img {
    height: 40em;
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-bloc);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.9s ease-in-out;
}

strong {
    font-weight: bold;
    color: var(--bleu);
    /* Une couleur bleu foncé pour mettre en valeur */
    font-style: italic;
    /* Optionnel, pour souligner davantage */
}

#carrousel {
    width: 100%;
    margin-top: 20px;
}

#carousel-image {
    display: grid;
    grid-template-columns: repeat(4, 100%);
    border-radius: var(--border-radius-bloc);
    height: 600px;
    width: 100%;
    margin-bottom: 20px;
    background: var(--ta-couleur-de-fond, #eef);
    border: var(--bleu-deep) 4px solid;
    overflow: hidden;

}

#carousel-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    animation: slide 20s infinite;


}

@keyframes slide {
    0% {
        transform: translateX(0%);
    }

    20% {
        transform: translateX(0%);
    }

    25% {
        transform: translateX(-100%);
    }

    45% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(-200%);
    }

    70% {
        transform: translateX(-200%);
    }

    75% {
        transform: translateX(-300%);
    }

    95% {
        transform: translateX(-300%);
    }

    100% {
        transform: translateX(0%);
    }
}

#mapid {
    position: relative;
    height: 800px;
    overflow: hidden;
}

#mapid aside {
    position: absolute;
    padding: 5%;
    width: 20%;
    height: 100%;
    background-color: var(--bleu-deep);
    z-index: 1;
    color: var(--bg-color-article);
    font-family: var(--font-family-fredoka);
    overflow-y: scroll;
    scrollbar-color: var(--bg-color-article) var(--bleu-deep);
    scrollbar-width: thin;
    border-radius: 10px;
}

#mapid aside h3 {
    text-align: center;
    font-family: var(--font-family-fredoka);
    font-size: 28px;
    color: var(--bg-color-article);
    border: none;
}

#mapid aside details {
    border: 1px solid var(--bg-color-article);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
}

#mapid aside details[open] {
    background-color: var(--bleu-fonce);
}

#mapid aside strong {
    color: #70a2ff;
}

#mapid img {
    height: 100%;
    width: 100%;
    margin-left: 10%;
    object-fit: cover;
    border-radius: 10px;

}

#mapid li {
    color: var(--bg-color-article);
}

#activite div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5%;
}

#activite article {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: var(--bleu-deep);
    height: 45em;
    width: 45%;
    border-radius: var(--border-radius-bloc);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.7s ease-in-out;
    position: relative;
    margin-bottom: 5%;
}

#activite p {
    font-family: "FREDOKA", sans-serif;
    color: var(--bg-color-article);
    position: absolute;
    bottom: 10px;
    left: 5%;
    width: 90%;
    opacity: 0;
    transition: all 0.9s ease-in-out;
}

#activite img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-bloc);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.9s ease-in-out;

}

#activite article:hover img {
    transform: scale(1.05);
    filter: opacity(40%);
}

#activite article:hover p {
    opacity: 1;
}

#avis-container article {
    background-color: var(--bg-color-article);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-bloc);
}

#conseils-pratiques {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

#conseils-pratiques article {
    width: 50%;
    flex: 1;
    flex-basis: 45%;
    background-color: var(--bg-color-article);
    padding: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-bloc);
}

/* ===== RESPONSIF =====*/

@media screen and (min-width: 1525px) and (max-width: 1920px) {

    .section-lieux {
        gap: 3em;
    }

    .lieu-card>div,
    .lieu-card-visite>div {
        flex-direction: row;
        width: 100%;
        box-sizing: content-box;
        margin-bottom: 0;
    }

    .zigzag-container img {
        width: 35em;
    }

    .zigzag-container h4 {
        line-height: normal;
        margin: 0.5em;
    }

    .lieu-card,
    .lieu-card-visite {
        padding: 2em;
        width: 65%;
        display: block !important;
    }

    .cercles-lieu,
    .cercles-visite {
        display: block;
    }


    .lieu-card:nth-child(n+3),
    .lieu-card-visite:nth-child(n+3) {
        margin-top: -5em !important;
    }


}

@media screen and (min-width: 1921px) {

    .zigzag-container img {
        height: 45em;
    }

    .zigzag-container h4 {
        margin: 2em 2em 0 2em;
        align-self: center;
    }

    .lieu-card>div,
    .lieu-card-visite>div {
        flex-direction: column-reverse;
        margin: 2em;
    }
}

@media screen and (max-width: 1420px) {

    /* ACCUEIL */
    #fullscreen_las-vegas h1 {
        font-size: 80px;
        width: 350px;
    }

    #usa-title h1,
    #article-title h1,
    #discover-title h1 {
        font-size: 30px;
    }

    #usa-title h1 {
        margin-bottom: 50px;
    }

    #usa-presentation {
        font-size: 10px;
        width: auto;
        height: 200px;
        margin: 0;
        justify-content: space-between;
    }

    .usa-presentation {
        height: auto;
    }

    .right-presentation {
        font-size: 10px;
        height: 90%;
        width: 32%;
    }

    #right-presentation-cate {
        width: 100%;
        height: 50px;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }

    #usa-all-presentation {
        justify-content: space-around;
        padding: 10px 0;
        flex-wrap: wrap;
    }

    .right-presentation h3 {
        margin: 10px;
    }

    .article {
        width: 90%;
    }

    #article-title,
    #discover-title {
        height: 60px;
    }

    .article div h1 {
        font-size: 15px;
    }

    .article div h2 {
        display: none;
    }

    .article div h3 {
        font-size: 12px;
    }

    .article-button {
        display: none;
    }

    .discover {
        width: 100%;
        margin-bottom: 20px;
        height: 30%;
    }

    #discover {
        height: 1300px;
    }

    #discover-description {
        font-size: 10px;
        height: 18%;
    }

    #discover-cate {
        flex-wrap: wrap;
        width: 80%;
    }

    /* MLK */
    #mlk section:nth-of-type(3) div>div {
        width: 40%;
    }

    #mlk section:nth-of-type(3) div>div>img {
        width: 100%;
    }

    /*Page Lieux*/

    #lieux-page header h1 {
        font-size: 80px;
    }

    #lieu section {
        width: 70%;
    }

    #container-image-aside {
        height: 60em;
    }

    #container-image-aside asidyellowstone lie {
        display: none;
    }

    #conseils-pratiques div button aside p {
        font-size: 0.8em;
    }

    #conseils-pratiques div {
        display: block;
    }

    #conseils-pratiques div button aside p {
        font-size: 0.8em;
    }

    #conseils-pratiques div {
        display: block;
    }

    #conseils-pratiques div button {
        height: 20em;
        margin-bottom: 20px;
    }

    #lieux-list article p {
        font-size: 1em;
    }

    #conseils-pratiques div butyellowstone liton {
        height: 20em;
        margin-bottom: 20px;
    }

    #container-image-aside {
        height: 15em;
    }

    #lieux-list article p {
        font-size: 1em;
    }

    /*Page Yellowstone */
    #yellowstone section {
        width: 70%;
    }

    #yellowstone header h1 {
        font-size: 90px;
    }

    #frise-chronologique {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #frise-section1 article p,
    #frise-section2 article p {
        width: 100%;
    }


    #frise-section2 article {
        margin: 20px 0;
        height: auto;
        width: 100%;
        flex-direction: column;
    }

    #frise-section1 article {
        margin: 20px 0;
        height: auto;
        width: 100%;
        flex-direction: column-reverse;
    }

    #frise-section2 {
        margin: 0;
    }


    .point {
        display: none;
    }

    #barre {
        display: none;
    }

    #activite article {
        width: 95%;
        height: 60vh;
    }

    #biodiversite img {
        height: auto;
    }

    #mapid aside {
        position: relative;
        height: 30%;
        width: 90%;
    }

    #mapid img {
        margin: 0;
    }

    #mapid {
        height: 1000px;
    }

    #mapid aside {
        position: relative;
        height: 40%;
        width: 90%;
    }

    #mapid img {
        height: 400px;
    }

    #yellowstone li {
        font-size: 0.8em;
    }
}

@media screen and (max-width: 1200px) {

    /*photo du film*/
    #mlk section:nth-of-type(2) .film>div img:first-of-type {
        display: none;
    }

    #mlk section:nth-of-type(2) .film div img:nth-of-type(2) {
        margin-left: 0;

    }
}

@media screen and (min-width: 1300px) {
    #personnages>section {
        width: 100%;
    }
}

@media screen and (max-width: 1050px) {

    /*livres*/
    #mlk section:nth-of-type(2) .livres>div {
        flex-direction: column;
        align-items: center
    }

    #mlk section:nth-of-type(2) .livres>div>div:first-of-type {
        margin-right: 0;
    }

    #mlk section:nth-of-type(2) .livres>div>div:nth-of-type(2) {
        margin-left: 0;
    }

    #mlk section:nth-of-type(2) .livres>div>div {
        width: auto;
        margin-bottom: 20px;
    }

    /* header */
    #mlk header blockquote {
        left: 0;
        width: auto;
    }

    /* acceuil */
    #carte {
        display: none;
    }

    .carte {
        display: none;
    }
    
    #discover h1 {
        margin-top: 10px;
    }

    #usa-title h1,
    #article-title h1,
    #discover-title h1 {
        font-size: 40px;
        margin-top: -10px;
    }

    #usa-title h1 {
        margin-bottom: 50px;
    }

    #usa-presentation {
        font-size: 10px;
    }

    .article-button {
        display: none;
    }

    .article div h1 {
        font-size: 21px;
    }

    .article div h2 {
        font-size: 19px;
    }

    .article div h3 {
        font-size: 17px;
    }

    #discover-description {
        font-size: 15px;
        height: 18%;
        margin-bottom: 10px;
    }

    #discover-cate {
        height: 1000px;
    }
}

@media screen and (max-width: 970px) {
    .nav-left {
        margin-left: 0;
    }

    .burger {
        display: block;
        margin-left: auto;
        margin-right: 30px;
        margin-top: 8px;
    }

    .nav-right {
        display: none;
        flex-direction: column;
        width: 100%;
        border-top: 2px solid #BF0606;

    }


    #menu-toggle:checked~.nav-right {
        display: flex;
        max-height: 500px;
        /* assez grand pour contenir le menu */
        opacity: 1;
        transform: translateY(0);
        background-color: var(--white);

        padding: 0;
    }

    .nav-right li {
        text-align: center;
        padding: 20px;
        width: 100%;
        border-bottom: #dbdbdb 1px solid;
        margin: 0;
        transition: all 0.3s ease;
    }

    .navbar {
        flex-direction: column;
    }

    .has-submenu:hover>.submenu {
        display: none;
    }

    .nav-right img {
        display: none;
    }

    #menu-toggle:checked~.nav-top .burger svg {
        transform: rotate(90deg);
    }

    .nav-right li:hover {
        background: #f5f5f5;
    }
}

@media screen and (max-width: 900px) {

    /* traveau */
    .travaux>div>main {

        width: auto;
    }

    .travaux>div>div {
        width: 80%;
    }

    .link-card-travaux {
        flex-wrap: wrap;
        justify-content: center;
    }

    .link-card-travaux div {
        width: 40%;
        min-width: 220px;
    }

    .link-card-travaux div {
        margin: 20px;
    }

    /* MLK */
    #mlk section:first-of-type figure {
        margin-right: 15px;
        width: 100px;
        font-size: small;
    }

    #mlk section:first-of-type figure img:hover {
        transform: scale(1.9);
    }

    #mlk header h1 {
        font-size: 2.5em;
        margin-top: 2em;
    }

    #mlk header ul li {
        font-size: 1.2em;
    }

    /* Forrest Gump */

    .oeuvre-card {
        width: 100%;
        opacity: 100% !important;
        box-shadow: 0px 0px 10px #0000002a !important;
    }

    .main-fg>section:last-of-type div:nth-child(2) img {
        width: 100%;
        ;
        height: 12em;
    }

    .fleche-oeuvre {
        display: none;
    }

    .oeuvres-grid {
        flex-direction: column;
    }

    /*page lieu*/
    #lieux-page header h1 {
        font-size: 70px;
    }
}

@media screen and (max-width: 800px) {
    #mlk section:nth-of-type(3) div>div {
        width: auto;
    }

    #mlk p,
    #mlk header ul {
        font-size: 1.1em !important;
    }

    #mlk h2 {
        font-size: 1.6em;
    }

    /*popup*/
    .popup-credit {
        padding: 7px 7px 7px 7px;
    }

    .top-button {
        transform: scale(0.8);
        right: 10px;
    }

    /* FG */
    .main-fg>section:last-of-type div:nth-child(2) {
        grid-template-columns: repeat(auto-fill, minmax(30em, 1fr));
        /*fix d'un bug*/
    }

    /* Yellowstone */
    #yellowstone header h1 {
        font-size: 60px;
    }

    #container-image-aside {
        height: 40em;
    }

    /* Page lieux */
    #lieux-page header h1 {
        font-size: 60px;
    }
}

@media (max-width: 767px) {
    #fullscreen_las-vegas h1 {
        font-size: 80px;
        width: 350px;
    }

    #usa-title h1,
    #article-title h1,
    #discover-title h1 {
        font-size: 30px;
        margin-top: 0px;
    }

    #usa-title h1 {
        margin-bottom: 50px;
    }

    #usa-presentation {
        font-size: 10px;
        width: auto;
        height: 200px;
        margin: 0;
        justify-content: space-between;
    }

    #discover-description {
        font-size: 15px;
        height: 18%;
        margin-bottom: 10px;
    }

    .usa-presentation {
        height: auto;
    }

    .right-presentation {
        font-size: 10px;
        height: 90%;
        width: 32%;
    }

    #right-presentation-cate {
        width: 100%;
        height: 120px;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }

    #usa-all-presentation {
        justify-content: space-around;
        padding: 10px 0;
        flex-wrap: wrap;
    }

    .right-presentation h3 {
        margin: 10px;
    }

    #carte {
        display: none;
    }

    .carte {
        display: none;
    }

    .article {
        width: 95%;
    }

    .article-recent {
        margin: 0;
        width: 100%;
    }

    #article-title,
    #discover-title {
        height: 60px;
    }

    .article div h1 {
        font-size: 16px;
    }

    .article div h2 {
        display: none;
    }

    .article div h3 {
        font-size: 13px;
    }

    .article-button {
        display: none;
    }

    .discover {
        width: 100%;
        margin-bottom: 20px;
        height: 30%;
    }

    #discover {
        height: 1400px;
    }

    #discover-description {
        font-size: 12.5px;
        height: 15%;
        margin-bottom: 10px;
    }

    #discover-cate {
        flex-wrap: wrap;
        width: 80%;
    }

}

@media screen and (max-width: 660px) {

    /* MLK */
    #mlk section:nth-of-type(3) div>div>img {
        height: auto;
    }

    #mlk section:nth-of-type(3) div {
        padding: 0;
    }

    #personnages>section div {
        height: auto;

    }

    /* NAV */
    header nav {
        font-size: 1.5em;
    }

    /*CGU*/
    #cgu-and-pdc {
        width: 100%;
        margin: 0;
    }

    #cgu-and-pdc>div {
        margin-bottom: 0;
        border-radius: 0;
    }

    footer>div:first-child h1 {
        font-size: 1.5em;
    }

    footer>div:first-child>div section h2 {
        font-size: 1.2em;
    }

    footer p,
    footer a {
        font-size: 1em;
    }

    /* Yellowstone */
    #yellowstone header h1 {
        font-size: 40px;
    }

    #container-image-aside {
        height: 30em;
    }

    /* Page lieux */
    #lieux-page header h1 {
        font-size: 40px;
    }

    #lieux-list aside{
        display: none;
    }
}

@media screen and (max-width: 550px) {
    #discover-description {
        font-size: 11px;
        height: 28%;
    }

    /* PERSONNAGES */
    #personnages header {
        height: auto;
    }

    #personnages header h1 {
        margin-bottom: 0;
    }

    /* MLK */
    #mlk header {
        background-position-x: 80%
    }

    #mlk header h1 {
        font-size: 2em;
    }

    #mlk header blockquote {
        display: none;
    }

    #mlk header ul {
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 0;
    }

    #mlk header ul li {
        line-height: 1.2em;
    }

    /* film et livres*/
    #mlk section:nth-of-type(2) .livres>div>div:first-of-type,
    #mlk section:nth-of-type(2) .livres>div>div:nth-of-type(2),
    #mlk section:nth-of-type(2) .film>div>div {
        display: flex;
        flex-direction: column;
    }

    #mlk section:nth-of-type(2)>article:nth-of-type(2) p {
        margin-top: 1em;
    }

    #mlk section:nth-of-type(2) .livres>div>div:nth-of-type(2) {
        margin-bottom: 0;
    }

    #mlk section:nth-of-type(2) .livres>div>div:first-of-type {
        margin-bottom: 20px;
    }

    #mlk section:nth-of-type(2) img {
        margin-right: 0;
    }

    /*galerie */
    #mlk aside:first-of-type div {
        display: block;
    }

    #mlk aside:first-of-type figure {
        margin-bottom: 20px;
    }

    #mlk aside:first-of-type figcaption {
        font-size: 0.9em;
    }

    #mlk aside:first-of-type div img {
        height: 10em;
        width: 100%;
    }

    /* POPUP */
    .popup-credit {
        padding: 5px 5px 5px 5px;
    }

    /* OEUVRES */
    .main-oeuvres header h3 {
        display: none;
    }


    /* FORREST GUMP */
    .main-fg section {
        margin: 2em auto !important;
    }

    .main-fg section h2 {
        font-size: 2em;
    }

    .main-fg section:nth-child(2) p {
        padding-left: 0;
    }

    .main-fg header:has(h1) div h3 {
        display: none;
    }


    .main-fg section:nth-child(2) img {
        width: 100%;
    }

    .main-fg section:nth-child(3)>div:first-child cite:last-child,
    .main-fg section:nth-child(3)>div:first-child q,
    .main-fg section:nth-child(3)>div:first-child br {
        display: none;
    }

    .note {
        width: 20em;
        height: 20em;
    }

    .note span {
        font-size: 7em;
    }

    .note::before {
        width: 16em;
        height: 16em;
    }

    .main-fg section:nth-child(3)>div:last-child>div {
        flex-direction: column;
    }

    .main-fg section:nth-child(3)>div:last-child>div img {
        height: 10em;
    }

    .main-fg section:nth-child(3)>div:last-child>div>div {
        height: 10em;
        width: 12em;
    }

    .main-fg section:nth-child(3)>div:last-child>div p {
        text-align: center;
    }

    .main-fg section:nth-child(3)>div:last-child>div:hover {
        flex-direction: column-reverse;
    }

    .section-lieux {
        gap: 1em;
    }

    .lieu-card>div,
    .lieu-card-visite>div {
        flex-direction: column;
        width: 90%;
        box-sizing: border-box;
        margin-bottom: 1em;
    }

    .zigzag-container img {
        width: 100%;
    }

    .zigzag-container h4 {
        line-height: 1em;
        margin: 1em;
    }

    .lieu-card,
    .lieu-card-visite {
        padding: 0;
        margin: 0;
    }

    .mouvement-images img:nth-child(2) {
        display: none;
    }

    .mouvement-images img:nth-child(1) {
        height: 15em;
    }

    .cercles-lieu,
    .cercles-visite {
        display: none;
    }


    .section-lieux header p,
    .section-oeuvres>div:first-child p,
    .main-fg>section:last-of-type p {
        margin-bottom: 0.5em;
    }

    .section-oeuvres>div:first-child,
    .main-fg>section:last-of-type div:nth-child(1) {
        margin: 0 0 2em 0;
    }

    .main-fg>section:last-of-type {
        margin-bottom: 4em !important;
    }

    .section-lieux header p,
    .section-oeuvres>div:first-child p,
    .main-fg>section:last-of-type p {
        margin-bottom: 0.5em;
    }

    .main-fg>section:last-of-type div:nth-child(2) {
        display: block;
    }

}

@media screen and (max-width: 400px) {

    /* FOOTER */
    footer>div:first-child>div {
        flex-direction: column;
    }

    footer>div:first-child>div section {
        width: auto;
    }

    footer>div:first-child>div section:nth-child(2) {
        border-right: none;
        border-left: none;
        border-top: 3px solid white;
        border-bottom: 3px solid white;
    }

    /* PERSONNAGES */
    #personnages>section div img {
        height: auto;
    }

    #personnages>section div a {
        width: auto;
        align-self: auto;
        margin-top: inherit;
    }

    #personnages header h1 {
        font-size: 2.5em;
    }

    #personnages header p {
        font-size: 1.2em;
    }

    /* MLK */

    #mlk p,
    #mlk header ul {
        font-size: 1em !important;
    }

    #mlk h2 {
        font-size: 1.5em;
    }

    #mlk section,
    #mlk aside {
        width: auto;
        margin: 25px 15px 15px 15px;
    }

    #mlk aside {
        padding: 0;
    }

    /*film et livres*/
    #mlk section:nth-of-type(2) .livres>div>div {
        margin-bottom: 20px;
    }

    #mlk section:nth-of-type(2) .film div {
        display: flex;
        flex-direction: column;
    }

    #mlk section:nth-of-type(2) .film div img:nth-of-type(2) {
        margin: 0;
        align-self: center;
    }

    /*activité */
    #mlk section:nth-of-type(3) div>div {
        margin: 10px auto 10px auto;
    }

    /* Page Oeuvres */

    .main-oeuvres header h1 {
        font-size: 3em;
    }

    /* Page Forrest Gump */

    /* Note */

    .note {
        width: 16em;
        height: 16em;
    }

    .note span {
        font-size: 6em;
    }

    .note::before {
        width: 13em;
        height: 13em;
    }

    .section-mouvement p {
        padding: 0;
    }

    .mouvement-images {
        padding: 0;
    }

    .section-lieux header p {
        margin: 1em 0 0;
    }

    /* travaux */
    .travaux h1 {
        font-size: 1.9em;
    }

    .travaux h2 {
        font-size: 1.2em;
    }

    .travaux>div:first-of-type svg {
        display: none;
    }

    /*page lieu*/
    #lieux-page header h1 {
        font-size: 30px;
    }

    /* Yellowstone */
    #yellowstone header h1 {
        font-size: 35px;
    }


}

@media screen and (max-width: 320px) {
    header nav {
        font-size: 1em;
    }

    .nav-left img {
        width: 50px;
        height: 50px;
    }

    /* PERSONNAGES */
    #personnages>section div {
        margin: 10px;
    }

    #personnages>section h2 {
        font-size: 1.1em;

    }

    #personnages>section p {
        font-size: 1em;
    }

    #mlk section:nth-of-type(2) .livres>div>div>img:first-of-type,
    #mlk section:nth-of-type(2) .film div img {
        height: 9em;
    }

    #mlk section:nth-of-type(2),
    #mlk section:nth-of-type(3) {
        margin-left: 0;
        margin-right: 0;
    }

    #mlk section:nth-of-type(2) h2,
    #mlk section:nth-of-type(2) h3,
    #mlk section:nth-of-type(3) h2 {
        margin-left: 15px;
        margin-right: 15px;
    }

    /* POPUP */

    .popup-warn p {
        font-size: 0.9em;
    }

    /* Page Forrest Gump */

    /* Note */

    .note {
        width: 13em;
        height: 13em;
        background: var(--white);
        margin: 0;
        padding: 0;
    }

    .note span {
        font-size: 8em;
    }

    .note::before {
        display: none;
    }

    .article-recent {
        width: 100%;
    }

    .article {
        width: 97%;
    }

    #usa-title h1,
    #article-title h1,
    #discover-title h1 {
        font-size: 26px;
    }

    /*travaux*/
    .travaux>div:first-of-type>div {
        margin-top: 6em;
        margin-bottom: 2.5em;
    }

    .travaux h1 {
        font-size: 1em;
    }

    .travaux h2 {
        font-size: 0.8em;
    }

    .travaux {
        font-size: 1em;
    }

    .link-card-travaux div {
        margin: 0;
        min-width: 100%;
    }

    .link-card-travaux div:nth-of-type(2) {
        margin-left: 0;
        margin-right: 0;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    /*CGU*/
    #cgu-and-pdc h2 {
        font-size: 1.4em;

    }

    #cgu-and-pdc p {
        font-size: 1em;
    }
}

@media screen and (max-width: 200px) {
    .nav-left img {
        display: none;
    }
}

@media (any-pointer: coarse) {

    /*
    Source - https://stackoverflow.com/
    */
    /* MLK */
    #mlk aside p {
        display: block;
        /*affiche un message seulement si écran tactile*/
    }
}