/*

888                               
888                               
888                               
888888 888  888 88888b.   .d88b.  
888    888  888 888 "88b d88""88b 
888    888  888 888  888 888  888 
Y88b.  Y88b 888 888 d88P Y88..88P 
 "Y888  "Y88888 88888P"   "Y88P"  
            888 888               
       Y8b d88P 888               
        "Y88P"  888

*/        


@font-face {
    font-family: 'archivo';
    src: url('../font/Archivo/static/Archivo-Italic.ttf') format('truetype');
    font-style: italic;
}

@font-face {
    font-family: 'archivo';
    src: url('../font/Archivo/static/Archivo-Regular.ttf') format('truetype');
    font-style: normal;
}



/* http://meyerweb.com/eric/tools/css/reset/ 
    v2.0 | 20110126
    License: none (public domain)
*/


/*RESET*/

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;
     box-sizing: border-box;
}

/*COULEUR VAR*/

*{
    --BLUEColor:  #4664B5;
}

*{
    --GREENColor:  #1EB300;
}

*{
    --PINKColor:  #FF00FF;
}

*{
    --BLACKColor:  black;
}

*{
    --WHITEColor:  WHITE;
}

#color01{
color: var(--PINKColor);
}

#color02{
color: var(--GREENColor);
}

#color03{
color: var(--BLUEColor);

}

#color4{
color: var(--BLACKColor);
}

.favicon{
  height: 100%;
}


html {
  scroll-behavior: smooth;
}


/*BODYYYYY*/

body{
    color: var(--BLUEColor);
    font-family: 'archivo';
    overflow-x: hidden;
}



#scrollUp{
  width: 2em;
  height: 3vh;
  border-radius: 5vh;
  position: fixed;
  bottom: 0;
  right: 0;
  margin-bottom: 2vh;
  margin-right: 2vh;
}

#backto{
  width: 2em;
  height: 3vh;
  border-radius: 5vh;
  position: absolute;
  margin-top: 2vh;
  margin-left: 1vw;
  z-index: 10000;
  rotate: -90deg;
}

#imglogo{
  height: 3em;
  margin-left: 0vw;
  margin-top: 0vh;
}

.author-web{
  /*border:solid black 2px;*/
  margin-left: 4vw;
  margin-right: 4vw;
  margin-bottom: 2vh;
  color: var(--PINKColor);
}

/* __   __  _______  __   __  _______ 
|  | |  ||       ||  |_|  ||       |
|  |_|  ||   _   ||       ||    ___|
|       ||  | |  ||       ||   |___ 
|       ||  |_|  ||       ||    ___|
|   _   ||       || ||_|| ||   |___ 
|__| |__||_______||_|   |_||_______|*/

/*HEADER*/

header{
    width: 100vw;
    height: 8vh;
    background-color: white;
    color: var(--BLACKColor);
    /*border: solid red 1px;*/
    display: flex;
    padding-left: 6vw;
    padding-right: 6vw;
    padding-top: 8vh/2;
    align-items: center;
}

#link1 {
    width: 10vw;
    height: 5vh;
    /*border: solid yellow 1px;*/
    /*background-color: var(--PINKColor);*/
    text-decoration: none;
}

header > ul{
    width: 20vw;
    height: auto;
    /*border: solid yellow 1px;*/
    /*background-color: pink;*/
    margin-left: auto;
    display: flex;
    justify-content: center;
}

header > ul > a{
    margin-inline: 2vw;
    text-decoration: none;
    color:var(--BLACKColor);
}

header > ul > a:hover{
    margin-inline: 2vw;
    text-decoration: none;
    font-family: 'archivo';
    /*font-style: italic;*/
    color: var(--BLUEColor);
}

/*MESSAGE DEFILANT*/

/* Texte défilant */
.outer {
    overflow: hidden !important;
    background-color: var(--BLUEColor);
    padding: 0.5vh;
    
}

.outer div {
    display: inline-block;
    justify-content: center;
    height: 1vh;
}

.loop > .content{
  color: var(--WHITEColor);
}

.loop {
    white-space: nowrap;
    animation: loop-anim 35s linear infinite;
}

@media only screen and (max-width: 767px) {
    .loop {
        animation: loop-anim 35s linear infinite;
        height: 10px;
    }
    .loop > .content2{
  color: var(--WHITEColor);
  height: 20px;
  
}
}

@keyframes loop-anim {
    0% {
        margin-left: 0;
    }
    100% {
        margin-left: -50%;
    }
}

/*texte defilant 2.0*/

.outer2 {
    overflow: hidden !important;
    background-color: var(--GREENColor);
    padding: 1vh;
    
}

.outer2 div {
    display: inline-block;
    justify-content: center;
    height: 1vh;
}

.loop > .content2{
  color: var(--WHITEColor);
  height: 20px;
  padding: auto;
  
}

/*pattern*/
#pattern01{
width: 100%;
position: absolute;
z-index: -1000;
top: 2vh;
/*background-color: var(--BLUEColor);*/
/*border: solid black 1px; */
}

#pattern01 > img{
  width: 100%;
  overflow: hidden;
}

/*TEXTE HOME*/

