@font-face {
    font-family: 'light';
    src: url(../../assets/fonts/Balboa-UltraLight/font.ttf);
}
/* RESET */
*, *:before, *:after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
    
}

html {
    background: #e4ebdf;
}

body {
    font: 62.5% 'light', sans-serif;
    display: flex;
    flex-direction: column;
    font-size: 1.1rem;
    color: black;
    width: 100%;
}

ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

.hide {
    display: none;
}

.hidden{
    visibility: hidden;
}
/* END RESET */

/* TOP NAVBAR*/
#navbar {
    align-items: center;
    background-color: #003838;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    z-index: 3;    
}

#navbar_btn{
    display: flex;
    flex-direction: row;
    
}

#nw_navbar_login, 
#navbar_logo, 
#nw_navbar_btn {
    padding: 13px 52px;
}


#navbar_logo img {
    width: 100px;
}


/* .btn_offer{
    border-radius: 2px;
    background: linear-gradient(to right, #FBA00B 50%, #FFF 50%);
    background-size: 300% 100%;
    background-position:left bottom;
    padding: 10px 40px ;
}

.btn_offer:hover{
    background: linear-gradient(to right, #FBA00B 50%, #FFF 50%);
    background-size: 300% 100%;
    background-position: right bottom;
    border-color: #FFF ;
    color: #FBA00B ;
    transition: all 0.8s ease;
    } */

.btn_connect{
    font-weight: bold;
}

/*END TOP NAVBAR*/

/* MAIN WITH TEXT*/

.titre{
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 25px;
    text-align: center;
}

#container{
    display: flex;
    flex-direction: row;
    width: 100vw;
}


/*END MAIN WITH TEXT*/
#text{
    overflow-y: scroll;
    width: 70%;
    height:80vh;
    padding: 5% 10%;
    line-height: 1.3rem;
    margin-bottom: 100px;
}

/* Scrollbars */
#text::-webkit-scrollbar {
	width: .875em;
	height: .875em;
	background: #e4ebdf ;
}

#nav{
    
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    border-left: 3px solid #a2a2a2;
    color: rgba(0, 0, 0, 0.555);
    /* color: #a2a2a2; */
    width: 30%;
    
}

#right_nav{
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    padding: 15%;
}

#right_nav>div:hover{
    color: #FBA00B;
    font-weight: bold;
    transform: scale(1.2);
    transition: 3s;
}

#mobile{
    display: none;
}
/*RIGHT NAVBAR*/


@media ( max-width: 1080px ) {
    #text{
        width: 60%;
        height:80vh;
        padding: 3% 6%;
    
    }

    #nav{
        width: 40%;
        
    }
}

@media ( max-width: 768px ) {

    #navbar {
        position: fixed;
        flex-direction: row;
        justify-content: space-between;
        height: 60px;
        bottom: 0;
        left: 0;
        right: 0;
        
    }

    #nw_navbar_login, 
    #navbar_logo, 
    #nw_navbar_btn {
        padding: 10px;
        
}
    .btn_offer{
        padding: 10px 20px;
    }

    #container{
        flex-direction: column-reverse;
        width: 100vw;
        margin-bottom: 70px;
    }

    #text{
        width: 100%;
        height:100vh;
        padding: 10% ;
    
    }

    #mobile{
        align-items: center;
        height: 50px;
        display: flex;
        flex-direction: column;
        border-left: 3px solid transparent;
        color: #a2a2a2;
        width: 100%;
        
    }

    .custom-dropdown--large {
        font-size: 1.5em;
    }
    
    .custom-dropdown--small {
        font-size: .7em;
    }
    
    .custom-dropdown__select{
        font-size: inherit; /* inherit size from .custom-dropdown */
        padding: .5em; /* add some space*/
        margin: 0; /* remove default margins */
    }
    
    .custom-dropdown__select--white {
        background-color: #d3dfca;
        color: black;    
    }
    
    @supports (pointer-events: none) and
          ((-webkit-appearance: none) or
          (-moz-appearance: none) or
          (appearance: none)) {
    
        .custom-dropdown {
            position: relative;
            display: flex;
            vertical-align: middle;
        }
    
        .custom-dropdown__select {
            padding-right: 2.5em; /* accommodate with the pseudo elements for the dropdown arrow */
            border: 0;
            border-radius: 3px;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;  
              
        }
    
        .custom-dropdown::before,
        .custom-dropdown::after {
            
            position: absolute;
            pointer-events: none;
        }
    
        .custom-dropdown::after { /*  Custom dropdown arrow */
            content: "\25BC";
            height: 1em;
            font-size: .625em;
            line-height: 1;
            right: 1.2em;
            top: 50%; margin-top: -.5em;
        }
    
        .custom-dropdown::before { /*  Custom dropdown arrow cover */
            width: 2em;
            right: 0; top: 0; bottom: 0;
            border-radius: 0 3px 3px 0;
        }
    
        .custom-dropdown__select[disabled] {
            color: transparent;
        }
    
        .custom-dropdown.custom-dropdown--disabled::after {
            color: transparent;
        }
    
        /* White dropdown style */
        .custom-dropdown--white::before {
            top: .5em; bottom: .5em;
            background-color: #003838;
            border-left: 1px solid rgba(0,0,0,.1);
        }
    
        .custom-dropdown--white::after {
            color: transparent;
        }
    
        /* FF only temp fix */
        @-moz-document url-prefix() {
            .custom-dropdown__select              { padding-right: .9em }
            .custom-dropdown--large .custom-dropdown__select { padding-right: 1.3em }
            .custom-dropdown--small .custom-dropdown__select { padding-right: .5em }
        }
    }

    #nav{
        display: none;
    }

    #right_nav{
        align-items: center;
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 20px; 
    }

    #right_nav>div{
        padding: 25px;
    }

    .pc{
        display: none;
    }
}

@media ( max-width: 400px ) {
    #text{
        font-size: .8rem;
    }

    #navbar{
        font-size: .9rem;
    }

    #nw_navbar_login, 
    #navbar_logo, 
    #nw_navbar_btn {
        padding: 5px;
        
    }
}