body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: url('../img/arire.png') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    text-align: center;
}

h1, h2 {
    font-size: 3em;
    margin: 20px 0;
    color: black;
}

p {
    font-size: 1.2em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Navigation Buttons Styled */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent;
    padding: 10px 0;
    text-align: center;
    z-index: 1000;
}

nav a {
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: #ffcf00;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    margin: 5px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  nav a:hover {
    transform: scale(1.1);
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.5);
  }


/* Flexbox for layout */
.flex-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 150px;
}

.flex-item {
    background-color: #e0f7ff;
    padding: 20px;
    margin: 20px;
    border-radius: 15px;
    width: 400px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flex-item img {
    width: 200px;
    margin: 20px 0;
}

.flex-item p {
    font-size: 1.3em;
    color: black;
    margin-bottom: 20px;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.button-container img {
    margin: 10px;
    width: 150px;
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    font-size: 0.9em;
    color: #ccc;
}

footer p {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {

    h1, h2 {
        font-size: 2.5em;
    }

    p {
        font-size: 1.1em;
    }

    .flex-item {
        width: 80%;
        margin: 20px 0;
        padding-left: 0x; /* Réduit l'espace à l'intérieur sur le côté gauche */
        padding-right: 0px; /* Réduit l'espace à l'intérieur sur le côté droit */
        
    }

    .button-container img {
        width: 120px;
    }
    nav a {
        padding: 10px 20px; /* Adjust padding for smaller screens */
        font-size: 16px; /* Smaller font size for nav links */
    }
}