#textehome{
  width: 70vw;
  /*border: solid black 1px;*/
  margin: auto;
  margin-top: 28vh;
  margin-bottom: 3vh;
  font-size: 1vw;
}

h2{
  font-size: 2vw;
  text-align: center;
}

h2 > a{
 text-decoration: none;
}

h2 > a:hover{
 font-style: italic;
}

#textehome > p{
  width: 40vw;
  /*border: solid red 1px;*/
  text-align: center;
  margin: auto;
}

#pattern02{
  width: 40vw;
  height: 15vh;
  /*background-color: var(--PINKColor);*/
  /*background-image: url("/img/iv_site/SVG/SVG/zoom.svg");*/
  display: flex;
  margin: auto;
  margin-top: 5vh;
}

/*FOOTER*/
footer{
  margin-top: 8vh;
}

#footer{
  margin-top: 2vh;
  margin-left: 4vw;
  margin-right: 4vw;
  display: flex;
  justify-content: space-between;
  /*border : solid red 1px;*/
  margin-bottom: 3vh;
}

#footer > span > a{
  text-decoration: none;
  color: black;
  font-style: normal;
  font-size: 0.9em;
}

#footer > span > a:hover{
  text-decoration: none;
  color: var(--BLUEColor);
  font-style: normal;
  font-size: 0.9em;
}

#footer > span > p{
  text-decoration: none;
  color: black;
  font-style: normal;
  font-size: 0.9em;
}

span{
  /*border: solid green 1px;*/
  margin-right: 4vw;
} 

/* =========
   RESPONSIVE HOMEPAGE – TÉLÉPHONE
   ========= */
@media (max-width: 768px) {

  /* layout global */
  body {
    font-size: 14px;
    overflow-x: hidden;

  }

  header {
    padding: 10px 12px;
    gap: 8px;
  }

  #imglogo {
    height: 2.5em;
    margin-left: 2vw;
  }

  header ul {
    display: flex;
    width: 60vw;
    margin-top: 10px;
    gap: 8px;
  }

  header ul a {
    font-size: 0.8em;
  }

  .outer {
    font-size: 1em;
  }

  /* bouton scroll */
  #scrollUp {
    right: 12px;
    bottom: 12px;
    opacity: 0%;
  }

  /* décor haut */
  #pattern01 img {
  width: 100vw;
  margin-top: 8vh;

  }

   /* décor haut */
  #pattern02{
  width: 100vw;
  margin-top: 8vh;

  }

  /* texte principal */
  #textehome {
    padding: 0 12px;
    margin-top: 20vh;
    width: 90%;
    text-align: center;
  }

  #textehome h2 {
    font-size: 5em;
    line-height: 1.2;
  }



  #textehome p {
    font-size: 3.5em;
    line-height: 1.2;
    margin-bottom: 16px;
    width: 100%;
  }

  #color01,
  #color02 {
    font-size: 1em;
  }



  /* footer en pile */
  #footer {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    font-size: 1.2em;
  }

  #footer span {
    width: 100%;
  }

  footer hr {
    margin: 16px 0 8px;
  }

  /* décor bas (si présent) */
  #pattern-low {
  width: 100vw;
  }
}


/*/*
 ____    ______   ____    __       _____            ____    ____       
/\  _`\ /\__  _\ /\  _`\ /\ \     /\  __`\  /'\_/`\/\  _`\ /\  _`\     
\ \ \/\ \/_/\ \/ \ \ \L\ \ \ \    \ \ \/\ \/\      \ \ \L\_\ \,\L\_\   
 \ \ \ \ \ \ \ \  \ \ ,__/\ \ \  __\ \ \ \ \ \ \__\ \ \  _\L\/_\__ \   
  \ \ \_\ \ \_\ \__\ \ \/  \ \ \L\ \\ \ \_\ \ \ \_/\ \ \ \L\ \/\ \L\ \ 
   \ \____/ /\_____\\ \_\   \ \____/ \ \_____\ \_\\ \_\ \____/\ `\____\
    \/___/  \/_____/ \/_/    \/___/   \/_____/\/_/ \/_/\/___/  \/_____/*/

   /* Layout principal */

.main-layout {
  padding: 24px 32px 10px;
}

.results {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* TAGS FILTRES */

hr{
  color: black;
  margin-left:4vw;
  margin-right: 4vw;
  margin-bottom: 2vh;
}

.tag-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  /*border: solid black 2px;*/
}

.tag-group {
  display: flex;
  /*width: 45%;*/
  margin-left: 0vw;
  /*border: solid black 1px;*/
  flex-wrap: wrap;
  gap: 12px;
  align-items: baseline;
}

.tag-group > span{
display: flex;
 justify-content: space-between;
  /*border: solid black 3px;*/
}

.tag-group-label {
  text-transform: lowercase;
  color: var(--BLACKColor);
  display: flex;
  text-align: center;
  margin-left: 4vw;
 /*border:solid black 3px;*/
  font-size: 0.8em;
}

.tag {
  border-radius: 999px;
  border: 1px solid var(--PINKColor);
  padding: 4px 10px;
  font-size: 0.8em;
  background: var(--WHITEColor);
  color: var(--PINKColor);
  cursor: pointer;
  text-transform: lowercase;
  display: flex;
  justify-content: center;
  /*border: solid pink 2px;*/
}

