/*===== GOOGLE FONTS =====*/
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Montserrat&display=swap');

@font-face {
  font-family: 'Poppins';
  src: url('../font/Poppins-Medium.ttf');
}

/*===== VARIABLES CSS =====*/
:root {

  --header-height: 3.5rem;
  /*===== Colors =====*/
  --first-color: rgb(41, 38, 39);

  --primary: #a6a6a6 ;
  --second-color: #33303D;
  --black-color: rgb(41, 38, 39);
  --special-section-color:  rgba(166, 166, 166, 0.381);
  --border-color:hsl(0, 0%, 94%);
  --hue: 255;
  --shadow-color: hsla(var(--hue), 90%, 30%, .1);


  --white-color: #FFF;
  /*===== Font and typography =====*/
  --body-font: 'Poppins', sans-serif;
  --biggest-font-size: 1.5rem;
  --big-font-size: 1.5rem;
  
   --h1-font-size: 20px;
   --normal-font-size: 1rem;
   --small-font-size: 0.875rem;
   --smaller-font-size: 0.813rem;
  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-bold: 700;
  /*===== z index =====*/
  --z-fixed: 100;
  --z-modal: 1000;
}



/* .main {
  display: none;
} */


/* HTML: <div class="loader"></div> */
/* .loader {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  filter: blur(10px);
  width: 60px;
  aspect-ratio: 4;
  --c:rgb(4, 0, 255) 90%,rgba(0, 0, 0, 0);
  background: 
    radial-gradient(circle closest-side at left  6px top 50%,var(--c)),
    radial-gradient(circle closest-side                     ,var(--c)),
    radial-gradient(circle closest-side at right 6px top 50%,var(--c));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  animation: l4 5s infinite alternate;
  display: block;
  margin: auto;
} */



.cursor {
  position: fixed;
  width: 40px;
  height: 40px;
  background: #ffffff16;
  border: 2px solid var(--white-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  mix-blend-mode: difference;
  /* background:white ; */
  /* color: rgba(240, 32, 32, 0.91); */
  z-index: 100;
  opacity: 0;
  /* filter: brightness(1.4); */
  transition: all 300ms linear;
  /* filter: grayscale(1); */
  /* filter: invert(1); */
  display: none;
}

.cursor svg {
  stroke: white;
}

.no-translate {
  unicode-bidi: isolate; /* Ensure the text direction is preserved */
  display: inline;
}

/* #loader {
  display: inline-block;
  position: fixed;
  top: -20px;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  background-color: white;
  color: var(--black-color);
  font-family: 'Poppins', sans-serif;
} */
.examples_animation_bg{
  position: fixed;
  z-index: 99;
  width: 100vw;
  height: 100vh;
  display: none;
  /* left: 0; */
 top: var(--header-height);
}


/* #close-btn-project::before, #close-btn-project::after{
  position: absolute;
  top: calc(var(--header-height) + 40px);
  background: #e01212;
} */


.box {
  position: absolute;
  right: -100vw;
  width: 100vw;
  top: 0;
  height: 20vh;
  backdrop-filter: blur(13px);
  background-color: rgba(0, 0, 0, 0.486);
  z-index: 20;
  transition: right 1s ease-in-out;
  /* border-left: 2px solid white; */
}

#box1 {
  top: calc(- var(--header-height));
}

#box2 {
  top: 20vh;
}

#box3 {
  top: 40vh;
}

#box4 {
  top: 60vh;
}
#box5 {
  top: 80vh;
}





.svg-img {
  height: auto;
  width: 100%;
  max-width: 300px;
  max-height: 300px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.svg-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(.1);
}

.text-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  animation: fadeInOut 1s infinite;
}

.text-container p {
  margin: 0;
  font-size: 50px;
}
/* body::before{
  content: '';
  position: absolute;
  z-index: -1;filter: blur(10px);
  width: 100%;
  height: 90%;
  background-color: red;
} */

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}
.home__description__contact{
    display: block;
    margin: unset;
    padding: 2rem;
}
.projects__cards__container{
  background-color: whitesmoke;
  display: block;
  position: relative;
  top: 0;

  /*height: 80vh;*/
  width: 80vw;
  left: -100vw;
  z-index: 99;
  transition: all 1s ease;
}
 @media screen and (min-width: 588px) {
  .home__description__contact {
    padding: 3rem;
  }
  .projects__cards__container{
        top: calc(var(--header-height) + 2px);

      height: unset;
  }
}



