*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
body{
    background-color: #18191a;
    font-family: Arial, Helvetica, sans-serif;
}




.header{
    width: 100%;
    height: 50px;
    margin-bottom: 2px;
    padding-left: 18px;
    padding-right: 18px;
    background-color: #242526;
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}
.hesec1{
    width: 20%;
    height: 100%;
    display: flex;
    gap: 5px;
    padding: 5px;
    position: relative;
}
#searchbox{
    width: 75%;
    border: 0px;
    font-size: 16px;
    padding-left: 45px;
    color: #b8bbbf;
    background-color: #3a3b3c;
    border-radius: 50px;
    transition: 0.3s;
}
#searchicon{
    position: absolute;
    top: 50%;
    left: 70px;
    transform: translateY(-50%);
    color: #b8bbbf;
    font-size: 15px;
    transition: 0.3s;
}
#searchbox:focus{
    padding-left: 10px;
}
#searchbox:focus + #searchicon{
    left: 0px;
    opacity: 0;
}

.hesec2{
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.nav{
    width: 18%;
    height: 88%;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav:hover{
    background-color: #3a3b3c;
    border-radius: 5px;
}
.nav:focus{
    border-bottom: 5px solid #0866ff;
}
.nav:focus i{
    color: #0866ff;
}
.nav i{
    font-size: 20px;
    color: #c8c8c8;
}
.hesec3{
    width: 20%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 3px;
    
}
.profile{
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #3a3b3c;
    display: flex;
    justify-content: center;
    align-items: center;
}
.profile i{
    font-size: 20px;
    color: #e7e9ed;
}
.profile:hover{
    background-color: #4e4f50;
}
.profile:focus{
    background-color: #394d62;
}
.profile:focus i{
    color: #0866ff;
}









.mainsec{
    width: 100%;
    height: 100%;
    padding-left: 18px;
    padding-right: 18px;
    display: flex;
    justify-content: space-between;
}

.quicklinks{
    position: sticky;
    top: 50px;
    z-index: 10;
    max-height: 850px;
    overflow-y: auto;
}

.leftsec{
    width: 20%;
    padding-top: 15px;
}
.centersec{
    width: 40%;
    
    display: flex;
    flex-direction: column;
    align-items: center;
}
.quickmsg{
    position: sticky;
    top: 50px;
    z-index: 10;
    max-height: 850px;
    overflow-y: auto;
}
.rightsec{
    width: 20%;
}

.acpost{
    margin-top: 10px;
    padding-bottom: 10px;
    width: 98%;
    height: fit-content;
    border-radius: 15px;
    background-color: #242526;
    
}
.postinput{
    display: flex;
    justify-content: flex-start;
    gap: 9px;
    margin: 13px;
    
}
.profile2{
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #3a3b3c;
    display: flex;
    justify-content: center;
    align-items: center;
}
.profile2:hover{
    background-color: #4e4f50;
}
.profile2 i{
    font-size: 20px;
    color: #e7e9ed;
}
.inputbut{
    width: 90%;
    height: 44px;
    border-radius: 30px;
    border: 0px;
    background-color: #3a3b3c;
    font-size: 16px;
    color: #b0b3b7;
    text-align: left;
    padding-left: 10px;
}
.inputbut:hover{
    cursor: pointer;
    background-color: #4e4f50;
}
.quickacc{
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 9px;
    margin-left: 30px;
    margin-right: 30px;
}
.quick{
    flex-grow: 1;
    font-size: 21px;
    text-decoration: none;
    color: #b8bbbf;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding-top: 10px;
    padding-bottom: 10px;   
}
.quick:hover{
    cursor: pointer;
    background-color: #3a3b3c;
}
.a1 i{
    color:#f23e5c;
}
.a2 i{
    color:#58c472;
}
.a3 i{
    color:#f8c03e;
}
.posts{
    width: 98%;
    height: fit-content;
    margin-top: 16px;
    background-color: #242526;
    border-radius: 15px;
}
.proinfo{
    margin: 13px 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.caption{
    margin: 13px 17px;
    text-align: left;
}
.postpic{
    width: 100%;
    height: 620px;
    max-height: 680px;
    margin-bottom: 13px;
}
      
.option{
    gap: 2px;
}
.option i{
    font-size: 25px;
    color: #b8bbbf;
    padding: 6px 7px;
    border-radius: 50%;            
}
.option i:hover{
    background-color: #3a3b3c;
    cursor: pointer;
}
.author{
    display: flex;
    gap: 5px;
}
.infotext h3{
    font-size: 16px;
    color: #e4e6eb;
}
.infotext a{
    text-decoration: none;
    font-size: 13px;
    color: #b0b3b8;
}
.caption p{
    color: #e4e6eb;
}
.postpic img{
    width: 100%;
    height: 100%;
}
.postimg{
    object-fit: cover;
}  
.engag{
    margin: 13px 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.reacicon{
    position: relative;
}
.reacicon i{
    font-size: 18px;
}
#like{
    color:#0777f7;
    position: absolute;
    left: 0px;
    z-index: 2;
}
#love{
    color: #fc484e;
    position: absolute;
    left: 13px;
    z-index: 1;
}
#haha{
    color: #fbda77;
    position: absolute;
    left: 26px;
}
#count{
    margin-left: 50px;
}
.reacicon a{
    text-decoration: none;
    color: #b0b3b8;
}
.comenshar a{
    text-decoration: none;
    color: #b0b3b8;
}
@media all and (max-width:430px){
    .engag{
        margin: 13px 12px;
    } 
    .reacicon a{
        font-size: 15px;
    }
    .comenshar a{
        font-size: 15px;
    }
}
.reaction{
    margin: 13px 17px;
    display: flex;
    justify-content: space-between;
}
.rec{
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 5px 0px;
    text-decoration: none;
    width: fit-content;
    font-size: 23px;
    color: #b8bbbf;
    transition: 0.2s;
    border-radius: 7px;
}
.rec:hover{
    background-color: #3a3b3c;
    cursor: pointer;
}
.recsec.active{
    color: #1c7bf7;
}
.recsec2.active{
    color: #1c7bf7;
}
.rec p{
    font-size: 18px;
}








.left{
    width: 100%;
    height: 60px;
    padding-left: 9px;
    border-radius: 8px;
    display: flex;
    justify-content: flex-start;
    gap: 9px;
    align-items: center;
}
.left:hover{
    background-color: #303031;
    cursor: pointer;
}
.picl{
    width: 10%;
    text-align: left;
}
.textl{
    width: 90%;
    text-align: left;
}
.picl i{
    font-size: 25px;
}
.picl img{
    border-radius: 5px;
}
.textl p{
    font-size: 16px;
    color: #e4e6eb;
    font-weight: bold;
}
#hidden{
    display: none;
}
.sepa{
    margin-top: 10px;
    margin-bottom: 10px;
}

.rindex{
    padding-left: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

.htext{
    font-size: 18px;
    font-weight: bold;
    color: #b8bbbf;
}
.rnav i{
    font-size: 18px;
    color: #b8bbbf;
    padding: 6px 7px;
    border-radius: 50%;            
}
.rnav i:hover{
    background-color: #3a3b3c;
    cursor: pointer;
}



.contacts{
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
    border-radius: 8px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
}
.contacts:hover{
    background-color: #303031;
    cursor: pointer;
}
.pp{
    width: 10%;
    text-align: left;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
.pp img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.pp::after{
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius:50%;
    background-color: #46ab5e;
}

.coname{
    width: 90%;
    text-align: left;
}
.coname p{
    font-size: 16px;
    color: #e4e6eb;
    font-weight: bold;
}
