@import url('main-print.css');

#hiddenForm, #visibleForm, .btn-upvote, .btn-downvote, .btn-comment, .btn-delete, #add-post {
    display: none;
}

.blog-container {
    width: 80%;
    margin: 2em auto;
    padding: 1em;
    border-radius: 0.5em;
}

#noComment {
    text-align: center;
}

.posts {
    display: flex;
    flex-direction: column;
}

.post {
    padding: 1em;
    border-radius: 0.5em;
    border: 1px solid #000;
    margin-bottom: 1.5em;
    cursor: pointer;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5em;
}

.post-title {
    font-size: 1.2em;
    color: #000;
    overflow-wrap: break-word; 
    word-wrap: break-word; 
    word-break: break-word;
}

.post-author {
    font-size: 0.9em;
    color: #000;
}

.post-content {
    margin: 0.5em 0;
    color: #000;
    line-height: 1.5em;
    overflow-wrap: break-word; 
    word-wrap: break-word; 
    word-break: break-word;
}

.post-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5em;
}

.vote-count {
    font-size: 1em;
    margin-top: 0.5em;
    color: #000;
}

.vote-count::before {
    content: 'Voti: ';
}

#message {
    text-align: center;
    padding-top: 3em;
    padding-bottom: 7em;
    margin: auto 0;
}

#message p {
    font-size: 1.2em;
    margin: 1em;
}

#message a {
    color: #000;
    text-decoration: none;
}

.result-title, .blog-title {
    margin-top: 2em;
    font-size: 3em;
    text-align: center;
    color: #000;
}