.cta {
  padding: 5px 12px;
  /* display: inline-block; */
  background-color: var(--primary);
  color: white;
  width: fit-content;
  margin-top: 20px;
  border-bottom: 1px solid white;
  /* margin-left: 65%; */
  margin-right: 20px;
  /* width: fit-content; */
  padding: 4px 10px;
  cursor: pointer;
  float: right;
}

.cta::before {
  content: "";
  background: var(--primary);
  width: 110px;
  height: 35px;
  position: absolute;
  z-index: -1;
  display: inline-block;
  animation: anim-cta linear forwards;
  animation-timeline: view();
  animation-range-start: contain -10%;
  animation-range-end: contain 30%;
  /**/
}

.cta:hover {
  background-color: #111;
}

@keyframes anim {
  from {
    width: 0%;
  }

  to {
    width: 110px;
  }
}

@keyframes anim-cta {
  from {
    width: 0%;
  }

  to {
    width: 65px;
  }
}

/*===== VARIABLES CSS =====*/
:root {
  /*========== Colors ==========*/
  --first-color: var(--primary);
  --first-color-light:#434143 ;
  --body-color: #FAFAFF;

  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;
  --icone-font-size: .7rem;
}

/*========== ICONS TOOLTIP ==========*/
.social,
.social__container,
.social__content {
  display: flex;
}

.social {
  height: 100vh;
  justify-content: center;
  align-items: center;
}

.social__content {
  position: relative;
  padding: .5rem;
  margin: 5px 1rem;
 border: 1px solid var(--border-color);
  border-radius: 1rem;
  box-shadow: -2px -2px 8px #FAFAFF,
    2px 2px 8px rgba(13, 12, 64, .2);
  cursor: pointer;
}

/* .social__content a{
  margin: 0;
  padding: 0;
  height: 20px;
} */

.social__icon {
  font-size: 1rem;
  color: var(--first-color);
}

.social__tooltip {
  opacity: 0;
  position: absolute;
  padding: .5rem 1rem;
  background-color: var(--first-color);
  color: white;
  font-size: var(--icone-font-size);
  white-space: nowrap;
  font-weight: 700;
  border-radius: .5rem;
  pointer-events: none;
}

.social__tooltip::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: var(--first-color);
  border-radius: 3px;
}

.social__content,
.social__tooltip,
.social__icon {
  transition: .3s;
}

.social__content:hover {
  background-color: var(--first-color);
}

.social__content:hover .social__icon {
  color: white;
}

/*========== Tooltip left ==========*/
.social__tooltip-left {
  left: 0;
  transform: translateX(-100%);
}

.social__tooltip-left::after {
  top: 50%;
  transform: translate(50%, -50%) rotate(45deg);
  right: 1px;
}

.social__content:hover .social__tooltip-left {
  opacity: 1;
  left: -1rem;
}

/*========== Tooltip top ==========*/
.social__tooltip-top {
  top: -2.25rem;
  left: 50%;
  transform: translateX(-50%);
}

.social__tooltip-top::after {
  left: 50%;
  transform: translate(-50%, 50%) rotate(45deg);
  bottom: 1px;
}

.social__content:hover .social__tooltip-top {
  color: white;
  opacity: 1;
  top: -3.25rem;
}

/*========== Tooltip bottom ==========*/
.social__tooltip-bottom {
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
}

.social__tooltip-bottom::after {
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  top: 1px;
}

.social__content:hover .social__tooltip-bottom {
  opacity: 1;
  bottom: -1rem;
}

/*========== Tooltip right  ==========*/
.social__tooltip-right {
  right: 0;
  transform: translateX(100%);
}

.social__tooltip-right::after {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  left: 1px;
}

.social__content:hover .social__tooltip-right {
  opacity: 1;
  right: -1rem;
}

.img {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
}

