/* ============================= FONTS ============================= */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&display=swap');

@font-face {
  font-family: 'apfel_grotezkfett';
  src: url('../FONTS/apfelgrotezk-fett-webfont.woff2') format('woff2'),
    url('../FONTS/apfelgrotezk-fett-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* ============================= STYLES POUR TOUS LES ÉCRANS ============================= */
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  background-color: #FFF6E9;
}

/* COLONNE 1
============================ */
.titre {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: 0;
}

.titre p {
  font-family: 'apfel_grotezkfett';
  text-transform: uppercase;
  color: black;
}

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

/* COLONNE 2
============================ */
.row-1 {
  padding: 5px;

  display: flex;
  flex-direction: row;
}

.row-2 {
  padding: 5px;

  display: flex;
  flex-direction: row;
}

.row-3 {
  padding: 5px;

  display: flex;
  flex-direction: row;
}

.boite {
  width: 100%;
  position: fixed;
  margin: 10px;
  /* marge entre les boites */

  border-radius: 30px;
  border-style: none;
  border-width: 0;
  overflow: hidden;
  /* Masque tout contenu qui dépasse la taille de la div */
}

.titre-para {
  position: absolute;
  left: 0;
  font-family: 'Fira Code', monospace;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
  color: #FF3225;
}

.texte {
  position: relative;
  padding-top: 40px;
  margin: 30px;

  font-family: 'Fira Code', monospace;
  font-weight: 400;
  font-size: 12px;
  text-align: left;
  color: #818479;
}

.text-intro {
  position: relative;
  margin: 20px;
  margin-right: 100px;

  font-family: 'Fira Code', monospace;
  font-weight: 400;
  font-size: 14px;
  text-align: left;
  color: #818479;
}

.italique {
  position: relative;
  margin: 20px;
  margin-right: 100px;

  font-family: 'Fira Code', monospace;
  font-weight: 400;
  font-size: 14px;
  text-align: left;
  color: #818479;
  font-style: italic;
}

.detail {
  position: relative;
  margin: 20px;
  margin-right: 100px;

  font-family: 'Fira Code', monospace;
  font-weight: 400;
  font-size: 12px;
  text-align: left;
  color: red;
  font-style: italic;
}

.texte a:hover {
  text-decoration: underline;
}

.texte a {
  color: #FF3225;
  font-weight: 600;
}

/* ==================================
STYLE TEXTE ET PHOTO INTRO */

/* IMG manif retraites */
#image1 {
  width: 50%;
  position: relative;

  background-image: url("../IMAGES/IMG_intro2.png");
  /* Définissez l'image en tant que fond */
  background-size: cover;
  /* Ajuste la taille de l'image pour remplir la div tout en conservant les proportions */
  background-position: center;
  /* Centre l'image dans la div */
  background-repeat: no-repeat;
  /* Empêche la répétition de l'image */
}

/* QUI SUIS-JE ? */
#texte1 {
  width: 50%;
  position: relative;
  background-color: #E7E08B;
}

/* A QUI S'ADRESSE LE PROJ */
#texte2 {
  width: 45%;
  position: relative;
  background-color: #E4E9B2;
}

/* LE BUT ? */
#texte3 {
  width: 100%;
  position: relative;
  background-color: #E7E08B;
}

/* DE QUOI PARLE LE PROJ ? */
#texte4 {
  width: 55%;
  position: relative;
  background-color: #D2E4C4;
}

/* ==================================
STYLE TEXTE ET PHOTO EXPE */

/* DRAPEAU */
#texte5 {
  width: 90%;
  position: relative;
  background-color: #E4E9B2;
}

/* GENE DEVISE */
#texte7 {
  width: 100%;
  position: relative;
  background-color: #D2E4C4;
}

#texte8 {
  width: 100%;
  position: relative;
  background-color: #E7E08B;
}

.titre-gene {
  position: absolute;
  font-family: 'Fira Code', monospace;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
  color: #FF3225;
}

#texte9 {
  width: 100%;
  position: relative;
  background-color: #E7E08B;
}

#texte10 {
  width: 100%;
  position: relative;
  background-color: #E7E08B;
}

/* ============================= STYLES SELON LES ÉCRANS ============================= */
/* Styles pour les mobiles */
@media screen and (max-width: 767px) {
  main {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-gap: 0px;
    /* Espacement entre les éléments */
  }

  .colonne-1 {
    height: 30vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
  }

  .titre {
    margin-top: 50px;
    padding-left: 30px;
  }

  .titre p {
    font-size: 2.8rem;
  }

  .titre img {
    height: 35px;
    margin-bottom: 20px;
  }

  .suivant img {
    height: 50px;
    position: absolute;
    right: 0;
    margin-right: 30px;
    bottom: 550px;
  }

  .retour img {
    transform: rotate(180deg);
    height: 40px;
    position: absolute;
    left: 0;
    bottom: 500px;
    margin-left: 30px;
  }

  .colonne-2 {
    position: absolute;
    top: 350px;
    height: 100vh;
    width: 100vw;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 5px;
    /* Espacement entre les éléments */
    flex: 1;
    /* Permet à la div de remplir l'espace disponible */
  }

  .titre-gene {
    margin: 30px;
    font-size: 1.5rem;
  }

  .titre-para {
    margin: 20px;
    font-size: 0.7rem;
  }

  /* POLITIQUE DE L'IA */
  #texte6 {
    width: 60%;
    position: relative;
    background-color: #E7E08B;
  }
}

/* Styles pour les tablettes */
@media screen and (min-width: 768px) and (max-width: 1024px) {}

/* Styles pour les ordinateurs */
@media screen and (min-width: 1025px) {
  main {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .colonne-1 {
    height: 100vh;
    width: 50vw;

    display: flex;
    flex-direction: column;
  }

  .titre {
    margin-top: 140px;
    padding-left: 30px;
  }

  .titre p {
    font-size: 5.3rem;
  }

  .titre img {
    height: 60px;
    margin-bottom: 20px;
  }

  .suivant img {
    height: 80px;
    position: absolute;
    left: 40vw;
    bottom: 0;
    margin-bottom: 130px;
  }

  .retour img {
    transform: rotate(180deg);
    height: 60px;
    position: absolute;
    left: 0;
    bottom: 0;
    margin-left: 30px;
    margin-bottom: 30px;
  }

  .colonne-2 {
    height: 100vh;
    width: 50vw;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 5px;
    /* Espacement entre les éléments */
    flex: 1;
    /* Permet à la div de remplir l'espace disponible */
    overflow: auto;
    /* Active le défilement si le contenu dépasse la hauteur de la div */
  }

  .titre-gene {
    margin: 60px;
    font-size: 1.8rem;
  }

  .titre-para {
    margin: 30px;
    font-size: 0.9rem;
  }

  /* POLITIQUE DE L'IA */
  #texte6 {
    width: 40%;
    position: relative;
    background-color: #E7E08B;
  }
}

/* Styles pour les grands écrans */
@media screen and (min-width: 1201px) {}