/* ============================================
   STYLESHEET — Maison des Arts de Chailland
   ============================================ */


/* --- FONTS --- */

@font-face {
    font-family: "EB Garamond";
    src: url("/EBGaramond.ttf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "ABCGinto2";
    src: url("/ABCGinto2.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}


/* --- BODY AND GLOBAL --- */

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    background-color: transparent;
    min-width: 800px;
    scrollbar-color: #f099d8 white; /* Firefox */
    scrollbar-width: thin;          /* Firefox */
    scroll-padding-top: 15vh;
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: white; }
    ::-webkit-scrollbar-thumb { background-color: #f099d8; border-radius: 6px; }
    
}

@media (min-width: 738px) {
    .header { width: 100%; }
}

a, button {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}


/* --- LAYOUT --- */

.main-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

.imagemain {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    background-image: url('main.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.everything-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-width: 800px;
    padding-top: 20vh;
}

#content-container {
    position: relative;
    width: 85%;
    margin: 0 auto;
    z-index: 100;
    pointer-events: none;
    
    
}


/* --- HEADER & NAV --- */

header {
    background-color: rgba(255, 255, 255, 0.398);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 0.75px solid #ffffffb3;
    position: fixed !important;
    top: 0; left: 0;
    width: 100%;
    min-width: fit-content;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px;
    line-height: 3%;
    box-sizing: border-box;
}

.nav {
    margin: 15px auto;
    padding: 10px;
    text-align: center;
    white-space: nowrap;
    min-width: 800px;
    overflow: scroll !important;

}

li {
    color: hsl(0, 0%, 0%);
    font-family: "garamond-premier-pro", serif;
    font-size: 22px;
    font-weight: 300;
    display: inline-block;
    width: 130px;
    min-width: 120px;
    height: 15px;
    transition: color 400ms linear, font-size 1000ms linear;
    flex-shrink: 0;
    cursor: pointer;
}

.diamand {
    font-size: 12px;
}

.blockname {
    color: #ffffff;
    font-family: "ABCGinto2", "Noto Sans";
    font-weight: 900;
    font-size: 22px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    line-height: 0.8em;
    transition: color 0.9s ease-in-out;
}

.blockname.dark {
    color: black;
}

.soustitre-head {
    font-family: "ABCGinto2","Noto Sans";
    font-size: 16px;
    margin-top: 5px;
    display: inline-block;
    min-width: 500px;
}

#nav-end {
    font-family: "ABCGinto2", "Noto Sans";
    font-weight: 900;
    position: fixed;
    bottom: 8px;
    left: 2%;
    width: auto;
    text-align: left;
    font-size: 16px;
    letter-spacing: 2px;
    z-index: 3;
    pointer-events: none;
}

/* --- FOOTER --- */

footer {
    position: fixed;
    bottom: 12px;
    left: 72%;
    font-family: "ABCGinto2", "Noto Sans";
    font-size: 16px;
    font-weight: 600;
    color: white;
    pointer-events: none;
    letter-spacing: 1px;
    z-index: 1001;
    white-space: nowrap;
}

footer.hidden {
    opacity: 0;
    visibility: hidden;
}
/* --- TYPOGRAPHY --- */

.main-p { max-width: 65%; }

.titre {
    font-family: "ABCGinto2", "Noto Sans";
    font-size: 24px;
    margin-top: 2%;
    margin-bottom: 2%;
    width: fit-content;
    padding: 5px 15px;
}

.titre.p           { background-color: #735CDD; color: white; }
.titre.pjt         { background-color: #735CDD; color: white; }
.titre.association { background-color: #37000A; color: white; }
.titre.contact     { background-color: #37000A; color: white; }
.titre.calendrier  { color: black; padding: 0 !important; text-decoration: underline; }

.texte {
    font-family: "adobe-garamond-pro";
    display: block;
    width: 85%;
    font-size: 17px;
    line-height: 1.3em;
    text-align: left;
    z-index: 100;
    color: #000;
}

.mentions {
    font-family: "adobe-garamond-pro";
    display: block;
    max-width: 65%;
    font-size: 16px;
    line-height: 1.4em;
    text-align: left;
    z-index: 100;
    color: #000;
}

.texte.main-p { font-size: 24px; 
}

.image-content.horizontal {
    object-fit: cover;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 5;
    padding-bottom: 2%;
    padding-top: 2%;
    border: none;
}

.image-content.vertical-50 {
    width: 50%;
    padding-bottom: 2%;
    border: none;
}

.texte-association { font-size: 15px; }

hr {
    display: block;
    margin-top: -5%;
    margin-bottom: -5%;
    border-style: double;
    border-width: 2px;
    border-color: #f099d8;
    width: 100%;
    
}

.liste-membres {
    text-align: left;
    font-family: "adobe-garamond-pro";
    max-width: 500px;
    line-height: 1.25em;
    color: #000;
}

.liste-titre1 {
    font-family: "ABCGinto2", "Noto Sans";
    background-color: rgba(181, 77, 207, 0.9);
    color: white;
    font-size: 17px;
    margin-top: 5%;
    margin-bottom: 5%;
    width: fit-content;
    padding: 5px 15px;
}

.liste-titre2 {
    font-family: "ABCGinto2", "Noto Sans";
    background-color: #735CDD;
    color: #ffffff;
    font-size: 17px;
    margin-top: 5%;
    margin-bottom: 5%;
    width: fit-content;
    padding: 5px 15px;
}

.membre {
    font-family: "adobe-garamond-pro";
    font-weight: 400;
    font-size: 17px;
    margin-bottom: 8px;
}

.membre-role { font-weight: 200; }

.texte-diagonal1, .texte-diagonal2 {
    font-family: "adobe-garamond-pro";
    font-size: 18px;
    margin-left: 3%;
    color: #000;
}

.texte-diagonal3 {
    font-family: "ABCGinto2", "Noto Sans";
    font-size: 18px;
    color: #000;
}

.venir-texte {
    font-family: "ABCGinto22", "Noto Sans";
    font-size: 17px;
    line-height: 0.95em;
    color: #000;
    line-height: 1.7em;

}

#contact h2.liste-titre2 {
    margin-bottom: 4vh;
}

.venir-container {
    margin-top: 2vh;
}
/* --- IMAGES --- */

.vertical {
    width: 100%;
    height: auto;
    display: block;
}

.images-side {
    display: flex;
    gap: 2px;
}

.horizontal-50 {
    width: 49%;
    height: auto;
    object-fit: cover;
    margin-right: auto;
    margin-left: auto;
}


/* --- TABS --- */

.tab-content {
    display: none;
    padding: 25px;
    animation: fadeIn 0.5s ease;
    z-index: 10;
    padding-bottom: 80px;
    margin-bottom: 80px;
    pointer-events: auto;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

#hist.tab-content,
#projet.tab-content,
#calendrier.tab-content,
#association.tab-content,
#contact.tab-content  {
    background-color: rgba(255, 255, 255, 0.903);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding-top: 8vh;



}


.tab-content-inner {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.close-tab {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 38px;
    font-family: "ABCGinto2", sans-serif;
    cursor: pointer;
    color: #000;
    line-height: 1;
    z-index: 10;
    transition: transform 0.4s ease, color 0.4s ease;
    display: inline-block;
}

.close-tab:hover {
    transform: scale(1.15);
    color: #f8a6ec;
}


/* --- COLUMNS --- */

#three-texts,
#four-texts,
.two-texts {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    padding-bottom: 2.5%;
}

.two-texts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    width: 100%;
}

.colonne-p {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0;
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
    font-family: "adobe-garamond-pro";
    color: white;
    background-color: transparent;
    border: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    box-sizing: border-box;
    
}



#four-texts .colonne-p {
    border: 0.5px solid;
    border-radius: 2px 2px 0 0;
    width:100%;
}

.scroll-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    animation: bounce 2s ease-in-out infinite;
    transition: opacity 0.4s ease;
}

.scroll-btn svg polyline {
    stroke: rgba(248, 166, 236, 0.9);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(4px); }
}

.sous-titre {
    font-family: "ABCGinto2", "Noto Sans";
    font-size: 18px;
    font-weight: 200;
    width: fit-content;
    padding: 12px 20px;
    color: rgb(0, 0, 0);
    text-align: justify;
    box-sizing: border-box;
    flex-shrink: 0;
    margin-left: -0.2px;
    margin-right: -0.2px;
    margin-top: -1px;
    border-radius: 2px !important;
}

.sous-titre2 {
    font-family: "ABCGinto2", "Noto Sans";
    font-size: 18px;
    font-weight: 200;
    width: fit-content;
    padding: 12px 20px;
    color: white;
    text-align: justify;
    box-sizing: border-box;
    flex-shrink: 0;
    margin-left: -0.2px;
    margin-right: -0.2px;
    margin-top: -1px;
    border-radius: 1px !important;
}

.sous-titre3 {
    font-family: "ABCGinto2", "Noto Sans";
    font-size: 18px;
    font-weight: 200;
    width: 100%;
    padding: 12px 20px;
    color: rgb(0, 0, 0);
    text-align: center;
    box-sizing: border-box;
    flex-shrink: 0;
    margin-left: -0.2px;
    margin-right: -0.2px;
    margin-top: -1px;
    border-radius: 1px 1px 0 0 !important;
 
}

.texte-colonne {
    
    padding-bottom:  20px;
    text-align: left;
    hyphens: none;
    -webkit-hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
    color: white;
    flex: 1;
    max-width: 82%;
}

.texte-colonne4 {padding-bottom:  20px;
    text-align: left;
    hyphens: none;
    -webkit-hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
    color: white;
    flex: 1;
    max-width: 82%;
    margin-left: 2vh;

}

.colonne-p * { color: rgb(0, 0, 0); }
.colonne-p .sous-titre3 { color: inherit; }


/* --- COLUMN BORDER + TITLE COLORS --- */

/* HIST */
#hist #three-texts .colonne-p:nth-child(1) { border-color: rgba(181, 77, 207, 0.9); }
#hist #three-texts .colonne-p:nth-child(2) { border-color: rgba(55, 0, 10, 0.9); }
#hist #three-texts .colonne-p:nth-child(3) { border-color: rgba(115, 92, 221, 0.9); }
#hist #three-texts .colonne-p:nth-child(1) .sous-titre { background-color: rgba(181, 77, 207, 0.9); }
#hist #three-texts .colonne-p:nth-child(2) .sous-titre { background-color: rgba(55, 0, 10, 0.9); }
#hist #three-texts .colonne-p:nth-child(3) .sous-titre { background-color: rgba(115, 92, 221, 0.9); }

/* PROJET */
#projet #three-texts .colonne-p:nth-child(1) { border-color: rgba(55, 0, 10, 0.9); }
#projet #three-texts .colonne-p:nth-child(2) { border-color: rgba(78, 205, 196, 0.9); }
#projet #three-texts .colonne-p:nth-child(3) { border-color: rgba(181, 77, 207, 0.9); }
#projet #three-texts .colonne-p:nth-child(1) .sous-titre { background-color: rgba(55, 0, 10, 0.9); }
#projet #three-texts .colonne-p:nth-child(2) .sous-titre { background-color: rgba(78, 205, 196, 0.9); }
#projet #three-texts .colonne-p:nth-child(3) .sous-titre { background-color: rgba(181, 77, 207, 0.9); }

/* CALENDRIER — col1 via id, col2/col3 via id */
#col1 { border-color: rgba(248, 166, 236, 0.9); }
#col1 .sous-titre { background-color: rgba(248, 166, 236, 0.9); }
#col2 { border-color: rgba(55, 0, 10, 0.9); }
#col2 .sous-titre { background-color: rgba(55, 0, 10, 0.9); }
#col3 { border-color: rgba(181, 77, 207, 0.9); }
#col3 .sous-titre { background-color: rgba(181, 77, 207, 0.9); }

/* FOUR-TEXTS (étapes) */
#four-texts .colonne-p:nth-child(1) { border-color: rgba(181, 77, 207, 0.9); }
#four-texts .colonne-p:nth-child(2) { border-color: rgba(55, 0, 10, 0.9); }
#four-texts .colonne-p:nth-child(3) { border-color: rgba(115, 92, 221, 0.9); }
#four-texts .colonne-p:nth-child(4) { border-color: rgba(78, 205, 196, 0.9); }
#four-texts .colonne-p:nth-child(1) .sous-titre3 { background-color: rgba(181, 77, 207, 0.9); }
#four-texts .colonne-p:nth-child(2) .sous-titre3 { background-color: rgba(55, 0, 10, 0.9); }
#four-texts .colonne-p:nth-child(3) .sous-titre3 { background-color: rgba(115, 92, 221, 0.9); }
#four-texts .colonne-p:nth-child(4) .sous-titre3 { background-color: rgba(78, 205, 196, 0.9); }

/* TWO-TEXTS */
.two-texts .colonne-p:nth-child(1) { border-color: #37000A; }
.two-texts .colonne-p:nth-child(2) { border-color: rgba(181, 77, 207, 0.9); }
.two-texts .colonne-p:nth-child(1) .sous-titre { background-color: #37000A; }
.two-texts .colonne-p:nth-child(2) .sous-titre { background-color: rgba(181, 77, 207, 0.9); }

/* ASSOCIATION */
#association #three-texts .colonne-p:nth-child(1) { border-color: rgba(78, 205, 196, 0.9); }
#association #three-texts .colonne-p:nth-child(2) { border-color: rgba(55, 0, 10, 0.9); }
#association #three-texts .colonne-p:nth-child(3) { border-color: rgba(181, 77, 207, 0.9); }

.date {
    font-family: "EB Garamond";
    font-weight: 550;
}


/* --- COMPONENTS --- */

.symbol-pair {
    display: inline-block;
    position: relative;
    cursor: pointer;
    font-size: 28px;
    width: 20px;
    pointer-events: auto;
    color: #ffffff;
    z-index: 5 !important;
}

.symbol-pair .original {
    display: inline-block;
    opacity: 1;
    transition: opacity 0.4s ease;
    z-index: 5 !important;
}

.symbol-pair .replacement {
    position: absolute;
    font-weight: 700;
    left: 0; top: 0;
    opacity: 0;
    color: #f981ffe2;
    transition: opacity 0.4s ease;
    z-index: 5 !important;
}

.symbol-pair:hover .replacement { opacity: 1; }


/* --- ANIMATIONS --- */

.js-fade { opacity: 0; }

.fade-in-load {
    animation: fadeIn 1.3s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* --- HOVER STATES --- */

li.hist:hover        { font-family: "ABCGinto2"; font-weight: 550; font-size: 21px; color: #dc0000; text-decoration: underline; }
li.proj:hover        { font-family: "ABCGinto2"; font-weight: 550; font-size: 21px; color: hwb(8 2% 43%); text-decoration: underline; }
li.calendrier:hover  { font-family: "ABCGinto2"; font-weight: 550; font-size: 21px; color: rgba(181, 77, 207, 1); text-decoration: underline; }
li.association:hover { font-family: "ABCGinto2"; font-weight: 550; font-size: 21px; color: hwb(8 2% 43%); text-decoration: underline; }
li.contact:hover     { font-family: "ABCGinto2"; font-weight: 550; font-size: 21px; color: #dc0000; text-decoration: underline; }

/* ============================================
   MOBILE OVERRIDES — touch devices only
   ============================================ */

@media (hover: none) and (max-width: 768px) {

    /* --- GLOBAL --- */

    body, html {
        min-width: 0 !important;
        width: 100% !important;
        overflow-x: hidden !important;
        overflow-y: scroll !important;
    }

    /* --- LOGO --- */

    #logo-main {
        width: min(600px, 90vw);
        max-width: 90vw;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    /* --- HEADER & NAV --- */

    header {
        min-width: 0 !important;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 4px 10px;
        gap: 0;
        box-sizing: border-box;
        overflow: visible;
    }

    .logogroup {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        box-sizing: border-box;
    }

    .blockname {
        display: block !important;
        font-size: clamp(18px, 4.8vw, 24px);
        line-height: 1em;
        white-space: nowrap;
        text-align: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .soustitre-head {
        font-size: clamp(12px, 2.6vw, 18px);
        width: 100%;
        max-width: 100%;
        min-width: 0 !important;
        white-space: nowrap;
        display: block;
        margin-top: 2px;
        line-height: 1.1em;
        text-align: center;
        box-sizing: border-box;
    }

    .nav {
        margin: 0 0 2px 0;
        padding: 0;
        min-width: 0 !important;
        width: 100%;
        white-space: normal;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        position: static;
    }

    li {
        font-size: clamp(13px, 3.6vw, 21px);
        line-height: 0.7em;
        width: auto;
        min-width: 0 !important;
        height: auto;
        display: inline-block;
        white-space: nowrap;
        flex-shrink: 1;
    }

    .nav > *:not(li) {
        font-size: clamp(13px, 2.4vw, 18px);
        color: #000;
        flex-shrink: 1;
        line-height: 0.7em;
    }

    li.hist:hover,
    li.proj:hover,
    li.calendrier:hover,
    li.association:hover,
    li.contact:hover {
        font-size: clamp(13px, 2.7vw, 18px);
    }

    /* --- LAYOUT --- */

    .everything-wrapper {
        min-width: 0;
    }

    #content-container {
        width: 94%;
        margin: 3%;
        min-width: 0;
    }

    /* --- TABS --- */

    .tab-content {
        padding: 14px 10px 80px 10px;
    }

    #hist.tab-content,
    #projet.tab-content,
    #calendrier.tab-content,
    #association.tab-content,
    #contact.tab-content {
        margin-top: 10vh;
    }

    .close-tab {
        font-size: 28px;
        top: 10px;
        right: 12px;
    }

    #four-texts .colonne-p {
        padding-bottom: 10px;
    }

    #four-texts .texte-colonne4 {
        padding-top: 0;
        padding-bottom: 10px;
    }

    /* --- TITLES & TEXT --- */

    .titre {
        font-size: 20px;
        margin-top: 5px;
        margin-bottom: 10px;
        padding: 4px 10px;
        margin-left: 3%;
    }

    .texte {
        font-size: 18px;
        width: 100%;
        line-height: 1.4em;
    }

    .texte.main-p {
        font-size: 22px;
        line-height: 1.35em;
        padding-top: 3%;
        padding-bottom: 15%;
        max-width: 100%;
        margin-left: 3%;
        
    }

    /* --- COLUMNS → stacked --- */

    #three-texts,
    #four-texts,
    .two-texts {
        flex-direction: column;
        display: flex;
        gap: 12px;
        padding-bottom: 16px;
        line-height: 1.5em;
    }

    .two-texts {
        grid-template-columns: 1fr;
    }

    .tab-content-inner {
        flex-direction: column;
    }

    .colonne-p {
        max-height: none;
        overflow-y: visible;
        height: fit-content !important;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
    }

    #col1 {
        max-height: none !important;
        overflow-y: visible !important;

    }

    .scroll-btn {
        display: none;
    }

    .sous-titre,
    .sous-titre2{
        font-size: 16px;
        padding: 10px 14px;
        margin-left: 3%;

    }

    .sous-titre3 {
        width: 100%;
        box-sizing: border-box;
        margin-left: 0;
        text-align: center;
    }

    .sous-titre,
    .sous-titre2 {
        font-size: 16px;
        padding: 10px 14px;}

    .texte-colonne,
    .texte-colonne4 {
        height: fit-content !important;
        padding: 10px 14px;
        max-width: 100%;
        font-size: 17px;
        line-height: 1.5em;
        margin-left: 0;
    }

    /* --- IMAGES --- */

    .image-content.horizontal, .image-content.vertical-50 {
        width: 100%;
        height: auto;
        padding-bottom: 10px;
        padding-top: 10px;
    }


    .images-side {
        flex-direction: column;
        gap: 8px;
    }

    .horizontal-50 {
        width: 100%;
        margin: 0;
        padding-bottom: 10px;
        padding-top: 10px;
    }

    /* --- DIAGONAL TEXTS --- */

    .texte-diagonal1,
    .texte-diagonal2,
    .texte-diagonal3 {
        display: inline-block;
        white-space: normal;
        font-size: 14px;
    }

    .texte-diagonal2,
    .texte-diagonal3 {
        max-width: 80%;
    }

    .texte-diagonal3 {
        line-height: 1.2em;
    }

    /* --- ASSOCIATION / MEMBRES --- */

    .liste-membres {
        max-width: 100%;
    }

    .liste-titre1,
    .liste-titre2 {
        font-size: 16px;
        padding: 8px 12px;
        margin-top: 3vh;
        margin-bottom: 3vh;
        margin-left: 3%;
    
    }

    .membre, .membre-role {
        font-size: 16px;
        line-height: 1.35em;
        margin-bottom: 2px;
        padding: 5;
        margin-left: 3%;

    }

    /* --- CONTACT / VENIR --- */

    .venir-container {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-left: 2%;
    }

    .venir-texte {
        font-size: 16px;
        line-height: 1.4em;
    }

    .venir-texte .texte-diagonal3 {
        font-size: 18px;
    }

 
    .titre.calendrier {
        margin-top: 5%;
        margin-bottom: 5%;
        margin-left:3%;
    }

    /* --- BOTTOM BAR --- */

            #four-texts .colonne-p {
            flex: none;
        }
        #four-texts .texte-colonne4 {
            flex: none;
        }

    #bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 5px 2%;
        box-sizing: border-box;
        pointer-events: none;
        z-index: 1001;
    }

    #nav-end {
        position: static;
        font-size: clamp(8px, 1.8vw, 16px);
        letter-spacing: clamp(1px, 0.4vw, 3px);
        pointer-events: auto;
        white-space: nowrap;
        flex-shrink: 0;
    }

    footer {
        position: static;
        white-space: nowrap;
        flex-shrink: 1;
        min-width: 0;
        font-size: clamp(12px, 2.2vw, 18px);
        color: white;
        font-family: "ABCGinto2", "Noto Sans";
        font-weight: 600;
        letter-spacing: 1px;
        margin-right: 0;
    }

    .symbol-pair {
        visibility: hidden;
    }

    /* --- HR --- */

    hr {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

/* ============================================
   Very small phones (≤ 380px)
   ============================================ */

@media (hover: none) and (max-width: 380px) {

    #hist.tab-content,
    #projet.tab-content,
    #calendrier.tab-content,
    #association.tab-content,
    #contact.tab-content {
        margin-top: -10%;
    }

    #content-container {
        width: 94%;
        margin: 3%;
        min-width: 0;
    }

    .titre {
        font-size: 19px;
    }

    .texte,
    .texte-colonne,
    .texte-colonne4,
    .venir-texte {
        font-size: 16px;
        line-height: 1.5em;
    }

    .texte.main-p {
        font-size: 18px;
    }

    #four-texts .colonne-p {
    flex: none;
    }

    #four-texts .texte-colonne4 {
        flex: none;
    }

    footer {
        position: fixed;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        font-size: 12px;
        color: #f8a6ec;
        text-shadow: 0.5px 0 #000000, -0.5px 0 #000000, 0 0.5px #000000, 0 -0.5px #000000;
        white-space: nowrap;
    }

    .membre {
        font-size: 16px;
        line-height: 1.5em;
        margin-bottom: 1px;
    }

    .soustitre-head {
        font-size: 11.5px;
    }

    .symbol-pair {
        visibility: hidden;
    }

    #four-texts .colonne-p {
    padding-bottom: 10px;
}

#four-texts .texte-colonne4 {
    padding-top: 0;
    padding-bottom: 10px;
}
    li.hist:hover,
    li.proj:hover,
    li.calendrier:hover,
    li.association:hover,
    li.contact:hover {
        font-family: "ABCGinto2", "Noto Sans";
        font-weight: 550;
        font-size: 16px;
        text-decoration: underline;
        transition: color 200ms linear, font-size 300ms linear;
    }

    li.hist:hover,
    li.contact:hover     { color: #dc0000; }
    li.proj:hover,
    li.association:hover { color: hwb(8 2% 43%); }
    li.calendrier:hover  { color: rgba(181, 77, 207, 1); }
}