:root {
  --FS12: calc(12 * 0.0833333333rem);
  --LH12: calc(15/12);
  --FS16: calc(16 * 0.0833333333rem);
  --LH16: calc(30/22);
  --FS22: calc(22 * 0.0833333333rem);
  --LH22: calc(30/22);
  --FS30: calc(30 * 0.0833333333rem);
  --LH30: calc(38/30);
  --FS60: calc(60 * 0.0833333333rem);
  --LH60: calc(68/60);
}

:root {
  --FRONT_COLOR: black;
  --BACK_COLOR: white;
  --RED: #e04117;
  --GREEN: #027939;
  --BLUE: #034198;
  --HIGHLIGHT: var(--RED);
  --BORDER_COLOR: rgba(0,0,0,0.2);
  --GRID_MARGIN: calc(20 * 0.0833333333rem);
  --GRID_GUTTER: calc(20 * 0.0833333333rem);
  --HEADER_WIDTH: calc(60 * 0.0833333333rem);
  --12: calc(12 * 0.0833333333rem);
  --15: calc(15 * 0.0833333333rem);
  --20: calc(20 * 0.0833333333rem);
  --30: calc(30 * 0.0833333333rem);
  --60: calc(60 * 0.0833333333rem);
}

@media (max-width: 720px) {
  #main-container {
    padding-top: calc(var(--HEADER_WIDTH) + var(--GRID_MARGIN));
    padding-left: var(--GRID_MARGIN);
  }
  header {
    width: 100%;
    height: var(--HEADER_WIDTH);
    padding: var(--GRID_MARGIN);
    border-right: 0;
    border-bottom: 1px solid var(--BORDER_COLOR);
    font-family: "EuroNext Mono";
    font-size: var(--FS22);
    line-height: var(--LH22);
    letter-spacing: 0em;
  }
  header nav {
    background-color: var(--BACK_COLOR);
    height: calc(100vh - var(--HEADER_WIDTH));
    padding: var(--GRID_MARGIN) 0;
    box-sizing: border-box;
  }
  header nav.visible {
    pointer-events: initial !important;
    opacity: 1 !important;
  }
  header #jeanlambert {
    transform: none;
    width: fit-content;
  }
  header #burger {
    display: block;
    position: absolute;
    top: 50%;
    right: var(--GRID_MARGIN);
    background-color: var(--HIGHLIGHT);
    width: var(--30);
    height: 2px;
  }
  header #burger::before, header #burger::after {
    content: "";
    position: absolute;
    top: -0.5em;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: var(--HIGHLIGHT);
    -webkit-transform: rotate(0);
    transform: rotate(0);
    -webkit-transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  header #burger::after {
    top: 0.5em;
  }
  header #switch-view #switch-view-grid::before {
    width: var(--30);
    height: var(--30);
    background: linear-gradient(var(--HIGHLIGHT), var(--HIGHLIGHT)) 0 0/calc(14 * 0.0833333333rem) calc(14 * 0.0833333333rem), linear-gradient(var(--HIGHLIGHT), var(--HIGHLIGHT)) 100% 0/calc(14 * 0.0833333333rem) calc(14 * 0.0833333333rem), linear-gradient(var(--HIGHLIGHT), var(--HIGHLIGHT)) 0 100%/calc(14 * 0.0833333333rem) calc(14 * 0.0833333333rem), linear-gradient(var(--HIGHLIGHT), var(--HIGHLIGHT)) 100% 100%/calc(14 * 0.0833333333rem) calc(14 * 0.0833333333rem);
    background-repeat: no-repeat;
  }
  header #switch-view #switch-view-list::before {
    width: var(--30);
    height: calc(24 * 0.0833333333rem);
    background: linear-gradient(var(--HIGHLIGHT), var(--HIGHLIGHT)) 0 0/100% calc(2 * 0.0833333333rem), linear-gradient(var(--HIGHLIGHT), var(--HIGHLIGHT)) 0 50%/100% calc(2 * 0.0833333333rem), linear-gradient(var(--HIGHLIGHT), var(--HIGHLIGHT)) 0 100%/100% calc(2 * 0.0833333333rem);
    background-repeat: no-repeat;
  }
  header:hover {
    width: 100%;
  }
  header:hover nav {
    opacity: 0;
    pointer-events: none;
  }
}
@media (max-width: 720px) {
  .template-page-home #main-container {
    height: unset;
  }
  .template-page-home #section-slideshow {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: var(--GRID_GUTTER);
    width: 100%;
  }
  .template-page-home #section-slideshow .carrousel {
    width: 100%;
    aspect-ratio: 1/1;
  }
  .template-page-home #section-slideshow .carrousel .carrousel-inner {
    aspect-ratio: 1/1;
  }
  .template-page-home #section-slideshow .cursor {
    display: none;
    pointer-events: none;
  }
  .template-page-home #section-slideshow .count {
    position: relative;
    right: unset;
    bottom: unset;
  }
  .template-page-home #section-slideshow .count#count-current {
    right: unset;
  }
}
@media (max-width: 720px) {
  .template-page-contact #section-contact {
    flex-direction: column;
    row-gap: var(--GRID_GUTTER);
  }
  .template-page-contact #section-contact .left {
    width: 100%;
  }
  .template-page-contact #section-contact .left h1,
  .template-page-contact #section-contact .left .email,
  .template-page-contact #section-contact .left .phone,
  .template-page-contact #section-contact .left .address {
    font-family: "VanillaSerif Light";
    font-size: var(--FS30);
    line-height: var(--LH30);
    letter-spacing: 0em;
  }
  .template-page-contact #section-contact .left a {
    word-wrap: anywhere;
  }
  .template-page-contact #section-contact .right {
    width: 100%;
  }
}
@media (max-width: 720px) {
  .template-page-blog #main-container,
  .template-page-about #main-container,
  .template-page-news #main-container {
    padding-top: calc(var(--HEADER_WIDTH));
  }
  .template-page-blog article,
  .template-page-about article,
  .template-page-news article {
    font-family: "VanillaSerif Light";
    font-size: var(--FS22);
    line-height: var(--LH22);
    letter-spacing: 0em;
  }
  .template-page-blog article:first-child .top:before,
  .template-page-about article:first-child .top:before,
  .template-page-news article:first-child .top:before {
    display: none;
  }
  .template-page-blog article .top,
  .template-page-about article .top,
  .template-page-news article .top {
    position: relative;
    top: calc(var(--HEADER_WIDTH) - 2px);
    height: unset;
    background: unset;
    top: unset;
  }
  .template-page-blog article .top::before,
  .template-page-about article .top::before,
  .template-page-news article .top::before {
    width: 100vw;
  }
  .template-page-blog article .top h2,
  .template-page-blog article .top .date,
  .template-page-about article .top h2,
  .template-page-about article .top .date,
  .template-page-news article .top h2,
  .template-page-news article .top .date {
    font-family: "VanillaSerif Light";
    font-size: var(--FS30);
    line-height: var(--LH30);
    letter-spacing: 0em;
  }
  .template-page-blog article .top,
  .template-page-about article .top,
  .template-page-news article .top {
    container-type: scroll-state;
  }
  @container scroll-state(stuck: top) {
    .template-page-blog article .top h2,
    .template-page-blog article .top .date,
    .template-page-about article .top h2,
    .template-page-about article .top .date,
    .template-page-news article .top h2,
    .template-page-news article .top .date {
      transform: scale(0.7333333333);
    }
    .template-page-blog article .top h2,
    .template-page-about article .top h2,
    .template-page-news article .top h2 {
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      width: 70%;
    }
    .template-page-blog article .top::before,
    .template-page-about article .top::before,
    .template-page-news article .top::before {
      display: none;
    }
  }
  .template-page-blog article .top.stuck h2,
  .template-page-blog article .top.stuck .date,
  .template-page-about article .top.stuck h2,
  .template-page-about article .top.stuck .date,
  .template-page-news article .top.stuck h2,
  .template-page-news article .top.stuck .date {
    transform: scale(0.7333333333);
  }
  .template-page-blog article .top.stuck h2,
  .template-page-about article .top.stuck h2,
  .template-page-news article .top.stuck h2 {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 70%;
  }
  .template-page-blog article .top.stuck::before,
  .template-page-about article .top.stuck::before,
  .template-page-news article .top.stuck::before {
    display: none;
  }
  .template-page-blog article .textarea,
  .template-page-about article .textarea,
  .template-page-news article .textarea {
    padding-right: 0;
  }
  .template-page-blog article .textarea figure img,
  .template-page-about article .textarea figure img,
  .template-page-news article .textarea figure img {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 720px) {
  .template-single-art #main-container,
  .template-single-graphic #main-container {
    flex-direction: column;
    row-gap: var(--GRID_GUTTER);
  }
  .template-single-art #main-container #section-images,
  .template-single-graphic #main-container #section-images {
    order: 3;
    width: 100%;
    padding-right: 0;
    height: unset;
  }
  .template-single-art #main-container #section-images picture,
  .template-single-graphic #main-container #section-images picture {
    width: 100%;
    max-width: unset;
    max-height: unset;
  }
  .template-single-art #main-container #section-images picture img,
  .template-single-graphic #main-container #section-images picture img {
    width: 100%;
  }
  .template-single-art #main-container #section-image-mobile,
  .template-single-graphic #main-container #section-image-mobile {
    display: block;
  }
  .template-single-art #main-container #section-image-mobile picture,
  .template-single-graphic #main-container #section-image-mobile picture {
    width: 100%;
  }
  .template-single-art #main-container #section-image-mobile picture img,
  .template-single-graphic #main-container #section-image-mobile picture img {
    height: auto;
  }
  .template-single-art #main-container #section-infos,
  .template-single-graphic #main-container #section-infos {
    order: 2;
    width: 100%;
    height: unset;
    overflow: unset;
    padding-left: 0;
    padding-bottom: 0;
    padding-top: var(--GRID_GUTTER);
  }
  .template-single-art #main-container #section-infos:before,
  .template-single-graphic #main-container #section-infos:before {
    position: absolute;
    right: unset;
    left: calc(var(--COLUMN_WIDTH) * 0 + var(--GRID_GUTTER) * 0 + var(--GRID_MARGIN) * -1);
    width: 100vw;
    height: 1px;
  }
  .template-single-art #main-container #projects-nav,
  .template-single-graphic #main-container #projects-nav {
    order: 1;
    position: relative;
    width: 100%;
    right: unset;
    bottom: unset;
    padding: 0;
    padding-top: var(--GRID_GUTTER);
    border-top: none;
  }
  .template-single-art #main-container #projects-nav:before,
  .template-single-graphic #main-container #projects-nav:before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(var(--COLUMN_WIDTH) * 0 + var(--GRID_GUTTER) * 0 + var(--GRID_MARGIN) * -1);
    width: 100vw;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.2);
  }
}
@media (max-width: 720px) {
  .template-page-arts #main-container #section-arts,
  .template-page-arts #main-container #section-graphics,
  .template-page-graphics #main-container #section-arts,
  .template-page-graphics #main-container #section-graphics {
    width: 100%;
    height: unset;
    overflow: unset;
  }
  .template-page-arts #main-container #section-arts .art,
  .template-page-arts #main-container #section-arts .graphic,
  .template-page-arts #main-container #section-graphics .art,
  .template-page-arts #main-container #section-graphics .graphic,
  .template-page-graphics #main-container #section-arts .art,
  .template-page-graphics #main-container #section-arts .graphic,
  .template-page-graphics #main-container #section-graphics .art,
  .template-page-graphics #main-container #section-graphics .graphic {
    width: 100%;
    height: auto;
  }
  .template-page-arts #main-container #section-arts .art picture img,
  .template-page-arts #main-container #section-arts .graphic picture img,
  .template-page-arts #main-container #section-graphics .art picture img,
  .template-page-arts #main-container #section-graphics .graphic picture img,
  .template-page-graphics #main-container #section-arts .art picture img,
  .template-page-graphics #main-container #section-arts .graphic picture img,
  .template-page-graphics #main-container #section-graphics .art picture img,
  .template-page-graphics #main-container #section-graphics .graphic picture img {
    width: 100%;
    height: auto;
  }
  .template-page-arts #main-container #section-filters,
  .template-page-graphics #main-container #section-filters {
    display: none;
    position: fixed;
    top: var(--HEADER_WIDTH);
    left: 0;
    width: 100vw;
    height: calc(100svh - var(--HEADER_WIDTH));
    background-color: var(--BACK_COLOR);
    font-family: "EuroNext Mono";
    font-size: var(--FS22);
    line-height: var(--LH22);
    letter-spacing: 0em;
  }
  .template-page-arts #main-container #section-filters:before,
  .template-page-graphics #main-container #section-filters:before {
    display: none;
  }
  .template-page-arts #main-container #section-filters .row:first-child,
  .template-page-graphics #main-container #section-filters .row:first-child {
    padding-top: var(--GRID_MARGIN);
  }
  .template-page-arts #main-container #section-arts.list,
  .template-page-arts #main-container #section-graphics.list,
  .template-page-graphics #main-container #section-arts.list,
  .template-page-graphics #main-container #section-graphics.list {
    width: 100%;
    gap: 2px;
    overflow: unset;
  }
  .template-page-arts #main-container #section-arts.list .art picture,
  .template-page-arts #main-container #section-arts.list .graphic picture,
  .template-page-arts #main-container #section-graphics.list .art picture,
  .template-page-arts #main-container #section-graphics.list .graphic picture,
  .template-page-graphics #main-container #section-arts.list .art picture,
  .template-page-graphics #main-container #section-arts.list .graphic picture,
  .template-page-graphics #main-container #section-graphics.list .art picture,
  .template-page-graphics #main-container #section-graphics.list .graphic picture {
    width: calc((var(--COLUMN_WIDTH) * 0.5 + var(--GRID_GUTTER) * 1 + var(--GRID_MARGIN) * 0) * 1);
  }
  .template-page-arts #main-container #section-arts.list .art picture img,
  .template-page-arts #main-container #section-arts.list .graphic picture img,
  .template-page-arts #main-container #section-graphics.list .art picture img,
  .template-page-arts #main-container #section-graphics.list .graphic picture img,
  .template-page-graphics #main-container #section-arts.list .art picture img,
  .template-page-graphics #main-container #section-arts.list .graphic picture img,
  .template-page-graphics #main-container #section-graphics.list .art picture img,
  .template-page-graphics #main-container #section-graphics.list .graphic picture img {
    height: calc(var(--60) * 1);
  }
  .template-page-arts #main-container #section-arts.list .art .infos h3,
  .template-page-arts #main-container #section-arts.list .graphic .infos h3,
  .template-page-arts #main-container #section-graphics.list .art .infos h3,
  .template-page-arts #main-container #section-graphics.list .graphic .infos h3,
  .template-page-graphics #main-container #section-arts.list .art .infos h3,
  .template-page-graphics #main-container #section-arts.list .graphic .infos h3,
  .template-page-graphics #main-container #section-graphics.list .art .infos h3,
  .template-page-graphics #main-container #section-graphics.list .graphic .infos h3 {
    font-family: "VanillaSerif Light";
    font-size: var(--FS30);
    line-height: var(--LH30);
    letter-spacing: 0em;
    max-width: calc(var(--COLUMN_WIDTH) * 8 + var(--GRID_GUTTER) * 7 + var(--GRID_MARGIN) * 0);
  }
}
@media (max-width: 720px) {
  .template-page-news article .images picture {
    width: 100%;
    height: unset;
  }
  .template-page-news article .images picture img {
    width: 100%;
    height: auto;
  }
}