html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  display: none;
}

:root {
  --bg-color: #f8f6f3;
  --color: #171717;
  --li-color: #2c2c2c;
  --hi-color: #e20145;
  --li-bg-color: #efeae7;
}

.custom-cursor {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--hi-color);
  position: fixed;
  font-family: "Favorit Variable", Icons;
  text-align: center;
  pointer-events: none;
  transition: transform 0.2s ease-out, 
      height 0.2s ease-out, 
      width 0.2s ease-out;
  z-index: 9999;
  font-style: normal;
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 0;
  font-variation-settings: "slnt" 0;
  align-content: center;
  justify-content: center;
}

.custom-cursor.grow {
  width: 2rem;
  height: 2rem;
  display: flex;
  padding: 0.5rem;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  color: var(--bg-color);
  align-items: center;
  justify-content: center;
  text-align: center;
}

.custom-cursor.grow:after {
  content: "↗";
}

.custom-cursor.growswitch {
  width: 2rem;
  height: 2rem;
  display: flex;
  padding: 0.5rem;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  color: var(--bg-color);
  align-items: center;
  justify-content: center;
  text-align: center;
}

.custom-cursor.growswitch:after {
  content: "→";
}

.custom-cursor.growdrag {
  width: 3rem;
  height: 2rem;
  display: flex;
  padding: 0.5rem;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  transition: all 0.2s ease;
  color: var(--bg-color);
  align-items: center;
  justify-content: center;
  text-align: center;
}

.custom-cursor.growdrag:after {
  transition: all 0.2s ease;
  content: "↤↦";
}

::selection {
  background: var(--hi-color);
}

body {
  background-color: var(--bg-color) !important;
  color: var(--color) !important;
  transition: all 0.4s ease;
  scroll-behavior: smooth;
  cursor: none !important;
  padding-top: 5rem !important;
}

body a {
  color: var(--color) !important;
  transition: all 0.4s ease;
  font-weight: 700;
  cursor: none;
}

.header {
  transform: translateY(0%);
  transition: all 0.4s ease;
  text-align: left;
  background-color: var(--bg-color);
  padding: 0rem 0rem 1rem 0rem!important;
}

.header-hidden {
  transform: translateY(calc(-50% - 1rem));
  transition: all 0.4s ease;
}

.index {
	text-align: left !important;	
}

.index div{
	aspect-ratio: 4/3 !important;
}
.index img{
	border-radius: 5px;
    padding: 2rem;
    width: 100% !important;
    height: 100% !important;
    border-radius: 5px;
    object-fit: contain;
    background-color: var(--li-bg-color);
    transition: all .3s ease !important;
}

.index  img:hover{
	padding: 1.6rem;
}

.index a::after {
	  background-color: transparent !important;
}

.empty{
    background-color: red;
    height: 0px!important;
    visibility: hidden;
	display: none !important;
}
.footer {
  color: var(--li-color);
  background-color: var(--li-bg-color);
  white-space: nowrap;
  padding: 1rem;
  border-radius: 5px;
  transition: all 0.4s ease;
}

.full-width {
  display: inline-block !important;
  text-align: left !important;
  font-size: clamp(5.5rem, 14.9vw, 24rem) !important;
  width: 100% !important;
  font-weight: 900 !important;
  text-transform: inherit;
  line-height: 0.5 !important;
  padding-top: 6rem !important;
  height: clamp(5.5rem, 14.5vw, 24rem) !important;
}

a:active {
  opacity: 0.7;
}

i,
em {
  font-style: italic;
}

b,
strong {
  font-weight: bolder;
}

sub,
sup {
  position: relative;
  vertical-align: baseline;
}

sub {
  top: 0.3em;
}

sup {
  top: -0.4em;
}

s {
  text-decoration: line-through;
}

img {
  border: 0;
  padding: 0;
}

img:hover {
  cursor: none !important;
}

ul,
ol {
  margin: 0;
  padding: 0 0 0 2.5em;
}

blockquote {
  margin: 0;
  padding: 0 0 0 1em;
}

body hr {
  background: #989898;
  border: 0;
  height: 1px;
  display: block;
  transition: all 0.4s ease;
}

.project-wrapper {
  background-color: var(--li-bg-color);
  padding: 1rem 1rem;
  border-radius: 5px;
  transition: all 0.4s ease;
}

.content img {
  float: none;
  margin-bottom: 0;
  outline-offset: -1px;
  vertical-align: bottom;
}

[image-gallery="slideshow"] {
  margin-bottom: 0rem;
}

