@charset "UTF-8";

@font-face {
    font-family: 'icomoon';
    src: url('fonts%202/icomoon.eot?g8wox5');
    src: url('fonts%202/icomoon.eot?g8wox5#iefix') format('embedded-opentype'),
        url('fonts%202/icomoon.ttf?g8wox5') format('truetype'),
        url('fonts%202/icomoon.woff?g8wox5') format('woff'),
        url('fonts%202/icomoon.svg?g8wox5#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-instagram {
    position: relative;
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    border: 0.12em solid currentColor;
    border-radius: 28%;
    box-sizing: border-box;
    vertical-align: middle;
}

.icon-instagram:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.42em;
    height: 0.42em;
    border: 0.1em solid currentColor;
    border-radius: 50%;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
}

.icon-instagram:after {
    content: "";
    position: absolute;
    top: 0.18em;
    right: 0.18em;
    width: 0.13em;
    height: 0.13em;
    background: currentColor;
    border-radius: 50%;
}

.icon-x:before {
    content: "\e901";
}

.icon-align-justify:before {
    content: "\e902";
}

.title-icon {

    display:none;
}

.icon-x1:before {
    content: "\e903";
}

@font-face {
    font-family: 'Quicksand-Light';
    src: url(fonts/Quicksand-Light.eot);
    src: url(fonts/Quicksand-Light.eot?#iefix) format('embedded-opentype'),
        url(fonts/Quicksand-Light.otf) format('otf'),
        url(fonts/Quicksand-Light.ttf) format('truetype'),
        url(fonts/Quicksand-Light.woff) format('woff'),
        url(fonts/Quicksand-Light.woff2) format('woff2');
}

@font-face {
    font-family: 'Quicksand-Regular';
    src: url(fonts/Quicksand-Regular.eot);
    src: url(fonts/Quicksand-Regular.eot?#iefix) format('embedded-opentype'),
        url(fonts/Quicksand-Regular.otf) format('otf'),
        url(fonts/Quicksand-Regular.ttf) format('truetype'),
        url(fonts/Quicksand-Regular.woff) format('woff'),
        url(fonts/Quicksand-Regular.woff2) format('woff2');
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

html {
  scroll-behavior: smooth;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

* {
    box-sizing: border-box;
}

p {
    margin-bottom: 1rem;
}

html, body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Quicksand-Light";
}

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

.gras {
    font-family: "Quicksand-Regular";
}

.home {
    background: url(img/00_HP.jpg) no-repeat fixed center center;
    background-size: cover;
    height: 100%;
}

#header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 100;
}

header {
    width: 100%;
}

#menu-open,
#menu-close {
    display: none;
}

nav {
    padding: 28px 0;
    text-align: center;
}

nav a {
    color: #6E7181;
    text-decoration: none;
}

#menu ul {
    display: flex;
    max-width: 1000px;
    justify-content: space-between;
    vertical-align: middle;
    margin: 0 auto;
}

#menu li {
    padding: 0 20px;
    text-transform: uppercase;
}

#menu li a {
    position: relative;
}

#menu li a:after {
    background: #000;
    content: "";
    height: 1px;
    position: absolute;
    top: 150%;
    left: 0%;
    right: 100%;
    -moz-transition: all 0.7s;
    -webkit-transition: all 0.7s;
    transition: all 0.7s;
}

#menu li:hover a:after {
    left: 0;
    right: 0;
}

#menu li:hover a {
    color: #c6a26b;
}

.accroche {
    background: rgba(37, 23, 14, .7);
    padding: 20px;
    position: absolute;
    left: 0%;
    top: 40%;
    text-align: right;
    color: #fff;
    line-height: 1.7;
    z-index: 1;
    text-transform: uppercase;
    font-size: 2rem;
    color: #F0D3A7;
}

.arianne {
    position: relative;
    top: 0px;
    left: 20px;
}

.desc-categorie {
    position: relative;
    font-size: 0.7rem;
    top: 0px;
    left: 20px;
}


.immersif {
    margin-bottom: 5px;
    margin-top: 0px;
    background-color:#c6a26b;
    width: 100%;
    display: grid;
    align-content: space-evenly;
    justify-content: center;
}

