@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  color: rgb(0, 0, 0);
  list-style-type: none;
  text-decoration: none;
  font-family: "Courier New", Courier, monospace;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/*FIX FONT SIZE 1REM = 16PX*/
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

p,
a,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 1rem;
}

body {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: rgb(255, 255, 255) !important;
  position: relative;
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

footer {
  padding: 3rem 2rem 5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}
footer #category_div {
  padding-bottom: 5rem;
  text-decoration: underline;
  text-underline-position: under;
  display: flex;
  align-items: center;
  justify-content: center;
}
footer #category_div p {
  padding: 0 1rem;
}
footer #category_div a {
  text-align: center;
  padding: 0 1rem;
}
footer #category_div .arrow_left {
  cursor: pointer;
  width: 10px;
  height: 10px;
  border-top: 1px solid black;
  border-left: 1px solid black;
  transform: rotate(-45deg);
}
footer #category_div .arrow_right {
  cursor: pointer;
  width: 10px;
  height: 10px;
  border-bottom: 1px solid black;
  border-right: 1px solid black;
  transform: rotate(-45deg);
}
footer #menu_footer {
  padding-bottom: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
footer #menu_footer li {
  padding: 1rem;
}
footer #menu_footer li a {
  text-align: center;
}
footer p {
  color: gray !important;
  text-align: center;
}

footer.visible {
  opacity: 1;
}

/*NAVIGATION*/
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  height: 52px;
}
nav #main_nav.visible {
  opacity: 1;
}
nav #main_nav {
  transition: transform 0.3s ease, opacity 1s ease; /* Smooth transition for the translateY */
  opacity: 0;
  padding: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  display: flex;
  width: 100%;
  border-bottom: 1px solid black;
  background-color: white;
  box-sizing: content-box;
}
nav #main_nav #titre_post_type_category {
  display: flex;
}
nav #main_nav #titre_post_type_category h1 a {
  font-weight: bold;
}
nav #main_nav #titre_post_type_category h1 a:hover {
  text-decoration: underline;
  text-underline-position: under;
}
nav #main_nav #titre_post_type_category h1 a.current {
  text-decoration: underline;
  text-underline-position: under;
}
nav #main_nav #titre_post_type_category h1 a img {
  max-height: 25px;
  width: auto;
}
nav #main_nav #titre_post_type_category #boucle_menu {
  display: none;
}
nav #main_nav #titre_post_type_category #category_div {
  padding-left: 2rem;
  text-decoration: underline;
  text-underline-position: under;
  display: flex;
  align-items: center;
  justify-content: center;
}
nav #main_nav #titre_post_type_category #category_div p {
  padding: 0 1rem;
}
nav #main_nav #titre_post_type_category #category_div a {
  padding: 0 1rem;
}
nav #main_nav #titre_post_type_category #category_div .arrow_left {
  cursor: pointer;
  width: 10px;
  height: 10px;
  border-top: 1px solid black;
  border-left: 1px solid black;
  transform: rotate(-45deg);
}
nav #main_nav #titre_post_type_category #category_div .arrow_right {
  cursor: pointer;
  width: 10px;
  height: 10px;
  border-bottom: 1px solid black;
  border-right: 1px solid black;
  transform: rotate(-45deg);
}
nav #main_nav #titre_post_type_category .back_arrow_a {
  padding-left: 2rem;
  display: none;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  margin-right: 2rem;
}
nav #main_nav #titre_post_type_category .back_arrow_a .arrow {
  width: 15px;
  height: 15px;
  border-left: 1px solid black;
  border-top: 1px solid black;
  transform-origin: center;
}
nav #main_nav #wide_menu {
  display: flex;
  flex-wrap: wrap;
}
nav #main_nav #wide_menu li a {
  padding-left: 2rem;
}
nav #main_nav #wide_menu li a:hover {
  text-decoration: underline;
  text-underline-position: under;
}
nav #main_nav #wide_menu li a.current {
  text-decoration: underline;
  text-underline-position: under;
}
nav #small_menu_div {
  position: fixed;
  transform: translateY(-100%);
  transition: transform 0.5s ease;
  top: 0;
  left: 0;
  width: 100vw;
  display: flex;
  justify-content: center;
  z-index: -1;
  border-bottom: 1px solid black;
  background-color: white;
  padding: 1.5rem;
  padding-top: calc(52px + 1.5rem);
}
nav #small_menu_div ul {
  opacity: 0;
  transition: opacity 1s ease 0.3s;
}
nav #small_menu_div ul li {
  display: flex;
  padding-bottom: 1rem;
  justify-content: center;
}
nav #small_menu_div ul li a {
  white-space: nowrap;
}
nav #small_menu_div ul li a:hover {
  text-decoration: underline;
  text-underline-position: under;
}
nav #small_menu_div ul li a.current {
  text-decoration: underline;
  text-underline-position: under;
}