.tag.active {
  background: var(--text);
  color: var(--WHITEColor);
  background-color: var(--PINKColor);
  border-color: var(--text);
}

.results-count-inline {
  font-size: 12px;
  margin-left: 4vw;
  color: var(--PINKColor);
  margin-top: 0.5vw;
}

/* GRILLE 3×3 */

.projects-list {
  list-style: none;
  padding: 0;
  margin-left: 4vw;
  margin-right: 4vw;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--card-bg);
  /*border-radius: 8px;*/
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0.5px 0.5px 3px rgba(0, 0, 0, 0.1);
}

/* Image */

.project-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--PINKColor);
}

.project-image img {
  object-fit:cover;
  height: 100%;
  width: 100%;
}

/* Contenu texte */

.project-content {
  padding: 1vw;
  display: flex;
  flex-direction: column;
  gap: 0.5vw;
  /*border: solid pink 1px;*/
}

.project-header {
  display:flex;
  justify-content:space-between;
  width: 100%;
  align-items: baseline;
  color: var(--BLACKColor);
  font-size: 1.2em;
  /*border: solid black 1px;*/
  margin-right: 1vw;
}
.project-header > a{
  text-decoration: none;
  width: 100%;
  justify-content: space-between;
  display:flex;
}

.project-name{
  color: var(--BLUEColor);
  text-align: center;

}


.project-year {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 4px 10px;
  font-size: 0.8em;
  background: var(--PINKColor);
  color: var(--WHITEColor);
  cursor: pointer;
}

.project-option {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 4px 10px;
  font-size: 0.8em;
  background: var(--PINKColor);
  color: var(--WHITEColor);
  cursor: pointer;
  margin-right: 0vw;
}




.project-title {
  text-decoration: underline;
  margin: 0;
}

.project-description,
.project-meta {
  margin-top: 1.5vh;
  font-size: 0.9em;
  line-height: 1.4;
  color: black;
}

.project-tags {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 1em;
  color: var(--GREENColor);
}

.project-tags li {
  border-radius: 999px;
  border: 1px solid var(--GREENColor);
  padding: 5px 8px;
}

/* Bouton plus de projets */

.more-projects {
  align-self: center;
  border-radius: 999px;
  border: solid var(--PINKColor) 1px;
  padding: 8px 24px;
  font-family: 'archivo';
  font-size: 0.8em;
  background: var(--PINKColor);
  cursor: pointer;
  color: var(--WHITEColor);
  letter-spacing: 0.06em;
}

.more-projects:hover {
  background-color: var(--WHITEColor);
  color: var(--PINKColor);
}

/* =========
   RESPONSIVE DIPLÔMES – TÉLÉPHONE (COMPLÈT)
   ========= */
@media (max-width: 768px) {


  /* bouton scroll */

  /* FILTRES */
  .main-layout {
    padding: 0 12px 24px;
    margin-top: 2vh;;
  }

  .results {
    padding: 0;
  }

  .tag-filters {
    padding: 0 8px;
  }

  .tag-group {
    flex-direction: line;
    justify-content:left;
    align-items: center;
    gap: 4px;
  }

  .tag-group-label {
    font-size: 11px;
    /*border :solid black 2px;*/
  }

  .tag {
    font-size: 11px;
    padding: 4px 8px;
  }

  .results-count-inline {
    font-size: 12px;
  }

  /* GRILLE PROJETS */
  .projects-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 12px 24px;
  }

  .project-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: none;
    margin-bottom: 5vh;
  }

  .project-image img {
        aspect-ratio: 4/3;
    object-fit:cover;
    width: 100%;
  }

  .project-content {
    padding: 0;
  }

  .project-header {
    display: flex;
    margin: auto;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 1vh;;
    font-size: 13px;
  }

  .project-year,
  .project-name,
  .project-option {
    font-size: 1.2em;
  }

  .project-description {
    font-size: 13px;
    line-height: 1.5;
  }

  .project-title {
    font-size: 13px;
  }

  .project-tags {
    gap: 10px;
    margin-top: 6px;
  }

  .project-tags li {
    font-size: 1em;
    padding: 3px 8px;
  }

  
}


/*

.___  ___.  _______ .___  ___.   ______    __  .______       _______     _______.
|   \/   | |   ____||   \/   |  /  __  \  |  | |   _  \     |   ____|   /       |
|  \  /  | |  |__   |  \  /  | |  |  |  | |  | |  |_)  |    |  |__     |   (----`
|  |\/|  | |   __|  |  |\/|  | |  |  |  | |  | |      /     |   __|     \   \    
|  |  |  | |  |____ |  |  |  | |  `--'  | |  | |  |\  \----.|  |____.----)   |   
|__|  |__| |_______||__|  |__|  \______/  |__| | _| `._____||_______|_______/

*/


/* Layout principal */

/*.memoires-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 32px;
  padding: 32px;
}*/

.memoires-liste{
  list-style: none;
  margin-bottom: 0;
  margin-left: 4vw;
  margin-right: 4vw;
  display: grid;
  flex-direction: column;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /*border:solid black 3px;*/
  justify-content: space-between;
  align-items: center;
  gap: 3vw;
  padding: 0 0px 40px;
  }

