footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    p {
        font-family: 'TTfirstextlight', sans-serif;
        font-size: 12px;
        color: black;
        transition: 0.3s ease-in-out;
    }
}

#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);
  }

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

      .minia-portfolio {
        img {
            width: 100vw;
            height: 350px;
            object-fit: cover;
        }
      }

      ul {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 48px;
        list-style: none;
        padding: 0;
        margin-bottom: 64px;
  
        li {
          font-family: "TT Firs Text Trial Variable", sans-serif;
          font-size: 32px;
          font-style: normal;
          font-weight: 500;
          line-height: normal;
          transition: color 0.3s ease-in-out;
          cursor: pointer;
          
        }
        li:hover {
            color: #ed3434;
        }
      }
    }
  }

  .image-container {
    width: 100vw;
    height: 350px;
    position: relative;
    display: block;
    margin-bottom: 48px;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.8);
    transition: opacity 0.3s ease-in-out;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .overlay h3 {
    color: #FFF;
    font-family: "TT Firs Text Trial", sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    margin: 0;
  }

  .overlay p {
    color: #FFF;
    font-family: "TT Firs Text Trial Variable", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
  }
  
  .image-container:hover .overlay {
    opacity: 1;
  }

/* RESPONSIVE DESIGN YA KNOW */

/* Styles pour les écrans de petite taille */
@media (max-width: 768px) {
  .high-part {
    h1 {
      font-size: 36px;
    }

    .line {
      width: 90vw;
    }

    ul {
      flex-direction: column;
      gap: 24px;

      li {
        font-size: 24px;
      }
    }
  }

  .minia-portfolio img {
    height: 250px;
  }

  .overlay h3 {
    font-size: 36px;
  }

  .overlay p {
    font-size: 18px;
  }

  #quit-button {
    padding: 8px;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.2);
    transition: 0.3s ease-in-out;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .image-container:hover .overlay {
    background-color: rgba(0, 0, 0, 0.8);
  }
}

/* Styles pour les écrans de taille moyenne */
@media (min-width: 768px) and (max-width: 1024px) {
  .high-part {
    h1 {
      font-size: 42px;
    }

    .line {
      width: 80vw;
    }

    ul {
      gap: 36px;

      li {
        font-size: 28px;
      }
    }
  }

  #quit-button {
    padding: 8px;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.2);
    transition: 0.3s ease-in-out;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .image-container:hover .overlay {
    background-color: rgba(0, 0, 0, 0.8);
  }

}


li.active {
  font-weight: bold;
}