.container {
    display: flex;
    width: 100%;
    gap: 20px;
}

.column {
    border: none;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 8px;
    background-color: #fbfbf9;
}

.main-column {
    flex: 3; /* Occupe 2/3 de l'espace disponible */
}

.main-column p {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1em;
    line-height: 1.3;
    background-color:#eaede2;
    padding-left:3%;
}

.side-column {
    flex: 1; /* Occupe 1/4 de l'espace disponible */
    display: flex; /* Ajout pour permettre le centrage */
    flex-direction: column; /* Organisation verticale */
    align-items: center; /* Centrage horizontal */
}

.side-column p {
    width: 100%; /* Pour que le texte utilise toute la largeur disponible */
    margin-bottom: -10px; /* Espacement entre les éléments */
    text-align: justify;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1em;
    line-height: 1.3;

}

.image-container {
    width: 100%;
    height: 50vh; /* 1/2 de la hauteur de la fenêtre */
    margin-bottom: 20px;
}

.column-image {
    width: 100%;
    height: 100%;
    object-fit: scale-down; /* Garde les proportions de l'image */
}

.download-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.download-button:hover {
    background-color: #45a049;
}

.download-button i {
    margin-right: 8px;
}

a:hover {
    color: #e8b819;
    text-decoration: none;
}

/* Style du footer */
.footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Navigation de la pagination */
.pagination-nav {
    margin: 0.5rem 0;
}

/* Liste de pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

/* Élément de la pagination */
.page-item {
    margin: 0;
}

/* Liens de la pagination */
.page-link {
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 100px;
    text-align: center;
    font-size: 1rem;
    gap: 8px;
}

.page-link:hover {
    background-color: #e9ecef;
    color: #000;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-link.active {
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: white;
    pointer-events: none;
}

/* Animation au clic */
.page-link:active {
    transform: scale(0.95);
}

/* Texte du footer */
.footer-text {
    margin: 10px 0 0 0;
    text-align: center;
    color: #666;
    font-size: 0.8rem;
}

/* Style responsive */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        padding: 0 10px;
    }

    .page-link {
        padding: 6px 12px;
        font-size: 0.85rem;
        min-width: 80px;
    }

    .footer {
        padding: 15px 0;
    }
}

/* Pour les très petits écrans */
@media (max-width: 480px) {
    .pagination {
        gap: 0.3rem;
    }

    .page-link {
        padding: 5px 10px;
        font-size: 0.8rem;
        min-width: 70px;
    }
}

/* Animation de survol douce */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.page-link:hover {
    animation: pulse 0.3s ease-in-out;
}

/* Assurer que le contenu principal ne soit pas caché par le footer fixe */
body {
    padding-bottom: 100px; /* Ajustez cette valeur selon la hauteur de votre footer */
    margin: 0;
}

/* Style pour éviter les problèmes de superposition */
main {
    position: relative;
    z-index: 1;
}