.flextop {
  margin: 0rem 0rem .5rem 0rem;
  flex: 0 1 auto;
  border-radius: 5px;
}

.flexdown {
  margin: 0.5rem 0rem 1rem 0rem;
  border-radius: 5px;
  padding: 0rem !important;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.swiper-container {
  overflow: hidden;
  width: 100%;
  height: 48rem;
  margin-bottom: 1rem !important;
  padding-bottom: 2rem !important;
}

.swiper-slide {
  display: inline-block;
  border-radius: 5px;
  overflow: hidden;
  width: auto !important;
  max-width: 90vw;
  text-align: center !important;
  padding: 0px !important;
  transition: all 0.2s ease;
}

.swiper-slide img {
  height: 45rem !important;
  width: auto !important;
  object-fit: cover !important;
}

.swiper-slide:hover {
  transform: scale(0.99);
}

.swiper-pagination {
  position: relative !important;
  margin: 10px;
  top: 0px !important;
}
.swiper-pagination-bullet {
  width: auto;
  text-align: center;
  height: 0.5rem !important;
  width: 0.5rem !important;
  opacity: 1;
  background: var(--li-color) !important;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.swiper-pagination-bullet-active {
  background: var(--color) !important;
}

.acceuil .flexdown img {
    border-radius: 5px;
}

.gallery_image_caption {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  font-weight: 500;
  font-family: "Favorit Variable", Icons;
  font-style: normal;
  line-height: 1;
  text-align: left;
}

.imgtxt {
    border-radius: 5px;
    height: clamp(5.5rem, 14.5vw, 24rem) !important;
}
/**
 * Loading Animation
 */

.loading[data-loading] {
  position: fixed;
  bottom: 8px;
  left: 8px;
}

.theme-switch-wrapper {
  position: relative;
  text-align: left;
  z-index: 10;
}

.theme-switch input {
  z-index: 11;
  pointer-events: auto;
}

.theme-switch {
  display: none;
  pointer-events: auto;
}

.switch-label {
  display: inline-block;
  width: 2rem;
  height: 1rem;
  left: 1rem;
  background-color: var(--li-color) !important;
  border-radius: 50px;
  position: relative;
  cursor: none;
  transition: all 0.4s ease;
}

.switch-label:hover {
  background-color: var(--hi-color) !important;
}

.switch-ball {
  width: calc(1rem - 4px);
  height: calc(1rem - 4px);
  background-color: var(--bg-color);
  border-radius: 25px;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: all 0.4s ease;
}

label {
  pointer-events: auto;
}

.switch-label:hover .switch-ball {
  width: calc(1.5rem - 4px) !important;
}

.theme-switch:checked + .switch-label {
  background-color: var(--hi-color) !important;
}

.theme-switch:checked + .switch-label .switch-ball {
  left: calc(100% - calc(1rem - 2px));
}

.theme-switch:checked + .switch-label:hover .switch-ball {
  width: calc(1.5rem - 4px) !important;
  left: calc(100% - calc(1.5rem - 2px));
}

/**
 * Editor styles
 */

[data-predefined-style="true"] bodycopy {
  font-size: 1.1rem;
  font-weight: 350;
  font-family: "Favorit Variable", Icons;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0rem;
  font-variation-settings: "slnt" 0;
}

[data-predefined-style="true"] bodycopy a {
  text-decoration: none;
  position: relative;
  color: inherit;
  padding-bottom: 2px;
}

[data-predefined-style="true"] bodycopy a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  background-color: var(--color);
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

[data-predefined-style="true"] bodycopy a:hover::after {
  width: 100%;
}

a.homelink:hover::after {
  width: 0% !important;
}

bodycopy a.image-link,
bodycopy a.icon-link,
bodycopy a.image-link:hover,
bodycopy a.icon-link:hover {
  border-bottom: 0;
  padding-bottom: 0;
}

[data-predefined-style="true"] h1 {
  font-family: "Favorit Variable", Icons;
  font-style: normal;
  font-weight: 700;
  padding: 0;
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.2;
  letter-spacing: 0rem;
  font-variation-settings: "slnt" 0;
}

[data-predefined-style="true"] h2 {
  font-family: "Favorit Variable", Icons;
  font-style: normal;
  font-weight: 400;
  padding: 0;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
  font-variation-settings: "slnt" 0;
}

[data-predefined-style="true"] small {
  display: inline-block;
  font-size: 1.1rem;
  line-height: 1.2;
  font-family: "Favorit Variable", Icons;
  font-style: normal;
  font-weight: 350;
  letter-spacing: 0;
  font-variation-settings: "slnt" 0;
  color: #989898;
}

/**
 * Breakpoints
 */

[data-css-preset] .page {
  background-color: initial /*!page_bgcolor*/;
}

.mobile .page,
[data-css-preset].mobile .page {
  position: relative;
  max-width: 100%;
  width: 100%;
  background-color: transparent /*!page_bgcolor*/;
}

[data-css-preset] .container {
  margin-left: auto /*!content_center*/;
  margin-right: auto /*!content_center*/;
  text-align: center /*!text_center*/;
}

[data-css-preset] body {
  background-color: transparent /*!body_bgcolor*/;
}

[data-css-preset] .container_width {
  width: 100% /*!content_center*/;
}

[data-css-preset] .content_padding {
  padding-top: 2rem /*!main_margin*/;
  padding-bottom: 2rem /*!main_margin*/;
  padding-left: 2rem /*!main_margin*/;
  padding-right: 2rem /*!main_margin*/;
}

/**
 * Thumbnails
 */
div[thumbnails] {
  justify-content: flex-start;
}

[data-css-preset] .thumbnails {
  background-color: rgba(255, 255, 255, 0)/*!thumbnails_bgcolor*/;
}

[data-css-preset] .thumbnails_width {
  width: 100% /*!thumbnails_width*/;
}

[data-css-preset] [thumbnails-pad] {
  padding: 0.75rem /*!thumbnails_padding*/;
}

[data-css-preset] [thumbnails-gutter] {
  margin: -1.5rem /*!thumbnails_padding*/;
}

[data-css-preset] [responsive-layout] [thumbnails-pad] {
  padding: 0.5rem /*!responsive_thumbnails_padding*/;
}

[data-css-preset] [responsive-layout] [thumbnails-gutter] {
  margin: -1rem /*!responsive_thumbnails_padding*/;
}

.thumbnails .thumb_image {
  outline: 0px solid rgba(0, 0, 0, 0.12);
  outline-offset: -1px;
  border-radius: 5px !important;
}

.thumbnails .title {
  margin-top: 1rem;
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
  font-weight: 400;
  font-family: Diatype, Icons;
  font-style: normal;
  line-height: 1;
}

.thumbnails .tags {
  margin-top: 0.8rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 400;
  font-family: "Monument Grotesk Mono", Icons;
  font-style: normal;
  line-height: 1;
}

.thumbnails .tags a {
  border-bottom: 0;
  text-decoration: none;
}

.thumbnails .has_title .tags {
  margin-top: 0rem;
}

/**
 * Site Menu Button
 */

[data-css-preset] #site_menu_button {
  line-height: 1;
  font-size: 22px /*!site_menu_button*/;
  padding: 6px;
  line-height: 1;
  background: rgba(33, 32, 46, 0);
  position: fixed;
  right: 3rem /*!site_menu_button*/;
  top: 3rem /*!site_menu_button*/;
}

body.mobile #site_menu_button {
  margin: -6px;
  font-size: 24px;
}