.memoires-liste > li {
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3vh;
}  

.memoire-card {
    display: flex;
    flex-direction: column;
    box-shadow: none;
    margin-bottom: 2vh;

}

/* Image */

.memoire-couv {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--WHITEColor);
}

.memoire-couv img {
  object-fit:cover;
  height: 100%;
  width: 100%;
    filter: grayscale(100%) contrast(2) brightness(0.9);
    opacity: 1;
    mix-blend-mode: multiply;
    transition: all 0.5s;
    transition-property: opacity, mix-blend-mode;
}

.memoire-couv img:hover{
    /*width: 100%;*/
    filter: none;
    opacity: 100%;
    mix-blend-mode: normal;
    transition: all 0.5s;
}

/*MÉTA MEMOIRES*/

/* Contenu texte */

.memoire-content {
  width: 100%;
  display: flex;
  margin-top: 0;
  flex-direction: column;
  gap: 0.5vw;
  padding: 0px;
  /*border: solid pink 1px;*/

}

.memoire-header {
  display:flex;
  justify-content:space-between;
  width: 100%;
  align-items: baseline;
  color: var(--BLACKColor);
  font-size: 1.2em;
  /*border: solid black 1px;*/
  margin-bottom: 1vh;
}
.memoire-header > a{
  text-decoration: none;
  width: 100%;
  justify-content: space-between;
  display:flex;
}

.memoire-name{
  color: var(--BLUEColor);
  text-align: center;

}


.memoire-year {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 4px 10px;
  font-size: 0.8em;
  background: var(--PINKColor);
  color: var(--WHITEColor);
  cursor: pointer;
}

.memoire-option {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 4px 10px;
  font-size: 0.8em;
  background: var(--PINKColor);
  color: var(--WHITEColor);
  cursor: pointer;
  margin-right: 0vw;
}




.memoire-title {
  text-decoration: underline;
  margin: 0;
}

.memoire-description,
.memoire-meta {
  margin-top: 1.5vh;
  font-size: 0.9em;
  line-height: 1.4;
  color: black;
}

.memoire-tags {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 1em;
  color: var(--GREENColor);
}

.memoire-tags li {
  border-radius: 999px;
  border: 1px solid var(--GREENColor);
  padding: 5px 8px;
}




/*COUV M2MOIRE*/
#textes ul li img{
    /*width: 100%;*/
    filter: grayscale(100%) contrast(2) brightness(0.9);
    opacity: 1;
    mix-blend-mode: multiply;
    transition: all 0.5s;
    transition-property: opacity, mix-blend-mode;
}

#textes img:hover{
    /*width: 100%;*/
    filter: none;
    opacity: 100%;
    mix-blend-mode: normal;
    transition: all 0.5s;
}



/* =========================
   PATCH RESPONSIVE LÉGER
   sans casser le desktop
========================= */

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



  .tag-filters {
    width: 100%;
  }

  .tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .tag {
    font-size: 0.85rem;
    padding: 6px 10px;
  }

  .memoires-liste {
    display: block;
  }

  .memoire-card {
    width: 100%;
    margin-bottom: 24px;
  }

  .memoire-couv img {
    width: 100%;
    height: auto;
  }

  .memoire-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  #footer {
    display: block;
  }

  #footer span {
    display: block;
    margin-bottom: 20px;
  }

}

/*

  __ _      _                                           _          
 / _(_)    | |                                         (_)         
| |_ _  ___| |__   ___   _ __ ___   ___ _ __ ___   ___  _ _ __ ___ 
|  _| |/ __| '_ \ / _ \ | '_ ` _ \ / _ \ '_ ` _ \ / _ \| | '__/ _ \
| | | | (__| | | |  __/ | | | | | |  __/ | | | | | (_) | | | |  __/
|_| |_|\___|_| |_|\___| |_| |_| |_|\___|_| |_| |_|\___/|_|_|  \___|

*/

.lecteur-memo{
  width: 100%;
  height: 80vh;
   margin-top: 5vh;
  margin-bottom: 3vh;
  box-shadow: 0.5px 0.5px 3px rgba(0, 0, 0, 0.1);

  /*border: solid black 2px;*/
}

/* Citation */

.memoire-quote {
  /*border: solid green 2px;*/
  margin-top: 1vh;
  margin-bottom: -0vh;
  width: 40vw;
  color: var(--BLACKColor);
  font-size: 0.8;
  font-style: italic;
  text-decoration: underline;
}

/* Texte */

.memoire-text {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 35vw;
  margin-top: 5vh;
  /*border: solid black 2px;*/
}

.memoire-text p {
  margin: 0 0 12px;
}

.memoire-credits {
  font-size: 0.8em;
  color: var(--BLUEColor);
  font-style: italic;
  /*text-decoration: underline;*/
  margin-top: 8px;
}

.memoire-identity {
  margin-top: 3vh;
  /*border: solid black 2px;*/
  font-size: 1em;
}

.memoire-download{
  width: 100%;
  margin-top: 5vh;
  border-radius: 999px;
  border: 1px solid var(--GREENColor);
  color: var(--GREENColor);
  text-decoration:none;
  padding: 5px 8px;
}


