#CGV h2 {
    text-decoration: underline;
}

#pop-up {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.openModal {
    border: none;
    background-color: rgb(239, 222, 215);
    font-family: agrandir, sans-serif;
    font-size: 20px;
    text-decoration: underline;
    font-weight: bold;
}

/* Fond du popup */
.modal {
    display: none; /* Caché par défaut */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Contenu du popup */
.modal-content {
    background: white;
    width: 80%;
    max-width: 600px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    max-height: 80vh; /* Empêche le débordement */
    overflow-y: auto; /* Scroll si trop de texte */
    position: relative;
}

/* Bouton de fermeture */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

.h3article {
    font-family: sego, sans-serif;
    font-size: 50px;
    margin: 0 auto;
}

.article h4 {
    font-family: agrandir, sans-serif;
    font-size: 25px;
    margin: 0 auto;
    margin-top: 50px;
}

.article p {
    font-family: agrandir, sans-serif;
    font-size: 17px;
    text-align: left;
}

li {
    font-family: agrandir, sans-serif;
    text-align: left;
}

#div26 {
    margin: 0 auto;
}

button[data-target="modal3"] {
    display: none;
}