*{
    font-family: 'Poppins', sans-serif;
}
body{
    background-image: url("./annie-spratt-g9KFpAfQ5bc-unsplash.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
html,body{
    margin:0;
    padding:0;
    width: 100%;
    height:100%;
    overflow-x: hidden;
}
form{
    display:grid;
    place-items:center;
    /* background-color: #121212; */
    border-radius:10px;
    border:2px solid #121212;
    margin: 30px auto;
    width: 300px;
    height:300px;
    /* justify-items: center; */
}
#bio-section label{
    float:left;
}
#bio-section button{
    float:left;
    margin-top: 2px;
}
#nav-bar{
    position: sticky;
    top:0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color:#2b2b2b;
    /* border-radius: 10px; */
    width: 100%;
    height:60px;
}
#nav-bar div{
    margin-right: 10px;
}
#nav-bar div img{
    display: none;
}
#nav-bar #menu{
    display: none;
}

ul{
    display: flex;
    gap:2rem;
}
li{
    list-style-type: none;
}
li a{
    color: #ffffff;
    text-decoration: none;
}
/*.hide{
    z-index: -1;
}
.show{
    z-index: 1;
}*/
#profile{
    position: relative;
    overflow: hidden;
    /* background-color: aqua; */
    width: 109px;
    height:100px;
}
#avatar{
    /* position:absolute; */
    border-radius: 50%;
    border:2px solid black;
    cursor:pointer;
    width:103px;
    height:96px;
}
input{
    outline: none;
}
input[type="file"]::file-selector-button{
    position: absolute;
    z-index:999;
    left:0;
    bottom: 0;
    opacity:0;
    border-radius: 50%;
    width:107px;
    height:100px;
    cursor:pointer;
}
label{
    text-align:right;
}
button{
    cursor:pointer;
    margin: 2px;
}
button a{
    text-decoration: none;
    color: black;
}
footer{
    margin: 0 auto;
    position: fixed;
    bottom: 0px;
    width: 100%;
}
footer p{
    text-align: center;
}

@media screen and (max-width:800px){
    html,body{
        margin:0;
        padding:0;
        width: 100%;
        height:100%;
        overflow-x: hidden;
    }
    #nav-bar div{
        /* display: none; */
        position:absolute;
        right:-500px;
        top: 8px;
        z-index: 1;
        margin:0;
        width: 50%;
        height: 300px;
        background-color: #121212;
        transition: 1.5s;
    }
    #nav-bar ul{
        display: flex;
        flex-direction: column;
        margin-top: 50px;
    }
    #nav-bar div img{
        display: block;
    }
    #nav-bar #menu{
        display: block;
    }
}