/*
Theme Name: Manif
Theme URI: https://raphaelbergere.art
Author: Raphaël Bergère
Author URI: https://www.raphaelbergere.art
Description: Vive la manif
Version: 1
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: No
License URI:
*/

body {
  position: relative;
  height: 100dvh;
  max-width: 100vw;
  margin: 0;
  color: #393837;
  background-color: #eeff03;
  font-family: "NeueHaas", sans-serif;
  font-size: 1.4rem;
  /* padding-bottom: 5px !important; */
}

.page p {
  margin: 0;
  font-weight: 300;
}

#header {
  display: none !important;
}

#page hr {
  display: none !important;
}

h1 {
  font-family: "NeueHaas", sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: #eeff03;
  /* -webkit-text-stroke: 4px black; */
  line-height: 1;
  text-align: center;
  margin: 100px 0 50px 0;
  -webkit-text-stroke: 2px black;
  text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.8), 1px -1px 1px rgba(0, 0, 0, 0.8), -2px 3px 1px rgba(0, 0, 0, 0.9), 1px 2px 1px rgba(0, 0, 0, 0.9), 0px 2px 1px rgba(0, 0, 0, 0.9);
  letter-spacing: -2px;
  text-transform: uppercase;
}

.white {
  color: white !important;
}

h2 {
  font-family: "NeueHaas", sans-serif;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.2;
  margin-top: 0;
}

pre {
  font-size: 1em;
  font-family: "Open Sans", Tahoma, Verdana, sans-serif;
  margin: 0 0 0 0 !important;
  padding: 0 10px;
  transform: translateY(-5px);
}

a {
  font-family: "NeueHaas", sans-serif;
}

button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
  text-decoration: underline;
  margin-bottom: 30px;
}

.btndesign {
  display: none;
  color: #555 !important;
}

.wp-video {
  margin-top: 30px;
}

.mejs-container {
  background-color: #555 !important;
  margin: 0;
}

.mejs-controls {
  background-color: #555 !important;
  margin-top: 30px;
}

.ghost {
  display: none;
}

/* --- MENU ----*/

header {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  z-index: 10;
}

.headerbis {
  position: relative;
}

.headerbis .filtermenu {
  display: none;
}

.headercontent {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin: 30px 30px;
  padding: 0 20px;
  font-weight: 700;
}

.backhome-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
}

.backhome::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(50, 50, 50, 0.7) 10%, rgba(50, 50, 50, 0.3) 30%, rgba(0, 0, 0, 0) 50%);
  z-index: 1; /* S'assure que le dégradé est au-dessus de la vidéo */
  pointer-events: none; /* Permet que le dégradé n'interfère pas avec l'interaction des éléments */
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  max-height: 100vh;
  z-index: 0;
  object-fit: cover;
}

.logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.logo a {
  font-family: "Roboto", Tahoma, Verdana, sans-serif;
  font-size: 2.5rem;
  letter-spacing: 3px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  color: #393837;
}

/* .logo:hover {
  opacity: 0.7;
  transition: opacity 0.5s ease;
} */

.logo p {
  position: absolute;
  top: 40px;
  width: 100%;
  font-family: "Roboto", Tahoma, Verdana, sans-serif !important;
  font-size: 1.3rem;
  text-align: center;
  letter-spacing: 2px;
  color: #393837;
  font-weight: 100;
  margin-top: 10px !important;
}

.trait {
  display: none;
  position: relative;
  width: 15px;
  height: 2px;
  background-color: black;
}

.menu {
  display: flex;
  flex-direction: column-reverse;
  align-items: baseline;
  height: 100%;
  gap: 20px;
  font-size: 1rem;
  font-family: "Oswald", Tahoma, Verdana, sans-serif;
  font-weight: 400;
  line-height: 1;
  z-index: 999;
}

.menu a {
  text-decoration: none;
  font-family: "Roboto", Tahoma, Verdana, sans-serif;
  letter-spacing: 1px;
  color: #393837;
}

.home .menu a {
  color: white;
}

/* styles.css */

.menuhome-container {
  display: flex;
  justify-content: center;
}

.menuhome {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
}

.menumain {
  display: flex;
  align-items: baseline;
  flex-direction: column-reverse;
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  text-transform: uppercase;
}

.menuhome > li {
  position: relative;
}

.menumain > li {
  position: relative;
}

