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

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@500&family=Jost:wght@300&display=swap');

/* Body */
body {
    font-family: 'Dosis', sans-serif;
    background-color: #f0f0f0;
    line-height: 1.6;
}

/* Header */
header {
    background: linear-gradient(#2c3e50, #ecf0f1);
    color: #ecf0f1;
    width: 100%;
    padding: 15px 0;
}
h1 {
    color: #2c3e50;
    text-align: center;
    font-family: 'Dosis', sans-serif;
}
.active {
    color: #000;
    text-transform: uppercase;
}
nav {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Dosis', sans-serif;
}
nav a {
    color: #ecf0f1;
    text-decoration: none;
    margin: 0 15px;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
nav a:hover {
    background-color: #a31231;
    color: #ecf0f1;
}
.imgheader {
    height: 200px;
    object-fit: cover;
}
.logo img {
    width: 100px;
    margin-left: 15px;
    margin-top: 20px;
}

/* Main */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
h3 {
    color: #2c3e50;
    font-family: 'Jost', sans-serif;
}
.carousel img,
header img {
    width: 100%;
    height: auto;
    margin-top: 20px;
}
p {
    margin: 15px 0;
}

/* Carousel */
.carousel {
    margin-top: 20px;
}
section {
    margin-top: 20px;
}
section h4 {
    color: #a31231;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    bottom: 0;
}
footer div {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.map img {
    width: 50%;
    height: 50%;
}
.map {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.menu {
    display: flex;
}
.about {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.about h2 {
    color: #a31231;
    margin-bottom: 10px;
}

/* Contact Form */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}
h2 {
    color: #A8C256;
    display: flex;
    justify-content: center;
}
form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
label {
    display: block;
    margin-bottom: 8px;
    color: #333333;
}
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    box-sizing: border-box;
    border: 1px solid #cccccc;
    border-radius: 4px;
}
textarea {
    resize: vertical;
}
input[type="submit"] {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
input[type="submit"]:hover {
    background-color: #a31231;
}

/* Burger Menu */
.burger {
    display: none;
    width: 100px;
    position: absolute;
    right: 20px; /* Ajustez la valeur selon vos besoins */
    top: 20px;
}

/* Media Query */
@media screen and (max-width: 990px) and (orientation: portrait) {
    .ouvrir {
        display: block;
    }
    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .burger {
        width: 50px;
    }
    #menu {
        position: absolute;
        left: calc(50% - 150px);
        top: 200px;
        display: flex;
        flex-direction: column;
        width: 300px;
        text-align: center;
        background: rgba(0, 0, 0, .8);
        box-shadow: 0 0 5px #888;
        top: 0;
    }
    #menu a {
        text-decoration: none;
        color: #efefef;
        padding: 1rem 0;
        border-bottom: 1px solid #ccc;
        transition: all .5s;
    }
    #menu a:hover {
        background: rgba(0, 0, 0, .1);
    }
    #top:target #menu {
        transform: translateY(200px);
        transition: all .5s;
    }
    #top:target .ouvrir {
        display: none;
    }
    #top:not(:target) #menu {
        transform: translateY(-50vh);
        transition: all .5s;
    }
    #top:target .fermer {
        display: block;
    }
    .map {
        display: flex;
        flex-wrap: wrap;
    }
    .menu {
        display: flex;
        flex-wrap: wrap;
    }
    .menu img {
        width: 100%;
    }
}