body {
    background-color: rgb(243, 243, 243);
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
nav{
    padding: 15px;
    background:  linear-gradient(180deg, #469e37 0%, #408253 40%, #007b55 70%);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 20px;
}
.links-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: auto;
}
nav a{
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: 0.5s;
}
nav a:hover{
    text-decoration: underline rgb(255, 149, 0);
}
nav .home-link{
    margin-right: auto;
}
nav .home-link img{
    width: 200px;
}
nav #home-link{
    display: none;
}
nav .active {
    font-size: 16px;
    border-bottom: 3px solid rgb(0, 94, 255);
}
nav .fa-times, nav .fa-bars{
    color: white;
}
#sidebar-active{
    display: none;
}
.open-sidebar-button, .close-sidebar-button{
    display: none;
}

.login {
    display: flex;
    padding: 10px;
    flex-shrink: 0;
}
.login a:hover{
    text-decoration: none;
}
#login{
    display: none;
}

.login button{
    background-color: white;
    border: none;
    font-size: 20px;
    color: #408253;
    padding: 17px;
    transition: .2s;
}

.login button:hover{
    cursor: pointer;
    background-color: #408253;
    color: white;
    border: 1px solid white;
}



@media(max-width: 800px){
    .links-container{
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 10;
        width: 300px;
        height: 100%;
        background-color: #007b55;
        box-shadow: -5px 0 5px rgba(0,0,0,0.5);
        transition: 0.75s ease-out;
    }
    nav a{
        box-sizing: border-box;
        height: auto;
        width: 100%;
        padding: 10px 30px;
        justify-content: flex-start;
        color: white;
    }
    nav .active{
        border-bottom: none;
    }
    nav .fa-times{
        color: white;
    }
    nav .home-link{
        display: none;
        margin-right: auto;
    }
    nav #home-link{
        display: block;
    }
    .open-sidebar-button, .close-sidebar-button{
        padding: 20px;
        display: block;
    }
    #sidebar-active:checked ~ .links-container{
        right: 0;
    }
    #sidebar-active:checked ~ #overlay{
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;
    }
    .login{
        display: none;
    }
    #login{
        display: block;
        margin-left: -1%;
    }
    nav .home-link:hover{
        background-color: rgba(0,0,0,0);
    }
}