@charset "utf-8";

/* ********** Global page layout ********** */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    width: 100%;
}

html,
body,
div,
ul {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100%;
    width: 100%;
    font-family: 'Roboto', sans-serif;
    background-color: #fafcfd;
}

a {
    text-decoration: none;
}

ul {
    list-style-type: none;
}

/* ********** Pages layout ********** */
/* _________________________ Head _________________________ */
/* _*_*_*_ General _*_*_*_ */
header {
    min-width: 1200px;
    width: 100%;
    height: 128px;
    background-color: #002a3b;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

/* _*_*_*_ Background animation _*_*_*_ */
.wrapper {
    display: none;
}

/* _*_*_*_ Navigation bar & Intro _*_*_*_ */

#overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

/* Navigation bar */
#navigation-bar {
    width: 100%;
    height: 128px;
    display: flex;
    gap: 24px;
    transition: background-color 0s ease;
    position: fixed;
    z-index: 99;
}

#navigation-bar.scrolled {
    position: fixed;
    top: 0;
    background-color: #002a3b !important;
    opacity: 1;
    z-index: 99;
}

/* Logo */
#logo {
    width: 20%;
    height: 100%;
    padding: 12px 12px 12px 32px;
}

#logo img {
    width: auto;
    height: 100%;
}

/* Navigation menu */
#navigation-menu {
    width: 60%;
    height: 100%;
}

#menu {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: end;
}

.menu-item {
    width: 200px;
    height: 100%;
    display: flex;
    align-items: center;
}

.menu-item :hover {
    color: #12BAFB;
    cursor: pointer;
}

.menu-item a {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}

#sub-menu {
    display: none;
    background-color: #fff;
    border-top: #85CBE6 2px solid;
    box-shadow: #002a3b 0px 2px 5px -1px, #002a3b 0px 1px 1.5px -0.5px;
    border-radius: 5px;
    height: auto;
    width: 200px;
    position: absolute;
    top: 80px;
    padding: 16px 0;
}

#sub-menu a {
    color: #000;
    font-size: 18px;
    font-weight: 300;
}

#sub-menu-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 8px;
}

#sub-menu-content li :hover {
    color: #12BAFB;
    font-weight: 500;
}

/* Devis button */
#button {
    width: 20%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#navigation-button {
    width: 200px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 500;
    background-color: #fff;
    border-radius: 24px;
    font-size: 20px;
    font-weight: 500;
    color: #004560;
    transition: 0.3s ease;
    margin-right: 12px;
}

#navigation-button:hover {
    background-color: #004560;
    border: 1.5px solid #85CBE6;
    box-shadow: 0 2px 5px #85CBE6;
    color: #fff;
    fill: #fff;
}

/* Intro */
#intro {
    display: none;
}

/* _____ Hamburger menu _____ */
#bckg-hamburger {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    background-color: #004560;
    opacity: 0.8;
    z-index: 9;
}

.menu-hamburger {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    margin: 16px 32px 16px 0;
    z-index: 9999;
}

#hamburger {
    display: none;
}

.hamb-span {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    height: 24px;
}

.hamb-span span {
    background-color: #fff;
    height: 3.2px;
    width: 32px;
    border-radius: 12px;
    z-index: 999;
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.cross>span:nth-child(1) {
    -webkit-transform:
        translateY(10px) rotate(45deg);
    -moz-transform:
        translateY(10px) rotate(45deg);
    transform:
        translateY(10px) rotate(45deg);
}

.cross>span:nth-child(2) {
    opacity: 0;
}

.cross>span:nth-child(3) {
    -webkit-transform:
        translateY(-10px) rotate(-45deg);
    -moz-transform:
        translateY(-10px) rotate(-45deg);
    transform:
        translateY(-10px) rotate(-45deg);
}

.menu-box {
    display: none;
    width: 60%;
    height: 100%;
    background-color: #022b3b;
    position: fixed;
    top: 0;
    right: 0;
    padding: 84px 0 8px 48px;
    z-index: 99;
}

.first-dd a,
.second-dd a {
    color: #fff;
    font-weight: 300;
}

.first-dd :hover,
.second-dd :hover {
    color: #12BAFB;
    font-weight: 500;
}

.first-dd {
    line-height: 36px;
    font-size: 17px;
}

.second-dd {
    line-height: 24px;
    font-size: 15px;
    padding-left: 12px;
}

#hamburger-dd {
    width: 100%;
    height: auto;
}

#hamburger-dd a {
    display: flex;
    align-items: center;
    gap: 12px;
}

#hamburger-chevron {
    width: 16px;
    height: 16px;
}

