
@font-face {
    font-family:"gothammedium";
    src: url(./font/Gotham-Font/Gotham-Font/GothamMedium.ttf) format('truetype');
}

@font-face {
   font-family: "gothamlight";
   src: url(./font/Gotham-Font/Gotham-Font/GothamLight.ttf) format('truetype');
}

@font-face {
    font-family: "gothambold";
    src: url(./font/Gotham-Font/Gotham-Font/GothamBold.ttf) format('truetype');
}

@font-face {
    font-family: "linotype";
    src: url(./font/linotype-feltpen-cufonfonts/Linotype\ Feltpen\ Regular.otf) format('opentype');
}

@font-face {
    font-family:"Montserrat";
    src: url(./font/Montserrat/Montserrat-Light.ttf) format('truetype');
}

/* Styles généraux */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.header {
    background-image: url('./img/backgroundcompress.png');
    background-size: cover;
    background-position: center;
    padding: 20px;
    color: white;
    align-items: center;
}

/* Styles de la barre de navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.3); /* Fond semi-transparent pour les liens */
}

.navbar .logo img {
    width: 150px; /* Ajuste la taille du logo selon tes besoins */
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 20px;
    margin-right: 40px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-family: "Montserrat" ;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Styles du contenu du header */
.header-content {
    display: flex;
    justify-content: center; /* Centre horizontalement le contenu */
    align-items: center; /* Centre verticalement le contenu */
    max-width: 1200px; /* Limite la largeur maximale du contenu */
    text-align: center; /* Centre le texte */
    margin: 80px auto 0; /* Espace sous la navbar et centrage horizontal */
    gap: 20px; /* Espace entre le texte et l'image */
}

.text-content {
    max-width: 40%;
    flex: 1;
    text-align: left; /* Aligner le texte à gauche */
    margin-top: 8px;

}

.text-content h1 {
    font-size: 2.5rem;
    height: 100%;
    width: 100%;
    line-height: 1.4;
    margin: 0 0 20px 0;
    font-family: gothambold;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    max-width: 100%;

}

.image-content {
    flex: 1;
    max-width: 60%; /* L'image occupe 60% de la largeur */
}

.image-content img {
    width: 70%; /* L'image occupe tout l'espace disponible */
    height: auto;
    border-radius: 8px;
}

.text-content, .image-content {
    flex: 1; /* Distribue l'espace également entre le texte et l'image */
    margin: 0 10px; /* Ajoute un peu de marge autour du texte et de l'image */
}

.dictation-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center; /* Centre tout le contenu dans la section */
    border-top: 2px solid #dcdcdc;
    border-bottom: 2px solid #dcdcdc;
    display: flex;
    flex-direction: column; /* Assure que les éléments s'alignent verticalement */
    align-items: center; /* Centre tous les éléments horizontalement */
    justify-content: center; /* Centre tout le contenu verticalement */
}

.dictation-section .container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Alignement vertical pour la container */
    align-items: center; /* Centrage horizontal de tous les éléments */
}

.dictation-section h2 {
    font-size: 1.6rem;
    color: #333333;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.6;   
}

.dictation-section p {
    font-size: 1.2rem;
    color: #555555;
    margin-bottom: 8px;
    line-height: 1.6;
}

.dictation-section .btn-register {
    display: inline-block;
    background-color: #041527;
    color: #ffffff;
    font-size: 1.8rem;
    padding: 10px 40px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px; /* Ajoute un espace au-dessus du bouton */
    white-space: nowrap;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dictation-section .btn-register:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.dictation-section .btn-register:active {
    background-color: #00448a;
    transform: scale(1);
}

.dictation-logo {
    width: 150px !important; /* Réduit la taille du logo */
    height: auto !important; /* Maintient les proportions du logo */
    display: block;
    margin: 0 auto 20px; /* Centre le logo et ajoute un espace en dessous */
}




/* Styles de la deuxième section */
.second-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #f5f5f5;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 10px;
    font-family: gothambold; /* Police pour le titre principal */
    word-break: break-word;
    line-height: 1.4
}