@media (max-width: 1024px) {
  .project-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .project-sidebar,
  .memoire-main {
    width: 100%;
    max-width: 100%;
  }

  .lecteur-memo {
    width: 100%;
    min-height: 70vh;
  }

  #footer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  

  .content {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  #backto {
    padding-left: 12px;
    margin-top: 10px;
    opacity: 0;
  }

  .project-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .project-sidebar,
  .memoire-main,
  .memoire-text,
  .memoire-identity,
  .project-contact {
    width: 100%;
    max-width: 100%;
  }

  .memoire-text p,
  .project-status,
  .project-contact p,
  .project-contact a {
    word-break: break-word;
  }



  .project-header-bis {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .lecteur-memo {
    display: block;
    width: 100%;
    min-height: 62vh;
    height: 70vh;
  }

  .memoire-download {
    display: inline-block;
    text-align: center;
    margin-top: 12px;
  }

  #scrollUp {
    right: 12px;
    bottom: 12px;
  }

  #scrollUp img,
  #backto img {
    width: 36px;
    height: auto;
  }


  #footer {
    display: block;
  }

  #footer span {
    display: block;
    margin-bottom: 18px;
  }

  .author-web {
    padding: 0 12px 12px;
  }
}

@media (max-width: 480px) {

  .project-layout {
    padding-left: 10px;
    padding-right: 10px;
  }

  .lecteur-memo {
    min-height: 58vh;
    height: 62vh;
  }

  .content {
    font-size: 0.78rem;
  }

  .memoire-text p,
  .memoire-credits,
  .project-status,
  .project-contact a,
  .memoire-download,
  footer a,
  footer p,
  .author-web p {
    font-size: 0.9rem;
  }
}


/*

  __ _      _                _ _       _                      
 / _(_)    | |              | (_)     | |                     
| |_ _  ___| |__   ___    __| |_ _ __ | | ___  _ __ ___   ___ 
|  _| |/ __| '_ \ / _ \  / _` | | '_ \| |/ _ \| '_ ` _ \ / _ \
| | | | (__| | | |  __/ | (_| | | |_) | | (_) | | | | | |  __/
|_| |_|\___|_| |_|\___|  \__,_|_| .__/|_|\___/|_| |_| |_|\___|
                                | |                           
                                |_|

                                */


/* Layout principal */

.project-layout {
  margin-left: 4vw;
  margin-right: 4vw;
  display: grid;
  grid-template-columns: minmax(40vw, 40vw) minmax(0, 1fr);
  gap: 0px;
  padding: 1vw;
}

/* Colonne gauche */

.project-header-bis {
  display:flex;
  height:2vh;
  justify-content:space-between;
  align-items: baseline;
  /*border: solid black 1px;*/
  margin-right: 1vw;
  margin-bottom: 2vh;;
}

.project-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  /*border: solid black 2px;*/
}

.project-author {
  font-size: 1.2em;
  margin: 0 0vw 4vw;
}

.project-identity {
  font-size: 1em;
  margin: 0 0vw 0vw;
}

.project-meta {
  margin: 0;
  font-size: 1.2em;
  font-weight: 500;
}

.project-status {
  margin: 0px 0 0;
  font-size: 1em;
  color: var(--BLACKColor);
}

.project-contact p {
  margin: 0;
font-size: 1em;
}

.project-contact a {
  color: var(--BLACKColor);
  text-decoration: none;
}

.project-contact a:hover {
  text-decoration: underline;
}

.project-keywords {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1vhpx;
}

.project-keywords li {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background-color: #fff;
}

.project-other {
  font-size: 1em;
  display: flex;
  margin-top: 5vh;
  font-family: 'archivo';
  margin-left: 4vw;
  text-transform: uppercase;
  color: var(--BLACKColor);
}

.project-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-related li {
  margin-bottom: 4px;
}

.project-related a {
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
}

.project-related a:hover {
  text-decoration: underline;
}

.grid{
  margin-left: 0vw;
  margin-right: 5vw;
  margin-top: 1vh;
  margin-bottom: 1vh;
}

/* Colonne droite */

.project-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}



/* Citation */

.project-quote {
  /*border: solid green 2px;*/
  margin: 0;
  width: 45vw;
  color: var(--GREENColor);
  font-size: 0.8;
  font-style: italic;
}

/* Texte */

.project-text {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 45vw;
}

.project-text p {
  margin: 0 0 12px;
}

.project-credits {
  font-size: 0.8em;
  color: var(--muted);
  margin-top: 8px;
}

.carousel {
  /*border: solid black 2px;*/
  margin-left: 4vw;
  margin-right: 4vw;
  margin-top: 2vh;
  height: 80vh;
  overflow: hidden;
  background-color: white;

}

.carousel-track {
  /*border:solid black 2px;*/
  display: flex;
  width: 100%;
  transition: transform 2s ease-in-out;

}

.carousel-slide {
  /*border:solid black 2px;*/
  margin-top: 0vh;
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
}

.carousel-slide > .img_portrait {
  height: 80vh;
  margin: auto;
  display: block;
  background-color: #FF00FF;
}
.carousel-slide > .img_paysage {
  width: 100%;
  margin: auto;
  display: flex;
  background-color: #FF00FF;
}

