:root {
    --text-color-Light: #00aef0;
    --text-color: #0094c3;
    --white: white;
    --font-size-para: 22px;
}

*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: "airstrikeexpand";
    src: url("./font/Roboto-Black.ttf");
}

body {
    background: rgb(74, 86, 95);
    background: linear-gradient(176deg, rgba(74, 86, 95, 1) 0%, rgba(74, 86, 95, 1) 20%, rgba(0, 212, 255, 1) 100%);

}

/* <-------------------------------- Header ------------------------------> */
.header {
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.header-logo {
    width: 50vw;
    padding: 12px;
    height: auto;
    animation-duration: 3s;
    animation-name: slide;

}

@keyframes slide {
    from {
        transform: translateY(-100px);
    }

    to {
        transform: translateY(0);
    }
}

.header-logo-titre h1 {
    font-family: 'airstrikeexpand', Georgia, "Times New Roman", serif;
    color: var(--white);
    text-align: center;
    margin-bottom: 12px;
    -webkit-text-stroke: var(--text-color) 1px;
    font-size: clamp(28px, 5vw, 70px);
}

.header-para1 {
    color: var(--white);
    margin-left: 12px;
    margin-right: 12px;
    margin-bottom: 12px;
    font-style: italic;
    text-align: center;


}

.header-para2 {
    font-weight: bold;
    color: var(--white);

}

.header-para1 span {
    color: var(--text-color-Light);
}

.header-separate {
    width: 80%;
    height: 2px;
    color: var(--white);
    margin: 0 10% 12px 10%;
}

.header2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 2px;
}

.header-img {

    height: 21px;
    margin-right: 12px;
    margin-left: 12px;

}

.header-link-phone {
    color: var(--text-color-Light);
    padding-left: 12px;
}

.header-link-mail {
    color: var(--text-color-Light);
    padding-left: 12px;
}

.header-horaires {
    color: var(--white);
    margin: 12px;
    text-align: center;
}

/* <--------------------------section image-----------------------------> */
.section {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 95vw;
    height: 100%;
    margin-top: 30px;
    margin-bottom: 30px;

}
.section-text-maison {
    display: none;
}

.section-container {
    background-image: url(images/aqua-solutions-18.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px 10px 0 0;
    border: 2px solid white;
    margin: auto;
    height: 240px;
    width: 360px;
}

.section-text {
    margin: auto;
}

.section-ul {
    background-color: #357a8c;
    border-radius: 0 0 10px 10px;
    width: 360px;
    border: 2px solid white;

    padding: 6px 6px 6px 18px;
    column-count: 2;
    column-gap: 8%;
    color: var(--white);
    font-weight: bold;
}

.section1 {
    margin-top: 40px;
    padding: 12px;
}
.image-maison {
    display: none;
}

/* <------------------------- accordion ----------------------------------> */
.accordion-element {
    border: 1px solid var(--text-color);
}

.accordion-element h2 {
    background-color: #357a8c;
    color: whitesmoke;
    padding: 10px;
    margin: 0;
    border: 1px solid var(--text-color);
    cursor: pointer;
}

.accordion-content {
    height: 0;
    overflow: hidden;
    margin: 0;
    transition: 2s height;
    color: var(--white);

}

.accordion-content p {
    padding: 10px;
    text-align: justify;
    text-justify: auto;
}

span {
    color: var(--text-color-Light);
    font-weight: bold;
}

/* <-----------------slider-------------------------> */
#image-carousel h2,
#image-carousel p {
    color: var(--white);
    text-align: center;
    margin-top: 12px;
    margin-bottom: 12px;
}
#image-carousel {
    margin: auto;
}

.splide__slide img {
    width: 100%;
    height: 60%;
    
}

.splide__track {
    margin: 12px auto 12px auto;
    border: 2px white solid;
    width: 80%;
    height: 500px;
    border-radius: 15px;
}

.splide__list {
    color: var(--white);
    text-align: center;
}

/* <-------------------footer-----------------------> */
.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 20px;
    text-align: center;
}

.titre-footer {
    color: black;
    margin-bottom: 24px;
}

.span-footer {
    color: black;
}

.footer-link-mail {
    font-weight: bold;
}
.address-footer{
    margin: 20px 0 20px 0;
}
.footer2 {
    display: flex;
    flex-direction: row;
    margin-bottom: 2px;
    margin-top: 12px;
}

