@import url('https://fonts.googleapis.com/css2?family=Jersey+10&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Inconsolata:wght@200..900&display=swap');

body {
    margin: 30px;
    color: #f1F1F1;
    background-color: rgba(0, 0, 0, 0.9);
    /*font-family: "Amatic SC", sans-serif;*/
    font-family: "Inconsolata", monospace;
}

h2 {
    text-decoration: underline;
    margin: 30px;
    font-family: "Inconsolata", monospace;
}

.Projet_perso {
    display: flex;
    flex-wrap: wrap;               /* Permet le retour à la ligne */
    flex-direction: row;           /* (par défaut, mais à forcer au besoin) */
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
    padding: 35px;
}

.Projet_scolaire {
    display: flex;
    flex-wrap: wrap;               /* Permet le retour à la ligne */
    flex-direction: row;           /* (par défaut, mais à forcer au besoin) */
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
    padding: 35px;
}


.app {
    width: 100px;
    text-align: center;
    cursor: pointer;
}

.app img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

/* Animation sur survol */
.app:hover img {
    transform: scale(1.2);
}

.app:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* Modale */
.modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(0,0,0,0.6);
}
.footer {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      height: 50px;
      background: #2a2a2a;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 15px;
      border-top: 1px solid #444;
      z-index: 999;
}

#startButton {
background: #0078d7;
color: white;
border: none;
padding: 8px 16px;
border-radius: 5px;
cursor: pointer;
font-size: 14px;
}

    #startButton:hover {
      background: #005fa3;
    }

    .clock-zone {
      font-size: 14px;
    }

    /* MODALE */
    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
    }

    .modal-content {
      background-color: #2c2c2c;
      color: white;
      margin: 10% auto;
      padding: 20px;
      border: 1px solid #444;
      width: 300px;
      border-radius: 8px;
      text-align: center;
    }

    .modal-content h3 {
      margin-top: 0;
    }

    .modal-content ul {
      list-style: none;
      padding: 0;
    }

    .modal-content li {
      margin: 10px 0;
    }

    .modal-content a {
      color: white;
      text-decoration: none;
      font-weight: bold;
      display: block;
      padding: 10px;
      border-radius: 4px;
      background: #0078d7;
      transition: background 0.2s;
    }

    .modal-content a:hover {
      background: #005fa3;
    }

    .close {
      float: right;
      font-size: 22px;
      cursor: pointer;
      color: white;
    }