
@font-face {
    font-family: 'LogicoSansLight';
    src: url('../typo/LogicoSansLight.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

#intro {
    text-align: center;
    margin-bottom: 40px;
}

#intro h1 {
    font-size: 2.5em;
    color: #d1495b; /* Couleur distinctive */
    margin-bottom: 20px;
}

#intro p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #555;
}

.tour-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}


/* Appliquer la police à tout le document */
body {
    font-family: 'LogicoSansLight', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    color: black;
}



header{
    text-align: center;
    padding: 20px;
    background-color: #171717;
    color: rgb(255, 255, 255);
}

footer {
    text-align: center;
    padding: 15px;
    background-color: #171717;
    color: rgb(255, 255, 255);
}

/* header */
header nav ul {
    list-style: none;
    display: flex;
    justify-content: center; /* Centrer les liens */
    padding: 0;
    margin: 0;
}

header nav ul li {
    margin: 0 15px; /* Espacement entre les liens */
}

header nav ul li a {
    text-decoration: none; /* Supprime le soulignement */
    color: #a1d1ff; /* Couleur par défaut des liens */
    font-size: 20px;
    padding: 5px 10px;
    border-radius: 5px; /* Arrondir les bords */
    transition: all 0.3s ease; /* Ajout d'une animation fluide */
}

header nav ul li a:hover {
    background-color: #ebb1b1; /* Couleur de fond au survol */
    color: #ffffff; /* Couleur du texte au survol */
}

header nav ul li a:active {
    background-color: #000000; /* Couleur de fond lorsque le lien est actif */
    color: rgb(255, 255, 255);
}

header nav ul li a:visited {
    color: #ff8686; /* Couleur des liens déjà visités */
}




main {
    width: 100%; /* Permet de s'adapter aux petits écrans */
    max-width: 1080px; /* Assure que la largeur maximale est bien de 1080px */
    margin: 0 auto; /* Centre le contenu */
    padding: 20px;
    box-sizing: border-box;
}

#imageprincipale {
    width: 100%; /* L'image prend toute la largeur du conteneur */
    max-width: 800px; /* Largeur maximale pour éviter qu'elle soit trop grande */
    height: auto; /* Garde les proportions */
    display: block; /* Supprime l’espace blanc sous l’image */
    margin: 0 auto; /* Centre l’image */
    border-radius: 10px; /* Coins arrondis (optionnel) */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); /* Ombre légère (optionnel) */
}

h1 {
    text-align: center;
    margin-bottom: 30px;
}

.act-section {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.act-section:nth-child(odd) {
    flex-direction: row;
}

.act-section:nth-child(even) {
    flex-direction: row-reverse;
}

.act-section img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border: 1px solid #ccc;
}

.act-section div {
    max-width: 500px;
    padding: 20px;
}

.act-section h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.act-section p {
    text-align: justify;

}
/* animation images accueil */
.imageaccueil {
    width: 100%; /* Empêche l'image d'être trop grande */
    max-width: 100px; /* Définit une taille max */
    height: auto; /* Garde les proportions */
    display: block; /* Supprime les marges blanches en bas */
    margin: 0 auto; /* Centre l’image */
    transition: transform 0.3s ease-in-out; /* Animation fluide */
}

.imageaccueil:hover {
    transform: scale(1.2); /* Agrandissement au survol */
}


/* Style du formulaire */
form {
    width: 300px ;
    background: white ;
    padding: 20px ;
    border-radius: 8px ;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid black ;
    max-width:1080px;
    margin: 0 auto;
    
}

/* Conteneur pour Nom et Prénom */
#en-tete {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* Ajustement des champs Nom et Prénom */
#en-tete div {
    flex: 1;
    border: 2px solid black; /* Ajout d'une bordure */
    padding: 5px;
    text-align: center;
}

/* Style des astérisque */
span {
    color: red;
    font-weight: bold;
}


/* Style des labels */
label {
    display: block;
    margin-bottom: 5px;
    margin-top: 5px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

/* Champs de saisie */
input, textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid black; /* Bordure plus marquée */
    border-radius: 5px;
    box-sizing: border-box;
    text-align: center;
}

/* Champ de message plus grand */
textarea {
    height: 100px;
    resize: none;
}

/* Bouton */
input[type="submit"] {
    width: 100%;
    padding: 10px;
    border: 2px solid black;
    background-color: white;
    color: black;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}


input[type="submit"]:hover {
    background-color: #555;
}