.img img {
  display: none;
  /* Masquer l'image jusqu'à ce qu'elle soit chargée */
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img.loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-radius: 50%;
  border-top: 3px solid #3498db;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}





@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 3.25rem;
    --big-font-size: 2.25rem;
    --normal-font-size: 1rem;
    --smaller-font-size: .813rem;
  }
}

/*===== BASE =====*/
*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* overflow-x: hidden; */
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  background-color: var(--white-color);
  color: var(--black-color);

}

/* .dark-mode{
  --white-color: #010112;
  --black-color: #FFF;
} */



h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: unset;
}

/*===== LAYOUT =====*/
.grid {
  max-width: 1200px;
  margin-left: 1rem;
  margin-right: 1rem;
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--white-color);
}

.data {
  margin: auto;
}

/*===== HEADER & NAV =====*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 1.2rem;
  margin-right: 1.2rem;
}

a.nav__logo {
  font-family: "Cinzel";
  font-weight: bold;
  user-select: none;
  text-decoration: none;
  color: var(--black-color);
  font-size: 1.4rem;
}

.nav__menu__chevron {
  display: none;
}

.whatsapp-icon i{
  font-size: 20px;
  padding: 0;
}

.whatsapp-icon{
  padding: 0;
  min-height: 40px;
  min-width: 40px;
  display: grid;
  align-items: center;
  border: 2px solid var(--primary);
  justify-content: center;
  border-radius: 50%;
  margin: 0;

}







.sections {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.section {
  display: grid;
  scroll-margin-top: 45px;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 30px 10px;
  /* padding-top: 50px; */
}
/* .section:nth-child(even){
  background-color: var(--special-section-color);
} */



.section p {
  font-size: 14px;
}

/* .section h3 {
  color: white;
  white-space: nowrap;
  background-clip: text;
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-image: linear-gradient(90deg, blue, red);
  animation: scroll-reveal linear forwards;
  animation-timeline: view(Y);
} */

.section-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

/* .section-left  */
.info-short h3::after {
  content: "";
  width: 40px;
  height: 4px;
  background: var(--primary);
  position: relative;
  display: block;
  bottom: 1px;
}

.section-left .info-short h3 {
     font-size: 20px; 
  padding-bottom: 10px;
}


.section-right {
  display: flex;
  flex-direction: column;
  justify-content: right;
  gap: 10px;
}

/* .info-short p{
animation: text-reveal ease forwards;
animation-timeline: view();
font-size: 1px;
animation-range-end:cover 12% ;
animation-range-start: cover 10%;
} */

.section-right .btn {
  /* display: inline; */
  width: fit-content;
  padding: 4px 12px;
  cursor: pointer;
  color: white;
  transition: all .5s ease;
  background-color: var(--black-color);

}


.btn::before {
  content: "";
  background: var(--primary);
  height: 35px;
  position: absolute;
  z-index: -1;
  display: inline-block;
  width: 110px;

}

.btn:hover::before {
  animation: anim linear .4s forwards;
  background-color: var(--primary);

}


.vertical-title {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  writing-mode: vertical-rl;
  text-align: center;
  font-size: 13px;
  color: white;
  transform: rotate(180deg);
  white-space: nowrap;
}


.vertical-title span {
  background-image: linear-gradient(90deg, black, var(--black-color));
  background-clip: text;
  font-weight: bold;
  background-repeat: no-repeat;
  background-size: 100% calc(50% + (var(--scroll-percentage) / 2));
  color: rgba(0, 0, 0, 0.29);

  /* Animation en fonction du défilement */
  transition: background-size 0.1s linear;
}

.vertical-title .ri-arrow-right-line {
  transform: rotate(calc(var(--inverse-scroll-percentage) * 0.45deg));
  opacity: calc(var(--scroll-percentage) / 100);
  color: var(--black-color);

  /* Animation en fonction du défilement */
  transition: transform 0.1s linear, opacity 0.1s linear;
}



/* @keyframes scroll-reveal {
  to {
    background-size: 100% 100%;
  }
}

@keyframes scroll-rotate {
  to {
    transform: rotate(45deg);
    opacity: 1;
    color: var(--black-color);
  }
} */

.animate-scroll-reveal {
  animation: scroll-reveal 1s linear forwards;
}

