@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

html, body {
    margin: 0;
    padding: 0;
    cursor: none;
    position: relative;
    background-color: inherit;
    scrollbar-width: none;
    scroll-behavior: smooth;
    min-height: 100vh;
    overflow-x: hidden;
}


body {
    background-color: #e0dfdb;
    color: black;
    font-family: "Aesthetic", sans-serif;
    /* background-image: url(../images/fondDesign.png); */
    background-size: cover;
    background-position: center;
    
    
}


p{
    font-family: "DM Sans";
    font-weight: 200;
}

a{
    color: white;
    text-decoration: none;
    cursor: none;
}


@font-face {
    font-family: "Aesthetic";
    src: url(../font/AestheticRegular.otf) format("opentype");
    src: url(../font/AestheticRegular.ttf) format("truetype");
}


#curseur {
    position: fixed;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: white;
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 9999999999999999999999999999999999999999999;
    transition: transform 0.1s ease-out;
}





#menu-sortant-main{
    z-index: 10000;
    margin-left: -100vw;
    position: fixed;
    top: 0;
    left: 0;
    color: white;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    transition: 0.2s ease-in-out;
    animation-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.main-container{
    display: flex;
    align-items: center;
} 

.main-container .number{
    font-family: "Aesthetic";
    margin-right: 300px;
}

.main-container .text h2 a{
    font-family: "Aesthetic";
    text-decoration: none;
    color: white;
    cursor: none;
}


#nav-menu-sortant{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#nav-menu-sortant div a{
    color: white;
    text-decoration: none;
    font-family: "DM Sans";
    font-weight: 200;
    margin: 0;
}

.line{
    background-color: white;
    height: 0.5px;
    width: 1200px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.6s ease-out;
    transform-origin: left;
}

.line.visible {
    opacity: 1;
    transform: scaleX(1);
  }
  


header #divNavLinks a{

    text-decoration: none;
    font-family: "DM Sans";
    font-weight: 300;
    transition: 0.5s ease-in-out;
}

#btn-menu{
    padding-left: 30px;
    height: 35px;
    width: 35px;
    transition: 0.5s ease-in-out;
}

.navlinks{
    color: black;
    text-decoration: none;
    font-family: "DM Sans";
    font-weight: 300;
    padding-right: 30px;
}

header {
    position: fixed;
    z-index: 10000;
    width: 100%;
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
    
header.scroll{
    padding-top: 10px;
    background: linear-gradient(rgba(0, 0, 0, 0.237), rgba(255, 255, 255, 0));
}








section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 80%;
  margin: 20px auto;
  margin-top: 250px;
}




.contour-img {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  width: 400px;
  background-color: transparent; 
  overflow: hidden; 
}

section img{
  cursor: pointer;
  max-width: 95%;
  max-height: 95%;
  object-fit: contain; 
  display: block; 
  box-shadow: 0px 0px 6px 0px #000000; 
}


@media screen and (max-width: 1024px) {
  section {
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    gap: 30px;
    width: 90%;
  }

  .contour-img {
    width: 100%;
    height: auto;
  }

  section img {
    max-width: 100%;
    max-height: 300px;
  }
}

@media screen and (max-width: 600px) {
  section {
    grid-template-columns: 1fr; /* 1 colonne sur mobile */
    width: 95%;
    gap: 20px;
    margin-top: 200px;
  }

  .contour-img {
    height: auto;
    width: 100%;
  }

  section img {
    max-height: 250px;
  }
}
