*{
    margin: 0;
    padding: 0;
    font-family: 'poppins' sans-serif;
    box-sizing: border-box;
}

bady 
{
    background: #f0f2f5;
    color: #5f5f5f;
}

a{
    text-decoration: none;
    color: #5f5f5f;
}


/* ------ Navbar Start ------ */
.navbar 
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 6px 6%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.logo img
{
    width: 30px;
    margin-right: 15px;
    display: block;
}

.navbar-center ul li 
{
    display: inline-block;
    list-style: none;
}

.navbar-center ul li a 
{
    display: flex;
    align-items: center;
    font-size: 14px;
    margin: 5px 8px;
    padding-right: 5px;
    position: relative;
}

.navbar-center ul li a::after 
{
    content: '';
    width: 0;
    height: 2px;
    background: #045be6;
    position: absolute;
    bottom: -15px;
    transition: width 0.3s;
}

.navbar-center ul li a:hover::after,
.navbar-center ul li a.active::after
{
    width: 100%;
}

.navbar-center ul li a img 
{
    width: 30px;
}

.nav-profile-img 
{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
    position: relative;
    cursor: pointer;
}

.online 
{
    position: relative;
}

.online::after 
{
    content: '';
    width: 7px;
    height: 7px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: absolute;
    right: 0;
    top: 0;
    background-color: #41db51;
}

.navbar-left 
{
    display: flex;
    align-items: center;
}