.animate-scroll-rotate {
  animation: scroll-rotate 1s linear forwards;
}




.vertical-title .ri-arrow-right-line {
  transform: rotate(-45deg);
  width: 10px;
}

.ri-arrow-right-line {
  color: var(--black-color);
  opacity: 1;
  /* color: rgba(255, 255, 255, 0.324); */
}

.limited-text {
  display: -webkit-box;
  -webkit-line-clamp: 4; /* Limite à 4 lignes */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; /* Ajoute "..." à la fin si le texte est trop long */
}


/* .projects {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(3, minmax(65px, 1fr));
} */

.span-2 {
  grid-column: auto / span 2;
  grid-row: auto /span 1;
}

.span-1 {
  grid-column: auto / span calc(3/2);
  grid-row: auto /span 1;
}

.span-demi {
  grid-column: auto / span 1;
  grid-row: auto /span 1;
}

.img {
  display: inline-block;
  margin: auto;
  width: 100%;
  height: 100%;
}

.project {
  height: 200px;
  overflow: hidden;
}

.project:nth-child(4) {
  height: 140px;
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  transition: transform 0.5s ease, opacity 0.5s ease;

}

.project img::before {
  content: "";
  position: absolute;
  display: block;
  width: 200px;
  height: 200px;
  background: red;
  z-index: 100;
}

.project img:hover {
  transform: scale(1.1);
}


@media screen and (max-width:700px) {

  .cta {
    font-size: var(--normal-font-size);
  }

  /* .section p{
    font-size: var(--smaller-font-size);
  } */


  .section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 30px 10px;

  }

  .section .about-short p {
    font-size: 13px;
  }
}



@media screen and (max-width: 968px) {

  .cursor {

    filter: invert(0);
    color: transparent;
  }

  .active .search-box {
    /* margin-left:15px ; */
    width: 120px;
  }

  .active .search-btn {
    transform: translate(80px, 2px) scale(0.8);
    background-color: transparent;
  }

  .active .close-btn {
    z-index: 0;
    transform: translate(90px, -16px) scale(0.6);
  }

  .nav__menu {
    position: fixed;
    left: -100%;
    top: var(--header-height);
    /* background-color: var(--white-color); */
    width: 50%;
    height: 100%;
    bottom: 0;
    padding: 2rem;
    z-index: var(--z-fixed);
    transition: .3s;
    border: 2px solid black;
    border-left: none;
    backdrop-filter: blur(10px);
  }

  .nav__menu__chevron {
    position: absolute;
    cursor: pointer;
    display: flex;
    /* Utilisation de flexbox pour centrer */
    align-items: center;
    /* Centre verticalement */
    justify-content: center;
    /* Centre horizontalement */
    background-color: var(--black-color);
    font-size: medium;
    color: white;
    width: 40px;
    z-index: 100;
    height: 40px;
    border: 1px solid transparent;
    border-radius: 50%;
    left: calc(50vw - 20px);
    /* Centrer horizontalement */
    top: calc(50vh - 20px);
    /* Centrer verticalement */
  }




}

.nav__list {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  row-gap: 2rem;
}

.nav__item {
  padding: 10px;
  font-weight: var(--font-bold);
}

.nav__link {
  color: var(--black-color) !important;
  padding: 10px !important;
  position: relative !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
}

.nav__link::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 0 !important;
  height: 2px !important;
  background: black !important;
  transition: width 0.3s ease !important;
  /* will-change: width !important; */
}



/* Style spécifique pour le lien actif */
.nav__link.active {
  font-weight: bold !important;
}

.nav__link.active::after {
  width: 100% !important;
  height: 2px !important;
  background: black !important;
  transition: none !important;
}

.nav__toggle {
  cursor: pointer;
  display: grid;
}

.nav__toggle i {
  cursor: pointer;
  font-size: 1.5rem;
}

/* Show menu */
.show {
  left: 0;
  padding-left: 4px;
  padding-right: 0;
  background: rgba(255, 255, 255, 0.8);
}

/*===== HOME =====*/
.home {
  margin-top: 6rem;
  justify-self: center;
  /* height: 100vh; */
  min-height: 70vh;
  display: grid;
  /* row-gap: 3.5rem; */
  /* grid-template-rows: repeat(2, max-content); */
  /* overflow: hidden; */
}




