
body {
  font-family : 'MartianMono_SemiCondensed', sans-serif;
  font-weight: normal;
  font-style: normal;
}

p {
  line-height : 1.4;
  font-size : 14px;
}

figure {
  margin-top : 0;
}

p:first-of-type {
  margin-top: 0;
}

.background_index {
  width: 100vw;
  height : 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}


.home #primary-menu,
.home #primary-menu ul,
.home #primary-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;

}

.home #primary-menu {
  position: relative;
  width: 100vw;
  height: 100vh;
}

.home #primary-menu li a {
    text-decoration: none;
    font-size : 20px;
    font-weight: normal;
}



.home #center-title {
    font-family: 'Monor_Regular', serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    font-weight: normal;
    text-align: center;
    z-index: 1;
    color: black;
    pointer-events: none;
}


.title-line {
    font-size: 40px;
    font-weight: normal;
    margin: 0;
    color: black;
    line-height: 1;
    white-space: nowrap;
}

.title-wrapper-top {
  height: auto; /* or set a fixed height if needed */
  overflow: hidden;
  position: relative;
}

.title-line-top {
  transform: translateY(100%);
  animation: slide-from-behind 1s ease-out forwards;
  animation-delay: 0.5s; /* adjust as needed */
}

@keyframes slide-from-behind {
  to {
    transform: translateY(0);
  }
}

.title-wrapper-bottom {
  overflow: hidden;
  position: relative;
  height: auto; /* or set a fixed height */
}

.title-line-bottom {
  transform: translateY(-100%);
  animation: slide-down 1s ease-out forwards;
  animation-delay: 0.5s; /* adjust as needed */
}

@keyframes slide-down {
  to {
    transform: translateY(0);
  }
}

#center-title svg {
    width: 85px;
    height: auto;
    display: inline-block;
    margin-top : 15px;
}

.soleil .st0 {
  stroke-dasharray: 100; /* Can adjust later */
  stroke-dashoffset: 100;
  animation: draw-line 3s ease forwards;
  animation-delay : 0.7s;
}



@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

.archive main,
.single main,
.page main {
  color : #4952ff;
}

.home .page-header {
  display: none;
}

.archive .page-header,
.single .page-header,
.page .page-header {
  width: 100vw;
  background-color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center; /* centers horizontally */
  z-index: 20;
  border-bottom : 0.5px solid #4952ff;
}

.archive .page-header,
.single .page-header,
.page .page-header {
  overflow: hidden; /* Acts as the "wall" that hides the start of the animation */
}



.archive .headline ,
.single .headline ,
.page .headline  {
  /* transform: translateY(100px); */
  /* animation: slideUp 0.6s ease-out forwards; */
  animation-delay: 0s; /* Optional: delay the animation */
}

@keyframes slideUp {
  to {
    transform: translateY(0);

  }
}

.archive .headline,
.single .headline,
.page .headline {
  font-family: 'Monor_Regular', serif;
  font-size: 30px;
  font-weight: normal;
  text-align: center;
  z-index: 1;
  position: static; /* removed fixed */
  left: auto;
  top: auto;
}

.archive .headline a,
.single .headline a,
.page .headline a {
  text-decoration: none;
  color : #4952ff;
}


.archive #bottom-menu,
.single #bottom-menu,
.page #bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background-color: #ffffff;
  z-index: 1000;
  padding: 0 20px;
  display: flex;
  align-items: center;
  border-top : 0.5px solid #4952ff;
  overflow:hidden;
}

#bottom-menu li a {
  display: inline-block;
  /* border: 0.5px solid #4952ff; */
  border-radius: 16px;
  padding: 5px 10px;
  text-decoration: none;
}


.archive .bottom-menu,
.single .bottom-menu,
.page .bottom-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.archive .bottom-menu li,
.single .bottom-menu li,
.page .bottom-menu li {
  margin: 0;
  position: relative;
}

.archive .bottom-menu a,
.single .bottom-menu a,
.page .bottom-menu a {
  text-decoration: none;
  color: #4952ff;
  display: inline-block;
  /* transform: translateY(-200%); */
  /* animation: slideDown 0.6s ease-out forwards; */
  animation-delay: 0s; /* Optional: delay for effect */
}

@keyframes slideDown {
  to {
    transform: translateY(0);
  }
}

#bottom-menu li a:hover {
  display: inline-block;
  border: 0.5px solid #fff;
  border-radius: 16px;
  padding: 5px 10px;
  text-decoration: none;
  background-color: #4952ff;
  color: #fff;
}

.archive .site-main,
.single .site-main {
  width : 100vw;
  display: flex;
}

.page .site-main {
  width : 100vw;
  padding-left : 20px;
  padding-right: 20px;
}

.archive .post-menu,
.single .post-menu {
  width : 30vw;
  padding-left : 20px;
  padding-right : 30px;
}

.archive .post-menu h2,
.single .post-menu h2 {
  font-size: 18px;
  font-weight: normal;
}

.archive .post-menu ul,
.single .post-menu ul {
  list-style : none;
  text-decoration: none;
  font-family: 'Monor_Regular', serif;
  text-transform: uppercase;
  margin:0;
  padding:0;
}

.archive .post-menu li,
.archive .post-menu a,
.single .post-menu li,
.single .post-menu a,
.single .post-menu a:visited,
.archive .post-menu a:visited {
  list-style : none;
  text-decoration: none;
  color: #4952ff;
}

.single .post-menu a,
.archive .post-menu a {
  border-bottom : 0.5px solid #4952ff;

}

