:root{
    --primary:hsl(0,0%,100%);
    --secondary:hsl(0,0%,98%);
    --border:hsl(0,0%,86%);

    --text-dark:hsl(0,0%,15%);
    --text-light:hsl(0,0%,60%);

    --link:hsl(204,100%,48%);
}
ul li{
    list-style:none;
}
body{
    background:var(--secondary);
    min-height:100vh;
    display:flex;
    flex-direction:column;
    overflow-y:auto;
}
.global-header{
    width:100%;
    height: 55px;
    background:var(--primary);
    display:flex;
    justify-content:center;
    position:fixed;
    top:0;
    left:0;
    z-index:2;
}
.global-header::after{
    content:"";
    position:absolute;
    bottom:0;
    width:100%;
    height:1px;
    background:var(--border);
}
.global-header__content{
    display:flex;
    padding:0 20px;
    width:100%;
    max-width:975px;
    align-items:center;
    justify-content:space-between;
}
.header__home{
    margin-top:5px;
}
button{
    border:none;
}
img{
    max-width:100%;
}

.global-search{
    display:flex;
    width:216px;
    height:28px;
    align-items:center;
    position:relative;
}
.global-search svg{
    width:12px;
    height:12px;
    position:absolute;
    left:8px;
}
.global-search input{
    max-width:100%;
    height:100%;
    padding:4px 10px 4px 28px;
    border:1px solid var(--border);
    outline:none;
    font-size:12px;
    font-weight:400;
    color:var(--text-light);
    overflow:hidden;
    width:265px;
    height:36px;
    white-space:nowrap;
    text-overflow:ellipsis;
    background:rgb(239,239,239);
    border-radius:8px;
}
.global-search input:focus{
    color:var(--text-dark);
}
.global-header__content__buttons{
    display:flex;
    align-items:center;
    gap:16px;
}
.profile--container{
    width:24px;
    height:24px;
    border-radius:50%;
    overflow:hidden;
    position:relative;
}

