/* ============================= 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
============================ */
.boite {
  left: 0;
  margin: 40px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.prenom {
  font-family: 'Fira Code', monospace;
  font-weight: 700;
  font-size: 20px;
  text-align: left;
  text-transform: uppercase;
  color: #FFF6E9;
  margin-bottom: 5px;
}

.para {
  font-family: 'Fira Code', monospace;
  font-weight: 500;
  font-size: 14px;
  text-align: left;
  color: #FFF6E9;
  margin-bottom: 20px;
}

.wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.wrapper img {
  width: 50%;
  margin: 10px;
}

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

  .colonne-1 {
    height: 100vh;
    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: fit-content;
    width: 100vw;
    background-color: black;
    flex: 1;
    /* Permet à la div de remplir l'espace disponible */
  }
}

/* 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: 40vw;
    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: 30vw;
    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: 60vw;
    background-color: black;
    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 */
  }
}

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