/* progress-bar  */
#progress-container {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 9999;
    overflow: hidden;
}

#progress-bar {
    height: 5px;
    width: 0%;
    background: #ff5757;
    transition: width 0.1s ease-in-out;
}

/* Blog Content  */
.single-bg{
    background:url() 50% 50% no-repeat; 
        background-size: cover;
        background-position: center center;
        height: 40vh;
        position: relative;
        padding-top: 100px;
}

.single-post {
    position: relative;
    display: flex;
    padding: 50px 100px;
    gap: 20px;
    min-height: 100vh;
}

.sidebar {
    width: 20%;
    position: -webkit-sticky;
    position: sticky;
    top: 130px;
    height: 60vh;
}

.main-content {
    width: 60%;
}

.right-sidebar {
    width: 20%;
}

.sidebar h3{
    margin: 0;
    font-size: 20px;
}

.green-title{
    color: #ff5757;
}

.table-of-content a {
    text-decoration: none;
    color: #5e5e5e;
}

.table-of-content a:hover {
    color: #ff5757;
}

.font-bold{
    font-weight: 600;
}

.post-date{
    color: #5e5e5e;
}

.post-title{
    font-size: 30px;
    margin: 20px 0;
    line-height: 40px;
}

.author-img {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-img img {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    border: 4px solid #5e5e5e;
}

.post-author {
    font-size: 20px;
    color: #5e5e5e;
}

span.post-time {
    font-size: 15px;
}

.post-highlights {
    margin: 20px 0;
    font-size: 20px;
}

.blogpage-content{
    margin-top: 20px;
}

.post-content {
    color: #5e5e5e;
    line-height: 20px;
}

.table-of-content li {
    margin: 10px 0;
}

.ad-space {
    margin: 20px 0;
}

.ad-space img{
    width: 100%;
    height: 100%;
}

.subtitle {
    scroll-margin-top: 30vh;
    font-size: 20px;
    color: #5e5e5e;
}

.ad-title {
    font-size: 20px;
}

.article-name{
    font-size: 20px;
}

li.article-item {
    list-style-type: disc;
}

.article-list a{
    text-decoration: none;
    color: #5e5e5e;
}


.article-list a:hover{
    color: #ff5757;
}

.highlights p{
    margin:0;
}

.sidebar-m{
    display:none;
}


@media (max-width: 1300px) {
    .single-post {
    padding: 50px;
    }
}

@media (max-width: 1100px) {
    .single-post {
    padding: 50px 30px 0;
    }
}

@media (max-width: 990px) {
.single-post {
        display: grid;
    }

    .sidebar {
display:none;
}

.sidebar-m{
    display:block;
}


.main-content {
    order: 1;
    width: 100%;
}

.right-sidebar {
    width: 100%;
    order: 3;
}
}

