/* -- - - - - - - - -  Typographies  - -- - - - - - - - - - -*/

@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100..900&display=swap");

/* .geist-mono-<uniquifier> {
  font-family: "Geist Mono", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */

@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* .barlow-semi-condensed-thin {
  font-family: "Barlow Semi Condensed", serif;
  font-weight: 100;
  font-style: normal;
}

.barlow-semi-condensed-extralight {
  font-family: "Barlow Semi Condensed", serif;
  font-weight: 200;
  font-style: normal;
}

.barlow-semi-condensed-light {
  font-family: "Barlow Semi Condensed", serif;
  font-weight: 300;
  font-style: normal;
}

.barlow-semi-condensed-regular {
  font-family: "Barlow Semi Condensed", serif;
  font-weight: 400;
  font-style: normal;
}

.barlow-semi-condensed-medium {
  font-family: "Barlow Semi Condensed", serif;
  font-weight: 500;
  font-style: normal;
}

.barlow-semi-condensed-semibold {
  font-family: "Barlow Semi Condensed", serif;
  font-weight: 600;
  font-style: normal;
}

.barlow-semi-condensed-bold {
  font-family: "Barlow Semi Condensed", serif;
  font-weight: 700;
  font-style: normal;
}

.barlow-semi-condensed-extrabold {
  font-family: "Barlow Semi Condensed", serif;
  font-weight: 800;
  font-style: normal;
}

.barlow-semi-condensed-black {
  font-family: "Barlow Semi Condensed", serif;
  font-weight: 900;
  font-style: normal;
} */

h1 {
  font-family: "Geist Mono", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem;
}

h2 {
  font-family: "Geist Mono", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem;
}

p {
  font-family: "Barlow Semi Condensed", serif;
  font-weight: 400;
  font-style: normal;
}

span {
  font-family: "Kanit", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2.5rem;
}

/* -- - --- - -- - - STYLE  -- - - - - -- - - - -- - */

html {
  max-width: 100%;
  padding: 0%;
  margin: 0%;
  background-color: black;
}

h1 {
  color: white;
}

h2 {
  font-size: 9.375rem;
  color: white;
}

@media (max-width: 480px) {
  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 3rem;
  }
}

h3 {
  color: white;
}

@media (max-width: 768x) {
  h3 {
    font-size: 3rem;
  }
}

p {
  color: white;
}

nav {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2.5rem;
  padding-left: 6.25rem;
  padding-right: 6.25rem;
  align-items: right;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  nav {
    flex-direction: row;
    gap: 1.5rem;
    width: auto;
    justify-content: start;
    padding: 0;
    padding-top: 2rem;
    padding-left: 2rem;
  }
}

@media (max-width: 480px) {
  nav {
    flex-direction: row;
    gap: 1.5rem;
    width: auto;
    justify-content: start;
    padding: 0;
    padding-top: 2rem;
    padding-left: 2rem;
  }
}

nav p {
  font-family: "Geist Mono", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 300;
  font-size: 1.8rem;
}



@media (max-width : 1024px){
  nav p{
      font-style: normal;
      font-weight: 400;
      font-size: 2rem;
    }
  }

@media (max-width : 768px){
  nav p{
      font-style: normal;
      font-weight: 400;
      font-size: 1.5rem;
    }
  }

@media (max-width : 480px){
  nav p{
      font-style: normal;
      font-weight: 400;
      font-size: 1rem;
    }
  }


a {
  text-decoration: none;
}

nav a :hover {
  background-color: white;
  color: black;
}

img {
  max-width: 100%;
  display: block;
}

.titrespages {
  text-align: center;
  padding-bottom: 1.5625rem;
  padding-top: 6.25rem;
}

@media (max-width: 768px) {
  .titrespages {
    padding-top: 2rem;
  }
}

.textedetail {
  text-align: center;
  font-size: 2.5rem;
  padding: 0 10.1875rem 0 10.1875rem;
}

