
.background-post {
    z-index: -40;
    position: fixed;
    width: 100%;
    opacity: 100%;
    bottom:-100px;
    opacity: 8%;
}

#post-container {
    display: flex;
    flex-direction: column;
    place-items: start;
    place-content: center;
    margin: 5% auto;
    width: 70vw;
    gap: 20px;
    background-color: white;
    padding: 35px;
    text-align: left;
    border-radius: 12px;
    margin-bottom: 150px;
 }

#post-container p, span {
    font-family: var(--mainFont);
} 

#post-container h3 {
    font-family: var(--supportFont);
}



.main-img-post{
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
}


.paragraph-container {
    display: flex;
    flex-direction:row;
    width: 100%;
    gap: 50px;
    text-align: start;
}

.paragraph-container:nth-child(even) {
    flex-direction:row-reverse;

}

.paragraph-container p{
   max-width: 100%; 
   margin-top: 20px;
   font-size: 18px;
   line-height: 1.6; 
   margin-bottom: 1.5em; 
   color: #333; 
}


.paragraph-container img {
    min-width: 50%;
    height: 400px;
    object-fit: cover;
    border-radius: 6px;

}

#title-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

 #title-container h3 {
    font-size: 32pt;
    color: var(--darkBlue);
    text-decoration: none;
 }

 .info{
    font-size: 16pt;
    font-weight: bold;
    color: grey;
    text-decoration: none;
 }

 .tags {
    display: flex;
    gap: 20px;
    height: 50px;
    place-items: center;
    place-content: start;
}

.tags p {
    height: 30px;
    margin: 0;
    background-color: var(--lightGreen);
    padding: 5px 15px 5px 15px;
    box-sizing: content-box;
    border-radius: 8px;
    font-family: var(--artisticFont)!important;
    color: white;
}



 /* Blog Post Media Query */

/* For hpd notebooks */
@media only screen and (min-width: 1040px) and (max-width: 1440px) { 
    


}

@media only screen and (min-width: 1040px) and (max-width: 1120px) { }

/* For tablets */
@media (max-width: 1039px) {

    .paragraph-container {
        display: flex;
        flex-direction:column;
        width: 100%;
        gap: 50px;
        text-align: start;
    }
    
    .paragraph-container:nth-child(even) {
        flex-direction:column;
    
    }
    
    .paragraph-container p{
       max-width: 100%; 
       margin-top: 20px;
    }
    
    
    .paragraph-container img {
        min-width: 50%;
        height: 400px;
        object-fit: cover;
        border-radius: 6px;
    
    }
 
}

@media (max-width: 800px) {
    #post-container {
        margin-top: 60px;
        width: 80vw;
        background-color: rgba(255, 255, 255, 0.5);
     }

}

/* For portrait-oriented tablets */
/* @media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) { } */

/* For tablets */
/* @media only screen and (min-width: 481px) and (max-width: 768px) { } */

/* For smartphones */
@media only screen and (max-width: 660px) { 
    #post-container {
        margin-top: 200px;
        width: 90vw;
        background-color: rgba(255, 255, 255, 0.5);
     }

     
    .paragraph-container img {
        min-width: 50%;
        height: 400px;
        object-fit: cover;
        border-radius: 6px;
    
    }

    .main-img-post{
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 8px;
    }

    #title-container h3 {
        font-size: 22pt;
        color: var(--darkBlue);
        text-decoration: none;
        margin-top: 90px;
    }

    .tags {
        flex-wrap: wrap;
    }


}
/* For mini smartphones */
@media only screen and (max-height: 700px) { }

/* For high-resolution (Retina) screens */
/* @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi) { } */