.ancre-nuage {
    margin-bottom: 5px;
    margin-top: 25px;
    width: 100%;
    display: grid;
    align-content: space-evenly;
    justify-content: center;
}

footer {
    margin-top: auto;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 10px 50px;
    background: #fff;
    width: 100%;
    justify-content: space-between;
    font-size: .9rem;
}

footer ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

.titrefoot {
    font-size: 1.1rem;
    color: #c6a26b;
}

footer ul li {
    padding: 10px;
}

.bg {
    background: #ECE8E5;
}

#page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 0 210px 0;
    width: 95%;
}

#page h1 {
    font-size: 2rem;
    text-align: center;
 /*   padding-top: 30px; */
    padding-bottom: 30px;
    letter-spacing: 10px;
    color: #603838;
}

.photo {
    width: calc(50% - 12px);
    margin-bottom: 20px;
}

.content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 20px;
}

.resp {
    max-width: 100%;
    height: auto;
}

.series figcaption {
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.legende {
    width: 100%;
    padding: 10px;
    background: #d0c8c8;
    line-height: 1.6;
    text-align: justify;
}

.read-more {
    display: block;
    text-align: right;
    cursor: pointer;
    color: #603838;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 5px;
}

.photo figcaption {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.photo a {
    color: #4E5D6F;
}


/* Par défaut (desktop ≥811px) : menu en ligne, drapeau à droite */
@media (min-width: 811px) {
  #menu .menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between; /* espace maxi entre liste et drapeau */
    flex-wrap: nowrap;               /* pas de retour à la ligne */
    max-width: 1000px;
    margin: 0 auto;
  }

  /* ta liste de liens */
  #menu .menu-items {
    display: flex;
    justify-content: space-between;
    flex: 1;
  }

  /* drapeau, taille et espacement */
  #menu .menu-flag {
    flex: 0 0 auto;
    margin-left: 50px;
  }
  #menu .menu-flag img {
    width: 24px;
    height: auto;
  }
}

/* Mobile (≤810px) : on passe en colonne, et on centre tous les items */
@media (max-width: 810px) {
  /* wrapper vertical */
  #menu .menu-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;          /* on n’a plus besoin de wrap */
    justify-content: center;    /* centre verticalement si tu veux */
    align-items: center;        /* **centre horizontalement** tous les enfants */
  }

  /* la <ul> en colonne, tous ses <li> centrés */
  #menu .menu-items {
    display: flex;
    flex-direction: column;
    align-items: center;        /* centre les <li> */
    width: 100%;
    margin: 0;
    padding: 0;
  }

  /* espace vertical entre chaque <li> */
  #menu .menu-items li {
    margin: 5px 0;
  }

  /* on affiche le drapeau dans son bloc, centré comme les autres items */
  #menu .menu-flag {
    display: block;
    margin: 0px 0;             /* espacement vertical */
    order: 2;                   /* optionnel : l’afficher en dernier */
  }
  #menu .menu-flag img {
    width: 24px;
    height: auto;
    display: block;
  }
}

/* ------- PAGE INSTANT PHOTOGRAPHIQUE ET INTENTION ------- */


.series-categories {
    width: calc(33% - 10px);
    margin-bottom: 10px;
    max-height: calc(20% - 1px);
}

.legende-description {
    width: 100%;
    padding: 10px;
    line-height: 1.2;
    font-size: 0.8rem;
    text-align: justify;
    height: auto;
    overflow: hidden;
    position: relative;
}

.legende-description.expanded {
    height: auto;
}

.series-intention {
    margin-bottom: 10px;
    max-height: calc(20% - 1px);
}

.series-intention h2 {
    font-size: 1.1rem;
    letter-spacing: normal;
    padding-top: 0px;
    text-align: center;
}

.display-intention {
    display: flex;
    justify-content: space-around;
    padding-bottom: 25px;
}

.vignette-intention {
    width: 42%;
}

.legende-description-intention {
    width: 61%;
    padding: 0 10px;
    line-height: 1.2;
    font-size: 0.8rem;
    text-align: justify;
    height: auto;
    overflow: hidden;
    position: relative;
}


/* ------- FIN PAGE INSTANT PHOTOGRAPHIQUE ET INTENTION ------- */



