* {
    box-sizing: border-box;
  }
  
  body {
    background-color: black;
    color: #00ff88;
    font-family: 'JetBrains Mono', monospace;
    margin: 0;
    padding: 1.5rem;
  }
  
  h1 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .terminal {
    max-width: 100%;
    overflow-wrap: break-word;
    white-space: nowrap;
    overflow-x: auto;
  }
  
  .line {
    font-size: 1rem;
    margin-bottom: 1rem;
    white-space: normal;
    word-break: break-word;
  }
  
  .input-line {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
  }
  
  .input-line span {
    white-space: nowrap;
  }
  
  #terminal-input {
    background: transparent;
    border: none;
    color: #00ff88;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    width: auto;
    max-width: 100%;
    min-width: 50px;
    flex-shrink: 1;
  }
  
  #errorMsg {
    display: none;
    color: red;
    margin-top: 1rem;
  }
  
  #grpCode,
  #grpVideo {
    margin-top: 1rem;
    display: none;
  }
  
  
  /* ----------- CSS des fichier dans code ----------- */
  .file-button {
    text-decoration: none;
    color: #00ff88;
    display: inline-block;
    transition: transform 0.2s ease-in-out;
  }
  
  .file-button:hover {
    transform: scale(1.1); /* Augmented scale on hover */
  }
  
  .file-container {
    position: relative;
    width: 150px; /* Increased width */
  }
  
  .file-img {
    width: 100%;
    height: auto;
    display: block;
  }

  .file-name{
    text-align: center;
  }
  
  /* ----------- Responsive pour smartphones ----------- */
  @media screen and (max-width: 600px) {
    body {
      padding: 1rem;
    }
  
    h1 {
      font-size: 1.4rem;
      margin-bottom: 1.5rem;
    }
  
    .line {
      font-size: 0.95rem;
      margin-bottom: 0.8rem;
    }
  
    .input-line {
      flex-direction: row !important;
      justify-content: flex-start;
      gap: 0.3rem;
    }
  
    #terminal-input {
      font-size: 0.95rem;
      width: auto;
      min-width: 50px;
      flex-shrink: 1;
    }
  }