@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/fondAbout.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;
}




section{
    display: flex;
    align-items: center;
    width: 100%;
    height: 100vh;
}

section article{
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

section article img{
      box-shadow: 0px 0px 6px 0px #000000; 
    width: 300px;
    height: auto;
}

section aside{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70%;
}

section aside p{
    width: 80%;
    text-align: justify;
}
#infos-perso {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
  padding: 0 40px;
}

.bloc-info {
  background-color: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-left: 3px solid #333;
  transition: all 0.3s ease;
}

.bloc-info:hover {
  border-color: #6b46c1;
  transform: translateY(-3px);
}

.bloc-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bloc-info span {
  font-family: 'Georgia', serif;
  text-transform: uppercase;
}

.bloc-info p {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}
#infos-perso {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  padding: 60px 40px;
}

.card-info {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background-color: #fff;
}

.card-info:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.card-info img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.card-info .content {
  padding: 15px 20px;
}

.card-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
}

.card-info p {
  font-size: 14px;
  color: #444;
  line-height: 1.4;
}
.card-info img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center top; /* → centre l’image horizontalement, et montre le haut */
  display: block;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