@media (max-width: 768px) {
  .textedetail {
    font-size: 4rem;
    padding: 0 1rem;
  }
}

.titrespages h2 {
  font-size: 4rem;
}

@media (max-width: 768px) {
  .titrespages h2 {
    font-size: 2.5rem;
    padding: 0;
  }
}

@media (max-width: 480px) {
  .titrespages h2 {
    font-size: 2rem;
    padding: 0;
  }
}

.textedetail p {
  font-size: 2rem;
}

@media (max-width: 768px) {
  .textedetail p {
    font-size: 2rem;
    padding-bottom: 3rem;
  }
}

@media (max-width: 480px) {
  .textedetail p {
    font-size: 1.3rem;
    padding-bottom: 3rem;
  }
}

/* ---------- index --------------------- */

.premierepage {
  background-image: url("IMG/titre/titreordi.webp");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
}

@media (max-width: 1024px) {
  .premierepage {
    background-image: url(IMG/titre/titremobile.webp);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
  }
}

/* ---------- page contact ---------------- */

.contactme {
  text-align: center;
  padding-top: 0rem;
}

.contact img {
  display: block;
  margin: 0 auto;
  max-width: 50px;
  height: auto;
  padding-top: 8rem;
}

.contactme a:hover {
  background-color: white;
  color: black;
}

.contactme a {
  color: rgb(255, 255, 255);
}

.contactme span {
  font-family: "Barlow Semi Condensed", serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-size: 2rem;
}

