/* Réinitialisation des styles */

@import url('https://fonts.googleapis.com/css2?family=Averia+Libre:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Averia Libre", system-ui;
    background-color: rgba(209, 207, 106, 0.2)
    ;
}

header {
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header img {
    height: 100px;
}
nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.hero {
    background-image: url('/assets/images/background.png'); /* Remplacez 'background.jpg' par le chemin de votre image de fond */
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
    color: #2E701E;
    height: 100vh;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: absolute;
    top: 40%;
    left: 10%;
}


.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero h2 {
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    width: 500px;
    color: black;
}

.btn {
    background-color: #D1CF6A;
    color: #2E701E;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn:hover {
    background-color: #2E701E;
    color: #D1CF6A;
}

.features {
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    justify-content: space-around;
}

.feature {
    text-align: center;
    padding: 20px;
    flex: 1;
}

.feature h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.feature p {
    font-size: 16px;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
}


.icon-container {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

.icon-container img {
    width: 150px;
    cursor: pointer;
}

@media (max-width: 560px){
    nav {
        display: none;
    }

    .hero h1 {
        font-size: 24px;
    }
    .hero-content {
        width: 100%;
        top: 30%;
        left: 0;
        padding: 10px;
    }

    .icon-container {
        flex-direction: column;
    }
    .features {
        flex-direction: column;
    }
    .hero {
        background-image: none;
    }
 
    header{
        justify-content: center;
    }
}