#site_menu_button.custom_icon {
  width: 40px;
  height: auto;
}

#site_menu_button.active {
  display: none;
}

/**
 * Site Menu
 */

#site_menu {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif",
    Icons;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  padding: 20px 30px 90px 30px;
  max-width: 400px;
  min-width: 300px;
  text-align: left;
  display: flex;
  justify-content: flex-start;
}

body.mobile #site_menu {
  width: 100%;
}

#site_menu .page-link a {
  color: rgba(255, 255, 255, 0.75);
}

#site_menu .set-link > a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: bold;
}

#site_menu a:active {
  opacity: 0.7;
}

#site_menu a.active {
  opacity: 0.4;
}

#site_menu .close {
  display: none;
  color: rgba(255, 255, 255, 0.4);
  line-height: 0.85em;
  font-size: 45px;
}

body.mobile #site_menu .close {
  display: block;
  font-size: 50px;
  line-height: 1;
}

#site_menu .break {
  height: 28px;
}

#site_menu .indent {
  margin-left: 28px;
}

/*
 * Shop Button
 */

[data-css-preset] #shop_button {
  color: var(--color) !important;
  background: transparent;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  position: fixed;
  padding: 6px;
  top: 1rem /*!shop_button*/;
  left: 1.5rem /*!shop_button*/;
}

#shop_button.text {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color) !important;
  font-family: Diatype, Icons;
  padding: 0;
  line-height: 1;
  font-style: normal;
}

