::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* @import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap"); */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

:root {
    --header-height: 3rem;
    --nav-width: 120px;
    /*68px;*/
    --main-color: #46A583; /*ici*?
    /* side bar color*/
    --secondary-color: #EA5687;
    /* icon and nav items color */
    --white-color: #FFF;
    /* nav bar color */
    --grey-color: #E4E4E4;
    /* other colors */
    --green-color: #389b74;
    --red-color: #f24949;
    --body-font: 'Poppins', sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 100;
    --navlink-width: 100%;
    --basic-container-x-padding: 4rem;
    --basic-container-y-padding: 1.25rem;
}

*,
::before,
::after {
    box-sizing: border-box
}

.main-color{
    color: var(--main-color);
}

.secondary-color{
    color: var(--secondary-color);
}

body {
    position: relative;
    margin: var(--header-height) 0 0 0;
    padding: 0 1rem;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    /* transition: .5s; */
    /* background-color: var(--white-color); */
    background-color: var(--white-color);
}

a {
    text-decoration: none
}

.basic-container {
    padding-left: var(--basic-container-x-padding);
    padding-right: var(--basic-container-x-padding);
    padding-top: var(--basic-container-y-padding);
    padding-bottom: var(--basic-container-y-padding);
}

.header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: var(--white-color);
    z-index: var(--z-fixed);
    transition: .5s
}

.header_toggle {
    color: var(--main-color);
    font-size: 1.5rem;
    cursor: pointer;
    right: -100px
}

.header_img {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden
}

.header_img img {
    width: 40px
}

.l-navbar {
    position: fixed;
    top: 0;
    left: -30%;
    width: var(--nav-width);
    height: 100vh;
    background-color: var(--main-color);
    padding: .5rem 1rem 0 0;
    /* transition: .5s; */
    z-index: var(--z-fixed);
    overflow: scroll;
}

.l-navbar::-webkit-scrollbar{
    display: none;
}

.nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    margin-right: 0px;
}

/* .nav::-webkit-scrollbar{
    display: none;
} */

.nav_list {
    height: 150%;
}


.nav_logo,
.nav_link {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 1rem;
    padding: .5rem 0 .5rem 1.5rem;
    /* height: 3rem; */
    width: inherit;
}

.nav_logo {
    margin-bottom: 2rem
}

.nav_logo-icon {
    font-size: 1.25rem;
    color: var(--white-color)
}

.nav_logo-name {
    color: var(--white-color);
    font-weight: 700;
}

.nav_link {
    position: relative;
    color: var(--white-color);
    margin-bottom: 1rem;
    transition: .3s;
    margin-right: 0px;
    width: inherit;
    padding-top: 15px;
}

.nav_link:hover {
    color: var(--white-color)
}


.nav_icon {
    font-size: 1.75rem;
    background-color: var(--main-color);
    border-radius: 50%;
    padding: 5px;
    /* margin-top: 10px; */
    margin-left: 1rem;
}

.nav_link span {
    /* margin-top: 10px; */
    vertical-align: bottom;
    display: none;
}

.nav_name{
    margin-top: 10px;;
}

.show {
    left: 0
}

.show span {
    display: contents;
}

.show .nav_icon {
    font-size: 1.75rem;
    margin-left: 0;
}

.body-pd {
    padding-left: calc(var(--nav-width) + 1rem)
}

.activated {
    color: var(--white-color);
    background-color: var(--white-color);
    width: var(--nav-width);
    /* width: 100%; */
}

.activated span {
    color: var(--main-color);
    padding: 10px;
}



.top_wave {
    content: '';
    display: block;
    position: absolute;
    border-radius: 0 0 80% 80%;
    width: 100%;
    height: 60%;
    background-color: var(--main-color);
    top: -35%;
}


.activated::after {
    content: "";
    display: block;
    position: absolute;
    border-radius: 50% 50% 0 0;
    width: 100%;
    height: 30%;
    background-color: var(--main-color);
    left: 0px;
    top: 87%;
}

.active-fullwidth {
    width: 100%;

}


.height-100 {
    height: 100vh
}



@media screen and (min-width: 768px) {
    body {
        margin: calc(var(--header-height) + 1rem) 0 0 0;
        padding-left: calc(var(--nav-width) + 2rem)
    }

    .header {
        height: calc(var(--header-height) + 1rem);
        padding: 0 2rem 0 calc(var(--nav-width) + 2rem)
    }

    .header_img {
        width: 40px;
        height: 40px
    }

    .header_img img {
        width: 45px
    }

    .l-navbar {
        left: 0;
        padding: 1rem 0 0 0;
    }

    .show {
        width: calc(var(--nav-width) + 156px)
    }

    .body-pd {
        padding-left: calc(var(--nav-width) + 188px)
    }
}


.container-light {
    margin-top: 5rem;
    background-color: var(--white-color);
}

.hide-logo {
    /* display: none; */
    width: 60%;
    height: auto;

}

.dropdown-button {
    background-color: transparent;
    width: auto;
    height: 100%;
    border: 0px;
    font-size: 1.5rem;
    pad: 1rem;
    color: var(--main-color);
}



.sub_links {
    /* display: grid; */
    grid-template-columns: max-content;
    align-items: left;
    column-gap: 0.5rem;
    padding: .5rem 0 .5rem 1.5rem;
    /* height: 3rem; */
    width: inherit;
    display: none;
    height: auto;
}

.sub_links.unhidden{
    display: contents;
    column-gap: 0.25rem;
}

.sub_nav_link {
    position: relative;
    color: var(--white-color);
    margin-bottom: 1rem;
    transition: .3s;
    margin-right: 0px;
    width: inherit;
    margin-left: 3rem;
}

.sub_nav_link:hover{
    color: var(--secondary-color);
}

.hidden_links{
    display: none;
    padding-left: 1.25rem;
}

.hidden_links .sub_nav_link{
    margin-left: 4rem;
    font-size: 0.8rem;
}

/* .sub_nav_link:checked + .hidden_links{
    display: contents;
} */



.hidden_links:focus{
    display: contents;
}

.nav_link.activated ~ div{
    display: grid;
}

.left-right-border{
    border-width: .2rem;
    border-style: none solid none solid;
    border-color: rgba(var(--main-color),.5);
} 
