*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
body{
    height: 100vh;
    background-color: var(--body-color);
}
nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: var(--nav-color);
    z-index: 100;
}
nav .nav-bar{
    position: relative;
    height: 100%;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
nav .nav-bar .sidebarOpen{
    color: var(--text-color);
    font-size: 25px;
    padding: 5px;
    cursor: pointer; 
    display: none;
}
nav .nav-bar .logo a{
    font-size: 25px;
    font-family: "jelle";
    margin-left: 0;
    color: var(--logo-color);
    text-decoration: none;
}
.menu .logo-toggle{
    display: none;
}
.nav-bar .nav-link{
    display: flex;
    align-items: center;
}
.nav-bar .nav-link li{
    margin: 0 5px;
    list-style: none;
}
.nav-link li a{
    position: relative;
    font-size: 17px;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    padding: 10px;
}
.nav-link li a::before{
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    bottom: 0;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background-color: var(--text-color);
}
.nav-link li:hover a::before{
    opacity: 1;
}

.nav-bar .darkLight-searchBox{
    display: flex;
    align-items: center;
}
.darkLight-searchBox .dark-light,
.darkLight-searchBox .searchToggle{
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
}
.dark-light i,
.searchToggle i{
    position: absolute;
    color: var(--text-color);
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.dark-light i.sun{
    opacity: 0;
    pointer-events: none;
}
.dark-light.active i.sun{
    opacity: 1;
    pointer-events: auto;
}
.dark-light.active i.moon{
    opacity: 0;
    pointer-events: none;
}
.searchToggle i.cancel{
    opacity: 0;
    pointer-events: none;
}
.searchToggle.active i.cancel{
    opacity: 1;
    pointer-events: auto;
}
.searchToggle.active i.search{
    opacity: 0;
    pointer-events: none;
}
.searchBox{
    position: relative;
}
.searchBox .search-field{
    position: absolute;
    bottom: -85px;
    right: 5px;
    height: 50px;
    width: 300px;
    display: flex;
    align-items: center;
    background-color: var(--nav-color);
    padding: 3px;
    border-radius: 8px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.searchToggle.active ~ .search-field{
    bottom: -80px;
    opacity: 1;
    pointer-events: auto;
}
.search-field::before{
    content: '';
    position: absolute;
    right: 14px;
    top: -6px;
    width: 16px;
    height: 16px;
    background-color: var(--nav-color);
    transform: rotate(-45deg);
    border-radius: 50%;
    z-index: -1;
}
.search-field input{
    width: 100%;
    height: 100%;
    outline: none;
    border: none;
    padding: 0 45px 0 15px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 400;
    color: var(--search-text);
    background-color: var(--search-bar);
}
body.dark .search-field input{
    color: var(--text-color);
}
.search-field i{
    position: absolute;
    color: var(--nav-color);
    right: 15px;
    font-size: 25px;
    cursor: pointer;
}
body.dark .search-field i{
    color: var(--text-color);
}
.nav-act{
    width: 100%;
    height: 30px;
    background-color: var(--session-bar);
    box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.3);
}
.nav-account p{
    margin-top: 9px;
    font-size: 10pt;
    position: absolute;
    font-family: Helvetica;
    font-weight: bold;
    align-items: center;
    justify-content: center;
}
.nav-account p{
    margin-left: 30px;
}
@media (max-width: 790px) {
    nav .nav-bar .sidebarOpen{
        display: block;
    }
    .menu{
        position: fixed;
        height: 100%;
        width: 320px;
        top: 0;
        left: -100%;
        padding: 20px;
        background-color: var(--side-nav);
        z-index: 100;
        transition: all 0.4s ease;
    }
    nav .nav-bar .logo a{
        margin-left: 30px;
    }
    nav.active .menu{
        left: -0%;
    }
    nav.active .nav-bar .navLogo a{
        opacity: 0;
        transition: all 0.3s ease;
    }
    .menu .logo-toggle{
        display: block;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .logo-toggle .sidebarClose{
        color: var(--text-color);
        font-size: 24px;
        cursor: pointer;
    }
    .nav-bar .nav-link{
        flex-direction: column;
        padding-top: 30px; 
    }
    .nav-link li a{
        display: block;
        margin-top: 20px;
    }
}

/*ini footer*/
footer{
    width: 100%;
    height: 150px;
    background-color: var(--nav-color);
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;     /* vertikal */
}
footer p{
    text-align: center;
    color: #fff;
    margin: 0;
}
