html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0px;
    width: 100%;
}
a {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.margin {
    margin-left: 10%;
    margin-right: 10%;
}
img {
    width: 100%;
    margin-top: 60px;
}
.section-img {
    margin-top: 15px;
    margin-bottom: 15px;
}
/* GENERAL TEXT */
h1 {
    font-size: 23px;
}
.section-h1 {
    padding: 20px 40px 0 0;  
    color: #333333;
    font-size: 23px;
}
.section-h1-border {
    margin-top: 40px;
    border-top: solid 2px rgb(215, 215, 215);
    width: 50%;
    height: fit-content;
}
.section-p {
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.3;
    color: #333333;
}
.demande {
    text-decoration: none;
    display: inline;
    color: #337AB7;
}
.demande:hover {
    text-decoration: underline;
    color: #1f4d75;
}
.demande:active {
    text-decoration: underline;
    color: #1f4d75;
}
/* HEADER */
header {
    background-color: rgb(247, 247, 247);
    border-bottom: solid 1px rgb(205, 205, 205);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}
#header-text {
    color: #777777;
    font-weight: 600;
    font-size: 14px;
    padding: 15px 10px;
    cursor: pointer;
    margin: 0;
    text-decoration: none;
}
#header-text:hover {
    color: #333333;
}
#header-text:active {
    color: #333333;
}
#header-nav {
    display: none;
}
#menu-button {
    border: solid 1px rgb(205, 205, 205);
    background-color: rgb(247, 247, 247);
    width: fit-content;
    padding: 5px 8px;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
}
#menu-button:hover {
    background-color: rgb(205, 205, 205);
}
#menu-button:active {
    background-color: rgb(205, 205, 205);
}
.menu-bar {
    width: 19px;
    height: 2px;
    background-color: #888888;
    margin: 3px 0;
}

/* MENU */
#menu {
    border-bottom: solid 0.5px rgb(205, 205, 205);
    background-color: rgb(247, 247, 247);
    width: 100%;
    position: fixed;
    top: 48px;
    left: 0;
    z-index: 1;
    padding-top: 5px;
    display: none;
}
#menu.show {
    display: flex;
}
.menu-text {
    color: #777777;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 10px;
    text-decoration: none;
}
.menu-text:hover {
    color: #333333;
}
.menu-text:active {
    color: #333333;
}


/* FIRST SECTION (INTRO)*/
#intro {
    text-align: center;
    display: flex;
    flex-direction: column;
}
#logo-banz {
    width: 100%;
    max-width: 700px;
    margin-top: 80px;
}
#text-intro {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    font-weight: 700;
    padding-bottom: 25px;
    align-items: center;
}
#intro-h1 {
    margin-top: 10px;
}
#intro-1st-p {
    margin-top: 20px;
    margin-bottom: 10px;
}
.intro-p {
    font-size: 13.5px;
    width: 80%;
    text-align: center;
    margin-top: 10px;
}
.intro-separator {
    width: 70%;
    border-top: solid 1px gray;
    margin: 0 auto;
}
    /* CONTACT */
#contact-intro {
    width: fit-content;
    padding: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
    border: solid 1px gray;
    border-radius: 5px;
    background-color: white;
    font-size: 15px;
    color: rgb(32, 32, 32);
    text-decoration: none;
}
#contact-intro:hover {
    background-color: rgb(215, 215, 215);
}
#contact-intro:active {
    background-color: rgb(215, 215, 215);
}
    /* PARTENAIRES */
#partenaires {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 0 5%;
}
#h1-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
#partenaires-h1 {
    text-align: center;
    padding: 0;
}
.partenaires-img {
    width: 100%;
    max-width: 500px;
}
/* SECOND SECTION (CABLES) */
#cables {
    background-color: rgb(247, 247, 247);
    border-bottom: solid 1px rgb(215, 215, 215);
}

/* THIRD SECTION (REPARATIONS) */
#reparations {
    border-bottom: solid 1px rgb(215, 215, 215);
}
.adaptative-container-img {
    max-width: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* FOURTH SECTION (INTEGRATION & ADAPTATION) */
#integration-adaptation {
    background-color: rgb(247, 247, 247);
    border-bottom: solid 1px rgb(215, 215, 215);
}
#integration-adaptation-h1 {
    width: 78%;
}

