@import url(./components/bouton.css);
@import url(./components/contact.css);
@import url(./components/menu.css);
@import url(./components/produit.css);
@import url(./components/service.css);
@import url(./components/map.css);
@import url(./components/demonstration.css);
@import url(./components/demonstration_accueil.css);

*,
*::after,
*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url(../../img/charte7/wind.webp);
    background-size: cover;
    color: rgb(0, 0, 0);
    padding: 30px;
    animation: myAnim 2s ease 0s 1 normal forwards;
    height: 550px;
    background-repeat: no-repeat;
    transition: transform 0.3s ease-in-out;
}

header.menu-open {
    transform: translateY(200px);
    /* Adjust this value based on your requirement */
}

.demonstration-accueil,
#service,
#footer7,
#scroll {
    transition: transform 0.3s ease-in-out;
}

#services.menu-open,
.demonstration-accueil.menu-open,
#scrool.menu-open,
.footer-7.menu-open {
    transform: translateY(150px);
}

header h1 {
    font-size: 100px;
    padding: 10px;
    color: #000000;
}

header button {
    padding: 10px 20px;
    background-color: #fff;
    color: black;
    border: none;
    font-size: 20px;
    font-family: "Quicksand", sans-serif;
    outline: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 3px;
}

@keyframes myAnim {
    0% {
        background-position: center top;
        background-size: 100%;
    }

    100% {
        background-position: center top;
        background-size: 150%;
    }
}

.hero {
    color: #fff;
    text-align: center;
    padding: 0;
}

.container1 {
    margin-top: 8rem;
}

.title {
    font-size: 36px;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    color: chartreuse;
}

.services {
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: flex;
    padding: 20px;
}

#services {
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    -webkit-box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000,
        5px 5px 15px 5px rgba(0, 0, 0, 0);
    box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000,
        5px 5px 15px 5px rgba(0, 0, 0, 0);
}

.section-title {
    font-size: 2.5em;
    color: #333;
}

.service {
    padding: 20px;
    flex: 1;
    align-items: center;
    justify-content: center;
    display: flex;
    background-color: #eee;
    border-radius: 10px;
}

.container {
    display: flex;
    margin-bottom: 10px;
    width: 98%;
    border-radius: 10px;
    height: 500px;
    height: 50%;
    padding: 10px;
}

.droite img {
    width: 700px;
    align-items: center;
    justify-content: center;
    display: flex;
    border-radius: 10px;
}

.container2 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #b1b1b1;
    padding: 20px;
}

.container3 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #b1b1b1;
    padding: 20px;
}

.maps-text {
    display: flex;
    width: 100%;
    padding: 50px;
}

.left-side,
.right-side {
    flex: 1;
    padding: 20px;
}

.left-side {
    background-color: #f0f0f0;
}

.left-side h2 {
    font-size: 1.8em;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    border-bottom: 2px solid #000000;
}

.right-side {
    background-color: #e0e0e0;
}

#services1 h1 {
    font-family: "Satisfy", cursive;
    font-size: 3.5rem;
    margin-top: 70px;
}

#services1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-direction: column;
}

.list_services {
    margin: 60px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.service2 {
    width: 25%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    margin: 20px;
}

.service2 i {
    font-size: 25px;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: green;
    color: #fff;
    border-radius: 50%;
    margin-bottom: 10px;
}

.service2 h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service2 p {
    font-size: 1rem;
}

.service2 a {
    margin-top: 10px;
    color: rgb(95, 95, 95);
    padding: 5px 20px;
    border: 1px solid rgb(0, 0, 0);
    font-size: 12px;
}

.collapsible {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

.active,
.collapsible:hover {
    background-color: #ccc;
}

.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
}

.collapsible:after {
    content: "\02795";
    /* Unicode character for "plus" sign (+) */
    font-size: 13px;
    color: white;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: "\2796";
}

/* Slid in */

.slide-in {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    margin: 38px auto;
    background-color: rgb(2, 136, 31);
    padding: 20px;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    border-bottom: 2px solid black;
    border-top: 2px solid black;
    z-index: 2;
}

.slide-in.active {
    transform: translateX(0%);
    opacity: 1;
}

.slide-in p {
    font-size: 1em;
    text-align: center;
    color: #f1f1f1;
}

.slide-in h1 {
    color: #f1f1f1;
}


/* Slid in */

/* Styles pour la section de contact */
.contact {
    background-color: #fff;
    padding: 50px 0;
}

form {
    text-align: left;
}

label {
    display: block;
    margin-bottom: 10px;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.container8 {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #b1b1b1;
    padding: 20px;
    flex-direction: column;
}

.container8 h1 {
    font-size: 2em;
    font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
        "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

.container1 {
    margin-top: 3rem;
}

@media screen and (min-width: 480px) and (max-width: 767px) {
    .container1 {
        margin-top: 8rem;
    }

    .menu {
        /* display: flex; */
        flex-direction: column;
        display: none;
    }

    #services {
        flex-direction: column;
        margin: 5px;
    }

    .container {
        flex-direction: column;
        width: 100%;
    }

    .droite img {
        width: 100%;
    }

    .maps-text {
        flex-direction: column;
    }

    .navbar {
        display: flex;
        height: 100px;
        position: fixed;
    }

    .navbar h1 {
        font-size: 1em;
    }

    .menu li a {
        font-size: 0.7em;
    }

    #map {
        display: none;
    }

    .maps-text {
        padding: 10px;
    }

    header {
        background-image: url(../../img/charte7/header.img.webp);
    }

    header button {
        margin-top: -95px;
    }

    .list_services {
        flex-direction: column;
    }

    .service2 {
        width: 90%;
    }

    #video-container {
        display: none;
    }
}

@media screen and (min-width: 767px) and (max-width: 1023px) {
    .navbar h1 {
        font-size: 1.5em;
        margin-left: 25px;
    }

    .container {
        flex-direction: column;
    }

    .droite img {
        width: 100%;
    }

    .maps-text {
        flex-direction: column;
    }

    #map iframe {
        width: 100%;
    }

    .service2 {
        width: 43%;
    }

}

@media screen and (min-width: 1024px) and (max-width: 1464px) {
    .container {
        flex-direction: column;
    }

    .maps-text {
        flex-direction: column;
    }

    #map iframe {
        width: 100%;
    }

    .service2 {
        width: 43%;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 51px 0 0px 0;

    }

    header {
        height: 24.2rem;
    }

    #services,
    .maps-text {
        margin: 0;
        padding: 0;
        flex-direction: column;
    }

    .container {
        flex-direction: column;
        width: 100%;
    }

    .droite img {
        width: 385px;
    }

    iframe {
        width: 85vw;
        height: 29vh;
    }

    .service2 {
        width: 90%;
    }

    .title {
        font-size: 2.2rem;
        margin-top: 5rem;
    }

    .subtitle {
        font-size: 20px;
        font-weight: 600;
    }
}