@media screen and (max-width: 768px) {
    .blog-container {
        margin: 1.5em auto;
    }

    .blog-title {
        margin-bottom: 1em;
    }

    .post-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-content {
        font-size: 1.1em;
    }

    .post-actions .btn-upvote, 
    .post-actions .btn-downvote, 
    .post-actions .btn-comment,
    .post-actions .btn-delete, 
    #add-post {
        flex: 0 0 auto;
        font-size: 1.1em;
    }

    .comment-vote-text, .vote-count{
        font-size: 1.1em;
    }

    #add-post {
        width: 8em;
        font-size: 1.3em;
    }

    #message {
        padding-top: 1.5em;
        padding-bottom: 2em;
    }
    
    #message p {
        font-size: 1.1em;
    }
    
    .result-title, .blog-title {
        font-size: 3em;
    }
}

@media screen and (max-width: 520px) {

    .blog-container {
        width: 85%;
        margin: 1em auto;
    }

    .post-title {
        font-size: 1.3em;
    }

    .post-author {
        font-size: 1.1em;
    }

    .post-content {
        font-size: 1.2em;
    }

    .post-actions .btn-upvote, 
    .post-actions .btn-downvote, 
    .post-actions .btn-comment,
    .post-actions .btn-delete, 
    #add-post {
        font-size: 1.2em;
    }

    .comment-vote-text, .vote-count {
        font-size: 1.2em;
    }

    #add-post {
        width: 8em;
        font-size: 1.4em;
    }

    #message {
        padding-top: 1.5em;
        padding-bottom: 3em;
    }
    
    #message p {
        font-size: 1.2em;
    }
    
    .result-title, .blog-title {
        font-size: 3.5em;
    }
}