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

body{
    font-family: 'Poppins', sans-serif;
    background-color: #080808 ;
    z-index: 0;
}

::-webkit-scrollbar {
    width: 6px; /* Width of the vertical scrollbar */
    height: 6px; /* Height of the horizontal scrollbar */
}

::-webkit-scrollbar-thumb {
    background-color: #1a361b;
    border-radius: 10px;
    border: 2px solid #080808;
}

/* Search bar */
.search-bar{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    z-index: 1;
    background: #08080843;
    width: 100%;
    height: 90px;
    position: fixed;
    border-bottom: 1px solid #74747491;
    padding-bottom: 15px;
    backdrop-filter: blur(100px);
}

.search-bar .profile-pic{
    width: 35px;
    height: auto;
    border-radius: 50%;
    margin-left: 10px;
    margin-top: -25px;
    filter: invert(0);
    position: relative;
    display: block;
}


.search-bar input{
    width: 80%;
    height: 40px;
    border: none;
    margin-top: -25px;
    border-radius: 20px;
    padding-left: 20px;
    background: #080808;
    color: #fff;
    font-size: 16px;
    outline: none;
    border: 1px solid #74747491;
}

.search-bar img{
    display: flex;
    align-items: center;
    width: 25px;
    height: auto;
    filter: invert(0.5);
    position: absolute;
    margin-top: -25px;
    right: 5%;
    cursor: pointer;
}

.search-bar .Trending {
    display: inline-block;
    color: white;
    position: fixed;
    bottom: 5px;
    left: 250px;
    padding-bottom: 6px;
    cursor: pointer;
}

.Trending::before {
    content: "";
    position: absolute;
    bottom: -5px; 
    left: 0;
    width: 100%;
    height: 4px;
    background: #1d9bf0;
    border-radius: 10px;
  }

/* New Post Icon */
.new-post{
    display: flex;
    justify-content: center;
    cursor: pointer;
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 2;
    background: rgb(120, 147, 217);
    padding: 10px 12px;
    border-radius: 20px;
}

.new-post img{
    width: 25px;
    filter: invert(1);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Header-Mobile */
.header-mobile{
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-mobile p{
    color: white;
    padding-left: 50%;
}

.header-mobile .create-post-mobile{
    position: fixed;
    /* background: #080808; */
    height: 45px;
    z-index: 1;
    width: 100%;
    border-bottom:2px solid #74747491;
    display: flex;
    align-items: center;
    margin-top: -70px;
}

.header-mobile .create-post-mobile img{
    width: 28px;
    margin-right: 30px;
    filter: invert(1);
}


/* Blog-card */
.master-blog-card{
    padding: 8px;
    padding-top: 85px;
    padding-bottom: 55px;
}

.blog-card{
    text-align: start;
    border-bottom: 1px solid #74747491;
    cursor: pointer;
    overflow: hidden;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    transition: transform 0.2s ease-in-out;   
    text-decoration: none;
    color: #fff;
    padding: 10px;
}


.blog-card-header{
    display: flex;
    justify-content: start;
    margin-bottom: 20px;
    padding-top: 5px;
}

.blog-card .user-logo{
    width: 40px;
    height: auto;
    border: none;
    border-radius: 50%;
    margin-right: 10px;
}

.blog-card-header-text{
    font-size: small;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5px;
}

.blog-card-body img{
    width: 80%;
    height: auto;
    object-fit: cover;
    margin-top: 5px;
    margin-bottom: -10px;
    border-radius: 1rem;
}

.blog-card-footer{
    display: flex;
    margin-top: 20px;
    color: #747474;
}

.blog-card-footer img{
    width: 25px;
    filter: invert(0.5);
}

.blog-card-footer-left{
    display: flex;
    align-items: center;
}

.blog-card-footer-left p{
    margin-left: 2px;
    font-size: medium;
}

.blog-card-footer-right{
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.blog-card-footer-right p{
    margin-left: 6px;
    font-size: medium;
}

/* SideBar */
.sidebar-pc {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #080808;
    border-right: 1px solid #74747491;
    width: 200px;
    height: 100vh;
    z-index: 10; ;
}

.sidebar-pc .ping-logo img{
    width: 135px;
    height: auto;
    margin-bottom: 20px;
    margin-top: 5px;
    filter: invert(0);
    margin-left: -8px;
}

.sidebar-pc .option-ul{
    display: flex;
    align-items: center;
    height: 50px;
    gap: 10px;
    padding-left: 8px;
}

.sidebar-pc ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    margin-left: 15px;
    margin-top: 15px;
}

.sidebar-pc ul a{
    text-decoration: none;
    color: #fff;
}

.sidebar-pc img{
    width: 20px;
    filter: invert(1);
}

.sidebar{
    position: fixed;
    bottom: 0;
    z-index: 2;
    width: 100%;
    height: 54px;
    border-top: 2px solid #74747491;
    background: #080808;
}

.sidebar ul{
    list-style: none;
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.sidebar ul .option-ul img{
    width: 28px;
    filter: invert(1);
}

@media (min-width: 729px){
    .blog-card-body img{
        height: auto;
        width: 50%;
    }

    .sidebar{
        display: none;
    }

    .sidebar-pc{
        display: block;
    }

    .master-blog-card{
        margin-left: 200px;
    }

    .create-post-mobile{
        display: none;
    }
    
    .search-bar{
        padding-left: 180px;
    }

    .search-bar .profile-pic{
        display: none;
    }

    .search-bar input{
        width: 90%;
    }

    .search-bar img{
        right: 4%;
        
    }
}


@media (max-width: 729px){
    .search-bar .Trending{
        left: 20px;
    }
}