/* Points */

em{
  text-decoration: underline;
}


/*pattern*/
#pattern-low{
width: 100%;
z-index: -1000;
margin-top: 5vh;
margin-bottom: 5vh;;
/*background-color: var(--BLUEColor);*/
/*border: solid black 1px; */
}

/* =========
   RESPONSIVE PROJET – TÉLÉPHONE
   ========= */
@media (max-width: 768px) {

  

  .carousel {
    width: 100%;
    height: 50vh;
    overflow: hidden;
  }

  .carousel-track {
    display: flex;
  }

  .carousel-slide {
    width: 100vw;
    height: 100%;
  }

  .img_paysage {
    height: 50vh;
    object-fit: fill;
  }

  .img_portrait{
    width: 100vw;
  }


  /* layout projet : colonne unique */
  .project-layout {
    display: block;        /* au lieu de grid */
    padding: 0 12px 24px;
    margin-top: 4vh;
  }

  .project-sidebar {
    margin-bottom: 20px;
  }

  .project-header-bis {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
  }

  .project-author {
    order: 1;
    font-size: 18px;
  }

  .project-option,
  .project-year {
    font-size: 14px;
  }

  .project-status {
    font-size: 13px;
  }

  .project-contact p {
    font-size: 13px;
    word-break: break-all;
  }



  /* colonne droite texte */
  .project-main {
    display: block;
    padding-top: 4px;
    width: 100%;
  }

  .project-quote {
    margin: 0 0 12px;
    width: 100%;
    font-size: 1em;
    padding: 8px 10px;
  }

  .project-text {
    font-size: 1.2em;
    width: 100%;
    display: inline;
    line-height: 1.5;
  }

  .project-text p {
    margin-bottom: 10px;
    width: 100%;
    margin: 0 0 12px;

  }

  .project-credits {
    font-size: 12px;
    width: 100%;
  }

  .grid{
    width: auto;
    margin-left: 0vw;
    margin-right: 0vw;
  }

  /* "Découvrez également" : cartes en colonne */
  .project-other {
    padding: 0 12px;
    font-size: 15px;
  }

  .projects-list {
    padding: 0 12px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .project-card {
    display: flex;
    flex-direction: column;
  }

  .project-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .project-content {
    padding-top: 8px;
  }

  .project-header {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
  }

  .project-description {
    font-size: 13px;
  }



  /* footer en pile */
  #footer {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  #footer span {
    width: 100%;
  }

  footer hr {
    margin: 16px 0 8px;
  }

}

/*


                                                                                                    
                                                                                                    
 $$$$$$\   $$$$$$\   $$$$$$$\  $$$$$$$\  $$$$$$\  $$\   $$\  $$$$$$\   $$$$$$$\  $$$$$$\   $$$$$$$\ 
$$  __$$\ $$  __$$\ $$  _____|$$  _____|$$  __$$\ $$ |  $$ |$$  __$$\ $$  _____|$$  __$$\ $$  _____|
$$ |  \__|$$$$$$$$ |\$$$$$$\  \$$$$$$\  $$ /  $$ |$$ |  $$ |$$ |  \__|$$ /      $$$$$$$$ |\$$$$$$\  
$$ |      $$   ____| \____$$\  \____$$\ $$ |  $$ |$$ |  $$ |$$ |      $$ |      $$   ____| \____$$\ 
$$ |      \$$$$$$$\ $$$$$$$  |$$$$$$$  |\$$$$$$  |\$$$$$$  |$$ |      \$$$$$$$\ \$$$$$$$\ $$$$$$$  |
\__|       \_______|\_______/ \_______/  \______/  \______/ \__|       \_______| \_______|\_______/



*/

.body2{
    color: var(--BLUEColor);
    background-color: var(--BLUEColor);
    font-family: 'archivo';
    overflow-x: hidden;
}


.main-layout2 {
  padding: 24px 32px 10px;
  background-color: var(--BLUEColor);
  color: var(--WHITEColor);
}

/*VARIATION COULEUR FILTER*/

.results2 {
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: var(--WHITEColor);
}


.results2 > .tag-filters > .tag-group > .tag-group-label{
  color: var(--WHITEColor);
}

.results2 > .tag-filters >  .tag-group-label{
  color: var(--WHITEColor);
}

.results2 > .tag-filters > .results-count-inline {
  color: var(--WHITEColor);
}

.results2 > .tag-filters > .tag-group > .tag.active{
  color: var(--BLUEColor);
  background-color: var(--WHITEColor);
  border-color: none;
}

.results2 > .tag-filters > .tag-group > .tag{
  color: var(--WHITEColor);
  background-color:var(--BLUEColor);
  border-color: var(--WHITEColor);
}


/*FOOTER*/
footer2{
  margin-top: 8vh;
  background-color: var(--BLUEColor);
}

#footer2{
  margin-top: 2vh;
  margin-left: 4vw;
  margin-right: 4vw;
  display: flex;
  justify-content: space-between;
  /*border : solid red 1px;*/
  margin-bottom: 3vh;
  background-color: var(--BLUEColor);
}