span.myname {
  /* background-color: rgba(130, 130, 130, 0.186); */
  width: 40px;
}

/*===== myphoto =====*/
.myphoto {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
/* .myimg{
  border-radius: 50%;
} */



.myphoto__figure {
  width: 270px;
  height: 270px;
  background-color: var(--primary);
  border-radius: 50%;
  transition: .5s;
  object-fit: cover;
  overflow:hidden;
}

/* .myphoto__figure::before{
  content: 'Love => do better';
  position: relative;
  left: 170px;
  font-size: 11px;
  border-radius:16px 16px 16px 0;
  margin: 0;
  text-wrap: wrap;
  color: white;
  border: 1px solid white;
  background: var(--first-color);
  width: 80px;
  padding:10px;
  height: fit-content;
} */
.myphoto__figure svg{
  width:300px;
  height: 300px;
}

.myphoto__img {
  width: 313px;
  /* position: absolute; */
  /* top: 16%; */
  /* top: 1%;
  left: 0;
  right: 0; */
  margin-left: auto;
  margin-right: auto;
  /* transform: rotate(30deg); */
  opacity: 0;
  /* border-radius: 50%; */
  filter: drop-shadow(0px 10px 10px rgba(17, 17, 17, 0.4));
}

.myphoto__img.shows {
  opacity: 1;
}

.myphoto__colors {
  position: absolute;
  right: 2%;
}

.myphoto__color {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-bottom: .5rem;
  cursor: pointer;
}

.myphoto__color.active {
  border: 2px solid var(--white-color);
  box-shadow: 0 0 2px black;
}

.myphoto__colors-one {
  background-color: var(--first-color);
}

.myphoto__colors-two {
  background-color: var(--black-color);
}

/* info */
.info {
  margin-top: 20px;
  margin-bottom: 20px;
}

/*===== Data =====*/
.data {
  margin-bottom: 1.5rem;
  padding-left: 20px;
}

.data__subtitle {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  color: var(--black-color);
}

.data__title {
  font-size: var(--big-font-size);
  margin-bottom: .5rem;
}

.data__description {
  font-size: var(--normal-font-size);
}

.actions {
  display: flex;
  justify-content: space-between;
}

/*===== Size =====*/
.size__title {
  font-size: var(--normal-font-size);
  margin-bottom: 1rem;
}

.size__content {
  display: flex;
}

.size__tallas {
  width: 30px;
  height: 30px;
  margin-right: .5rem;
  font-size: var(--smaller-font-size);
  text-align: center;
  line-height: 30px;
  border-radius: .25rem;
  cursor: pointer;
}

.size__tallas.active {
  background-color: var(--primary);
  color: var(--white-color);
}

/*===== Qty =====*/
.quantity__title {
  font-size: var(--normal-font-size);
  margin-bottom: 1rem;
}

.quantity__content {
  width: 100px;
  height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary);
  color: var(--white-color);
  padding: .5rem;
  border-radius: .25rem;
}



/*===== BREAKPOINTS =====*/
/* For small devices */
@media screen and (mAX-width: 320px) {
  .myphoto__figure {
    width: 200px;
    height: 200px;
  }
}

@media screen and (max-width: 385px) {
  .cursor{
    display: none;
  }
  .home {
    row-gap: 0.5rem;
  }

  .social__icon {
    font-size: 0.5rem;
  }

  .cta {
    font-size: var(--normal-font-size);
    margin-top: 10px;
    margin-left: 50%;

  }

  .data {
    margin-bottom: 1.5rem;
    padding: 20px;
  }

  .myphoto__figure {
    width: 220px;
    height: 220px;
  }
  .myphoto__figure svg{
    height: 250px;
    width: 250px;
  }

  .myphoto {
    margin-top: 0;
  }

  .myphoto img {
    width: 210px;
  }

  .myphoto__colors {
    right: 1%;
  }

  .price__title {
    font-size: var(--normal-font-size);
  }

  .price__button {
    padding: 1.25rem 2rem;
  }
}
@media screen and (max-width: 320px) {
.social__media{
  display:none;
}
}

