@import url('https://fonts.googleapis.com/css2?family=Candal&family=Lora:ital,wght@0,400..700;1,400..700&family=Miniver&family=Noto+Sans+Georgian:wght@100..900&family=Noto+Serif+Display:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
    
}
body {
    padding: 0px;
    margin: 0px;
    height: 100%;
    
}

.page-wrapper{
    min-height: 100vh;
}

.content{
    display: flex;
    width: 90%;
    margin: 150px auto 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 3;
}
.content .main-content{
    width: 75%;
}

.content .sidebar{
    width: 25%;
}


.content .main-content .post {
    width: 95%;
    height: fit-content;
    background: rgb(255, 255, 255);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin: 20px auto;
    position: relative;
    
    color: rgb(43, 26, 26);
    /* padding: 1em; */
    
   
}

.content .main-content .post p {
    color: black;
    text-align: left;
    padding: 8px 25px;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    /* line-height: 3; */
    margin-top: 10px;
    font-weight: 400;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 3;
    /* font-size: 17px; */
    /* letter-spacing: -0.03em; */
}

.content .main-content .post em {
    text-align: left;
    margin-left: 25px;
    line-height: 2;
    font-size: 13px;
}

.content .main-content .sidebar{
    width: 30%;
}

.content .main-content .title{
    text-align: center;

}
.main-content .post .post-meta p{ 
    color: #0000009e;
    font-size: 0.8em;
}

.sidebar .popular-topics .topic{
    display: flex;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    margin-top: 15px;

}


.sidebar .popular-topics .topic .section-content{
    background-color: #e2d3d3;
    padding: 10px;
    
    
    
}
.sidebar .popular-topics .topic .section-content p{
    margin-top: 5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    font-size: 15px;
}

 .topic .section-content p a{
    color: black;
    
}

.sidebar .popular-topics .topic .section-image img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.sidebar .popular-topics .title{
    text-align: center;
    font-style: italic;
}
.sidebar .section-topics ul li a{
    color: black ; 
}
.sidebar .section-topics ul li a:hover{
    color: hsla(0, 0%, 0%, 0.651) ; 
}
.sidebar .section-topics ul li{
    color: black ;
    border-bottom: 1px solid  gray ;
}
/* BLOG POST IMAGES STYLING */
.main-content .post .post-image {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}
.main-content .post .post-image img{
    display: block;
    margin: 0 auto;
    width: 95%;
    height: 350px;
    object-fit: cover;
    border-radius: 5px;
    margin-top: 5px;
}
/* .main-content .post #img2 img {
    float: left;
    width: 49%;
    height: 226px;
    object-fit: cover;
    margin: 0 7px 0 25px;
    border-radius: 0;
} */

blockquote{
    background: #80e27e38;
    color: #333;
    margin: 8px 25px;
    padding: 1em;
    border-left: 2px solid gray;
    font-style: italic;
    box-shadow: 0 4px 10px 6px rgb(0 0 0 / 35%);
    border-radius: 3px;
}
    
/* RESPOSNIVE BLOG POST */
@media screen and (max-width:900px){
    
.content .main-content .title{
    font-size: 1.5em;
    line-height: 1.8;

}
 .content {
    flex-direction: column ;
    width: 100%;
    padding-top: 45px;
    margin: 0;
} 
.content .main-content{
    width: 100%;
}
.content .main-content .post{
    width: 99%;
} 
.content .main-content .post p {
    line-height: 2;
    padding: 8px 8px;
}
.main-content .post .post-image img{
    width: 96%;
    height: 240px;
    object-fit: cover;
    margin-top: 2px
}
.content .sidebar{
        width: 90%;
        margin: 0 auto;
}
.sidebar .popular-topics {
    margin-top: 0px;
}

.sidebar .section-topics{
    margin: 0 8px;
} 

.section-topics h2.title{
    text-align: center;
}
.section-topics h2.title::after{
        content: '';
        display: block;
        margin: -15px auto 0;
        background: #3cc826;
        height: 2px;
        width: 21%;
        border-radius: 2px;
        animation: underLineAfter 2s ease-out infinite alternate;
}
blockquote{
    font-size: 0.8em;
    padding: 0.7em;
    margin: 8px 8px;
}

.section-content {
    line-height: 1.5;
}
.sidebar .popular-topics .topic .section-image img {
    height: 160px;

}
}