#footer2 > span > a{
  text-decoration: none;
  color: var(--WHITEColor);
  font-style: normal;
  font-size: 0.9em;
}

#footer2 > span > a:hover{
  text-decoration: none;
  color: var(--PINKColor);
  font-style: normal;
  font-size: 0.9em;
}

#footer2 > span > p{
  text-decoration: none;
  color: var(--WHITEColor);
  font-style: normal;
  font-size: 0.9em;
}



/*JOB LISTE*/

.job-list{
  list-style: none;
  margin-bottom: 0;
  margin-left: 4vw;
  margin-right: 4vw;
  display: grid;
  flex-direction: column;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /*border:solid black 3px;*/
  justify-content: space-between;
  align-items: center;
  gap: 3vw;
  padding: 0 0px 40px;
  }

.job-liste > li {
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3vh;
}  

/* JOB CARTE*/

.job-card {
    display: flex;
    flex-direction: column;
    box-shadow: 0.5px 1px 4px rgba(0, 0, 0, 0.3); 
    margin-bottom: 0vh;
    background-color: var(--BLUEColor);
    border-radius: 0.5vw;;
    color: var(--WHITEColor);
    padding: 1vw;
    height: 30vh;
    /*border: solid red 2px;*/

}

.job-header >.job-type{
  border-radius: 999px;
  border: 1px solid var(--BLUEColor);
  padding: 4px 10px;
  font-size: 0.8em;
  background: var(--WHITEColor);
  color: var(--BLUEColor);
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  /*border: solid pink 2px;*/
}

.job-title{
  /*border :solid yellow 2px;*/
  margin-top: 3vh;
  margin-bottom: 2vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content:space-between;

}

.job-name{
  /*border : solid pink 3px;*/
  color: var(--WHITEColor);
  display: flex;
  font-size: 1.2em;
}

.job-card > a {
  text-decoration: none;
}

.job-description{
  color: var(--WHITEColor);
}



/*

 ___________    ____  _______ .__   __. .___________.
|   ____\   \  /   / |   ____||  \ |  | |           |
|  |__   \   \/   /  |  |__   |   \|  | `---|  |----`
|   __|   \      /   |   __|  |  . `  |     |  |     
|  |____   \    /    |  |____ |  |\   |     |  |     
|_______|   \__/     |_______||__| \__|     |__|

*/



/*EVENT LISTE*/

.event-list{
  list-style: none;
  margin-top: 4vh;
  margin-bottom: 0;
  margin-left: 4vw;
  margin-right: 4vw;
  display: grid;
  flex-direction: column;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /*border:solid black 3px;*/
  justify-content: space-between;
  align-items: center;
  gap: 3vw;
  padding: 0 0px 40px;
  }

.event-liste > li {
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3vh;
}  

/* JOB CARTE*/

.event-card {
    display: flex;
    flex-direction: column;
    box-shadow: 0.5px 1px 4px rgba(0, 0, 0, 0.3); 
    margin-bottom: 2vh;
    background-color: var(--BLUEColor);
    border-radius: 0.5vw;;
    color: var(--WHITEColor);
    padding: 1vw;
    height: 30vh;
    /*border: solid red 2px;*/

}

.event-header > .event-type{
  border-radius: 999px;
  border: 1px solid var(--BLUEColor);
  padding: 4px 10px;
  font-size: 0.8em;
  background: var(--WHITEColor);
  color: var(--BLUEColor);
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  /*border: solid pink 2px;*/
}

.event-title{
  /*border :solid yellow 2px;*/
  margin-top: 3vh;
  margin-bottom: 2vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.event-name{
  /*border : solid pink 3px;*/
  color: var(--WHITEColor);
  width: 100%;
  display: flex;
  font-size: 1.2em;
}

.event-card > a {
  text-decoration: none;
}

.event-date{
  color: var(--WHITEColor);
  /**/
  font-size: 2em;
  width: 100%;
  margin-right: 0;
  display: flex;
  justify-content: right;
}

.event-description{
  color: var(--WHITEColor);
}




/**/


/*
    ___ _       _                                           
   / __|_)     | |                                      _   
 _| |__ _  ____| |__  _____    _____ _   _ _____ ____ _| |_ 
(_   __) |/ ___)  _ \| ___ |  | ___ | | | | ___ |  _ (_   _)
  | |  | ( (___| | | | ____|  | ____|\ V /| ____| | | || |_ 
  |_|  |_|\____)_| |_|_____)  |_____) \_/ |_____)_| |_| \__)

                                */


/* Layout principal */

.project-layout {
  margin-left: 4vw;
  margin-right: 4vw;
  display: grid;
  grid-template-columns: minmax(40vw, 40vw) minmax(0, 1fr);
  gap: 0px;
  padding: 1vw;
}

/* Colonne gauche */

.project-header-bis {
  display:flex;
  height:2vh;
  justify-content:space-between;
  align-items: baseline;
  /*border: solid black 1px;*/
  margin-right: 1vw;
  margin-bottom: 2vh;;
}

.project-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  /*border: solid black 2px;*/
}

.project-author {
  font-size: 1.2em;
  margin: 0 0vw 4vw;
}

.project-identity {
  font-size: 1em;
  margin: 0 0vw 0vw;
}

