::-webkit-scrollbar {
    width: 0;
    display: none;
}
/* Add smooth scrolling to the whole page */
html {
    scroll-behavior: smooth;
    overflow-x : hidden
}
  
  
  body {
      margin: 0; /* Supprime la marge par défaut */
      font-family: 'Courier New', Courier, monospace;
      background-color: #2e2e2e;
      color: #fff;
      overflow-x : hidden
  }
  
.burger-menu {
    display: none;
    cursor: pointer;
}

.burger-menu div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: 0.4s;
}
  nav {
      background: #1e1e1e;
      padding: 10px 20px;
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 100;
  }
  
  nav ul {
      display: flex;
      justify-content: center; /* Cela centre les éléments horizontalement */
      align-items: center;     /* Cela centre les éléments verticalement */
      list-style-type: none;   /* Retire les puces */
  }
  
  nav ul li {
      margin: 0 15px;          /* Ajoute de l'espace entre les éléments */
  }
  
  
  nav ul li a {
      color: #fff;
      text-decoration: none;
      padding: 10px 15px;
      transition: background 0.3s ease;
      border-radius: 4px;
  }
  
  nav ul li a:hover, nav ul li a.active {
      background: #ff6347;
      border-radius: 4px;
  }

  header {
    background-color: #1e1e1e;
    height: 50vh; /* Augmenter la hauteur */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: height 0.3s ease; /* Ajouter une transition */
}

header .intro h1 {
    font-size: 3.5rem; /* Augmenter la taille de la police */
    margin-right: 15px;
    margin-bottom: 20px;
    color: #ff6347;
    transition: font-size 0.3s ease; /* Ajouter une transition */
}

header .intro p {
    font-size: 1.5rem; /* Augmenter la taille de la police */
    margin-bottom: 20px;
    opacity: 0.8;
    transition: font-size 0.3s ease; /* Ajouter une transition */
}

#contact {
    padding: 40px 20px;
    text-align: center;
    background-color: #2e2e2e;
}

#contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#contact form div {
    margin-bottom: 15px;
}

#contact form label {
    margin-bottom: 5px;
}

#contact form input, 
#contact form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    background-color: #2e2e2e;
    color: #fff;
}

#contact form button {
    padding: 10px;
    border: none;
    background-color: #ff6347;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#contact form button:hover {
    background-color: #e05340;
}
.captcha-container {
    display: flex;
    justify-content: center;
    margin: 20px 0; /* Ajoute de l'espace autour du captcha si nécessaire */
}

/* Footer */
footer {
    background-color: #1b1b1b;
    padding: 20px 0;
    text-align: center;
    color: #fff;
    width: 100%;
    z-index: 100;
}

.footer-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 10px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
}

.contact-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.contact-item img:hover {
    transform: scale(1.1);
}

.contact-item p {
    margin: 0;
    font-size: 14px;
    color: #ccc;
}

.copyright {
    font-size: 14px;
    color: #ccc;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #1e1e1e;
        padding-top: 60px;
    }

    nav ul.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0; /* Plus d'espace entre les liens */
    }

    nav ul {
        flex-direction: column; /* Les éléments du menu s'affichent en colonne */
        padding: 10px 0;
    }
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: 30vh; /* Réduction de la hauteur */
    }

    header .btn {
        bottom: 90px;
        left: 50%;
    }

    header .dynamic-text {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
        margin-right: 1%;
    }
    
    header #PhotoPrinc {
        order: -1;
        width: 80vw; /* Increased from 70vw to 80vw */
        height: auto;
        margin-bottom: 15px; /* Reduced from 30px to 15px */
    }
    header .btn {
        background-color: #ff6347;
        color: #fff;
        padding: 10px 20px;
        text-decoration: none;
        border-radius: 4px;
        position: relative;
        bottom: 90px;
        left: 50%;
    }
    
    header .btn:hover {
        background-color: #e05340;
    }
    .intro p {
        margin-top: 0;
        margin-bottom: 200px; /* Added to control bottom spacing */
    }
    /* Burger animation classes */
    .burger-menu {
        display: block;
        position: fixed;
        top: 15px;
        right: 20px;
        z-index: 101;
    }
    .burger-menu.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger-menu.active div:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
     /* Form container */
    #contact {
        padding: 15px 0;
        width: 100%;
    }

    #contact h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        text-align: center;
    }

    /* Form elements */
    #contact-form {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }


    #contact-form div {
        width: 100%;
        text-align: center;
    }

    #contact-form label {
        display: block;
        margin-bottom: 5px;
        font-size: 0.9rem;
    }

    #contact-form input,
    #contact-form textarea {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }


    #contact-form textarea {
        height: 100px;
    }

    /* Submit button */
    #contact-form .btn {
        width: 100%;
        max-width: 200px;
        margin: 15px auto 0;
    }

    /* Captcha container */
    .captcha-container {
        display: flex;
        justify-content: center;
        margin: 15px 0;
        transform: scale(0.9);
        transform-origin: center;
    }

    footer {
        padding: 15px 0;
        font-size: 12px; /* Réduction de la taille du texte */
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
    }

    .contact-item img {
        width: 40px; /* Réduction de la taille des icônes */
        height: 40px;
    }

    .contact-item p {
        font-size: 12px;
    }

    .copyright {
        font-size: 12px;
    }
    
}