.menuhome > li > a {
  text-decoration: none;
  padding: 10px;
  display: block;
  color: white;
}

.menumain > li > a {
  text-decoration: none;
  padding: 8px;
  display: block;
  color: white;
  border-radius: 5px;
  opacity: 1;
  transition: all 0.5s;
}

.menumain > li > a:hover {
  opacity: 0.8;
  transition: all 0.5s;
}

.menuhome ul {
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  margin: 20px 0 0 0;
  padding: 30px 0 0 0 !important;
  font-weight: 200;
  list-style-type: none;
  background-color: white;
  border-radius: 10px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
}

/* .menuhome ul.show {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s ease, visibility 0.7s ease;
} */

.menuhome li:hover > ul {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.menuhome ul a {
  color: #333;
  padding: 15px 30px 15px 30px;
  display: block;
  text-decoration: none;
}

.menuhome ul li:last-child a {
  padding-bottom: 30px;
}

.menuhome ul a:hover {
  background-color: white;
  color: white;
}

.othermenu {
  letter-spacing: -1px;
}

/* .othermenu a:hover {
  opacity: 0.5;
} */

.othermenu ul li a {
  color: #393837;
  font-weight: 400;
  border: 1px solid white;
  cursor: pointer;
  opacity: 1;
  white-space: nowrap;
  z-index: 999;
  position: relative;
}

.home .othermenu ul li a {
  color: white;
}

.home .menuhome ul a:hover {
  color: white !important;
}

.menuhome ul li a:hover {
  opacity: 0.5 !important;
}

.othermenu ul li.current-menu-item a {
  font-weight: 400;
  pointer-events: none;
}

.othermenu .menuhome ul li a:hover {
  opacity: 1 !important;
}

/* .menuhome li:hover > ul {
  display: flex;
} */

.filtermenu {
  display: flex;
  flex-direction: row;
  gap: 20px;
  min-width: 300px;
  font-size: 1.1rem;
  font-weight: 400;
  font-family: "Karla", Tahoma, Verdana, sans-serif;
  margin: 20px auto;
  font-weight: 300;
  letter-spacing: 1px;
}

.btn-clicked {
  font-weight: 400;
}

.filtermenu div {
  display: flex;
  cursor: pointer;
  opacity: 1;
  line-height: 1;
}

.filtermenu div.active {
  position: relative;
}

.filtermenu div::before {
  content: "";
  position: absolute;
  left: -15px; /* Ajustez la position du triangle par rapport au texte */
  top: 50%;
  transform: translateY(-50%) scaleX(0); /* Initialise l'échelle X à 0 pour le rendre invisible au début */
  transform-origin: 50% 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px; /* Ajustez la taille du triangle */
  border-color: transparent transparent transparent black; /* Couleur du triangle */
  opacity: 0; /* Rendre le triangle invisible au début */
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Ajouter une transition pour l'effet de glissement et d'opacité */
}

.filtermenu div.active::before {
  transform: translateY(-50%) scaleX(1); /* Échelle X à 1 pour le rendre visible avec un effet de glissement */
  opacity: 1; /* Rendre le triangle visible */
}

.filtermenu div:hover {
  opacity: 0.5;
}

.filtermenu div.retour {
  position: relative;
  margin-bottom: 10px;
}

.filters div.retour::before {
  transform: translateY(-50%) scaleX(-1); /* Échelle X à 1 pour le rendre visible avec un effet de glissement */
  opacity: 1; /* Rendre le triangle visible */
}

/* --- BURGERMENU ----*/

.nav-toggler {
  display: none;
  position: fixed;
  z-index: 999 !important;
  top: 30px;
  right: 25px;
  height: 40px;
  width: 40px;
  border: none;
  outline: none;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  background: #ffffffb2;
}

.burgerline {
  position: absolute;
  display: block;
  width: 70%;
  height: 2px;
  background: #494949;
  transition: transform 0.3s ease-out, opacity 0.1s ease-out;
}
.l1 {
  transform: translateY(-10px);
}
.l3 {
  transform: translateY(10px);
}

.nav-toggler.active .l1 {
  transform: translateY(0px) rotate(135deg);
}
.nav-toggler.active .l2 {
  opacity: 0;
}
.nav-toggler.active .l3 {
  transform: translateY(0px) rotate(-135deg);
}

.menubis {
  font-size: 1rem;
  font-weight: 400;
  font-family: "Karla", Tahoma, Verdana, sans-serif;
  margin: 50px 0 50px 0;
  line-height: 1;
  background-color: white;
}

.menubis a {
  font-family: "Karla", Tahoma, Verdana, sans-serif;
  font-size: 1rem;
  text-decoration: none;
}

.menubis img {
  max-width: 80%;
}

/* ----ACCUEIL---- */

.homecontent {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
  padding: 20px;
  margin: 20px;
}

.landing img {
  width: 100%;
  height: auto;
  max-width: 1024px;
}

.landing p {
  width: 100%;
  text-align: center;
  margin: 5px;
}

.min {
  font-size: 1.1rem;
}

.contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
}