/* -------  NUAGE ------- */
 .keyword-cloud {
            padding: 20px;
            text-align: center;
            min-height: 200px;
            margin: 20px auto;
            max-width: 400px; /* Limite la largeur pour un aspect plus compact */
            display: block;
            border-radius: 50%; /* Forme plus arrondie */
            aspect-ratio: 1.2; /* Légèrement ovale */
        }
        .keyword-item {
            display: inline-block;
            margin: 5px 8px;
            padding: 5px 10px;
            border-radius: 15px;
            cursor: default;
            transition: all 0.3s ease;
            animation: float 3s ease-in-out infinite;
            line-height: 1.2;
        }
        .keyword-vote-section {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin: 20px 0;
        }
        .search-container {
            position: relative;
            width: 300px;
        }
        .keyword-search {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
        }
       .keyword-list {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            max-height: 300px;
            overflow-y: auto;
            background: white;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            z-index: 1000;
            display: none;
        }
        .keyword-option {
            padding: 8px 12px;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        .keyword-option:hover {
            background-color: #f5f5f5;
        }
        /* Ajout d'un style pour la liste visible */
        .keyword-list.show {
            display: block;
        }
        .keyword-option.selected {
            background-color: #e3f2fd;
        }
        .vote-button {
            padding: 10px 20px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
        }
        .vote-button:hover {
            background-color: #45a049;
        }
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }

        .info-nuage {
        font-size: 0.9rem;
        padding: 15px 10% 0 10%;
}

/* ------- FIN NUAGE ------- */


/* ------- VIDEO ------- */

.video-description {
    max-width: 80%;
    margin: 0 auto;
    text-align: left;
    color: #333;
    line-height: 1.3;
    padding-bottom:5px;
}

 #video-container {
        display:flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }


#video-player {
    max-width: 100%;
}

/* ------- FIN VIDEO ------- */




/* ------- FOTORAMA ------- */

.fotorama__nav-wrap {
    padding-bottom: 20px;
}

#page .series-categories h1 {
    font-size: 1.4rem;
    letter-spacing: normal;
    padding-bottom: 20px;
    padding-top: 10px;
}

.content-suite {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.photo-container {
    position: relative;
    top: 30px;
}

.fotorama {
    width: 80%;
    margin: 0 auto;
}

.fotorama__nav-wrap {
    margin-top: 5px !important;
}
/* ------- FIN FOTORAMA ------- */


/* -------- PAGE INTENTIONS  */

.intention-anchor {
    scroll-margin-top: 100px;
}

/* -------- FIN PAGE INTENTIONS  */

/* -------- PAGE INSTANTS PHOTOGRAPHIE */
figure.series {
    position: relative; /* Permet à l'overlay d'être positionné par-dessus */
     overflow: hidden;      /* Cache tout ce qui dépasse */
  border-radius: 4px;    /* Si tu as des coins arrondis, l’overlay ne dépassera pas */
}


.overlay-serie {
    position: absolute;
     bottom: 0;
    top: 0;
    left: 0;
    width: 25px; /* Ajuste la largeur selon tes besoins */
    height: 99%;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-lr;  /* Texte disposé de haut en bas */
    text-orientation: upright;  /* Chaque lettre reste droite */
    padding: 5px 0;
}

/* -------- FIN INSTANTS PHOTOGRAPHIE */

/* ------- PHOTOS ------- */

.legende-photos {
    padding: 10px;
    line-height: 1.2;
}

.legende-photos li {
    list-style: none;
}

.fotorama__caption__wrap {
    background: #fff;
}

#title {
    font-size: 1.4rem;
}

#photo-metadata {
    display: flex;
    align-items: baseline;
    justify-content: space-around;
    width: 70%;
    margin: 10px auto;
    font-size: 0.8rem;
}

/* ------- FIN PHOTOS ------- */




/* ------- HISTOIRE ------- */
.histoire {
    line-height: 1.4;
    max-width: 70%;
    margin: 10px auto;
}

.histoire::after {
    content: "///  ///";
    text-align: center;
    display: block;
    color: #a58538;
}

.infos-histoire {
    display: flex;
    justify-content: space-between;
}

.gold {
    color: #a58538;
    font-family: 'Quicksand-Regular';
}

#formulaire_histoire {
    max-width: 400px;
    margin: 10px auto;
}

.form-group {
    display: flex;
    padding-bottom: 10px;
}

