* {
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: "Urbanist", sans-serif;
    text-decoration: none;
    color:white;
    outline: none !important;
}

.hidden{
    display:none;
}

.border {
    border:solid 1px white;
}

.spacer{
    flex:1;
}

body {
    display:flex;
    background-color: #111;
}

.container{
    min-height: 100dvh;
    width:100%;
    margin:auto;
    display:flex;
    align-items: stretch;
    flex-basis: auto;
    flex-shrink: 0;
}

header {
    display: flex;
    flex-direction: column;
    padding:1rem 2rem 1rem 2rem;
    border-right: solid 1px #333;
}

h2.logo {
    display:flex;
    height:50px;
    align-items: center;
    font-size: 1.2rem;
}

h2.logo img{
    width:50px;
    height: 50px;
}

ul.menu {
    list-style: none;
    display:flex;
    flex-direction: column;
    gap:.2rem;
}

ul.menu li a{
    position: relative;
    display:flex;
    padding:1rem 1rem 1rem .5rem;
    align-items: flex-start;
    justify-content: flex-start;
    gap:.5rem;
    border-radius: 2rem;
    font-size: 1.2rem;
}


ul.menu li a span.notify {
    display:flex;
    align-items: center;
    justify-content: center;
    position:absolute;
    top:5px;
    left:20px;
    padding:5px;
    font-size: .9rem;
    font-weight: bolder;
    width:auto;
    height: 20px;
    min-width: 20px;
    background:deepskyblue;
    color:white;
    border-radius: 10px;
}

ul.menu li a i {
    font-size: 1.6rem;
}

ul.menu li:hover a{
    background:#222;
}

ul.menu li.newpost{
    padding:.5rem 0rem;
}

ul.menu li.newpost a{
    background:white;
    color:#222;
    padding:1rem 2rem;
    transition: all 200ms linear;
    transition-property: background, color;
    justify-content: center;
}

ul.menu li.newpost:hover a{
    background:deepskyblue;
    color:white;
}

header a.user{
    margin-top:.5rem;
    display:flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 2rem;
    padding:.2rem .5rem .2rem 0rem;
    gap:.3rem;
}

header a.user:hover{
    background:#222;
}

header a.user i.fa{
    border-radius: 50%;
    margin-left: auto;
    margin-right: 1rem;
    justify-self: flex-end;
}

header a.user img{
   width: 50px; 
   height: 50px;
   border-radius: 50%;
}

header a.user p{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header a.user p strong{
    font-size: .9rem;
}

header a.user p span{
    color:#666;
}


main{
    display: flex;
    flex: 1;
}

main .wall{
    display: flex;
    flex-direction: column;
    border-right: solid 1px #333;
    height: 100dvh;
    width:100%;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-color: gray transparent;

}

main .wall .post{
    border-bottom: solid 1px #333;
    position: relative;
    padding: 15px 30px 15px 60px;
    cursor:pointer;
}

main .wall .post:hover {
    background: #131313;
}

main .wall .post a.owner{
    position:absolute;
    left:10px;
    top:20px;
}

main .wall .post a.owner img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

main .wall .post a.system{
    position:absolute;
    right:10px;
    top:15px;
    font-size: 1.5rem;
}

main .wall .post .postheader {
    padding-top:.5rem;
}

main .wall .post .postheader a{
    color:#888;
    margin-right: .5rem;
}

main .wall .post .postheader a.name{
    color:white;
    font-weight: bold;
}

main .wall .post .postheader a:hover{
    text-decoration: underline;
}

main .wall .post .postbody{
    display: inline-block;
    line-height: 150%;
    padding-top:.5rem;
    font-weight: 300;
}

main .wall .post .postbody span.hashtag{
    color:deepskyblue;
    font-weight: 500;
}

main .wall .post .postbody span.hashtag::before{
    color:deepskyblue;
    content:'#';
}

main .wall .post p.postfooter{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top:1rem;
}

main .wall .post p.postfooter a,
main .wall .post p.postfooter a i
{
    color:#888;
    transition: all 200ms linear;
}

main .wall .post p.postfooter a{
    padding:.3rem .6rem;
    border-radius: 1rem;
}

main .wall .post p.postfooter a i {
    font-size: 1.1rem;
}


main .wall .post p.postfooter a.comment:hover,
main .wall .post p.postfooter a.comment:hover i
 {
    color:lime;
    background-color:rgba(0, 255, 0, .05);
}

main .wall .post p.postfooter a.like:hover,
main .wall .post p.postfooter a.like:hover i
 {
    color:rgb(235, 75, 135);
    background-color:rgba(235, 75, 135, .05);
}

main .wall .post p.postfooter a.stats:hover,
main .wall .post p.postfooter a.stats:hover i
 {
    color:yellow;
    background-color:rgba(255, 255, 0, .05);
}

main .wall .post p.postfooter a.bookmark:hover,
main .wall .post p.postfooter a.bookmark:hover i
 {
    color:deepskyblue;
    background-color:rgba(0, 190, 255, .05);
}

main .wall .post p.postfooter a.like.liked,
main .wall .post p.postfooter a.like.liked i
{
    color:rgb(235, 75, 135);
}

main .wall .post p.postfooter a.like.liked i::before {
    content : "\f004";
}



main .wall .post p.postfooter a.bookmark.marked,
main .wall .post p.postfooter a.bookmark.marked i
{
    color:deepskyblue;
}

main .wall .post p.postfooter a.bookmark.marked i::before{
    content: "\f02e";
}

main .wall .post .answer {
    display: flex;
    flex-direction: column;
}


main .wall .post .answer textarea{ 
    outline: none;
    border:none;
    background: none;
    color:white;
    font-size: 1.4rem;
    padding:.2rem .5rem;
    width: 100%;
    resize: none;
}

main .wall .post .answer button {
    display:inline-block;
    border:none;
    outline: none;
    padding:.5rem 1rem;
    color:white;
    background:deepskyblue;
    border-radius: 2rem;
    font-size: 1rem;
    margin-right: 0;
    margin-left: auto;

}

main .search{
    display:flex;
    align-items: center;
    border-bottom: solid 1px #333;
    padding:1rem .5rem;
    gap:.5rem;
}

main .search i{
    font-size: 1.6rem;
}

main .search input{
    outline: none;
    border:none;
    background: none;
    color:white;
    font-size: 1rem;
    padding:.2rem .5rem;
    width: 100%;
}

main .search .searchbox{
    display: flex;
    border:solid 1px #333;
    border-radius: 2rem;
    padding:.5rem .5rem;
    flex:1;
}


.rightbar{
    padding:1rem;
    width: 500px;
}

.rightbar .about {
    border:solid 1px #333;
    border-radius: 1rem;
    padding:1rem;
}

.rightbar .about h3 {
    margin-bottom:1rem;
    font-weight:900;
}

.rightbar .about p {
    line-height: 130%;
    margin-bottom:1rem;
}

.rightbar .about a {
    display:inline-block;
    padding:1rem 2rem;
    color:white;
    background:deepskyblue;
    border-radius: 2rem;
    font-size: 1.2rem;
}

.generalfooter {
    padding:1rem;
    line-height: 150%;
}

.generalfooter a,
.generalfooter span
{
    display: inline-block;
    color:#666;
    font-size: .9rem;
    padding:0rem .5rem;
}

.generalfooter a:hover {
    text-decoration: underline;
}