.contacts p {
  width: auto !important;
}

.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 100px 0 100px 0;
}

.title img {
  width: 600px;
}

.content {
  position: relative;
  display: block;
  width: auto;
  margin: 10px auto 120px auto;
  padding: 20px;
  /* padding: 20px; */
  max-width: 1200px;
  min-height: 50vh;
  /* border: dotted 1px pink; */
}

.portfoliocontent {
  position: relative;
  display: block;
  width: auto;
  margin: 50px auto 120px auto;
  padding: 20px;
  max-width: 1200px;
  min-height: 50vh;
}

.portfoliocontent img {
  width: 100%;
  /* max-height: 500px; */
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.portfoliocontent img:hover {
  opacity: 0.7;
  transition: opacity 0.5s ease;
}

/* .bwg-item img:hover {
  opacity: 1 !important;
  transition: opacity 0.5s ease;
} */

.content p {
  font-weight: 300;
}

.images {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1em;
}

.images div {
  position: relative;
  width: 30%;
  height: 15vw;
  min-width: 250px;
  max-width: 350px;
  border-radius: 0.2em;
  overflow: hidden;
  transition: all 1s; /* Ajout de la transition sur la propriété width */
}

.images > div.img-shrink {
  min-width: 0 !important;
  width: 0;
  height: 0;
  margin: 0;
  margin: -0.5em;
  opacity: 0;
  transition: all 1s; /* Ajout de la transition sur la propriété width */
}

.images > div.img-expand {
  width: 30%;
  opacity: 1;
  margin: 0;
  transition: all 1s; /* Ajout de la transition sur la propriété width */
}

.images div img {
  width: 100%; /* Définissez la largeur de l'image sur 100% pour remplir le conteneur */
  height: 100%; /* Permettez à la hauteur de s'ajuster automatiquement en fonction de la largeur */
  display: block; /* Assurez-vous que l'image est affichée en tant que bloc pour respecter le flux des éléments */
  object-fit: cover;
}

.images div p {
  position: absolute;
  box-sizing: border-box;
  top: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 20px 0 20px;
  font-size: 1.5rem;
  font-family: "Karla", Tahoma, Verdana, sans-serif;
  text-align: center;
  color: rgba(250, 250, 250, 0);
  background-color: rgba(0, 0, 0, 0);
  margin: 0;
  transition: all 1s;
}

.images div p:hover {
  color: rgba(250, 250, 250, 1);
  background-color: rgba(0, 0, 0, 0.8);
  transition: all 1s;
}

.images div a div {
  width: 100% !important;
}

/* ----OEUVRE---- */

.headerbis nav {
  display: none;
}

.oeuvre h1 {
  font-family: "Open Sans", "Georgia", "Roboto";
}

.oeuvre h2 {
  font-family: "Open Sans", "Georgia", "Roboto";
}
.oeuvre p {
  font-family: "Open Sans", "Georgia", "Roboto";
}

.oeuvrecontent {
  margin: 0;
  padding: 0 50px 20px 50px;
  width: 30%;
}
.oeuvrecontent p {
  display: none;
}

.oeuvrecontent h1 {
  margin-top: 20px;
}

.oeuvrecontent p {
  display: block !important;
  font-size: 0.9rem;
  font-weight: 400;
}

.oeuvrecontent::-webkit-scrollbar {
  transform: rotate(180deg); /* Rotation de la barre de défilement */
}

.back {
  position: relative;
  margin: 30px 0 0 50px;
  color: #555555;
  font-size: 1.2rem;
  text-decoration: none;
  opacity: 1;
  padding-left: 20px;
}

.back:hover {
  margin: 30px 0 0 50px;
  color: #959595;
  text-decoration: none;
  opacity: 0.5;
}

.back::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-35%);
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 12px solid #757575;
}