.form-group label {
    display: inline-block;
    width: 40%;
}

.form-group select, #histoire, #pseudo {
    display: inline-block;
    width: 60%;
    border: 1px solid #C6A26B;
    background: transparent;
    color: #111;
    font-family: 'Quicksand-Light';
}

#envoi-histoire {
    display: inline-block;
    border: 1px solid #C6A26B;
    background: transparent;
    color: #111;
    font-family: 'Quicksand-Light';
    padding: 5px;
}

/* ----- FIN HISTOIRE -----*/




.presentation {
    width: calc(50% - 30px);
}

.texte {
    line-height: 1.3;
}

#page h2 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

#demande {
    color: rgba(37, 23, 14, .7);
    background: url(img/paysage-brume.jpg) no-repeat left top;
    padding: 20px;
}

.etiquette {
    display: inline-block;
    width: 60%;
    text-align: right;
    margin-right: 10px;
    margin-bottom: 10px;
}

.valigntop {
    vertical-align: top;
}

#demande input[type="text"], #demande input[type="email"] {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #fff;
    width: 25%;
}

#envoi {
    color: #68678F;
    background: rgba(255, 255, 255, 0.7);
    margin-left: 360px;
    border: none;
    margin-top: 20px;
    line-height: 25px;
}

#message {
    width: 35%;
    height: 200px;
    background: rgba(255, 255, 255, 0.7);
    border: 0;
}

.fontblc {
    color: #fff;
}

.half {
    width: 47%;
    font-size: 0.9em;
    text-align: justify;
}

@media only screen and (max-width: 810px) {
    #page {
        padding: 45px 0;
        margin-bottom: 150px;
    }

    .keyword-vote-section {
    flex-direction: column;
  }

.half {
    width: 97%;
    font-size: 0.9em;
    text-align: justify;
}
    #menu-open, #menu-close {
        color: #fff;
        position: fixed;
        top: 10px;
        left: 10px;
        font-size: 30px;
        z-index: 100;
    }

    #menu-open {
        display: block;
    }

    .title-icon {
        display:block;
         color: #fff;
        position: fixed;
        top: 15px;
        left: 50px;
        font-size: 15px;
        z-index: 120;
}

    #menu {
        display: none;
        padding-top: 150px;
        background: black;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: 20;
        text-align: center;
    }

    #menu ul {
        display: block;
        line-height: 60px;
        margin: 0 auto;
    }

    #menu a {
        color: #fff;
    }

    #menu li {
        color: #fff;
    }



    .display-intention {
        flex-direction: column;
        width: 95%;
        margin: 0 auto;
    }

    .vignette-intention {
        width: 100%;
    }

    .legende-description-intention {
        width: 100%;
    }

    .accroche span {
        display: block;
    }

    .accroche {
        left: 0;
        right: 0;
        margin: auto;
        width: 300px;
        top: 190px;
        text-align: center;
    }

    .nouveau {
        font-size: 1.5em;
    }

    #reseaux {
        background: #111;
        padding: 5px;
    }

    .insidephoto {
        display: flex;
    }

    .photo, .presentation {
        width: 95%;
        margin: 0 auto 10px auto;
    }

    .content-suite {
        flex-direction: column;
    }

    .series-categories {
        width: 50%;
        margin: 0 auto;
    }

    .arianne {
        position: static;
    }

    .legende-photos {
        position: static;
        width: 50%;
        margin: 0 auto;
    }

    #photo-metadata {
        display: flex;
        align-items: baseline;
        justify-content: space-around;
        width: 70%;
        margin: 10px auto;
        font-size: 0.8rem;
        flex-direction: column;
    }

    #tiret {
        display: none;
    }

    /*footer {
        flex-direction: column;
    }*/

    footer ul li {
    padding: 5px;
    font-size: 9px;
}

.titrefoot
{
    font-size: 0.8em;
}

    .etiquette {
        width: 30%;
    }

    #message {
        width: 60%;
    }

    #envoi {
        margin-left: 0px;
    }
}

@media only screen and (max-width: 480px) {
    .fotorama__thumb {
        width: 50px !important;
        height: 38px !important;
    }
}

@media only screen and (max-width: 375px) {
  .fotorama,
  .fotorama__stage {
    min-width: 320px !important;
  }


}
