@font-face {
  font-family: "CustomFont";
  src: url("../public/fonts/SuisseIntlMono-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  font-family: "CustomFont", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 18px;
  font-weight: 400;
  font-style: normal;
}




#main {
  position: absolute;
  top: 10vh;
  display: flex;
  flex-direction: row;
}

#images {
  width: 23vw;
  padding-left: 1vw;
  padding-right: 1vw;
  border-right: 1px solid #000000;
  min-height: 100vh;
}

#titres-sections {
  padding-top: 3vh;
  width: 34.5vw;
  padding-left: 1vw;
  padding-right: 1vw;
  border-right: 1px solid #000000;
  min-height: 100vh;
  text-align: right;
}

#textes-sections {
  width: 35.5vw;
  padding-left: 1vw;
  padding-right: 1vw;
  min-height: 100vh;
}

.texte {
  padding-top: 3vh;
  padding-bottom: 3vh;
  border-bottom: 1px solid #000000;
  white-space: pre-wrap;
  word-wrap: break-word;
}



#membres {
  margin-top: 3vh;
  display: flex;
  flex-direction: column;
  gap: 1vh;
}

.membre {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
}

#membres-image-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
  gap: 1vh;
  font-size:14px;
}

#image-agence {
  position: relative;
  padding-top: 3vh;
  width: 100%;
}

@media  (max-width: 768px) {
  #header{
    position:fixed;
    top: 0;
    left: 0;
  }

  #main {
    position: relative;
    top: 10vh;
    font-size : 13px;
    line-height: 13px;
    width: 95%;
    padding-left: 2.5vw;
    padding-bottom: 200px;
  }
  #textes-sections {
    position: relative;
    width: 98vw;
    padding-left: 1vw;
    padding-right: 1vw;
    min-height: 100vh;
    

  }
  .titre{
    padding-bottom: 1vh;
    padding-top: 5vh;
    border-bottom: 1px solid #000000;
  }

  .texte{
    border: none;
    padding-bottom: 1vh;
    white-space: wrap;

    
  }

  #images {
    width: 23vw;
    padding-left: 1vw;
    padding-right: 1vw;
    min-height: 100vh;
  }

  #membres {
    margin-top: 3vh;
    display: flex;
    flex-direction: column;
    gap: 1vh;
  }
  
  .membre {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
  }
  
  #membres-image-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 1vh;
    font-size:14px;
  }
  
  #image-agence {
    position: relative;
    padding-top: 3vh;
    width: 90%;
    padding-left: 5%;
  }

  .team-table{
    margin-top: 3vh;
  }

  

  
}