.slider {
  position: fixed;
  top: 0;
  right: 0;
  width: 70%;
  background-color: #35353510;
  overflow: hidden;
}

.n2-ss-slide-background-image img {
  height: 100vh !important;
}

.n2-ss-slider {
  height: 100vh !important;
}

.Title_module_title__da7f0d22 {
  display: none !important;
  opacity: 0 !important;
}

.player .vp-title {
  display: none !important;
  opacity: 0 !important;
}

.vp-sidedock {
  display: none !important;
  opacity: 0 !important;
  margin-left: 100px;
}

.player .vp-player-ui-overlays .vp-sidedock {
  display: none !important;
  opacity: 0 !important;
}

.player .vp-player-ui-overlays .SideDock_module_root__07ab40b6 {
  display: none !important;
  opacity: 0 !important;
}

.player .vp-player-ui-overlays .LabeledButton_module_box__e0f241d2 {
  display: none !important;
  opacity: 0 !important;
}

.player button {
  display: none !important;
  opacity: 0 !important;
}
.player label {
  display: none !important;
  opacity: 0 !important;
}

/* Assurez-vous que la vidéo ne dépasse pas la largeur de son conteneur parent */

video {
  width: 100%;
  height: auto;
  pointer-events: none; /* Désactive l'interaction avec tous les contrôles vidéo */
}

video::-webkit-media-controls {
  display: none !important; /* Masque les contrôles sur Webkit (Chrome, Safari) */
}

video::-moz-media-controls {
  display: none !important; /* Masque les contrôles sur Firefox */
}

.mejs-controls {
  background: transparent !important;
  display: flex;
  justify-content: space-between;
}

.mejs-time-rail {
  display: none !important;
}
.mejs-time {
  display: none !important;
}
.mejs-fullscreen-button {
  display: none !important;
}
.mejs-overlay-play {
  display: none !important;
}

/* Assurez-vous que la vidéo s'adapte à la largeur de son conteneur parent */
.responsive-video-container {
  position: relative;
  width: 900px;
  /* max-width: 100%; */
  background: #000;
  margin: 0 auto;
  aspect-ratio: 16 / 9; /* Ratio 16:9 */
}

.responsive-video-container iframe,
.responsive-video-container object,
.responsive-video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 740px;
  height: 100%;
}

iframe {
  width: 100% !important;
  max-width: 760px !important;
  height: 420px !important;
  border: 0;
}

.content div iframe {
  padding: 8px !important;
  height: 100% !important;
}

/* .bwg-item0 img {
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 1s !important;
} */

.bwg-icon-times-sm::before {
  content: "╳" !important;
}

.modula-item {
  opacity: 1 !important;
  transition: opacity 1s ease;
}

.modula-item:hover {
  opacity: 0.7 !important;
  transition: opacity 1s ease;
}

/* .bwg_container {
  margin: 10px 0 0 0 !important;
}

.bwg-thumbnails {
  padding: 0 !important;
  gap: 20px;
  flex-wrap: nowrap !important;
}

.bwg-thumbnails .bwg-item a {
  margin-right: 0 !important;
}

.bwg-item .img {
  width: 100%;
} */

/* ----BIOGRAPHIE---- */

.bio {
  max-width: 1000px;
  line-height: 1.5;
}

.about .headercontent {
  max-width: 1200px !important;
  padding: 0 20px;
}

.about .content {
  display: flex;
  max-width: 1200px;
  flex-direction: column;
  align-items: flex-end;
}

.oeuvre .headercontent {
  max-width: 1200px !important;
  padding: 20px;
}

.about .frenglish {
  text-align: right;
  max-width: 70%;
}

.about button {
  margin-bottom: 0;
}

#cache {
  display: none;
}
#cache:target {
  display: block;
}

.frenglish {
  position: relative;
  width: 100%;
}

.french.active {
  opacity: 1;
  transition: opacity 1s ease;
}