.message {
    max-width: 1080px;
    margin: 20px auto;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

/* Style pour les messages de succès */
.message.success {
    background-color: #00287e;
    color: #ffffff;
    border: 1px solid #00287e;
}

/* Style pour les messages d'erreur */
.message.error {
    background-color: #f8d7da;
    color: #c12535;
    border: 1px solid #f5c6cb;
}

.information {
    max-width: 1080px;
    margin: 20px auto;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

/* Style pour les messages de succès */
.information.success {
    background-color: #00287e;
    color: #ffffff;
    border: 1px solid #00287e;
}

/* Style pour les messages d'erreur */
.information.error {
    background-color: #f8d7da;
    color: #c12535;
    border: 1px solid #f5c6cb;
}





/* Style crédits */

/* Conteneur principal */
#content {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background: #f9f9f9; /* Couleur de fond légèrement plus claire */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    
}

/* Titres */
h1 {
    font-size: 32px; /* Taille de police plus grande */
    text-align: center;
    margin-bottom: 20px;
    color: #333; /* Couleur de texte plus sombre */
    font-weight: bold;
}

h2 {
    font-size: 24px; /* Plus grand pour un meilleur contraste */
    margin-bottom: 15px;
    color: #555;
}

/* Sections des sources */
.source-item {
    margin-bottom: 35px;
}

.source-image {
    width: 100%;
    max-width: 1080px;
    display: block;
    margin: 20px auto; /* Plus d'espacement autour de l'image */
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1); /* Ombre discrète sur l'image */
}

.source-text {
    text-align: center;
    font-size: 18px; /* Agrandissement de la taille de police */
    color: #666;
    line-height: 1.6; /* Meilleure lisibilité avec l'interligne */
}

/* Style du lien de crédit */
#credit {
    color: #e91e63; /* Nouvelle couleur pour plus de dynamisme */
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease; /* Animation ajoutée */
}

#credit:hover {
    color: #f06292; /* Couleur plus claire au survol */
    text-decoration: underline;
    transform: scale(1.05); /* Légère agrandissement au survol */
}



/* Style du formulaire d'upload */
form {
    margin-bottom: 20px;
}

input[type="file"] {
    display: block;
    margin: 10px auto;
}

input[type="submit"] {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition : background 0.3s;
}

input[type="submit"]:hover {
    background-color: #555;
}

/* Galerie d'images */
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    margin-top: 20px;
    max-width: 1080px;
    margin: 0 auto; 
}

.gallery-image {
    width: 30%;  /* Chaque image prend 30% de la largeur */
    max-width: 300px; /* Taille max pour éviter des images trop grandes */
    height: 200px; /* Hauteur fixe pour une grille uniforme */
    object-fit: cover; /* Recadre l'image sans la déformer */
    border-radius: 10px;
    
}

.gallery-image {
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Ajoute une ombre portée */
}



.footer-partners {
    background-color: #f4f4f4;
    padding: 40px;
    text-align: center;
}

.footer-partners h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.partners {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.partner {
    width: 22%;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.partner img {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 10px;
    height: 200px;
    object-fit: contain;
}

.partner h4 {
    font-size: 18px;
    margin: 10px 0;
}

.partner p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.partner a {
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
}

.partner:hover {
    transform: scale(1.05);
}




#documents {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#documents h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

#documents a {
    display: block;
    margin: 10px auto;
    padding: 10px;
    width: 80%;
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    background-color: #fff;
    border: 2px solid #007bff;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

#documents a:hover {
    background-color: #007bff;
    color: #fff;
}




/* Media query pour les petits écrans (moins de 768px) */
@media (max-width: 768px) {
    #intro h1 {
        font-size: 2em; /* Réduit la taille du titre */
    }

    #intro p {
        font-size: 1em; /* Réduit la taille du texte */
    }

    .tour-image {
        margin-top: 10px;
        box-shadow: none; /* Réduit l'ombre pour des petits écrans */
    }

    header nav ul {
        flex-direction: column; /* Met les liens de navigation en colonne */
    }

    header nav ul li {
        margin: 10px 0; /* Ajoute un espacement vertical */
    }


.footer-partners {
    background-color: #f4f4f4;
    padding: 40px;
    text-align: center;
}

.footer-partners h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.partners {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.partner {
    width: 22%;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.partner img {
    width: 100%;
    max-width: 150px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 10px;
}

.partner h4 {
    font-size: 18px;
    margin: 10px 0;
}

.partner p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.partner a {
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
}

.partner:hover {
    transform: scale(1.05);
}

#documents {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#documents h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

#documents a {
    display: block;
    margin: 10px auto;
    padding: 10px;
    width: 80%;
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    background-color: #fff;
    border: 2px solid #007bff;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

#documents a:hover {
    background-color: #007bff;
    color: #fff;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .partner {
        width: 30%;
    }
}

@media (max-width: 768px) {
    .partner {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .partner {
        width: 100%;
    }
}
}