@media screen and (max-width: 410px) {
  .social__icon {
    font-size: 0.8rem;
  }
}

/* For medium devices */
@media screen and (min-width: 480px) {
  .data__description {
    max-width: 400px;
  }
}

@media screen and (min-width: 768px) {
  .home {
    /* grid-template-columns: repeat(2, max-content); */
    align-content: center;
    justify-content: center;
    column-gap: 6rem;
    margin-top: 6rem;
    row-gap: 0;
  }


  .myphoto__colors {
    right: -10%;
  }

  /* .myphoto__img {
    left: -6%;
  } */

  .actions {
    margin-bottom: 3rem;
  }

}

/* For large devices */
@media screen and (min-width: 968px) {
  .home {
    /* grid-template-columns: repeat(3, max-content); */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .myphoto {
    margin-top: 0;
  }

  .social__media {
    display: none;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__list {
    flex-direction: row;
    column-gap: 3rem;
  }

  .nav__toggle {
    display: none;
  }

  .active .close-btn {
    display: none;
  }

  .myphoto__colors span {
    display: inline-block;
  }

  .info {
    align-self: center;
  }

  /* .data {
    margin-bottom: 2.5rem;
  } */

  .data__subtitle {
    font-size: 1.5rem;
  }

  .data__title {
    margin-bottom: 1rem;
  }

  .size__tallas {
    width: 34px;
    height: 34px;
    line-height: 35px;
  }

  .section {
    font-size: 15px;
    /* min-height:50vh; */
    align-items: center;
  }
}

@media screen and (min-width: 1200px) {
  .grid {
    margin-left: auto;
    margin-right: auto;
  }
}



/* Pour les écrans jusqu'à 430px de large */
@media screen and (max-width: 430px) {
  .myphoto__figure {
    position: relative;
    right: 20px;
    width: 210px;
    height: 210px;
  }
}

/* Pour les écrans de plus de 366px de large */
@media screen and (min-width: 367px) {
  .myphoto__figure {
    right: 0;
  }
}


@media screen and (max-width: 321px) {
  .heder{
    margin-top: 200px;
  }
  .myphoto__figure {  
    width: 200px;
    height: 200px;
  }
  .myphoto__figure {
    position: relative;
    right: 0;
  }
}








/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
    margin-top: 4rem;
  background-color: whitesmoke;
  padding-block: 67px;
}

.footer .container {
  display: grid;
  gap: 20px;
  padding: 0 2rem;
}

a.footer-link-one{
    text-transform: lowercase;
}
a.footer-link-one {
    font-size: 12px;
}
a.footer-link{
    font-size: 12px;
}

.social-list {
  display: flex;
  gap: 8px;
}

.social-link {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 2px solid var(--primary);
  border-radius: 50%;
  color: black;
  transition:  0.25s ease;
}

.social-link:is(:hover, :focus-visible) { border-color: black; }



@media (min-width: 575px) {

  /**
   * FOOTER
   */

   .footer-list-title { margin-block-end: 8px; }

  }

@media (min-width: 768px) {
  /**
   * FOOTER
   */

   .footer .container { grid-template-columns: repeat(3, 1fr); }

  }

/* Blog Cards Styles */
.blog-card .card-content {
  display: flex;
  gap: 2rem;
}

.blog-card .time {
  flex: 0 0 auto;
}

.blog-card .card-content > div {
  flex: 1;
}

.blog-card .card-text {
  height: 4.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

@media (min-width: 900px) {
  .blog-card {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    height: 400px;
  }
  
  .blog-card .card-banner {
    flex: 0 0 45%;
    max-width: 45%;
  }
  
  .blog-card .card-content {
    flex: 0 0 45%;
    max-width: 45%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
  }
  
  .blog-card .img-holder {
    height: 100%;
  }
  
  .blog-card .img-cover {
    height: 100%;
    object-fit: cover;
  }
}

/* Media queries pour tablette et mobile */
@media screen and (max-width: 768px) {
  .svg-img {
    max-width: 200px;
  }
}

@media screen and (max-width: 480px) {
  .svg-img {
    max-width: 150px;
  }
}