.english {
  position: absolute;
  top: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.english.active {
  opacity: 1;
  transition: opacity 1s ease;
}

.french {
  opacity: 0;
  transition: opacity 1s ease;
}

.biocontent {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 50px;
}

.pdf {
  text-align: center;
  font-size: 12px;
}

/* ----CV---- */

.gstukE {
  flex-direction: row-reverse !important;
}

/* ----CONTACT---- */

.contact {
  display: flex;
  flex-direction: row;
  gap: 50px;
  justify-content: flex-end;
  align-items: center;
}

.contact p {
  margin-top: 0;
  margin-bottom: 0;
}

.contact img {
  max-width: 20vw;
}

/* .page footer .socialcontact {
  display: none;
}

.page-about footer .socialcontact {
  display: none;
}

.pagecontact footer .credit {
  display: none;
}

.page-about footer .credit {
  display: none;
} */

.infos {
  font-size: 1.2rem;
}

/* ----FOOTER---- */

footer {
  position: relative;
  margin: 0;
  padding-bottom: 30px;
  padding-left: 50px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #393837;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 300;
  font-family: "Open Sans", Tahoma, Verdana, sans-serif;
  z-index: 10;
}

.home footer {
  position: absolute;
  bottom: 0;
  left: 0;
}

.home .dark {
  display: none;
}

.page .white {
  display: none;
}

.oeuvre .white {
  display: none;
}
.about .white {
  display: none;
}
.article .white {
  display: none;
}
.contact .white {
  display: none;
}

.home footer {
  color: white !important;
}

.footerbis footer {
  position: relative !important;
}

.legal {
  width: 100%;
  text-align: left;
}

.socialcontact img:hover {
  opacity: 0.5;
  transition: all 0.5s;
}

.mentions {
  margin-top: 10px;
}

.credit {
  width: 100%;
  text-align: left;
  display: none;
}

.credit a {
  color: white !important;
}

.home .credit {
  display: block;
}

.footerbis .credit {
  display: none;
}

.footerbis footer .mentions {
  display: none;
}
.footerbis footer .politique {
  display: none;
}

.socialcontact {
  display: flex;
  gap: 15px;
  align-items: center;
}

.socialcontact .mail img {
  max-height: 32px !important;
  height: 50px !important;
}

.socialcontact img {
  max-height: 26px;
  max-width: 50px;
  opacity: 1;
  transition: all 0.5s;
}

.socialcontact img:hover {
  opacity: 0.8;
}

.contact .socialcontact img {
  max-height: 50px !important;
}

.infos {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact img {
  margin-top: 30px;
}

/* ----RESPONSIVE---- */

@media (max-width: 1500px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1rem;
  }
  .oeuvrecontent p {
    font-size: 0.8rem;
  }
}

@media (max-width: 1200px) {
  .about .headercontent {
    padding: 30px 20px;
  }
  .page-about .content {
    column-count: 1;
    column-gap: 20px;
  }
  .about .frenglish {
    text-align: right;
    max-width: 100%;
  }

  .logo {
    align-items: flex-start;
  }

  .logo a {
    white-space: normal;
    text-align: center;
  }

  .logo p {
    position: relative;
    top: 0;
  }

  /* .home .othermenu ul li a {
    color: #393837;
  }

  .home .menuhome ul a:hover {
    color: #393837 !important;
  } */
  .portfoliocontent {
    font-size: 0.9rem;
  }
  .images div {
    width: 100%;
    height: 30vh;
    /* max-width: none !important; */
  }
  .images div a div {
    height: 30vh;
  }
  .images div p {
    color: rgb(250, 250, 250);
    background-color: rgba(0, 0, 0, 0.3);
    font-size: 1rem;
  }
  .images > div.img-shrink {
    min-width: 0 !important;
    width: 0;
  }
  .images > div.img-expand {
    width: 100% !important;
    max-width: none !important;
  }
  .oeuvrecontent {
    flex-direction: column-reverse;
  }
  .oeuvrecontent {
    width: 100%;
  }
  .oeuvrecontent h1 {
    margin-top: 30px;
  }
  .slider {
    position: relative;
    width: 100vw;
    left: -50px;
  }
  .n2-ss-slide-background-image img {
    height: 80vh !important;
  }

  .n2-ss-slider {
    height: 80vh !important;
  }
  .headerbis .headercontent img {
    display: none;
  }
  .headerbis {
    position: fixed !important;
    margin: 20px 0 0 20px;
    top: 0px !important;
    z-index: 100 !important;
  }

  .headerbis .back {
    padding-left: 30px !important;
    background: rgba(255, 255, 255, 0.8);
    width: min-content;
    margin: 0;
    padding: 10px;
    padding-left: 10px;
    border-radius: 5px;
  }
  .headerbis .back:before {
    padding-left: 10px;
    transform: translateY(-45%);
  }
  .biocontent {
    flex-direction: column;
    align-items: center;
  }
  .contact {
    flex-direction: column;
    gap: 30px;
    justify-content: flex-start;
    align-items: center;
  }
  .contact img {
    max-width: 260px;
  }
}

@media (max-width: 900px) or (max-height: 500px) {
  .headercontent {
    margin: 0 auto 0 auto;
    padding: 30px 20px;
  }

  .home .headercontent {
    width: auto;
    margin: 0 auto 0 auto;
    padding: 30px 20px;
    width: 1300px;
  }

  /* .burgerbloc {
    width: auto;
    margin: 0 auto 0 auto;
    padding: 30px 30px;
  }

  .nav-toggler {
    display: flex;
  } */

  /* .homecontent {
    margin: 0 auto 150px auto;
  } */

  .portfoliocontent {
    margin: auto;
    font-size: 0.9rem;
  }
  .menu {
    gap: 20px;
  }
  /* .menu {
    position: fixed;
    flex-direction: column-reverse;
    justify-content: flex-end;
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin: 0;
    top: 0;
    right: -50px;
    height: 100vh;
    background: #ffffffe5;
    border-top: 1px solid #353535;
    border-left: 1px solid #353535;
    border-bottom: 1px solid #353535;
    z-index: 999;
    width: 0;
    transition: width 1s;
    padding: 100px 0 100px 50px;
    letter-spacing: normal;
    overflow: scroll;
  }

  .othermenu {
    flex-direction: column;
    letter-spacing: -1px;
  }

  .othermenu li a {
    padding: 10px 10px 10px 0;
    white-space: normal;
  } */

  .menuhome-container {
    justify-content: left;
  }

  .menuhome {
    flex-direction: column;
  }

  .menumain {
    flex-direction: column;
  }

  .menuhome ul {
    display: none;
    position: relative;
    flex-direction: column !important; /* Pour aligner les sous-menus horizontalement */
    gap: 20px;
    margin: 0 0 0 0;
    padding: 10px 0 0 20px !important;
    text-align: left;
    width: auto;
    border: 0px solid black;
  }

  .menumain ul {
    display: none;
    position: relative;
    flex-direction: column !important; /* Pour aligner les sous-menus horizontalement */
    gap: 20px;
    margin: 0 0 0 0;
    padding-left: 30px;
    padding-top: 10px;
    width: auto;
  }

  .menumain li a {
    background: #39383750;
  }

  .menuhome ul li {
    margin: 0;
  }

  .menuhome ul.show {
    display: flex;
  }

  /* .menuhome li:hover > ul {
    opacity: 0;
    visibility: hidden;
  } */

  .contact img {
    max-width: 260px;
    display: flex;
    justify-content: center;
  }

  /* .filtermenu {
    margin: 40px auto 0 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  } */

  /* .filtermenu div {
    border: 1px solid #45454570;
    border-radius: 5px;
    padding: 5px;
    font-size: 0.8rem;
  } */

  .menu.active {
    width: 400px;
    transition: width 1s;
    /* transform: translate(0); */
  }
  /* .content {
    margin: 40px 20px 50px 20px;
  }
  .oeuvrecontent {
    padding: 0 30px 30px 30px;
  } */

  /* footer {
    position: relative;
    margin: 50px 50px 50px 50px;
    align-items: center !important;
    max-width: none;
  } */

  footer {
    padding-left: 30px;
  }
}

@media (max-width: 566px) {
  .headercontent {
    align-items: center;
  }
  .menu {
    align-items: center;
  }
  .menumain {
    align-items: center;
  }

  .backhome::before {
    background: linear-gradient(to bottom, rgba(50, 50, 50, 0.7) 10%, rgba(50, 50, 50, 0.3) 20%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0.5) 95%, rgba(50, 50, 50, 0.7) 100%);
    z-index: 1; /* S'assure que le dégradé est au-dessus de la vidéo */
    pointer-events: none; /* Permet que le dégradé n'interfère pas avec l'interaction des éléments */
  }
  .credit,
  .legal {
    text-align: center;
  }
}
