/* ============================= 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
============================ */
.encadre {
  font-family: 'Fira Code', monospace;
  font-weight: 400;
  font-size: 12px;
  text-align: left;
  color: #818479;
  text-decoration: none;
}

.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;
}

/* Styles pour les mobiles */
@media screen and (max-width: 767px) {
  main {
    display: grid;
    grid-template-rows: 1fr 1fr;
  }

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

  .text-intro {
    position: absolute;
    top: 0;
    margin-top: 170px;
    width: 300px;
    margin-left: 30px;
  }

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

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

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

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

  .colonne-2 {
    position: absolute;
    top: 470px;
    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 */
  }

  .texte {
    position: relative;
    padding: 20px;
    width: 250px;
    font-family: 'Fira Code', monospace;
    font-weight: 400;
    font-size: 0.8rem;
    text-align: left;
    color: #818479;
    border: 2px solid #818479;
  }

  .boite {
    margin-bottom: 40px;
  }

  .affiche {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    align-items: center;
    margin-bottom: 2650px;
  }

  .affiche img {
    width: 300px;
    margin-bottom: 40px;
  }

  .livre img {
    width: 300px;
    margin-bottom: 40px;
  }

  .livre {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    align-items: center;
  }
}

/* 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: 35vw;
    display: flex;
    flex-direction: column;
  }

  .text-intro {
    position: absolute;
    bottom: 0;
    margin-bottom: 130px;
    width: 300px;
    margin-left: 30px;
  }

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

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

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

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

  .colonne-2 {
    height: 100vh;
    width: 70vw;
    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 */
  }

  .texte {
    position: relative;
    padding: 30px;
    width: 300px;
    font-family: 'Fira Code', monospace;
    font-weight: 400;
    font-size: 0.8rem;
    text-align: left;
    color: #818479;
    border: 2px solid #818479;
  }

  .boite {
    padding-top: 50px;
  }

  .affiche {
    display: flex;
  }

  .affiche img {
    width: auto;
    /* height: 30%; */
    padding: 50px;
  }

  .livre img {
    width: auto;
    /* height: 50%; */
    padding: 50px;
  }

  .livre {
    display: flex;
  }
}

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