/*HAMBURGER*/
/* HAMBURGER */
#hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.bar {
  position: absolute;
  width: 24px;
  height: 1px; /* Adjust thickness */
  background-color: black;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Bar Positions for + */
#bar1 {
  transform: rotate(90deg);
}

#bar2 {
  transform: rotate(0deg);
}

/* Active State */
#hamburger.active #bar1 {
  transform: rotate(135deg);
}

#hamburger.active #bar2 {
  transform: rotate(45deg);
}

.main_section {
  margin-bottom: 37rem !important;
  min-height: calc(100svh - 52px);
}

/*LOOP PAGES*/
#loop {
  display: flex;
  justify-content: center;
  margin: 2rem;
  padding-top: 5rem;
  padding-bottom: 7rem;
}
#loop #grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#loop #grid .post.visible {
  opacity: 1;
}
#loop #grid .post.visible .post_thumbnail_loop img {
  transform: translateY(0);
}
#loop #grid .post {
  opacity: 0;
  transition: opacity 1s ease;
  padding: 56px;
  height: 600px;
  width: 412px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  /*
  .loaded {

      animation: fade_in_animation 3s;
      opacity: 1;
  }
  */
}
#loop #grid .post a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#loop #grid .post a .post_thumbnail_loop {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 300px;
}
#loop #grid .post a .post_thumbnail_loop img {
  transition: transform 0.8s ease;
  transform: translateY(30px);
}
#loop #grid .post a .post_cartel_loop {
  height: 188px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
}
#loop #grid .post a .post_cartel_loop h1, #loop #grid .post a .post_cartel_loop h2, #loop #grid .post a .post_cartel_loop h3, #loop #grid .post a .post_cartel_loop h4, #loop #grid .post a .post_cartel_loop h5, #loop #grid .post a .post_cartel_loop h6, #loop #grid .post a .post_cartel_loop p {
  text-align: center;
}
#loop #grid .post a .post_cartel_loop h3 {
  padding: 1rem 0;
}
#loop #grid .post a .post_cartel_loop .post_title_loop {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#loop #grid .post a .post_cartel_loop .post_description_loop {
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*PAGES BIOGRAPHIE ET ACCEUIL*/
#page_section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 2rem;
}
#page_section #content_page {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  padding: 4rem 0 3rem 0;
}
#page_section #content_page a {
  text-decoration: underline;
  text-underline-position: under;
}

#pdf_button {
  padding-top: 5rem;
}

/*GESTION DES LISTES DANS LE EDITOR CONTENT*/
.editor_content {
  padding-bottom: 2rem;
}
.editor_content ul {
  margin-left: 10px;
  list-style-type: none;
}
.editor_content ul li {
  display: flex;
}
.editor_content ul li:before {
  text-indent: -10px;
  content: "-";
  width: 10px;
}
.editor_content button {
  background: none;
  border: none;
  outline: none;
  font-size: 1rem;
}
.editor_content button:hover {
  cursor: pointer;
  text-decoration: underline;
  text-underline-position: under;
}
.editor_content .wp-block-spacer {
  height: 1rem !important;
}
.editor_content a {
  word-break: break-all;
}
.editor_content a:hover {
  text-decoration: underline;
  text-underline-position: under;
}

#portfolio {
  display: none;
}

/*NAVIGATION PAGES AVEC BACKGROUND IMAGE (ACCEUIL ET ARCHIVES-LIKE)*/
#full_page_container #full_page_menu li a.visible, .next_section #full_page_menu li a.visible {
  transform: translateY(0);
  opacity: 1;
}

