footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

footer p {
    font-family: 'TTfirstextlight', sans-serif;
    font-size: 12px;
    color: black;
    transition: 0.3s ease-in-out;
}

/*Bouton Quitter*/

#quit-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 20px;
    background-color: black;
    margin: 0;
    position: fixed;
    top: 3vh;
    left: 3vh;
    z-index: 9999;
    transition: 0.3s ease-in-out;
  }

  #quit-button:hover {
    transform: scale(1.1);
  }

  /*EXIT*/

  body {
    margin: 8px 0px 8px 0px;
    .high-part {
      justify-content: center;
  
      h1 {
        color: #000;
        text-align: center;
        font-family: "TT Firs Text Trial", sans-serif;
        font-size: 48px;
        font-style: normal;
        font-weight: 900;
        line-height: normal;
        margin: 0;
        padding-top: 20px;
      }
      
      .line {
        border: 1px solid black;
        margin: 0 auto;
        width: 70vw; /* Convertir en vw */
        background-color: black;
        margin-top: 5px;
        margin-bottom: 64px;
      }
    }
  }

  .down-part {
    width: 70vw;
    margin-left: auto;
    margin-right: auto;

    .curriculum {
        display: flex;
      }
      
      .right-part {
        margin-left: auto;
        margin-right: 16px;
        width: auto;
        .skills {
            width: fit-content;
            height: fit-content;
            padding: 0 10px 0 0;
        }
      }
      
      .left-part {
        width: auto;
        margin-left: 16px;
        .experiences {
            width: fit-content;
            height: fit-content;
            padding: 0 10px 0 12px;
            .job {
              margin-bottom: 42px;
              .top {
                width: auto;
                h3 {
                  padding-right: 32px;
                }
              }
            }
        }
        .passion {
          width: fit-content;
          height: fit-content;
          .job {
            margin-bottom: 24px;
            .top {
              width: auto;
              h3 {
                padding-right: 32px;
              }
            }
            p {
              margin: 0;
            }
          }
      }
      }

    p {
        color: #000;
        text-align: left;
        font-family: "TT Firs Text Trial Variable", sans-serif;
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: 32px;
        margin: 8px 0 8px 0;
    }
    .video-container {
        display: flex;
        justify-content: center;
      }
    
    video {
        width: 70vw;
        height: auto;
      }

      iframe {
        width: 70vw;
        
      }

      h2 {
        font-family: "TT Firs Text Trial", sans-serif;
        font-size: 38px;
        font-style: normal;
        font-weight: 900;
        line-height: normal;
        color: #FFF;
        margin: 0 0 8px 0;
        text-shadow: 
          -1px -1px 0 #000,
          1px -1px 0 #000,
          -1px 1px 0 #000,
          1px 1px 0 #000,
          3px 3px #000;
      }
    
      h3 {
        font-family: "TT Firs Text Trial", sans-serif;
        font-size: 28px;
        font-style: normal;
        font-weight: 900;
        line-height: normal;
        transition: transform 0.3s;
        margin: 0 auto;
      }

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

      .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        grid-gap: 20px;
        margin-bottom: 64px;
      }
    
      .gallery img {
        width: 100%;
        height: auto;
        object-fit: cover; /* Pour ajuster et recadrer les images */
      }

      a {
        display: flex;
        justify-content: center;
      }
      
      
      ul, ol {
        list-style: none;
        padding: 0;
        margin: 0;
        line-height: 0;
      }
      
      li {
        line-height: normal; /* Rétablir la hauteur de ligne par défaut si nécessaire */
      }
      
      .software {
        margin-top: 48px;
        li {
          display: inline-block;
          margin-right: 4px; /* Ajoutez un espace entre les éléments li si nécessaire */
          margin-bottom: 4px; /* Ajoutez un espace entre les éléments li si nécessaire */
        }
      }
      
      .education {
        margin-top: 48px;
        .job {
          margin-bottom: 32px;
        }
      }

      .download {
        background-color: #000;
        color: #fff;
        border-radius: 24px;
        padding: 12px 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "TT Firs Text Trial", sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 900;
        line-height: normal;
        border: none;
        transition: transform 0.3s ease;
        margin-top: 24px;
        margin-bottom: 64px;
        img {
            margin-right: 16px;
        }
      }
      
      .download:hover {
        border: none;
        transform: scale(1.05);
      }
    }

    
h4 {
  color: #000;
  font-family: "TT Firs Text Trial", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 0;
}

.vertical-line {
  width: 2px;
  background-color: black;
  height: auto; /* Hauteur de la ligne */
  opacity: 0.1;
}

/* RESPONSIVE DESIGN YA KNOW */

/* Styles pour les écrans de petite taille */
@media (max-width: 768px) {

  #quit-button {
    padding: 8px;
  }

  .vertical-line {
    width: 2px;
    background-color: black;
    height: auto; /* Hauteur de la ligne */
    opacity: 0;
  }
  .down-part {
    .curriculum {
      display: inline;
      .left-part {
        margin: 0;
        .experiences {
          padding: 0;
        }
      }
    }
  }

}

/* Styles pour les écrans de taille moyenne */
@media (min-width: 768px) and (max-width: 1024px) {

  #quit-button {
    padding: 8px;
  }

  .vertical-line {
    width: 2px;
    background-color: black;
    height: auto; /* Hauteur de la ligne */
    opacity: 0;
  }

  .down-part {
    .curriculum {
      display: inline;
      .left-part {
        margin: 0;
        .experiences {
          padding: 0;
        }
      }
    }
  }

}