.blogIntro{
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 12rem;
    
}
.blogIntro h2{
    font-weight: 400;
    font-size: 2.2rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
    
}
.recentHeader{
    max-width: 600px;
    margin: auto;
    border-bottom: .5px solid rgb(177, 177, 177);
    margin-bottom: 4rem;
    margin-top: 7rem;
    position: relative;
    top: 10rem;
}
.recentHeader h3{
    font-weight: 200;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: var(--color);
    padding-bottom: 1rem;
    text-align: center;
}
/* Controller for the Literature page */
.post-container{
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3rem;
    margin-bottom: 10rem;
    gap: 3rem;
    position: relative;
    top: 9rem;
 
}

.post-container a{
   
    text-decoration: none;
    
    
}
.post-preview{
    background: var(--navbackground);
    width: 350px;
    
    display: flex;
    flex-direction: column;
    transition: 1s;
    border-radius: .5rem;
    padding-bottom: 2rem;
   
}
.post-preview:hover{
    box-shadow: var(--box-shadow);
    transition: 1s;
    border: var( --border);
}
.post-preview h2{ 
    color: var(--color);
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    padding-bottom: 1.5rem;
    
}
.post-preview p{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 400;
    font-size: .9rem;  
    width: 100%;
    text-align: center;
    color: var(--color);
    
}

.post-preview img{
   
    width: 100%;
    margin-bottom: 2rem;
    transition: .7s;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
}
.post-preview img:hover{
    transform: scale(1.001);
    transition: .7s;
}

@media screen and (max-width: 900px){
    .blogIntro{
        top: 7rem;
    }
    .blogIntro h2{
        font-size: 1.5rem;
    }
    .post-container{
        top: 5rem;
    }
    .post-preview{
       width: 350px;
    }
    .post-preview h2{
        font-size: 1.05rem;
    }
    .post-preview p{
        font-size: .9rem;
    }
    .recentHeader{
        width: 350px;
        top: 5rem;
        
    }

}