.search-box 
{
    background-color: #f0f2f5;
    width: 250px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.search-box img 
{
    width: 14px;
}

.search-box input 
{
    width: 100%;
    background: transparent;
    padding: 8px;
    outline: none;
    border: none;
}
/* ------ Navbar End ------ */

/* ----- Profile-menu-drop start ------ */
.profile-menu-wrap {
    position: absolute;
    top: 100%;
    right: 5%;
    width: 320px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.profile-menu-wrap.open-menu {
    max-height: 800px; /* Added 'px' */
}

.profile-menu {
    background-color: #222;
    color: #fff;
    padding: 20px;
    margin: 10px;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-info img {
    width: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.user-info h3 {
    font-weight: 500;
}

.user-info a {
    color: #c9dbf8;
    font-size: 13px;
}

.profile-menu hr {
    border: 0;
    height: 1px;
    width: 100%;
    background-color: #fff;
    margin: 15px 0 10px;
}

.profile-menu-link {
    display: flex;
    align-items: center;
    color: #fff;
    margin: 12px 0;
    font-size: 14px;
}

.profile-menu-link p {
    width: 100%;
}

.profile-menu-link img {
    width: 35px;
    border-radius: 50%;
    margin-right: 15px;
}
/* ----- Profile-menu-drop End ------ */



/* -----another profile when dropdown start in see aother profile -----*/
.another-profile .user-info 
{
    margin-top: 20px;
}
/* -----another profile when dropdown end in see aother profile -----*/

.container 
{
    padding: 20px 6%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* ----- left sidebar start ----- */
.left-sidebar 
{
    flex-basis: 25%;
    align-self: flex-start;
    position: sticky;
    top: 1px;
}

.sidebar-profile-box 
{
    background: #faf8f8;
}

.sidebar-profile-info 
{
    padding: 0 25px;
}

.sidebar-profile-info img 
{
    width: 100px;
    border-radius: 50%;
    height: 100px;
    background-color: #fff;
    padding: 4px;
    margin-top: -45px;
}

.sidebar-profile-info h1 
{
    font-size: 20px;
    font-weight: 600;
    color: #222;
}

.sidebar-profile-info h2 
{
    font-size: 14px;
    font-weight: 500;
    color: #777;
}

.sidebar-profile-info ul
{
    list-style: none;
    margin: 20px 0;
}

.sidebar-profile-info ul li 
{
    width: 100%;
    margin: 5px 0;
    font-size: 13px;
}

.sidebar-profile-info ul li span 
{
    float: right;
    color: #045be6;
}

.sidebar-profile-link 
{
    display: flex;
    align-items: center;
    border-top: 1px solid #ccc;
}

.sidebar-profile-link a 
{
    flex-basis: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    font-size: 13px;
    border-left: 1px solid #ccc;
}

.sidebar-profile-link a:first-child 
{
    border-left: 0;
}

.sidebar-profile-link a img 
{
    width: 20px;
    margin-right: 10px;
}

.sidebar-activity 
{
    background: #faf8f8;
    padding: 5px 25px;
    margin: 12px 0;
}

.sidebar-activity h3 
{
    color: #777;
    font-size: 14px;
    font-weight: 500;
    margin: 20px 0 10px;
}

.sidebar-activity a 
{
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    color: #888;
    margin: 3px 0;
}

.sidebar-activity a img 
{
    width: 20px;
    margin-right: 10px;
}

.discover-more-link 
{
    border-top: 1px solid #ccc;
    display: flex;
    justify-content: center;
}

.discover-more-link a 
{
    color: #045be6;
    margin: 10px 0;
}

#showMoreLink 
{
    display: none;
}
/* ----- left sidebar End -----  */ 


/* ----- main-content start ----- */
.main-content 
{
    flex-basis: 47%;
}

.create-post 
{
    background-color: #faf8f8;
}

.create-post-input 
{
    padding: 20px 25px 10px;
    display: flex;
    align-items: flex-start;
}

.create-post-input img 
{
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
}

.create-post-input textarea 
{
    width: 100%;
    border: 0;
    outline: 0;
    resize: none;
    background: transparent;
    margin-top: 8px;
}

.create-post-links 
{
    display: flex;
    align-items: flex-start;
}

.create-post-links li 
{
    list-style: none;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    flex-basis: 25%;
    height: 40px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.create-post-links li img 
{
    width: 15px;
    margin-right: 5px;
}

.create-post-links li:last-child 
{
    background: #045be6;
    color: #fff;
    border-top: 0;
    border-right: 0;
}

.sort-by 
{
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.sort-by hr 
{
    flex: 1;
    border: 0;
    height: 1px;
    background: #ccc;
}

.sort-by p 
{
    font-size: 13px;
    padding-left: 5px;
}

.sort-by p span 
{
    font-weight: 600;
    cursor: pointer;
}

.sort-by p span img 
{
    width: 12px;
    margin-left: 3px;
}

.post 
{
    background: #faf8f8;
    padding: 20px 25px 5px;
    margin: 5px 0 15px;
}

.post-author 
{
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.post-author img 
{
    width: 35px;
    border-radius: 50%;
    margin-right: 10px;
    margin-top: 5px;
}

.post-author h1 
{
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.post-author small 
{
    display: block;
    margin-bottom: -2px;
}

.post p 
{
    margin-bottom: 15px;
    font-size: 14px;
}

.post-stats 
{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px; 
}

.post-stats div 
{
    display: flex;
    align-items: center;
}

.post-stats img 
{
    width: 15px;
    margin-right: -5px;
}

.likied-users 
{
    margin-left: 10px;
}

.post-activity-link span 
{
    display: none;
}

.post-activity {
    display: flex;
    align-items: center;
    padding: 10px 0;
    font-weight: 500;
    width: 200px;
}

.post-activity div {
    display: flex;
    align-items: center;
}

.post-activity-link {
    cursor: pointer;
    transition: 0.2s;
    padding: 0.5rem;
    border-radius: 5px;
    position: relative;
}

.post-activity-link:hover {
    background-color: #e8e6e6;
}

.post-activity-link img {
    width: 18px;
    margin-right: 8px;
}

.post-activity-user-icon 
{
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

/* Hide the reaction icons by default */
.all-like-comment-share {
    border: 1px solid black;
    padding: 5px;
    border-radius: 30px;
    display: none; 
    position: absolute;
    top: -30px; 
    left: 0;
    background-color: white;
    z-index: 1000;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}


.all-like-comment-share i {
    padding: 5px;
    font-size: 1.3rem;
}

.show-icons {
    display: flex;
}

.all-like-comment-share {
    opacity: 0;
    visibility: hidden;
}

.show-icons {
    opacity: 1;
    visibility: visible;
}
/* ----- main-content End ----- */


/* ----- right sidebar start ----- */
.right-sidebar 
{
    flex-basis: 25%;
    align-self: flex-start;
    font-size: 1.1rem;
    position: sticky;
    top: 1px;
}

.sidebar-news 
{
    background: #faf8f8;
    padding: 10px 25px;
}

.info-icon 
{
    width: 15px;
    float: right;
    margin-top: 15px;
}

.sidebar-news h3
{
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 10px 0 30px;
}

.sidebar-news a 
{
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: -5px;
}

.sidebar-news span 
{
    font-size: 13px;
}

.sidebar-news .read-more-link 
{
    color: #045be6;
    font-weight: 500;
    margin: 20px 0 10px;
}

.sidebar-ad 
{
    background: #faf8f8;
    padding: 15px 25px;
    text-align: center;
    margin: 12px 0;
    font-size: 13px;
}

.sidebar-ad img 
{
    width: 60px;
    border-radius: 50%;
    height: 60px;
    margin: 4px;
}

.sidebar-ad small 
{
    float: right;
    font-weight: 500;
}

.sidebar-ad p 
{
    margin-top: 30px;
    margin-bottom: 10px;
}

.sidebar-ad b 
{
    display: block;
    font-weight: 500;
    margin-top: 13px;
}

.ad-link 
{
    display: inline-block;
    border: 1px solid #045be6;
    border-radius: 30px;
    padding: 5px 15px;
    color: #045be6;
    font-weight: 500;
    margin: 20px auto 10px;
}

.sidebar-useful-links 
{
    padding: 15px 25px;
    text-align: center;
}

.sidebar-useful-links a 
{
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
}

.copyright-message 
{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-top: 10px;
    font-weight: 500;
}

.copyright-message img 
{
    width: 18px;
    margin-right: 4px;
}
/* ----- right sidebar End ----- */





/* ============ Profile.HTML Start ============ */

/* ---- profile main start ---- */
.profile-main
{
    flex-basis: 73%;
}

.profile-container 
{
    background-color: #faf8f8;
}

.profile-container-inner 
{
    padding: 0 4% 10px;
}

.profile-pic 
{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-top: -75px;
    padding: 5px;
    background-color: #FFF;
}

.profile-container h1 
{
    font-size: 28px;
    font-weight: 600;
    color: #222;
}

.profile-container b 
{
    font-weight: 500;
}

.profile-container p 
{
    margin-top: 5px;
}

.profile-container p a 
{
    color: #045be6;
}

.mutual-connection 
{
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.mutual-connection img 
{
    width: 30px;
    border-radius: 50%;
    margin: 5px;
}

.profile-button 
{
    margin: 20px 0;
}

.profile-button a 
{
    display: inline-flex;
    align-items: center;
    background-color: #e4e6eb;
    padding: 6px 15px;
    border-radius: 4px;
    margin-right: 10px;
}

.profile-button a img 
{
    width: 18px;
    margin-right: 5px;
}

.profile-button .primery-btn 
{
    background-color: #045be6;
    color: #fff;
}

.profile-container-btn 
{
    display: flex;
    column-gap: 10px;
    margin-left: 34px;
    padding-bottom: 10px;
}

.profile-btn 
{
    background-color: #ebf3fb;
    padding: 5px 20px;
    border: 2px solid #0a66c2;
    border-radius: 20px;
}

.profile-btn:first-child 
{
    background-color: #0a66c2;
    color: #fff;
}

.profile-description 
{
    background: #faf8f8;
    padding: 20px 4% 30px;
    margin: 8px 0 8px;
}

.profile-description h2 
{
    color: #333;
    margin: 10px 0 20px;
    font-weight: 600;
}

.see-more-link 
{
    display: block;
    text-align: right;
    font-size: 15px;
}

.profile-desc-row 
{
    display: flex;
    align-items: flex-start;
    margin: 20px 0;
}

.profile-desc-row img 
{
    width: 50px;
    margin-right: 25px;
    margin-top: 5px;
}

.profile-desc-row div 
{
    width: 100%;
}

.profile-desc-row h3 
{
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.profile-desc-row b 
{
    display: block;
    font-weight: 500;
    font-size: 15px;
}

.profile-desc-row p 
{
    margin-top: 15px;
}

.profile-desc-row hr 
{
    border: 0;
    border-bottom: 1px solid #999;
    margin-top: 10px;
}

.experience-link 
{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    font-weight: 500;
}

.experience-link img 
{
    width: 15px;
    margin-left: 10px;
}

.skills-btn 
{
    display: inline-block;
    margin: 10px 5px;
    padding: 6px 18px;
    border: 1px solid #777;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
}

.language-btn 
{
    display: inline-block;
    margin: 10px 5px;
    padding: 6px 18px;
    background: #e4e6eb;
    font-size: 12px;
    font-weight: 500;
}
/* ---- profile main End ----  */


/* ---- Profile sidebar start ---- */
.profile-sidebar
{
    flex-basis: 25%;
    align-self: flex-start;
    position: sticky;
    top: 1px;
}

.profile-sidebar .sidebar-ad 
{
    margin: 0;
}

.sidebar-people 
{
    background: #faf8f8;
    padding: 15px 25px;
    margin: 12px 0;
    font-size: 12px;
}

.sidebar-people h3 
{
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0 20px;
}

.sidebar-people-row 
{
    display: flex;
    align-items: flex-start;
    margin: 6px 0;
}

.sidebar-people-row img 
{
    width: 40px;
    border-radius: 50%;
    margin-right: 8px;
    margin-top: 5px;
}

.sidebar-people-row h2 
{
    font-weight: 500;
    font-size: 16px;
}

.sidebar-people-row a 
{
    display: inline-block;
    margin: 10px;
    padding: 5px 25px;
    border: 1px solid #5f5f5f;
    border-radius: 30px;
    font-weight: 500;
}
/* ---- Profile sidebar End ---- */

.profile-footer 
{
    padding: 0 6% 30px;
}

.profile-footer .sidebar-useful-links 
{
    text-align: left;
    padding: 0;
}

.profile-footer .copyright-message
{
    justify-content: flex-start;
}

/* ============ Profile.HTML End ============ */