body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

.navbar {
    background-color: #183a68;
    text-align: center;
    padding: 10px 0;
}

.navbar-text {
    color: white;
    font-size: 18px;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align items to the top of the container */
    flex-wrap: wrap;
    margin: 20px 0;
}

/* ... Autres styles ... */

.image-card {
    border: 1px solid #ccc;
    margin: 10px;
    padding: 0; /* Remove padding to adjust the size */
    border-radius: 5px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    flex: 1;
    min-width: 300px;
    height: 300px; /* Set a fixed height for image cards */
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-card:hover {
    transform: scale(1.05);
}

.image-card img {
    max-width: 100%;
    max-height: 100%; /* Add max-height to ensure images fit within the card */
    object-fit: cover; /* Maintain aspect ratio and cover the container */
    display: block;
}

.footer {
    background-color: #eb5c5c;
    text-align: center;
    padding: 10px 0;
}

.footer-text {
    color: white;
}

@media screen and (max-width: 768px) {
    .image-container {
        flex-direction: column;
        align-items: center; /* Center-align items on small screens */
    }
    .image-card {
        min-width: auto; /* Remove minimum width on small screens */
    }
}