#shop_button.custom_icon {
  width: 40px;
  height: auto;
}

body.mobile #shop_button:not(.text) {
  margin: -6px;
  font-size: 40px;
}

/*
 * Shop Product Widget
 */

.shop_product {
  width: 100%;
  max-width: 22rem;
  position: relative;
  display: block;
}

.shop_product .price {
  font-family: Diatype, Icons;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color) !important;
  display: block;
  margin-bottom: 1rem;
  font-style: normal;
  font-weight: 400;
}

.shop_product .dropdown {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif",
    Icons;
  font-size: 1.2rem;
  display: inline-block;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: white
    url(https://static.cargo.site/assets/images/select-line-arrows.svg)
    no-repeat right;
  margin-bottom: 1rem;
  line-height: 1;
  padding: 0.7rem 2.5rem 0.7rem 1rem;
  font-style: normal;
  font-weight: 400;
  color: var(--color) !important;
}

.shop_product .button {
  font-family: Diatype, Icons;
  font-size: 1.2rem;
  background: var(--color) !important;
  color: var(--bg-color) !important;
  flex: 0 0 50%;
  text-align: left;
  display: inline-block;
  line-height: 1;
  padding: 0.8rem 1rem 0.9rem;
  font-style: normal;
  font-weight: 700;
}

/*
 * Image Zoom
 */

.content img.image-zoom:active {
  opacity: 0.7;
}

/**
 * Quick View
 */

[data-css-preset] .quick-view {
  padding-top: 2.5rem /*!quick_view_padding*/;
  padding-bottom: 2.5rem /*!quick_view_padding*/;
  padding-left: 2.5rem /*!quick_view_padding*/;
  padding-right: 2.5rem /*!quick_view_padding*/;
  height: 100% /*!quick_view_height*/;
  width: 100% /*!quick_view_width*/;
  cursor: auto !important;
}

body.mobile .quick-view {
  width: 100%;
  height: 100%;
  margin: 0;
}

[data-css-preset] .quick-view-background {
  background-color: rgba(255, 250, 240, 0.1);
  backdrop-filter: blur(20px);
}

.quick-view-caption {
  font-family: "Favorit Variable", Icons;
  transition: 100ms opacity ease;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 3.5rem 0;
  color: var(--hi-color);
  text-align: center;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  font-variation-settings: "slnt" 0;
}

.quick-view img {
  border-radius: 5px;
}

.quick-view-caption span {
  padding: 0.5rem 1rem;
  display: inline-block;
  background: rgba(0, 0, 0, 0.4);
  color: var(--bg-color) !important;
}

/**
 * Quick View Navigation 
 */

.quick-view-navigation .left-arrow {
  left: 10px;
}

.quick-view-navigation .right-arrow {
  right: 10px;
}

.quick-view-navigation .left-arrow,
.quick-view-navigation .right-arrow {
  /* Change height/width together to scale */
  height: 36px;
  width: 36px;
}

.quick-view-navigation .left-arrow .inner-color,
.quick-view-navigation .right-arrow .inner-color {
  stroke: var(--hi-color);
  stroke-width: 0px;
}

.quick-view-navigation .left-arrow .outer-color,
.quick-view-navigation .right-arrow .outer-color {
  stroke: var(--hi-color);
  stroke-width: 2px;
}

.quick-view-navigation .close-button {
  top: 10px;
  right: 10px;
  /* Change height/width together to scale */
  width: 36px;
  height: 36px;
}

.quick-view-navigation .close-button .inner-color {
  stroke: var(--hi-color);
  stroke-width: 0px;
}

.quick-view-navigation .close-button .outer-color {
  stroke: var(--hi-color);
  stroke-width: 2px;
}

/** 
 * Image Gallery Navigation Arrows 
 */

.image-gallery-navigation .left-arrow,
.image-gallery-navigation .right-arrow {
  /* Change height/width together to scale */
  height: 36px;
  width: 36px;
}

.image-gallery-navigation .left-arrow .inner-color,
.image-gallery-navigation .right-arrow .inner-color {
  stroke: var(--hi-color);
  stroke-width: 1.5px;
}

.image-gallery-navigation .left-arrow .outer-color,
.image-gallery-navigation .right-arrow .outer-color {
  stroke: var(--hi-color);
  stroke-width: 2.5px;
}

/**
 * Wallpaper Backdrop Navigation Arrows 
 */

.wallpaper-navigation .left-arrow,
.wallpaper-navigation .right-arrow {
  /* Change height/width together to scale */
  width: 36px;
  height: 36px;
}

.wallpaper-navigation .left-arrow .inner-color,
.wallpaper-navigation .right-arrow .inner-color {
  stroke: #fff;
  stroke-width: 1.5px;
}

.wallpaper-navigation .left-arrow .outer-color,
.wallpaper-navigation .right-arrow .outer-color {
  stroke: var(--hi-color);
  stroke-width: 2.5px;
}

/**
 * Feed
 */

.feed .content_container .page {
  border-top: 0px dashed rgba(0, 0, 0, 0.2);
}

.feed .content_container .page_container:first-child .page {
  border-top: 0;
}

/*
 * Audio Player
 */

.audio-player {
  max-width: 36rem;
  height: 3.3rem;
  outline: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--color) !important;
  background: var(--bg-color) !important;
  font-size: 1.4rem;
  line-height: 1;
  font-family: Diatype, Icons;
  font-style: normal;
  font-weight: 500;
  text-align: left;
  margin: 1px 1px 1em 1px;
}