#hamburger-dd-content {
    display: none;
}

#hamburger-devis-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 32px;
    background-color: transparent;
    border: 1px solid #85CBE6;
    /* box-shadow: 0 2px 5px #85CBE6; */
    border-radius: 24px;
    font-size: 18px;
    transition: 0.3s ease;
    margin-top: 24px;
}

/* #hamburger-devis-button:hover {
    background-color: #004560;
} */

#hamburger-devis-button a {
    color: #fff;
}

#hamburger-devis-button a:hover {
    color: #12BAFB;
}


/* _________________________ Responsive _________________________ */
/* _________________________ Responsive 0 > 499px */
@media screen and (max-width: 499px) {

    /* Head - GENERAL - 0 > 499px */
    header {
        min-width: 0;
        width: 100%;
        height: 64px;
    }

    /* Head - NAVIGATION BAR - 0 > 499px */
    #navigation-bar {
        height: 64px;
    }

    #navigation-menu {
        display: none;
    }

    #navigation-button {
        display: none;
    }

    /* Head - HAMBURGER - 0 > 499px */
    .menu-hamburger {
        display: block;
    }
}

/* _________________________ Responsive 500px > 661px */
@media screen and (min-width: 500px) and (max-width: 661px) {

    /* Head - GENERAL - 500px > 661px */
    header {
        min-width: 500px;
        width: 100%;
        height: 64px;
    }

    /* Head - NAVIGATION BAR - 0 > 499px */
    #navigation-bar {
        height: 64px;
    }

    #navigation-menu {
        display: none;
    }

    #navigation-button {
        display: none;
    }

    /* Head - HAMBURGER - 500px > 661px */
    .menu-hamburger {
        display: block;
    }
}

/* _________________________ Responsive 662px > 767px */
@media screen and (min-width: 662px) and (max-width: 767px) {

    /* Head - GENERAL - 662px > 767px */
    header {
        min-width: 662px;
        width: 100%;
        height: 87.5px;
    }

    /* Head - NAVIGATION BAR - 662px > 767px */
    #navigation-bar {
        height: 87.5px;
    }

    #menu {
        gap: 48px;
        padding-right: 32px;
    }

    .menu-item {
        width: auto;
    }

    .menu-item a {
        font-size: 15px;
    }

    #sub-menu {
        width: 120px;
        top: 55px;
        padding: 8px 0;
    }

    #sub-menu a {
        font-size: 13px;
    }

    #sub-menu-content {
        gap: 6px;
    }

    /* Head - NAVIGATION BAR - Devis button - 662px > 767px */
    #navigation-button {
        width: 110px;
        height: 36px;
        font-size: 15px;
    }
}

/* _________________________ Responsive 768px > 991px */
@media screen and (min-width: 768px) and (max-width: 991px) {

    /* Head - GENERAL - 768px > 991px */
    header {
        min-width: 768px;
        height: 87.5px;
    }

    /* Head - NAVIGATION BAR - 768px > 991px */
    #navigation-bar {
        height: 87.5px;
    }

    #menu {
        gap: 48px;
        padding-right: 32px;
    }

    .menu-item {
        width: auto;
    }

    .menu-item a {
        font-size: 16px;
    }

    #sub-menu {
        width: 130px;
        top: 60px;
    }

    #sub-menu a {
        font-size: 14px;
    }

    #sub-menu-content {
        gap: 8px;
    }

    /* Head - NAVIGATION BAR - Devis button - 768px > 991px */
    #navigation-button {
        width: 130px;
        height: 38px;
        font-size: 16px;
    }
}

/* _________________________ Responsive 992px > 1199px */
@media screen and (min-width: 992px) and (max-width: 1199px) {

    /* Head - GENERAL - 992px > 1199px */
    header {
        min-width: 992px;
        height: 112.5px;
    }

    /* Head - NAVIGATION BAR - 992px > 1199px */
    #navigation-bar {
        height: 112.5px;
    }

    #menu {
        gap: 64px;
        padding-right: 48px;
    }

    .menu-item {
        width: auto;
    }

    .menu-item a {
        font-size: 18px;
    }

    #sub-menu {
        width: 150px;
        top: 72px;
    }

    #sub-menu a {
        font-size: 16px;
    }

    #sub-menu-content {
        gap: 8px;
    }

    /* Head - NAVIGATION BAR - Devis button - 992px > 1199px */
    #navigation-button {
        width: 180px;
        height: 42px;
        font-size: 18px;
    }
}

/* _________________________ Responsive > 1200px */
@media screen and (min-width: 1200px) {
    .hamb {
        display: none;
    }
}