/*
** BASE
*/
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body {
    font-family: "Montserrat_Basique";
    font-size: 14px;
    background-color: white;
    color: #202020;
    -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;
}
a {
    text-decoration: none;
    color: #202020;
    text-underline-offset: 3px;
}


/*
** HEADER
*/
header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 90px;
    padding: 5px 8.5% 5px 7%;
    background-color: white;
    transition: .2s ease;
    z-index: 40000;
}
header .logo_header {
    width: 160px;
    cursor: pointer;
    transition: 
        opacity .5s cubic-bezier(.22,1,.36,1),
        visibility .5s cubic-bezier(.22,1,.36,1);
}
header.menu-open .logo_header {
    opacity: 0;
    visibility: hidden;
}
header nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
}
header nav a:hover {
    opacity: .6;
}
.button_devis {
    font-family: "Montserrat_medium";
    background-color: #1C3761;
    color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    cursor: pointer;
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.button_devis:hover {
    opacity: 1;
    transform: scale(1.03);
}
.button_devis img {
    height: 20px;
    margin-left: 10px;
}


/*
** BURGER MENU
*/
.no-scroll {
    overflow: hidden !important;
}
.burgermenu {
    display: none;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 20000;
    width: 35px;
    height: 20px;
    margin-top: -3px;
    margin-left: auto;
    cursor: pointer;
}
.burgermenu span {
    margin-top: 0;
    position: relative;
}
.burgermenu span:before,
.burgermenu span:after {
    position: absolute;
    content: '';
}
.burgermenu span:before,
.burgermenu span:after {
    width: 30px;
    height: 3px;
    background-color: #202020;
    display: block;
    border-radius: 50px;
}
.burgermenu span:before {
    margin: -6px 0 0;
}
.burgermenu span:after {
    margin: 3px 0 0;
}
.collapse span {
    transition-duration: 0s;
    transition-delay: .3s;
}
.collapse.open span {
    background-color: #202020;
    transition-delay: .3s;
}
.collapse span:before {
    transition-property: margin, transform;
    transition-duration: .3s;
    transition-delay: .3s, 0;
}
.collapse.open span:before {
    margin-top: 0;
    transform: rotate(45deg);
    transition-delay: 0, .3s;
}
.collapse span:after {
    transition-property: margin, transform;
    transition-duration: .3s;
    transition-delay: .3s, 0;
}
.collapse.open span:after {
    margin-top: 0;
    transform: rotate(-45deg);
    transition-delay: 0, .3s;
}


/*
** DROPDOWN MENU
*/
.dropdown {
    position: relative;
    list-style: none;
    cursor: pointer;
}
.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
    cursor: pointer;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity .25s ease;
    cursor: pointer;
}
.dropdown:hover .nav-link {
    opacity: .6;
}
.arrow {
    margin-top: -2.5px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #E00A14;
    border-bottom: 2px solid #E00A14;
    transform: rotate(45deg);
    transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 250px;
    padding: 5px 0;
    background: white;
    border: 1px solid #E8EAED;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(15px);
    transition:
        opacity .3s cubic-bezier(.22,1,.36,1),
        transform .3s cubic-bezier(.22,1,.36,1),
        visibility .3s;

    z-index: 500;
}
.dropdown-menu a {
    display: block;
    padding: 14px 22px;
    color: #202020;
    transition:
        background .2s ease,
        color .2s ease;
}
.dropdown-menu a:hover {
    color: #E00A14;
    opacity: 1;
    transition: .2s ease;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(12px);
}


/*
** MENU
*/
.menuFullScreen {
    position: fixed;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    padding-top: 90px;
    padding-left: 7%;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    background-color: white;
    transition: 
        opacity .5s cubic-bezier(.22,1,.36,1),
        visibility .5s cubic-bezier(.22,1,.36,1);
    opacity: 0;
}
.menuFullScreen.menuFullScreen-active {
    z-index: 10000;
    opacity: 1;
}
.menuLink {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    height: auto;
}
.link-menu {
    text-decoration: none;
    color: #202020;
    font-size: 40px;
    font-weight: 400;
    font-family: "Montserrat_medium";
}
.link-menu:hover {
    opacity: .7;
}


/*
** FOOTER
*/
footer {
    background: #f5f5f5;
    padding: 20px 50px;
    width: 95%;
    border-radius: 25px;
    margin: auto;
    margin-bottom: 25px;
    font-weight: 400;
    font-size: 12px;
    transition: .2s ease;
}
footer a:hover {
    opacity: .6;
}
footer .top_footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
footer .top_footer .copyright {
    color: #616161;
    text-align: center;
    line-height: 18px;
}
footer .top_footer .footer_contact p {
    font-family: "Futura_Bold";
    font-size: 18px;
    color: #E00A14;
}
footer .footer_divider {
    background-color: #d8d8d8;
    height: 1px;
    margin-top: 15px;
    margin-bottom: 20px;
}
footer .bottom_footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}
footer .bottom_footer .footer_legal {
    text-align: center;
    line-height: 20px;
}


/*
** ANIMATION
*/
/*
** ANIMATION
*/
@keyframes scroll {
    to {
      transform: translateX(-50%);
    }
}


/*
** FONTS
*/
@font-face {
    font-family: "Montserrat_Basique";
    src: url("/assets/fonts/Montserrat/Montserrat-Regular.ttf") format("woff2");
}
@font-face {
    font-family: "Montserrat_medium";
    src: url("/assets/fonts/Montserrat/Montserrat-Medium.ttf") format("woff2");
}
@font-face {
    font-family: "Futura_Bold";
    src: url("/assets/fonts/Futura/FuturaCyrillicBold.ttf") format("woff2");
}


/*
** MEDIA QUERIES
*/
@media screen and (max-width: 1100px){
    footer {
        width: 95%;
    }
}
@media screen and (max-width: 900px){
    .burgermenu {
        display: flex;
    }
    header nav {
        display: none;
    }
}
@media screen and (max-width: 650px){
    .link-menu {
        font-size: 25px;
    }
    .menuLink {
        gap: 20px;
    }
    footer .top_footer {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 80%;
        margin: auto;
    }
    footer .bottom_footer {
        text-align: center;
        margin: auto;
        width: 90%;
    }
    footer .top_footer .copyright {
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 400px){
    footer .top_footer {
        width: 85%;
    }
    footer .bottom_footer {
        width: 100%;
    }
}