body {
    font-family: Arial, sans-serif;
    text-align: center;
    background: linear-gradient(95deg, black, #6532f9);
    color: goldenrod;
    margin: 0;
    padding: 0;
  }

    header{
      background-color: #c1e3f8;
  }

  .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: black;
      width: 100%;
      z-index: 100;
  }

  .nav-links {
      list-style: none;
      display: flex;
      margin: 0;
      padding: 0;
  }

  .nav-links li {
      margin: 0 15px;
  }

  .nav-links a {
      color: white;
      text-decoration: none;
      font-size: 18px;
  }

  .nav-links a:hover {
      color: #f0a500;
  }

  /* Menu icon for mobile */
  .menu-icon {
      display: none;
      font-size: 28px;
      color: white;
      cursor: pointer;
  }
  
  .container {
    margin: 20px auto;
    max-width: 600px;
    padding: 20px;
    background: white;
    border-radius: 10px;
  }
  
  #question-box {
    margin: 20px 0;
  }
  
  #choices button {
    display: block;
    background: goldenrod;
    color: black;
    border: none;
    padding: 10px;
    margin: 10px auto;
    cursor: pointer;
    width: 80%;
    border-radius: 5px;
    transition: transform 0.2s ease, background-color 0.3s ease;
  }
  
  #choices button:hover {
    transform: scale(1.05);
    background-color: #f7c700;
  }
  
  #choices button.correct {
    background: #28a745;
  }
  
  #choices button.incorrect {
    background: #dc3545;
  }
  
  #restart-btn {
    background-color: goldenrod;
    color: black;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    display: block;
    margin: 20px auto;
    width: 80%;
  }
  
  #timer, #score {
    font-size: 1.2em;
  }

  .footer {
    display: flex;
    justify-content: space-around;
    background-color: black;
    color: white;
    padding: 20px;
    text-align: center;
}

.footer-column {
    flex: 1;
    margin: 0 10px;
}

.footer-column h4 {
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin: 10px 0;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

.footer-logo {
    max-width: 100px;
    height: auto;
}

.social-icons {
    display: flex;
    justify-content: center;
}

.social-icon {
    position: relative;
    margin: 0 10px;
    width: 80px;
    height: 80px;
}

.icon-base {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

.icon-hover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover .icon-hover {
    opacity: 1;
}

.social-icon:hover .icon-base {
    opacity: 0;
}

.acceuil img {
    width: 100px;
    height: auto; 
  }

  @media (max-width: 768px) {

    /* Base styles */
    * {
        margin: 0;
        padding: 0;
        font-family: Arial, sans-serif;
    }
    
    body {
        background: linear-gradient(to bottom right, black, #6532f9);
    }
    
    /* Header styles */
    .navbar{
        background-color: black;
        padding-bottom: -10px; 
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #6532f9; /* Applique une couleur de fond couvrant toute la largeur */
        position: absolute; /* Positionne le menu de manière absolue */
        top: 50px; /* Distance par rapport à la navbar */
        left: 0; /* Aligné à gauche */
    }
    
    .menu-icon {
        display: block;
    }
    
    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        width: 100%; /* Chaque élément occupe toute la largeur */
        text-align: center; /* Centre le texte */
    }

    .nav-links a {
        padding: 15px 0; /* Ajuste le padding pour le mobile */
        color: white;
        display: block;
    }

    .container {
        padding : 50px
    }

    .logo {
        height: 80px;
    }
    
    
    /* Footer styles */
    .footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: black;
        color: white;
    }
    
    .footer-column {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .footer-column h4 {
        margin-bottom: 15px;
    }
    
    .footer-column ul {
        list-style: none;
        padding: 0;
    }
    
    .footer-column ul li {
        margin: 10px 0;
    }
    
    .footer-column ul li a {
        color: white;
        text-decoration: none;
    }
    
    .footer-column ul li a:hover {
        text-decoration: underline;
    }
    
    .social-icons {
        display: flex;
        justify-content: center;
    }
    
    .social-icon {
        margin: 0 10px;
        width: 40px;
        height: 40px;
    }
    
    .icon-base, .icon-hover {
        width: 100%;
        height: 100%;
    }
    
    }

  