/* FIFTH SECTION (CLIENTS) */
#clients {
    width: 100%;
}
#clients-h1 {
    text-align: center;
    padding: 0;
    margin-top: 20px;
}
#clients-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.clients-img {
    padding: 0;
    margin-top: 20px;
}
/* SIXTH SECTION (CONTACT) */
#contact {
    background-color: #707070;
    width: 100%;
}
#contact-container {
    margin-top: 15px;
}
#contact-h1 {
    color: #f8f8f8;
    text-shadow: #333333 2px 2px 2px;
    margin-bottom: 15px;
    font-size: 30px;
}
.contact-p {
    color: #f8f8f8;
    font-weight: 500;
    margin: 1px 0;
}
#contact-img {
    width: 100%;
    height: 100%;
    max-height: 450px;
}
#contact-bottom {
    width: fit-content;
    padding: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
    border: solid 1px gray;
    border-radius: 5px;
    background-color: white;
    font-size: 15px;
    color: rgb(32, 32, 32);
    text-decoration: none;
}
#contact-bottom:hover {
    background-color: rgb(215, 215, 215);
}
#contact-bottom:active {
    background-color: rgb(215, 215, 215);
}

/* FOOTER */
footer {
    background-color: rgb(247, 247, 247);
    text-decoration: none;
    height: 100px;
}
#ul-footer {
    display: flex;
    list-style: none;
    padding-top: 20px;
    padding-bottom: 20px;
}
.phone {
    width: fit-content;
}
.phone:hover {
    color: #337AB7;
}
.phone:active {
    color: #337AB7;
}
.nav-footer-text {
    text-decoration: none;
    font-size: 14px;
    color: #337AB7;
    width: fit-content;
}
.nav-footer-text:hover {
    text-decoration: underline;
    color: #1f4d75;
}
.nav-footer-text:active {
    text-decoration: underline;
    color: #1f4d75;
}
.footer-p {
    color: #333333;
    font-size: 10px;
    font-weight: 700;
    margin-left: 7%;
    margin-right:7%;
}


@media screen and (min-width: 768px) {
    /* GENERAL TEXT */
    h1 {
        font-size: 30px;
    }
    .section-h1 {
        padding: 20px 40px 0 0;
        margin-bottom: 10px;  
        color: #333333;
        font-size: 24px;
    }
    .section-h1-border {
        margin-top: 40px;
        border-top: solid 2px rgb(215, 215, 215);
        width: 25%;
        height: fit-content;
    }
    .section-p {
        font-size: 18px;
        margin-top: 10px;
        line-height: 1.3;
        color: #333333;
    }
    .section-img {
        width: 100%;
        height: fit-content;
    }

    /* ADAPTATIVE CONTAINERS */
    .adaptative-container {
        display: flex;
        justify-content: space-between;
    }
    .adaptative-container-text {
        width: 48%;
        margin-bottom: 15px;
    }
    .adaptative-container-img {
        width: 48%;
        align-content: center;
    }
    #section-h1-border-reparations {
        margin-left: 52%;
    }
    #adaptative-container-reparations {
        flex-direction: row-reverse;
    }


    /* GENERAL */
    section {
        padding-bottom: 30px;
    }

    /* HEADER */
    #header-text {
        font-size: 16px;
        padding: 15px 20px;
        font-weight: 700;
    }
    #header-nav {
        display: flex;
        list-style: none;
        margin-right: 10px;
    }
    .header-nav-text {
        text-decoration: none;
        color: #777777;
        font-size: 16px;
        font-weight: 700;
        margin: 15px;
    }
    .header-nav-text:hover {
        color: #333333;
    }
    .header-nav-text:active {
        color: #333333;
    }
    #menu-button {
        display: none;
    }
    /* FIRST SECTION (INTRO) */
    #text-intro {
        margin-top: 10px;
        padding-bottom: 40px;
    }
    #intro-h1 {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .intro-p {
        margin-top: 20px;
        font-size: 16px;
    }
    .intro-separator {
        width: 70%;
        border-top: solid 1px gray;
        margin: 0 auto;
    }

    /* CONTACT */
    #contact-intro {
        margin-top: 30px;
        margin-bottom: 10px;
        width: 40%;
        font-size: 18px;
    }

    /* SIXTH SECTION (CONTACT) */
    #contact {
        padding-bottom: 0;
    }
}

@media screen and (min-width: 1024px) {
    .intro-separator {
        width: 50%;
        display: flex;
        justify-content: center;
        padding: 30px 0 0 20px;
    }
    #contact-intro {
        margin: 0;
        width: 50%;
    }
}