.single .post-menu a:hover,
.archive .post-menu a:hover {
  border-bottom : 0px solid #4952ff;

}

/* .archive .post-menu a:hover,
.single .post-menu a:hover,
.single .post-menu li:hover,
 {
  text-decoration: none!important;
} */


.archive .latest-post,
.single .latest-post {
  width : 70vw;
  padding-right : 30px;
}

.post-title {
  font-family: 'Monor_Regular', serif;
  text-transform: uppercase;
  /* text-decoration: underline; */
  font-size: 28px;
  font-weight: normal;
  text-decoration: underline;
  text-decoration-thickness : 0.5px;
  text-underline-offset: 4px;
}

/* .post-title {
  position: relative;
  display: inline-block;
} */

/* .post-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 0.5px; 
  background-color: #4952ff;
  bottom: 6px;
} */

.page .entry-title {
  font-family: 'Monor_Regular', serif;
  text-transform: uppercase;
  font-size: 28px;
  font-weight: normal;

}

.entry-content {
    margin-top: 0px;
}


figcaption {
  background : none!important;
  box-sizing : initial!important;
  color : #000!important;
  scrollbar-color: none!important;
  scrollbar-gutter: initial!important;
  scrollbar-width: initial!important;
  text-shadow: none!important;
  position: relative!important;
  flex-basis : initial!important;
  flex-grow : initial!important;
  right : initial!important;
  bottom : initial!important;
  left : initial!important;
  transform: none!important;
  box-shadow: none!important;
  filter: none!important;
  padding-top : 3px!important;
  padding-bottom : 3px!important;
  padding-left : 0!important;
  padding-right : 0!important;
  font-size : 10px!important;
  text-align : left!important;
  color : #4952ff!important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
  backdrop-filter : initial!important;
  mask-image : initial!important;
}



.post-menu-toggle {
  all: unset; /* Remove all default button styles */
  color: blue;
  font-family: 'MartianMono_SemiCondensed', monospace;
  font-size : 14px;
  cursor: pointer;
  display: inline-block;
  display: none;
}

.category-group ul {
  margin-left : 15px!important;
}

@media (min-width: 1700px) {
  .archive .headline a,
  .single .headline a,
  .page .headline a{
    font-size : 38px;
  }

  .archive .entry-title,
  .single .entry-title,
  .page .entry-title {
    font-size : 24px;

  }

  p {
    font-size : 13px;
  }

  figcaption {
    font-size : 12px;
  }

  .archive .bottom-menu li a,
  .page .bottom-menu li a,
  .single .bottom-menu li a {
    font-size : 22px;
  }

  .home #primary-menu li a {
    font-size : 26px;
  }

  .home #center-title .title-line {
    font-size: 40px;
  }
  .home #center-title svg {
    width : 100px;
  }

  .archive .post-menu h2, .single .post-menu h2 {
    font-size : 20px;
  }

  .archive .post-menu li a, .single .post-menu li a {
    font-size : 20px;
  }

}


@media screen and (max-width: 850px) {
  .archive .headline,
  .single .headline,
  .page .headline {
    font-size : 24px;
  }

  .archive .entry-title,
  .single .entry-title,
  .page .entry-title {
    font-size : 20px;

  }

  p {
    font-size : 10px;
  }

  figcaption {
    font-size : 9px;
  }

  .archive .bottom-menu li a,
  .page .bottom-menu li a,
  .single .bottom-menu li a {
    font-size : 12px;
  }

  .home #primary-menu li a {
    font-size : 12px;
  }

  .home #center-title .title-line {
    font-size: 20px;
  }
  .home #center-title svg {
    width : 60px;
  }

  .archive .site-main, .single .site-main {
    display: block;
  }

  .archive .post-menu, .single .post-menu {
    width : 100vw;
    padding-left : 10px;
    padding-right : 10px;
  }

  .archive .post-menu ul li:last-child,
  .single .post-menu ul li:last-child {
    padding-bottom: 20px;
  }

  .archive .latest-post, .single .latest-post {
    width : 100vw;
    padding-left : 10px;
    padding-right : 10px;
    margin-top : 10px
  }

  .post-title {
    font-size: 20px;
    line-height: 1.2;
  }

  .archive .post-menu h2, .single .post-menu h2 {
    font-size : 14px;
  }

  .archive .post-menu li a , .single .post-menu li a {
    font-size : 12px;
  }

  .post-menu {
    display: none;
    margin-top: 10px;
  }

  .post-menu.active {
    display: block;
  }

  .post-menu-toggle {
    display: block;
    background-color: #fff;
    border: 0px;
    padding: 8px 10px;
    font-size: 12px;
    cursor: pointer;
  }

  .desktop-only {
    display: none;
  }

  .archive .post-menu h2, .single .post-menu h2 {
    margin-bottom : 2px;
  }

  .post-menu {
    height: 0;
    overflow: hidden;
    background-color: transparent;
    color: inherit;
    transition: height 0.4s ease, background-color 0.4s ease, color 0.4s ease;
  }

  .post-menu-container.open,
  .post-menu-container.open .post-menu-toggle {
    background-color: blue;
    color: white;
  }

  .post-menu-container.open a,
  .post-menu-container.open .post-menu-toggle a,
  .archive .post-menu-container.open li,
  .archive .post-menu-container.open a,
  .archive .post-menu-container.open a:visited,
  .single .post-menu-container.open li,
  .single .post-menu-container.open a,
  .single .post-menu-container.open a:visited {
    color: white;
  }

}
