.post{
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}

.post .post-title{
    text-align: center;
}

.post .post-time{
    font-size: 0.8em;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    width: 800px;
    max-width: 800px;
    margin: 10px 0px;
}

.post .post-content{
    width: 800px;
    max-width: 800px;
}

.post .post-image{
    width: 100%;
    display: flex;
    justify-content: center;
}
.post .post-image .image-container img{
    max-width: 100%;
    border-radius: 5px;
}
.post .post-image .image-container label{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    font-size: 0.75em;
    text-align: right;
}

.post .inline-image{
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: 200px;
    margin: 20px;
}
.post .inline-image img{
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 5px;
}
.post .inline-image label{
    font-size: 0.75em;
}
.post .inline-image.inline-left{
    float: left;
}
.post .inline-image.inline-right{
    float: right;
    text-align: right;
}

.post .post-author{
    width: 800px;
    max-width: 800px;
}
.post .post-author .author-signature{
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 10px;
}
.post .post-author .author-signature .sig-profilepic{
    height: 50px;
    width: 50px;
    border-radius: 50%;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-right: 10px;
}
.post .post-author .author-signature .author-info{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.post .post-author .author-signature .author-info .sig-authorname{
    font-size: 1.25em;
}
.post .post-author .author-signature .author-info .sig-title{
    font-size: 0.9em;
}

.post .share{
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-end;
    width: 800px;
    max-width: 800px;
}

.post .share .cta{
    margin-bottom: 10px;
    margin-top: 20px;
    font-size: 1.5em;
    font-weight: bold;
}

.post .share .share-links{
    display: flex;
}

.post .share .share-links .x-share,
.post .share .share-links .fb-share,
.post .share .share-links .bsky-share{
    position: relative;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-right: 20px;
    transition: 0.3s;
}
.post .share .share-links .x-share:hover,
.post .share .share-links .fb-share:hover,
.post .share .share-links .bsky-share:hover{
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
}
.post .share .share-links .x-share{
    background-image: url('/assets/x.png');
}
.post .share .share-links .fb-share{
    background-image: url('/assets/fb.png');
}
.post .share .share-links .bsky-share{
    background-image: url('/assets/bluesky.png');
}
.post .share .share-links div:last-child{
    margin-right: 0px;
}
.post .share .share-links .x-share a,
.post .share .share-links .fb-share a,
.post .share .share-links .bsky-share a{
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
}

.post-suggestions{
    max-width: 800px;
    width: 800px;
    display: flex;
    justify-content: space-around;
    padding: 10px;
}
.post-suggestions .post-suggestion{
    width: 30%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}
.post-suggestions .post-suggestion:hover{
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
}
.post-suggestions .post-suggestion .post-title{
    display: inline-block;
    font-size: 1em;
	font-weight: bold;
	margin-bottom: 5px;
	letter-spacing: .05em;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    text-align: center;
    margin: 10px;
}
.post-suggestions-title,
.comments-title{
    margin-top: 20px;
}

.comment-form{
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 800px;
    max-width: 800px;
}
.comment-form #commentBox{
    width: 100%;
    height: 60px;
    margin-bottom: 10px;
    resize: none;
}

.comments{
    max-width: 800px;
    width: 800px;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.interaction-buttons{
    width: 800px;
    max-width: 800px;
    border-top: 1px solid #c3c3c3;
    border-bottom: 1px solid #c3c3c3;
    margin: 20px 10px;
    padding: 10px 0px;
    display: flex;
    justify-content: space-evenly;
}

.interaction-buttons #likeButton,
.interaction-buttons #commentsButton,
.interaction-buttons #shareButton{
    min-width: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    border: 1px solid #c3c3c3;
    background-color: white;
    padding: 5px 20px;
    transition: background-color 0.3s;
    cursor: pointer;
    text-decoration: none;
}
.interaction-buttons #likeButton:hover,
.interaction-buttons #commentsButton:hover,
.interaction-buttons #shareButton:hover{
    background-color: #d9534f;
    color: white;
}
.interaction-buttons #likeButton:hover img,
.interaction-buttons #commentsButton:hover img,
.interaction-buttons #shareButton:hover img{
    filter: invert(1);
}

.interaction-buttons #likeButton img,
.interaction-buttons #commentsButton img,
.interaction-buttons #shareButton img{
    height: 20px;
    width: 20px;
}

.interaction-buttons .comment-count,
.interaction-buttons #likeCount{
    margin-left: 10px;
}

@media screen and (max-width: 840px) {
    .post .post-content,
    .post .post-author,
    .post .post-time,
    .post .share{
        width: 100%;
        max-width: 100%;
        padding: 0px 10px;
    }
    .post{
        padding: 10px;
    }
    .post-suggestions{
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: center;
    }
    .post-suggestions .post-suggestion{
        width: 100%;
        margin-bottom: 10px;
    }
    .comment-form,
    .comments,
    .interaction-buttons{
        width: 100%;
        max-width: 100%;
    }
}
