* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100vh;
}

nav {
    display: flex;
    flex-direction: column;
    width: 15%;
    height: 100%;
    padding: 10px;
    border-right: 1px solid rgb(113, 113, 113);
}

nav #logo {
    height: 5%;
    margin-bottom: 20px;
    background-color: rgb(0, 0, 0);
    border-radius: 5px;
}

nav ul {
    width: 100%;
}

nav ul li {
    list-style: none;
    width: 100%;
    height: 40px;
    margin-bottom: 10px;
    background-color: rgb(172, 178, 178);
    border-radius: 5px;
}

nav #nav_list {
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgb(113, 113, 113);
}

main {
    width: 85%;
    height: 100vh;
}

main header {
    height: 7%;
    width: 100%;
    border-bottom: 1px solid rgb(113, 113, 113);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

main header ul {
    display: flex;
    gap: 10px;
}

main header #search_bar {
    width: 20%;
    height: 40px;
    background-color: rgb(172, 178, 178);
    border-radius: 5px;
}

main header .header-item {
    list-style: none;
    width: 40px;
    height: 40px;
    background-color: rgb(172, 178, 178);
    border-radius: 5px;
}

#posts_container {
    padding: 10px;
    width: 100%;
    height: 93%;
    overflow: scroll;
    margin-top: 20px;
}

.post {
    display: flex;
    margin: 15px 0;
    height: 60px;
    border-bottom: 1px solid rgb(181, 181, 181);
}
.post #checkbox, .post #star {
    width: 3%;
    height: 40px;
    margin-right: 10px;
    background-color: rgb(172, 178, 178);
    border-radius: 5px;
}
.post #name {
    width: 15%;
    height: 40px;
    margin-right: 10px;
    background-color: rgb(172, 178, 178);
    border-radius: 5px;
}
.post #content {
    width: 65%;
    height: 40px;
    margin-right: 10px;
    background-color: rgb(172, 178, 178);
    border-radius: 5px;
}
.post #functionality {
    width: 14%;
    height: 40px;
    background-color: rgb(172, 178, 178);
    border-radius: 5px;
}