body.mobile .audio-player {
  max-width: 100%;
}

.audio-player .separator {
  width: 1px;
  background-color: rgba(0, 0, 0, 0.15);
}

.audio-player .button {
  background: transparent;
  cursor: none;
  fill: var(--color) !important;
}

.audio-player .icon {
  fill: var(--color) !important;
  padding: 30%;
  width: 100%;
  margin: auto;
}

.audio-player .buffer {
  background: rgba(0, 0, 0, 0.03);
}

.audio-player .progress {
  background: rgba(0, 0, 0, 0.1);
}

.audio-player .progress-indicator {
  border: 1px solid var(--color) !important;
  width: 1px;
  height: 100%;
  right: 0;
  position: absolute;
  cursor: none;
}

.audio-player .note-icon {
  height: 100%;
  width: 3.8rem;
  padding: 1rem;
  fill: var(--color) !important;
}

.audio-player .current-time {
  padding-left: 1rem;
}

.audio-player .total-time {
  padding-right: 1rem;
}
.hide-on-desktop {
  visibility: hidden;
  display: none;
}

@media screen and (max-width: 1000px) {
  .hide-on-mobile {
    visibility: hidden;
    display: none;
    width: 0px;
    height: 0px;
  }
  .hide-on-desktop {
    visibility: visible;
    display: inline;
  }
  .left-on-mobile {
    text-align: left !important;
  }
  .header-hidden {
    transform: translateY(
      calc(-16% - 1rem)
    ); /* Fait remonter l'élément hors de l'écran */
    transition: all 0.4s ease; /* Transition douce */
  }
  .swiper-container {
    overflow: hidden;
    width: 100%; /* Le slider prend toute la largeur du wrapper */
    height: 23rem; /* Hauteur fixe comme avant */
    margin-bottom: 1rem !important;
    padding-bottom: 2rem !important;
  }

  /* Ajustement des slides */
  .swiper-slide {
    display: inline-block;
    border-radius: 15px; /* Toujours un border-radius */
    overflow: hidden;
    width: auto !important;
    max-width: 90vw;
    text-align: center !important;
    padding: 0px !important;
    transition: all 0.2s ease;
    border-radius: 15px;
  }

  /* Ajuste l'image pour qu'elle ne déborde pas */
  .swiper-slide img {
    height: 20rem !important;
    width: auto !important;
    object-fit: cover !important;
  }
  .full-width {
    padding-top: 2rem !important;
  }
}

@media (prefers-color-scheme: dark) {
body.dark-mode .custom-cursor.growswitch {
    transform: rotate(180deg) translate(50%, 50%);
  }
body.dark-mode .switch-label {
    background-color: var(--li-color);
  }
body.dark-mode .project-wrapper {
    background-color: var(--li-color);
  }
body.dark-mode .footer {
    color: var(--li-bg-color);
    background-color: var(--li-color);
  }

body.dark-mode {
    background-color: var(--color) !important;
    color: var(--bg-color) !important;
  }

body.dark-mode a{
  color: var(--bg-color) !important;
}
body.dark-mode a::after {
  background-color: var(--bg-color);
}
    
body.dark-mode .header{
	background-color: var(--color);
}
    
body.dark-mode .index img {
  background-color: var(--li-color);
}
        
body.dark-mode .swiper-pagination-bullet {
  background: var(--li-bg-color) !important;
}

body.dark-mode .swiper-pagination-bullet-active {
  background: var(--bg-color) !important;
}
}