#full_page_container, .next_section {
  display: flex;
  flex-direction: column;
  background-size: cover;
  background-position: center;
  justify-content: center;
  align-items: center;
  height: calc(100svh - 52px);
  width: 100%;
  padding-bottom: 8rem;
}
#full_page_container #full_page_menu, .next_section #full_page_menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}
#full_page_container #full_page_menu ul, .next_section #full_page_menu ul {
  width: 100%;
}
#full_page_container #full_page_menu li, .next_section #full_page_menu li {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  width: 100%;
}
#full_page_container #full_page_menu li a, .next_section #full_page_menu li a {
  opacity: 0;
  width: 100%;
  background-color: white;
  padding: 1rem 4rem 1.25rem 4rem;
  font-weight: bold;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(20px);
  transition: transform 1s ease, opacity 1s ease;
  will-change: auto;
  white-space: nowrap;
}
#full_page_container #full_page_menu li a:hover, .next_section #full_page_menu li a:hover {
  cursor: pointer;
  text-decoration: underline;
  text-underline-position: under;
}
#full_page_container .full_page_image_div, .next_section .full_page_image_div {
  width: 100%;
  height: 100%;
  padding-top: 8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
}
#full_page_container .full_page_image_div .full_page_image, .next_section .full_page_image_div .full_page_image {
  max-width: 100%;
  max-height: 80svh;
  padding: 0 1rem;
  opacity: 0;
  transition: opacity 1s ease;
}
#full_page_container .full_page_image_div .full_page_image.visible, .next_section .full_page_image_div .full_page_image.visible {
  opacity: 0;
}

#full_page_container_index {
  opacity: 0;
  height: calc(100svh - 52px);
  transition: opacity 1s ease;
  width: 100%;
  cursor: pointer;
}

#full_page_container_index.visible {
  opacity: 1;
}

.full_page_container_class {
  opacity: 0;
  transition: opacity 1s ease;
}

.full_page_container_class {
  opacity: 1;
}

.next_section {
  height: 100svh;
}

/*SINGLE PAGE OEUVRES*/
#oeuvre.visible {
  opacity: 1;
}
#oeuvre.visible #image_cartel #image img {
  transform: translateY(0px);
}
#oeuvre.visible #image_cartel #cartel {
  opacity: 1;
}

#oeuvre {
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
  padding-bottom: 7rem;
}
#oeuvre #image_cartel {
  height: calc(100vh - 52px);
  height: calc(100svh - 52px);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3rem;
}
#oeuvre #image_cartel #image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  width: 100%;
  height: 1px;
  /*
  .loaded {

      animation: fade_in_animation 3s;
      opacity: 1;
  }
  */
}
#oeuvre #image_cartel #image img {
  will-change: transform;
  position: relative; /* Ensure it respects the parent's boundaries */
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}
#oeuvre #image_cartel #cartel {
  padding-top: 3rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.4s ease;
}
#oeuvre #image_cartel #cartel #titre h2 {
  text-align: center;
  padding-bottom: 1.5rem;
}
#oeuvre #image_cartel #cartel #description {
  padding-bottom: 1.5rem;
}
#oeuvre #image_cartel #cartel #description p {
  text-align: center;
}
#oeuvre #image_cartel #cartel #post_links {
  display: flex;
  justify-content: center;
  padding-bottom: 3rem;
}
#oeuvre #image_cartel #cartel #post_links a {
  padding: 0 1rem;
}
#oeuvre #image_cartel #cartel #post_links a:hover {
  text-decoration: underline;
  text-underline-position: under;
}
#oeuvre #category_single {
  padding-bottom: 3rem;
  display: none;
}
#oeuvre #category_single a {
  text-decoration: underline;
  text-underline-position: under;
}

figcaption {
  text-align: center;
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

#div_more_content {
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.expand-button {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-block;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s ease;
}
.expand-button .horizontal, .expand-button .vertical {
  background-color: black;
  position: absolute;
  transition: transform 0.3s ease;
}
.expand-button .horizontal {
  width: 20px;
  height: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.expand-button .vertical {
  width: 1px;
  height: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.expand-button.open .vertical {
  transform: translate(-50%, -50%) rotate(90deg);
}
.expand-button.open .horizontal {
  width: 22px;
}

.previous_next {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}
.previous_next .arrow {
  width: 15px;
  height: 15px;
  border-left: 1px solid black;
  border-top: 1px solid black;
  transform-origin: center;
}

.smaller-than .arrow {
  transform: rotate(-45deg);
}

.greater-than .arrow {
  transform: rotate(135deg);
}

#excerpt {
  padding-bottom: 3rem;
}
#excerpt p {
  padding-bottom: 1rem;
}
#excerpt p::before {
  content: "« ";
}
#excerpt p::after {
  content: " »";
}

