@font-face {
    font-family: 'Anti Folk'; /* Nom que tu donnes à la police */
    src: url('fonts/anti_folk.ttf') format('truetype'),
    font-weight: normal;
    font-style: normal;
}


body {
    font-family: Garamond, serif;
    text-align: left;
    padding: 5% 8% 0% 8%;
    background-image:url('scribble.jpg');
    color: #000000;
}

h1 {
    color: #ffffff;
    font-weight: bolder;
    font-size: xx-large;
    text-align: center;
    text-decoration: overline underline;
    text-decoration-thickness: 3px;
}

h2 {
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    font-size: x-large;
}

.cont p {
    font-size: 0.8rem;
}

.cont p.leg{
	text-align:center;
    font-size:0.7rem;
    color:gray;
    font-style: italic;
}

.cont h3 {
    color:#38009f;
    font-size: 1.8dvw;
    font-weight: bold;
    text-align: center;
    font-family: Garamond, serif;
    font-size:larger;
}

.topnav {
    background-color: #000000;
    overflow: auto;
    width: 100%;
    display: flex;
}

.topnav a {
    display: inline-block;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-size: larger;
    width: 25%;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.topnav a.active {
    background-color: #980606;
    color: white;
}

@media screen and (max-width: 600px) {
    h1 {
        font-size: 5dvw;
    }
    
    h2 {
        font-size: 4dvw;
    }

    .cont h3 {
        font-size: 3dvw;
    }

    .topnav {
        flex-direction: column; /* Change l'affichage en colonne */
        align-items: center; /* Centre les liens */
    }

    .topnav a {
        width: 100%; /* Chaque lien prend toute la largeur */
        padding: 10px 0; /* Ajoute de l'espace entre les liens */
        text-align: center; /* Centre le texte */
        border-bottom: 1px solid #ffffff; /* Ajoute une séparation entre les liens */
        font-size: 4dvw;
    }

    .topnav a:last-child {
        border-bottom: none; /* Supprime la bordure pour le dernier élément */
    }

    .cont {
        padding: 4%;
        width: 100%%;
    }

    .cont th, .cont td {
        padding: 5px;
    }
}

.cont a {
    word-wrap: break-word; /* Coupe les mots longs */
    overflow-wrap: break-word; /* Alternative pour la compatibilité */
    display: block; /* Met l'email sur une ligne distincte */
}

.cont a.link {
    color: #3f1cde;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 10px;
}

.cont a.tlink {
    color:#38009f;
    background-color: rgba(255, 87, 205, 0.584);
}

.cont .center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.table-container {
    width: 100%;
    overflow-x: auto;
}

.cont table {
    width: 100%;
    border-collapse: collapse;
}
  
.cont th, .cont td {
    border: 1px solid black;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    text-align: center;
    font-size:1.8dvw;
    padding: 2px;
}

.cont td {
    text-align:center;
}

.cont td.rempli {
    background-color: rgba(255, 87, 205, 0.584);
}
  
.cont th {
    background-color:#6616c2;
    color:#ffffff;
    text-align:center;
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre l’image et la légende */
    margin-top: 10px;
}

.image-container img {
    width: 100%; /* Ajuste la taille selon tes besoins */
    max-width: 500px; /* Empêche l’image de devenir trop grande */
}

.image-container figcaption {
    font-style: italic;
    color: #777579;
    margin-top: 5px;
    font-size: 14px; /* Ajuste la taille */
    text-align: center;
}

.cont {
    background-color: #ffffff;
    padding: 5%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}