@import url('https://fonts.googleapis.com/css2?family=Monda&display=swap');

body {
    padding: 0;
    margin: 0;
}

.container {
    position: relative;
    margin-top: 100px;
}

.container img {
    display: block;
    width: 100%;
    height: 1000px;
}

nav {
    position: fixed;
    z-index: 10;
    left: 0;
    right: 0;
    top: 0;
    font-family: 'Monda', sans-serif;
    padding: 0 5%;
    height: 100px;
    background-color: #006CDC;
}

nav .logo {
    float: left;
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
}

nav .links {
    float: right;
    padding: 0;
    margin: 0;
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

nav .links li {
    list-style: none;
}

nav .links li #logout{
    background-color: #B184C5;
}

nav .links li #user-logo {
    width: 25px;
    height: 25px;
    margin-top: 7px;
    margin-right: -12px;
}

nav .links li p {
    color: white;
}

nav .links li #LastName{
    /*padding-left: 0;*/
    /*margin-left: -16px;*/
    margin-top: 7px;
}

nav .links li #FirstName{
    /*padding-right: 0;*/
    margin-top: 7px;
    margin-right: 5px;
    margin-left: 18px;
}

a#user {
    display: inline-flex;
    background-color: #B184C5;
}

nav .links a {
    display: block;
    padding: 7px 13px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

a.active, a:hover {
    background: #002C5B;
    transition: .5s;
}

#nav-toggle {
    position: absolute;
    top: -100px;
}

nav .icon-burger {
    display: none;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

nav .icon-burger .line {
    width: 30px;
    height: 5px;
    background-color: #fff;
    margin: 5px;
    border-radius: 3px;
    transition: all .3s ease-in-out;
}

@media screen and (max-width: 768px) {
    .container {
        position: fixed;
    }

    .container img {
        display: block;
        width: 100%;
    }

    nav .logo {
        float: none;
        width: auto;
        justify-content: center;
    }
    
    nav .links {
        float: none;
        position: fixed;
        z-index: 9;
        left: 0;
        right: 0;
        top: 100px;
        bottom: 100%;
        width: auto;
        height: auto;
        flex-direction: column;
        justify-content: space-evenly;
        background-color: rgba(0,0,0,.8);
        overflow: hidden;
        transition: all .5s ease-in-out;
    }

    nav .links a {
        font-size: 20px;
    }

    nav a.active, a:hover {
        background: none;
        color: #72358C;
    }

    nav :checked ~ .links {
        bottom: 0;
    }

    nav .icon-burger {
        display: block;
    }

    nav :checked ~ .icon-burger .line:nth-child(1) {
        transform: translateY(10px) rotate(225deg);
    }

    nav :checked ~ .icon-burger .line:nth-child(3) {
        transform: translateY(-10px) rotate(-225deg);
    }

    nav :checked ~ .icon-burger .line:nth-child(2) {
        opacity: 0;
    }

}