/* style.css */

/* Styles de base pour tous les écrans */
body {
    background-color: #f0f0f0;
}

.responsive-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.responsive-section h2 {
    color: #0073e6;
    margin-bottom: 20px;
}

.responsive-section p {
    color: #333;
    margin-bottom: 20px;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
}

.flex-item {
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    max-width: 400px;
}

img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Media Query pour les tablettes */
@media (max-width: 768px) {
    .flex-item {
        flex: 1 1 calc(50% - 20px);
    }
}

/* Media Query pour les petits écrans (mobiles) */
@media (max-width: 480px) {
    .flex-item {
        flex: 1 1 100%;
    }

    .responsive-section p {
        font-size: 0.9em;
    }
}