.section-title p {
    font-size: 18px;
    margin-bottom: 40px;
    font-family: gothamlight; /* Police pour le sous-titre */
    word-break: break-word;
    line-height: 1.4;
}

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

.section-box {
    width: 250px; /* Taille carrée */
    height: 250px; /* Taille carrée */
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.section-link {
    text-decoration: none;
    display: block;
    height: 100%;
    width: 100%;
    color: white;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    transition: background-color 0.3s ease;
    z-index: 1;
}

.box-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./img/section-bg.jpg'); /* Remplace par l'image de fond souhaitée */
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.5); /* Couleur de superposition avec transparence */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.box-content a {
    text-decoration: none;
}

.box-content h3 {
    font-size: 1rem;
    z-index: 1;
}

.box-content h3 a {
    text-decoration: none; /* Supprime le soulignement par défaut */
    color: inherit; /* Inhère la couleur du h3 */
}


.programme-bg {
    background-image: url('./img/newcreche.jpg');
}

.auteurs-bg {
    background-image: url('img/20231203_151624 (1).jpg')
}

.infos-bg {
    background-image: url('./img/sfxexte3.jpg');
}

.section-link:hover .overlay {
    background-color: rgba(0, 0, 0, 0.7); /* Intensifie la couleur de superposition au survol */
}

.third-section {
    background-color: #f0f0f0; /* Gris clair */
    padding: 60px 40px;
    margin: 40px 40px; /* Augmente la marge extérieure */
}
.third-section h2 {
    display: flex; /* Utilise Flexbox */
    flex-direction: column; /* Aligne les mots en colonne */
    align-items: center; /* Centre le contenu */
    font-size: 36px; /* Taille du texte pour les écrans plus grands */
    margin: 20px 0; /* Ajuste les marges selon tes besoins */
    height: 100%;
    width: 100%;
    line-height: 1.4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.container h2 {
    font-size: 36px;
    font-family: gothambold; /* Police pour le titre */
    margin: 0;
    line-height: 1.4;
    height: 100%;
    width: 100%;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Espace entre les logos */
}

.partner-logo {
    width: 100px; /* Taille uniforme pour tous les logos */
    height: auto; /* Conserve les proportions */
    object-fit: contain; /* Maintient la proportion sans découpe */
}

/* Styles pour le footer */
.footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    margin: 20px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-family: gothambold;
}

.footer-section p,
.footer-section ul {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f0f0f0;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-links a img:hover {
    transform: scale(1.1);
}

.footer-bottom {
    background-color: #222;
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    margin-top: 20px;
}

/* Header et navbar existants */

/* Styles pour la section d’introduction */
.introduction {
    padding: 60px 20px;
    background-color: #f5f5f5;
    text-align: center;
}

.introduction h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    width: 100%;
    line-height: 1.4;
    font-family: gothambold;
}

.introduction p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    font-family: gothamlight;
    line-height: 1.6;
    text-align: left;
}

.author-list-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
  }
  
  .author-list {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    width: 80%;
    max-width: 900px;
    background-color: #f7f7f7; /* Fond légèrement coloré */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Effet de shadow boxing */
    border-radius: 10px; /* Coins arrondis pour l'encadrement */
  }
  
  .column {
    width: 30%;
    display: flex;
    flex-direction: column;
  }
  
  .column a {
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
  }
  
  .column a:hover {
    text-decoration: underline;
    color: #007BFF; /* Couleur de survol */
  }

/* Styles pour les cartes des auteurs */
.authors {
    padding: 60px 20px;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.author-card {
    display: flex;
    flex-direction: column; /* Aligne les cartes en colonne */
    align-items: center;
    margin-bottom: 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.author-card img {
    width: 400px;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px; 
    margin-top: 20px; 
    border-radius: 2%;
}

.author-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre verticalement le contenu */
    max-width: 100%;
}

.author-info h2 {
    font-size: 1.8rem;
    margin: 0;
    font-family: gothambold;
    margin-top: 20px;
    margin-bottom: 20px;
}

.author-info h3 {
    font-size: 1.2rem;
    font-family: gothammedium;
    margin-top: 20px;
}

.author-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 10px 0;
    font-family: gothamlight;
}