button.profile-button {
    outline: none;
    border-radius: 50%;
}
.menu-container{
    position:absolute;
    background:#fff;
    padding:0 0.3rem;
    top:153%;
    right: -106px;
    width:288px;
    border-radius:10px;
    box-shadow:2px 2px 2px rgb(0 0 0 /20%);
    
}
.menu-bar{
    padding:7px;
}
.border-separator{
    border-top:1px solid #ced0c4;
}
.menu_me_wrap a{
    display:flex;
    gap:10px;
    padding:8px;
    border-radius:10px;
    color:#444;
}
.menu_me_wrap:hover{
    background-color: rgba(0,0,0,0.1);
}
.search-result ul {
    background:rgba(255,255,255,1);
    padding:12px 0 0 0;
    width:278px;
    height:217px;
    overflow-y:auto;
    border-radius:6px;
    box-shadow:0 0 5px 1px rgba(0,0,0,0.0975);
}
.mention-individuals{
    padding:10px;
}
.mention-individuals:hover{
    background:rgba(250,250,250,1);
}
.mention-link{
    display:flex;
    align-items:center;
}
.mention-individuals img{
    width:48px;
    height:48px;
    border-radius:50%;
}
.mention-name{
    margin-left:5px;
    font-weight:400;
    line-height:18px;
    font-size:15px;
    color:rgba(38,38,38,1);
}
.no-results{
    font-size:17px;
    font-weight: 600;
    color:rgba(38,38,38,1);
    text-align: center;
}
.mainContainer{
    margin-top:54px;
    display:flex;
    flex:1;
    margin-bottom:0;
}
.contentContainer{
    padding:30px 0 24px;
    margin:0 auto;
    width:100%;
    max-width:935px;
    display:flex;
}
.contentContainer .content{
    margin:unset;
    gap:24px;
    width:100%;
    max-width:614px;
    display:flex;
    flex-direction:column;
}
.side-menu{
    display:flex;
    max-width:290px;
    width:290px;
    position:fixed;
    flex-direction:column;
    left:50%;
    top:84px;
    transform:translateX(calc(-50% + 322px));
    -webkit-transform:translateX(calc(-50% + 322px));
    -moz-transform:translateX(calc(-50% + 322px));
    -ms-transform:translateX(calc(-50% + 322px));
    -o-transform:translateX(calc(-50% + 322px));
}
.side-menu__user-profile{
    display: flex;
    align-items: center;
    margin: 20px 0 22px;
}
.side-menu__user-avatar{
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}
.side-menu__user-info{
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    flex: 1;
    gap: 4px;
}
.side-menu__user-info a{
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: lowercase;
    max-width: 180px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.side-menu__user-info span{
    font-size: 14px;
    font-weight: 400;
    color:var(--text-light);
    max-width: 180px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.side-menu__user-button{
    background-color: transparent;
    border:none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color:var(--link);
    flex-shrink: 0;
}
.side-menu__suggestions-section{
    display:flex;
    flex-direction:column;
}

.side-menu__suggestions-header{
    display:flex;
    justify-content:space-between;
}

.side-menu__suggestions-header h2{
 font-size:14px;
    font-weight:500;
    color:var(--text-light);
}
.side-menu__suggestions-header button{
    background:transparent;
    border:none;
    cursor:pointer;
    font-size:12px;
    font-weight:500;
    color:var(--text-dark);
}
.side-menu__suggestions-content{
    display: flex;
    flex-direction: column;
    gap:16px;
    margin:16px 0 24px;
    padding-left: 4px;
}
.side-menu__suggestion{
    display: flex;
    align-items: center;
}
.user-avatar{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}
.side-menu__suggestion-info{
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    flex: 1;
    gap:2px;
}

.side-menu__suggestion-info a{
    font-size: 14px;
    font-weight: 500;
    color:var(--text-dark);
    max-width: 180px;
    text-transform:lowercase;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.side-menu__suggestion-info a:hover{
    text-decoration: underline;
}

.side-menu__suggestion-info span{
    font-size: 12px;
    font-weight: 400;
    color:var(--text-light);
    max-width: 180px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.side-menu__suggestion-button{
    background-color: transparent;
    border:none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color:var(--link);
    flex-shrink: 0;
}
.side-menu__footer{
    display: flex;
    flex-direction: column;
    gap:16px;
}
.side-menu__footer-links{
    display: flex;
}
.side-menu__footer-item{
    display: inline-block;
}
.side-menu__footer-item:not(:last-of-type)::after{
    content:"\00B7";
    margin:0 0.5px;
}
.side-menu__footer-item,
.side-menu__footer-copyright,
.side-menu__footer-link{
    font-size: 11px;
    font-weight: 400;
    color: var(--text-light); 
}

.side-menu__footer-copyright{
    text-transform: uppercase;
}
.stories{
    width:100%;
    background:#fff;
    padding:16px 0;
    border:1px solid var(--border);
    overflow:hidden;
    position:relative;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 11px;
    border-bottom-left-radius: 11px;
}
.stories__content{
    display:flex;
    overflow-x:auto;
    overflow-y:hidden;
    margin-bottom: -17px;
    gap:16px;
    padding:0 16px;
    padding-bottom: 8px;
    position:relative;
    scroll-behavior:smooth;
}
.story{
    background:transparent;
    border:none;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
}
.story__avatar{
    position:relative;
}
.story__border{
    width:64px;
    height:64px;
    stroke:red;
    fill:none;
    stroke-width:2;
}
.plus_icon{
    background:linear-gradient(to right,red,orange);
}
.story__picture{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:56px;
    height:56px;
    border-radius:50%;
    overflow:hidden;
}
.story__picture::after{
    content: "";
    position: absolute;
    top:0;
    left:0;
    bottom: 0;
    right: 0;
    border:1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}
.story__user{
    font-size:12px;
    font-weight:400;
    text-transform:lowercase;
    overflow:hidden;
    max-width:72px;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:var(--text-dark);
}
.stories__content::-webkit-scrollbar-track
{
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

.stories__content::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
}

.stories__content::-webkit-scrollbar-thumb
{
	border-radius: 10px;
    box-shadow:inset 0 0 6px rgba(0,0,0,.3) ;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #555;
}
.stories--button{
    width:24px;
    height: 24px;
    background-color: transparent;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    cursor: pointer;
    filter:drop-shadow(0px 0px 5px rgba(0,0,0,0.5));
    -webkit-filter:drop-shadow(0px 0px 5px rgba(0,0,0,0.5));
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    z-index: 1;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}
.stories__left-button{
    left: 10px;
}
.stories__right-button{
    right: 10px;
}

/* Posts */
.posts {
   gap:24px;
   display:flex;
    flex-direction:column;
    flex:1;
}
.post{
    border:1px solid var(--border);
    width:100%;
    display:flex;
    flex-direction:column;
    overflow:hidden;
}
.post__header{
    background:var(--primary);
    border-bottom:1px solid var(--border);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:16px;
}
.post__more-options{
    background:transparent;
    border:none;
    cursor:pointer;
}
.post__more-options svg{
    width: 40px;
    height: 40px;
    padding:5px;
}
.post__more-options svg:hover {
    background-color: rgba(224, 36, 94, 0.1) !important;
    border-radius: 9999px;
    color: #e33b6f !important;
    fill: #e33b6f !important;
}
.post__content{
    display:flex;
    position:relative;
}
.post__medias{
    display:flex;
    overflow-y:hidden;
    overflow-x:auto;
    width:100%;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    scrollbar-width:none;
}
.post__medias::-webkit-scrollbar{
    display:none;
}
.post__media{
    width:100%;
    flex:none;
    scroll-snap-align:start;
    scroll-snap-stop:always;
}
.post__footer{
    background:var(--primary);
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:0 4px;
}
.post__buttons{
    display:flex;
    position:relative;
}
.post__button{
    background:transparent;
    border:none;
    cursor:pointer;
    padding:8px;
}
.post__button--align-right{
    margin-left:auto;
}
.post__infos{
    display:flex;
    flex-direction:column;
    padding:0 8px;
    gap:4px;
}
span.comment-lists {
    font-size: 15px;
}
.post__likes,.post__description{
    display:flex;
}
.post__likes{
    align-items:center;
    gap:4px;
    font-size:15px;
}
.post__likes-avatar{
    width:20px;
    height:20px;
    border-radius:50%;
    overflow:hidden;
    position:relative;
}
.post__likes-avatar::after{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    border:1px solid var(--border);
    border-radius:50%;
}
.post__likes span,
.post__description span{
    font-size:15px;
    font-weight:400;
    color:var(--text-dark);
}
.post__likes a,
.post__description a{
    font-size:15px;
    font-weight:500;
    color:var(--text-dark);
    text-decoration:none;
}
.post__name--underline:hover{
    text-decoration:none;
}
.post__date-time{
    font-size:11px;
    font-weight:400;
    color:var(--text-light);
    text-transform:uppercase;
}
.postForm{
    display:flex;
    width:100%;
    align-items:center;
    justify-content:space-between;
}
.postForm svg{
    display:block;
    /* vertical-align:middle; */
}
.postForm input{
    font-size:15px;
    font-weight:400;
}
.flex-auto{
    flex:1 1 auto;
}
.p-1{
    padding:10px;
}
.ml-10{
    margin-left:10px;
} 
.border-none{
    border:none;
}
.bg-transparent{
    background:transparent;
}
.postForm button{
    color:rgba(0,149,3246,1);
    border:none;
    background:transparent;
    font-size:15px;
    padding:5px;
}
/*End of Posts  */