.footer-div-iframe {
    border: 4px solid rgb(74, 86, 95);
    width: 350px;
    height: 20vh;
    overflow-y: auto;
    overflow-x: auto;
    resize: both;
    margin-top: 12px;
    margin-bottom: 12px;
}

.footer-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-container {
    text-align: center;
}

.footer-link {
    margin: 5px 5px 5px 5px;
    height: 24px;
    width: 24px;
}

.footer-para2 {
    color: black;
    font-weight: bold;
}

.footer-mention {
    padding: 10px;
    width: 100%;
    background-color: black;
    color: var(--white);
    text-align: center;
}
.footer-mention:hover {
    cursor: grab;
}
.mention_container {
    display: none;
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
}
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #333333d3;
}
.mention_legal {
    width: 95%;
    max-width: 600px;
    min-width: 300px;
    padding: 30px;
    background: #fff;
    border-radius: 5px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    line-height: 1.5;
}
.close_mention {
    padding: 8px 10px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    background: #ff365e;
    color: #fff;

}

/* <------------------media query-------------------------> */
@media screen and (min-width: 650px) {
    .splide__track {
        padding-top: 2rem;
        padding-bottom: 2rem;
        }
        .splide__slide img {
            border-radius: 15px;
        }
}
@media screen and (min-width: 900px) {
    .header-logo {
        width: 14vw;
        height: auto;
    }

    .header-logo-titre {
        display: flex;
        flex-direction: row;
    }

    .header-logo-titre h1 {
        margin: 12px auto;
        transform: translateX(-7vw);
    }

    .header-para1 {
        font-size: var(--font-size-para);
    }
    .header2 {
        font-size: var(--font-size-para);
    }

    .section1 {
        width: 100vw;
        height: auto;
        min-height: 600px;
        margin-left: auto;
        margin-right: auto;
        background-image: url(images/aquasolutionsBtmretail.jpg);
        background-size: cover;
    }
    .accordion {
        width: 40vw;
        margin-left: auto;
        margin-right: auto; 
    }

    .accordion-content {
        font-size: var(--font-size-para);
        background:rgba(74, 86, 95, 0.8);
    }
    .accordion-content p {
        display: block;
        width: clamp(20vw,30vw,40vw);
        margin: auto;
        padding: 10px;
        text-align: justify;
        text-justify: auto;
    }

    .section {
        width: 100vw;
        display: flex;
        flex-direction: row;
        height: auto;
        justify-content: left;
        background-image: url(images/aquaSolution-toitur.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        padding: 100px 0 100px 0;
    }
    .section-griser {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 560;
        width: 90vw;
        background:rgba(74, 86, 95, 0.8);
        margin:auto;
        border-radius: 30px;
    }
    .section-text-maison {
        display: block;
        color: var(--white);
        width: 70vw;
        font-size: clamp(14px,2vw,22px);
        margin-left: 9vw;
        margin-right: 9vw;
        text-align: justify;
        line-height:200%;
    }

    .header-horaires {
        font-size: var(--font-size-para);
    }

    #image-carousel {
        margin: 0 auto 0 auto;
        width: 60vw;
    }

    .splide__track {
        padding-top: 2rem;
        width: 50vw;
        height: 100%;
        
    }
    .section-text {
        display: none;
    }
    .image-maison {
        display: block;
        width: 40vw;
        min-width: 700px;
    }  
    .section-container {
        display: none;
    }  
    #image-carousel h2 {
        font-size: clamp(20px,4vw,40px);
        margin-bottom: 30px;
    }
    #image-carousel p {
        font-size: var(--font-size-para);
        margin-bottom: 20px;
    }
    #image-carousel {
        margin-top: 5%;
        margin-bottom: 5%;
    }
    .adresse {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        width: 90vw;
    }
    .footer-div-iframe {
        width: 530px;
        height: 30vh;
    }
    .titre-footer {
        font-size: 38px;
    }
    .splide__slide img {
        width: 100%;
        height: 50%;
        border-radius: 15px;
    }
    .adresse-1{
        display: none;
    }
    .footer2 {
        font-size: var(--font-size-para);
    }
    .footer-container {
        margin: 30px 0;
    }
    .footer-container h3{
        font-size: 30px;
        margin-bottom: 30px;
    }
    .splide__slide div h2 {
        font-size: clamp(20px,4vw,40px);
    }
}
@media screen and (min-width: 1400px) {    
    .section-griser {
        flex-direction: row;
    }
    .section-text-maison {
        width: 30vw;
    }
    
          }