.project-meta {
  margin: 0;
  font-size: 1.2em;
  font-weight: 500;
}

.project-status {
  margin: 0px 0 0;
  font-size: 1em;
  color: var(--BLACKColor);
}

.project-contact p {
  margin: 0;
font-size: 1em;
}

.project-contact a {
  color: var(--BLACKColor);
  text-decoration: none;
}

.project-contact a:hover {
  text-decoration: underline;
}

.project-keywords {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1vhpx;
}

.project-keywords li {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background-color: #fff;
}

.project-other {
  font-size: 1em;
  display: flex;
  margin-top: 5vh;
  font-family: 'archivo';
  margin-left: 4vw;
  text-transform: uppercase;
  color: var(--BLACKColor);
}

.project-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-related li {
  margin-bottom: 4px;
}

.project-related a {
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
}

.project-related a:hover {
  text-decoration: underline;
}

.grid{
  margin-left: 0vw;
  margin-right: 5vw;
  margin-top: 1vh;
  margin-bottom: 1vh;
}

/* Colonne droite */

.project-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}



/* Citation */

.project-quote {
  /*border: solid green 2px;*/
  margin: 0;
  width: 45vw;
  color: var(--GREENColor);
  font-size: 0.8;
  font-style: italic;
}

/* Texte */

.project-text {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 45vw;
}

.project-text p {
  margin: 0 0 12px;
}

.project-credits {
  font-size: 0.8em;
  color: var(--muted);
  margin-top: 8px;
}


/*pattern*/
#pattern-low{
width: 100%;
z-index: -1000;
margin-top: 5vh;
margin-bottom: 5vh;;
/*background-color: var(--BLUEColor);*/
/*border: solid black 1px; */
}

/* =========
   RESPONSIVE PROJET – TÉLÉPHONE
   ========= */
@media (max-width: 768px) {


  /* carrousel */
  .carousel {
    width: 100%;
    max-width: 100%;
    margin: 0px;
    border-radius: 0;
    margin-top: 0;
  }

  .carousel-slide img {
    max-height: auto;
    object-fit: cover;
  }

  /* layout projet : colonne unique */
  .project-layout {
    display: block;        /* au lieu de grid */
    padding: 0 12px 24px;
  }

  .project-sidebar {
    margin-bottom: 20px;
  }

  .project-header-bis {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
  }

  .project-author {
    order: 1;
    font-size: 18px;
  }

  .project-option,
  .project-year {
    font-size: 14px;
  }

  .project-status {
    font-size: 13px;
  }

  .project-contact p {
    font-size: 13px;
    word-break: break-all;
  }



  /* colonne droite texte */
  .project-main {
    display: block;
    padding-top: 4px;
    width: 100%;
  }

  .project-quote {
    margin: 0 0 12px;
    width: 100%;
    font-size: 1em;
    padding: 8px 10px;
  }

  .project-text {
    font-size: 1.2em;
    width: 100%;
    display: inline;
    line-height: 1.5;
  }

  .project-text p {
    margin-bottom: 10px;
    width: 100%;
    margin: 0 0 12px;

  }

  .project-credits {
    font-size: 12px;
    width: 100%;
  }

  .grid{
    width: auto;
    margin-left: 0vw;
    margin-right: 0vw;
  }

  /* "Découvrez également" : cartes en colonne */
  .project-other {
    padding: 0 12px;
    font-size: 15px;
  }

  .projects-list {
    padding: 0 12px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .project-card {
    display: flex;
    flex-direction: column;
  }

  .project-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .project-content {
    padding-top: 8px;
  }

  .project-header {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
  }

  .project-description {
    font-size: 13px;
  }



  /* footer en pile */
  #footer {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  #footer span {
    width: 100%;
  }

  footer hr {
    margin: 16px 0 8px;
  }

}


/*


       _     _       _             _            _       
      | |   | |     | |           | |          | |      
  ___ | | __| |  ___| |_ _   _  __| | ___ _ __ | |_ ___ 
 / _ \| |/ _` | / __| __| | | |/ _` |/ _ \ '_ \| __/ __|
| (_) | | (_| | \__ \ |_| |_| | (_| |  __/ | | | |_\__ \
 \___/|_|\__,_| |___/\__|\__,_|\__,_|\___|_| |_|\__|___/



*/
table{
  width: 80vw;
  /*border:solid black 2px;*/
  justify-content: center;
  align-items: center;
  margin: auto;
}

tbody{
  width: 80vw;
  /*border:solid black 2px;*/
  text-decoration: none;
}

tr > td > a {
  text-decoration: none;
  color: var(--BLUEColor);
}

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


  .main-layout {
    padding-left: 12px;
    padding-right: 12px;
  }

  .main-layout table,
  .main-layout tbody,
  .main-layout tr,
  .main-layout td {
    display: block;
    width: 100%;
  }

  .main-layout tr {
    margin: 0;
  }

  .main-layout td {
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    font-size: 2em;
    text-align: left;
  }

  .main-layout td:empty {
    display: none;
  }

  .main-layout td a[style*="width:10px"] {
    display: inline-block !important;
  }

  #footer {
    display: block;
  }

  #footer span {
    display: block;
    margin-bottom: 16px;
  }

}