.author-life,
.author-work {
    margin-bottom: 20px;
}

.programme-section {
    margin-left: 50px;
    margin-right: 50px;
}
.programme-content {
    margin-left: 20px;
    margin-right: 20px;
}.btn-register {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #007BFF;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-register:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}


@media (max-width: 768px) {
    .header-content {
        flex-direction: column; /* Superpose les éléments verticalement sur les petits écrans */
    }

    .text-content p {
        font-size: 1rem; /* Réduit la taille de la police pour les petits écrans */
    }

    .text-content h1 {
        font-size: 2rem; /* Ajuste la taille du titre */
    }

    .image-content img {
        max-width: 100%; /* Permet à l'image d'occuper toute la largeur */
    }
    .section-title p {
        font-size: 16px; /* Réduit la taille de la police pour les petits écrans */
        line-height: 1.5; /* Ajuste la hauteur de ligne pour éviter la superposition */
    }

    .programme-section {
        margin-left: 50px;
        margin-right: 50px;
    }
    .programme-content {
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* Adaptation responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 20px;
    }
    
    .nav-links {
        flex-direction: column;
        text-align: center;
    }

    .header-content {
        flex-direction: column;
        padding: 20px;
    }

    .text-content {
        max-width: 100%;
    }

    .image-content img {
        width: 100%;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-title p {
        font-size: 16px;
    }

    .section-box {
        width: 200px;
        height: 200px;
    }
    
    .author-card {
            flex-direction: column; /* Passe les éléments en colonne */
            margin: 20px auto; /* Centre les cartes et ajuste l'espacement */
            width: 90%; /* Ajuste la largeur des cartes sur mobile */
            box-sizing: border-box; /* Prévient les débordements */
        }
    
        .author-card img {
            width: 100%; /* L'image prend toute la largeur de la carte */
            height: auto; /* Ajuste automatiquement la hauteur */
        }
    
        .author-info {
            padding: 15px; /* Réduit les marges internes */
            text-align: center; /* Centre le texte pour un affichage plus harmonieux */
        }
    
        .author-info h2 {
            font-size: 1.5rem; /* Réduit la taille des titres */
            margin: 10px 0; /* Réduit les marges pour les titres */
        }
    
        .author-info h3 {
            font-size: 1rem; /* Taille de sous-titre ajustée */
            margin-top: 10px;
        }
    
        .author-info p {
            font-size: 0.9rem; /* Taille de texte ajustée pour mobile */
        }
    
        .author-life, .author-work {
            margin-bottom: 15px; /* Réduit l’espacement en bas */
        }
    
        /* Réduction des marges et alignement pour la liste des auteurs */
        .author-list {
            flex-direction: column;
            width: 100%; /* Prend la largeur totale sur mobile */
            box-sizing: border-box;
        }
    
        .author-list .column {
            width: 100%; /* Chaque colonne prend toute la largeur sur mobile */
            text-align: center;
        }
    
        .author-list .column a {
            font-size: 0.9rem; /* Réduit la taille de texte */
        }
        .author-info h2 { 
            font-size: 24px; /* Adapte cette taille selon tes besoins */
            text-align: center;
            word-break: break-word; /* Casse les longs mots */
            white-space: normal; /* Permet d'adapter le texte à plusieurs lignes */
            width: 100%; /* Prend toute la largeur disponible */
            margin: 20px 0;
            font-family: gothambold; /* Assure-toi que cette police existe */
            box-sizing: border-box; 
            overflow-wrap: break-word;
            line-height: 1.4;
        }
        .author-info h3 {
            line-height: 1.2;
        }
    }

/* Disposition mobile */
@media (max-width: 480px) {
    .header-content {
        padding: 10px;
    }

    .text-content h1 {
        font-size: 1.8rem;
    }

    .text-content p {
        font-size: 0.9rem;
    }

    .image-content img {
        width: 90%;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .footer {
        padding: 20px;
    }

    .section-box {
        width: 150px;
        height: 150px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .partners-logos {
        display: block;
        flex-direction: row; /* Change l'alignement horizontal en vertical */
        align-items: center; /* Centre les logos verticalement */
        flex-wrap: wrap;
        justify-content: space-evenly; /* Aligner les logos de manière égale sur la largeur */

    }

    .partner-logo {
        width: 30%; /* Ajuste la taille des logos pour les petits écrans */
        margin-bottom: 15px; /* Ajoute de l'espace entre les logos */
    }

    .container {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        padding: 0 10px; /* Réduit les marges pour mieux ajuster le contenu */
    }

    .container h1 {
        margin-bottom: 20px;
    }

    .third-section {
        margin: 0; /* Supprime la marge excessive sur mobile */
        display: flex;
        flex-direction: column;
    }

    .third-section h2 {
        font-size: 24px; /* Réduit la taille du texte sur mobile */
        text-align: center; /* Centre le texte */
        word-break: break-word; /* Gère les longs mots ou titres */
        margin-bottom: 30px;
    }

    .programme-section {
        margin-left: 20px;
        margin-right: 20px;
    }
    .programme-content {
        margin-left: 20px;
        margin-right: 20px;
    }

    .btn-register {
        display: inline-block;
        margin-top: 15px;
        padding: 10px 20px;
        font-size: 16px;
        font-weight: bold;
        color: #fff;
        background-color: #007BFF;
        border-radius: 5px;
        text-decoration: none;
        text-align: center;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }
    
    .btn-register:hover {
        background-color: #0056b3;
        transform: scale(1.05);
    }

}

/* Page Prog
/* Style pour le contenu principal */
/* Style pour le contenu principal */
.programme-content {
    padding: 1rem;
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.programme-content h1 {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 700;
}

.programme-content p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 90%;
    margin: 0 auto 1.5rem;
}

/* Style des sections */
.programme-section {
    background-color: #f1f5f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.programme-section:hover {
    transform: translateY(-5px);
}

.programme-section h2 {
    font-size: 1.8rem;
    color: #1e40af;
    margin-bottom: 0.75rem;
}

/* Style pour le contenu avec images */
.content-with-image, .content-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.content-with-image img, .content-block img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.content-with-image p, .content-block div p {
    max-width: 100%;
    text-align: justify;
    color: #374151;
}

/* Style pour les h3 */
.programme-section h3 {
    font-size: 1.4rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Responsive design pour petits écrans */
@media (max-width: 600px) {
    .programme-content h1 {
        font-size: 1.8rem;
    }

    .programme-section h2 {
        font-size: 1.6rem;
    }

    .programme-section h3 {
        font-size: 1.3rem;
    }

    .programme-content p,
    .content-with-image p,
    .content-block div p {
        font-size: 0.9rem;
    }
}

/*page pratique
/* Style général pour le conteneur principal */
.info-container {
    max-width: 600px;
    margin: auto;
    padding: 2rem;
    font-family: Arial, sans-serif;
    color: #374151;
}

.info-container h1 {
    font-size: 2.2rem;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Style pour chaque bloc d'informations */
.info-block {
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-block h2 {
    font-size: 1.6rem;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.info-block p {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
}

.info-block ul {
    padding-left: 1.5rem;
}

.info-block ul li {
    margin-bottom: 0.5rem;
}

/* Lien vers le site Internet */
.info-block a {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: bold;
}

.info-block a:hover {
    text-decoration: underline;
}

/* Style pour petits écrans */
@media (max-width: 600px) {
    .info-container h1 {
        font-size: 1.8rem;
    }

    .info-block h2 {
        font-size: 1.4rem;
    }

    .info-block p {
        font-size: 0.95rem;
    }
}