/*EDITOR CONTENT POUR POSTS*/
#contenu_post, #excerpt {
  max-width: 800px;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
}
#contenu_post a, #excerpt a {
  text-decoration: underline;
  text-underline-position: under;
}
#contenu_post p, #excerpt p {
  text-align: center;
}

/*SOULIGNAGE PLUS BAS POUR LES ELEMENTS DE LA NAVIGATION CONCERNES*/
.current-menu-item a {
  text-decoration: underline;
  text-underline-position: under;
}

.current-menu-item-a {
  text-decoration: underline;
  text-underline-position: under;
}

/*

    @keyframes fade_in_animation {
        0% { opacity: 0; }
        100% { opacity: 1; }
      }

*/
@media screen and (max-width: 1200px) {
  html {
    font-size: 14px;
  }
}
@media screen and (max-width: 1100px) {
  nav #main_nav {
    padding: 1rem;
  }
  nav #small_menu_div.active {
    transform: translateY(0);
  }
  nav #small_menu_div.active ul {
    opacity: 1;
  }
  #loop {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
  }
  section:not(#loop) {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  #hamburger {
    display: flex;
  }
  #wide_menu_div {
    display: none;
  }
  #page_section #content_page {
    padding-top: 2rem;
  }
  footer {
    padding: 3rem 1rem 5rem 1rem;
  }
  .back_arrow_a.back_arrow_a_taxonomy {
    display: flex !important;
  }
}
@media screen and (min-width: 1101px) {
  .boucle_menu {
    display: none !important;
  }
}
@media screen and (max-width: 600px) {
  nav #category_div {
    padding-left: 1.5rem !important;
  }
}
@media screen and (max-width: 480px) {
  nav #category_div .arrow_left, nav #category_div .arrow_right {
    display: none !important;
  }
  nav #category_div p {
    padding: 0 !important;
  }
  nav #category_div a {
    padding: 0 !important;
  }
  nav #category_div .arrow_left, nav #category_div .arrow_right {
    display: none !important;
  }
}
@media screen and (max-width: 440px) {
  #loop #grid .post {
    width: 100% !important;
    height: auto;
    max-height: 600px;
    padding: 2.5rem 0;
  }
  #loop #grid .post img {
    max-width: 100%;
    height: auto;
  }
  nav {
    height: 52px;
  }
  nav #small_menu_div {
    padding-top: calc(52px + 1.5rem);
  }
  nav .taxonomy_category_div {
    display: none !important;
  }
  nav .back_arrow_a.back_arrow_a_single {
    display: flex !important;
  }
  #full_page_container {
    height: calc(100vh - 52px);
    height: calc(100svh - 52px);
  }
  #oeuvre #image_cartel {
    height: calc(100vh - 52px);
    height: calc(100svh - 52px);
  }
}
@media screen and (max-width: 370px) {
  #category_single {
    display: flex !important;
  }
  #category_div_inside {
    display: flex;
  }
}
@media screen and (max-width: 300px) {
  .post_type_category_div {
    display: none !important;
  }
}
@media screen and (max-width: 280px) {
  nav #site_title #filters_button {
    padding-left: 1rem;
  }
}
@media screen and (max-width: 900px) {
  html {
    font-size: 14px;
  }
}
@media screen and (max-width: 600px) {
  html {
    font-size: 14px;
  }
}
@media screen and (max-height: 900px) {
  #loop {
    padding-top: 1rem;
  }
} 
@media screen and (max-height: 700px) {
  #full_page_container #full_page_menu, .next_section #full_page_menu {
    padding-top: 2.5rem;
  }
  #full_page_container #full_page_menu li, .next_section #full_page_menu li {
    padding: 0.25rem 1rem;
  }
  footer {
    padding: 2rem;
    padding-bottom: 3rem;
  }
} 
@media screen and (max-height: 550px) {
  #full_page_container #full_page_menu li, .next_section #full_page_menu li {
    padding: 0 1rem;
  }
  #full_page_container #full_page_menu li a, .next_section #full_page_menu li a {
    padding: 0.75rem;
  }
}/*# sourceMappingURL=main.css.map */