

:root{
    --textColor: black; 
    --main-blue: #007396;
    --light-gray: #a79a96;
}


@font-face {
    font-family: "GothamBook";
    src: url("../fonts/GothamNarrow-Book.otf") format("opentype");
}

@font-face {
    font-family: "GothamBook-Light";
    src: url("../fonts/GothamLight.ttf") format("truetype");
    font-weight: 300;
}

@font-face {
    font-family: "GothamBold";
    src: url("../fonts/GothamBold.ttf") format("truetype");
    font-weight: bold;
}

@font-face {
    font-family: "Yellowtail-regular";
    src: url("../fonts/Yellowtail-Regular.ttf") format("truetype");
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


body, html{

    position: relative;
    width: 100%;
    font-size: 16px;
    font-family: "GothamBook", sans-serif;
    overflow-x: hidden !important;
}

/* Empêche un extra space en dessous du tag picture! IMPORTANT */
picture{
    display: block;
    line-height: 0;
}

form #name{
    display: none;
}

h2{
    font-size: 1.8em;
    /* font-family: "GothamBook-Light", sans-serif; */
    line-height: 1em;
    font-weight: 200;
}

h2 span{
    display: block;
}

.container{
    width: 90%;
    display: flex;
    justify-content: space-between;
    margin: auto auto;
}

.logo-container{
    width: 100%;
    text-align: center;
}

.flex{
    flex: 0 0 auto;
}

.text-center{
    text-align: center;
}

.button{
    position: relative;
    font-family: "GothamBook", sans-serif;
    font-size: 16px;
    font-display: swap;
}
 

div.button{
    background-color: var(--main-blue);
    display: inline-block;
    justify-content: center;
    width: auto;
    text-transform: uppercase;
}

div.button a{
    display: flex;
    text-decoration: none;
    color: white;
    flex-direction: row;
    align-items: center;
    padding: 10px 15px;
    height: 100%;
}

div.button button{
    display: flex;
    color: white;
    flex-direction: row;
    background-color: transparent;
    border: 1px solid var(--main-blue);
    align-items: center;
    padding: 10px 15px;
    height: 100%;
}

.button a img{
    height: 15px;
    margin-left: 10px;
}

.button button img{
    height: 15px;
    margin-left: 10px;
}

header{
    position: fixed;
    width: 100%;
    background: white;
    z-index: 100;
    padding-bottom: 15px;
    
}

header.active-header{
    box-shadow: 0px 0px 5px black;
}

header ul{
    list-style: none;
}

header ul li{
    margin: 8px 0 0 20px;
}

header a{
    text-decoration: none;
    color: black;
}

header > div.container{
    margin-top: 15px;
    justify-content: space-between;
}

.logo-container .logo{
    width: 200px;
}

.main-menu{
    position: relative;
    width: calc(100% - 200px);
    flex-direction: column;
    justify-content: space-between;
    margin-left: auto;
    display: none;
}

.main-menu .container{
    width: 98%;
    height: 50%;
    margin: 5px 0 0 auto;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.main-menu .container:nth-of-type(2){
    align-items: flex-end;
    padding-bottom: 10px;
}

.sub li{
    padding: 0;
    margin: 0;
}

.sub-container{
    position: relative;
}

.sub-container:hover .sub{
    display: block;
}

.sub{
    position: absolute;
    width: 250px;
    z-index: 100;
    background-color: var(--main-blue);
    display: none;
}

.sub a{
    display: block;
    color: white;
    padding: 15px 10px;
}

.sub a:hover{
    color: var(--light-gray);
}

footer{
    background-color: var(--main-blue);
    color: white;
    padding: 50px;
}

footer .container{
    justify-content: center;
}

footer .container:first-of-type{
    flex-direction: column;
    text-align: center;
    align-items: center;
}

footer .container:first-of-type a{
    margin: 10px 0;
}


footer .container a{
    margin: 0 25px;
    color: white;
}

footer a{
    text-decoration: none;
}

footer > .container a:last-of-type{
    width: 25px;
    margin: 0;
}

footer .logo-footer{
    width: 200px;
}

footer .border{
    display: none;
}

/************** 

    MENU MOBILE

***************/

.burger{
    width: 45px;
    height: 35px;
    position: absolute;
    top: calc(50% - (35px / 2));
    right: 2.5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all ease 0.25s;
    cursor: pointer;
}

.burger .line{
    background-color: var(--main-blue);
    width: 100%;
    height: 6px;
}

.remove{
    width: 45px;
    height: 35px;
    position: absolute;
    top: 50%;
    right: -45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all ease 0.25s;
    cursor: pointer;
}

.remove.active{
    right: 2.5%;
}

.burger.non-active{
    right: -45px;
}

.remove .line{
    top: 0;
    position: absolute;
    background-color: var(--main-blue);
    width: 100%;
    height: 6px;
}

.remove .line:first-of-type{
    transform: rotate(45deg);
}

.remove .line:last-of-type{
    transform: rotate(-45deg);
}

.mobile-menu{
    display: block;
    position: fixed;
    top: 105px;
    width: 100vw;
    height: 100vh;
    right: -100vw;
    z-index: 10;
    padding: 20px 0;
    background-color: var(--main-blue);
    transition: all ease 0.25s;
}

.mobile-menu li{
    list-style: none;
    margin: 15px 0;
}

.mobile-menu a{
    text-decoration: none;
    color: white;
    text-transform: uppercase;
}

.mobile-menu .container{
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
}

.mobile-menu.active-menu{
    right: 0;
}


/*********** 

    MAIN CSS  

************/
section{
    margin: 50px 0;
}

main{
    margin-top: 100px;
}

#section1 h1{
    font-weight: 300;
    font-size: 2em;
    line-height: 1em;
    font-family: "Gotham-Light", sans-serif;
    padding: 25px 0;
    text-transform: uppercase;
}

#section1 h1 span{
    display: block;
    font-weight: bold;
    color: var(--light-gray);
}


/***********

    MENU 

***********/




/*************************************************************************** 



    MEDIA QUERIES 

    

****************************************************************************/





@media only screen and (min-width: 768px) {

    
}

    

@media only screen and (min-width: 1024px) {

    main{
        margin-top: 150px;
    }

    .main-menu{
        display: block; 
    }

    .burger{
        display: none;
    }

    .mobile-menu{
    display: none;
    }

    .remove{
        display: none;
    }

    div.button a{
        padding: 18px 25px;
    }

    footer .container:first-of-type{
        flex-direction: row;
    }

    footer .border{
        display: block;
    }

    footer .container:first-of-type a{
        margin: 0px 25px;
    }
    
    #section1 h1{
        padding: 0 25px;
        font-size: 3em;
    }
    
}



@media only screen and (min-width: 1288px) {



}



@media only screen and (min-width: 1500px) {

    .main-menu{
        position: relative;
        width: calc(100% - 265px);
        display: block; 
    }

    .main-menu .container{
        width: 90%;
        margin: 0 0 0 auto;
    }

    .logo-container .logo{
        width: 265px;
    }

    header ul li{
        margin: 0 0 0 20px;
    }
}



@media only screen and (min-width: 1700px) {

    h2{
        font-size: 3em;
    }

}



@media only print{

h1,h2,h3,h4,p,a,li{color:#000 !important;}

nav{display:none;}

} 