@media (max-width: 480px) {
  .contactme span {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .contactme p {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .contactme p {
    font-size: 1rem;
  }
}

.contactme p {
  font-family: "Geist Mono", serif;
  font-size: 1.8rem;
  font-weight: 400;
}

@media (max-width: 768px) {
  .contactme p {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .contactme p {
    font-size: 1rem;
  }
}
/* ----------- page mes photos --------------- */

.gridphotos {
  columns: 400px;
  column-fill: balance;
  gap: 0px;
  gap: 1.25rem;
  padding: 0 3.125rem;
  padding-top: 12.5rem;
}

@media (max-width: 768px) {
  .gridphotos {
    columns: 300px;
    padding-top: 5rem;
    gap: 8px;
    padding: 0 1rem;
  }
}

.gridphotos img {
  border-bottom: 20px solid black;
}

@media (max-width: 768px) {
  .gridphotos img {
    border-bottom: 8px solid black;
  }
}

@media (max-width: 480px) {
  .gridphotos img {
    border-bottom: 15px solid black;
  }
}

/* ------------ flou ------------------------- */

.gridphotosflou {
  columns: 500px;
  column-fill: balance;
  gap: 0px;
  gap: 1.25rem;
  padding: 0 3.125rem;
  padding-top: 12.5rem;
}

@media (max-width: 768px) {
  .gridphotosflou {
    columns: 500px;
    padding-top: 5rem;
    gap: 8px;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .gridphotosflou {
    columns: 400px;
    column-fill: balance;
    gap: 8px;
    padding: 0 1rem;
}
}

.gridphotosflou img {
  border-bottom: 20px solid black;
}

@media (max-width: 768px) {
  .gridphotosflou img {
    border-bottom: 8px solid black;
  }
}

@media (max-width: 480px) {
  .gridphotosflou img  {
    border-bottom: 15px solid black;
  }
}


/* ---------- page mes projets ---------------- */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: black;
  color: white;
}

/* Galerie horizontale */
.gallery {
  display: flex;
  overflow-x: auto; /* Scroll horizontal activé */
  overflow-y: hidden; /* Empêche le défilement vertical */
  gap: 20px;
  padding: 0 3.125rem 4rem 3.125rem;
  padding-top: 10.9375rem;
}

@media (max-width: 768px) {
  .gallery{
    padding-top: 5rem;
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  .gallery{
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }
}


/* Scrollbar (optionnel) */
.gallery::-webkit-scrollbar {
  height: 0.625rem;
  background: #222;
}
.gallery::-webkit-scrollbar-thumb {
  background: #ffffff;
}

/* Cartes des projets */
.project {
  flex: 0 0 auto;
  width: 300px;
  text-align: center;
}

@media (max-width: 1024px) {
  .project {
    width: 700px;
  }
}

@media (max-width: 768px) {
  .project {
    width: 200px;
  }
}

@media (max-width: 480px) {
  .project {
    width: 250px;
  }
}

.project img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  filter: grayscale(100%);
}

.project img:hover {
  filter: grayscale(0%);
}

.project h2 {
  font-size: 1.125rem;
  color: #ffffff;
}

@media (max-width: 1024px) {
  .project h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .project h2 {
    font-size: 1rem;
  }
}

.project p {
  font-size: 14px;
  color: #dedede;
}

@media (max-width: 1024px) {
  .project p {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .project p {
    font-size: 1rem;
  }
}

/* ---------- page video ---------------- */

.pagevideo {
  display: flex;
  justify-content: center;
}

.video {
  width: 80vw;
  aspect-ratio: 16/9;
}

.textedetail a {
  color: white;
}

.textedetail a:hover {
  background-color: #ffffff;
  color: black;
}

/* -------------- Posters -------------- */

.posterimage {
  display: flex;
}

.poster img {
  object-fit: contain;
}

.imagemahomes {
  width: auto;
  display: block;
  margin: 0 auto;
  max-width: auto;
  height: 100vh;
  padding-top: 6rem;
}

@media (max-width: 768px) {
  .imagemahomes {
    display: flex;
    max-width: 60vw;
    height: auto;
    padding: 0 1rem 3rem 1rem;
  }
}

@media (max-width: 480px) {
  .imagemahomes {
    display: flex;
    max-width: 80vw;
    height: auto;
    padding: 0 1rem 3rem 1rem;
  }
}

.textedetailburrow {
  text-align: center;
  font-size: 2.5rem;
  padding: 10rem 10.1875rem 0 10.1875rem;
}

@media (max-width: 768px) {
  .textedetailburrow {
    font-size: 1rem;
    padding: 0 1rem 3rem 1rem;
  }
}

/* ------------- About --------------- */

.about1 {
  display: flex;
  justify-content: center; /* Centrer horizontalement */
  align-items: center; /* Centrer verticalement */
  flex-wrap: wrap; /* Permet de gérer les retours sur petits écrans */
  padding: 5rem 6.25rem;
  gap: 6.25rem;
}

@media (max-width: 768px) {
  .about1 {
    flex-direction: column;
    padding: 1rem;
  }
}

.texteabout {
  font-size: 1.5rem;
  flex: 1; /* Prend toute la largeur disponible */
  text-align: left; /* Centre le texte horizontalement */
}

@media (max-width: 768px) {
  .texteabout {
    font-size: 1rem;
    padding-top: 6.25rem;
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {
  .texteabout ul {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .texteabout ul {
    padding: 1rem;
  }
}

.texteabout h2 {
  font-size: 3rem;
  text-align: center; /* Centre le titre */
}

@media (max-width: 768px) {
  .texteabout h2 {
    font-size: 1.5rem;
  }
}

#imgabout {
  flex: 1; /* Prend toute la largeur disponible */
  max-width: 30vw; /* Limite la taille de l'image */
  height: auto; /* Conserve les proportions */
  display: block;
  margin: 0 auto; /* Centre l'image horizontalement */
}

@media (max-width: 768px) {
  #imgabout {
    max-width: 80vw;
  }
}

.skills {
  padding-top: 3rem;
}

li {
  list-style-type: square;
  font-family: "Barlow Semi Condensed", serif;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  li {
    text-align: left;
    font-size: 1rem;
  }
}

/* ----------- footer ----------------- */

footer {
  font-size: 20pt;
  text-align: right;
  padding-right: 50px;
  padding-top: 1.875rem;
  text-align: end;
}

@media (max-width: 768px) {
  footer {
    font-size: 1rem;
  }
}

/* ------------- Media Queries ---------- */
