body {
    background-color: rgb(45,45,45);
    color: white;
}
.navigation_bar {
    background-color: rgb(30,30,30);
}

/* Undo the centered aligned h3 for this page. */
h3 {text-align: unset;}

.posts {
    display: block;
    margin: auto;
    margin-top: 10px;
}

.posts div.post {
    display: block;
    margin: auto;
    position: relative;
    background-color: rgb(20,20,20);
    width: 60%;
    height: fit-content;
    min-height: 300px;
    padding: 8px 24px;
    border-radius: 15px;
    margin-bottom: 20px;

    min-height: 300px;
    overflow: hidden;
}

/* Resize post width for laptops and smaller */
@media screen and (max-width: 768px) {
    .posts div.post {
        width: 90%;
    }
}

.post .user {
    display: block;
    /* background-color: red; */
}

.post .user .display_name a {
    color: white;
    text-decoration: none;
    transition: 0.3s ease-in-out color;
}
.post .user .display_name a:hover {
    color: rgb(69, 171, 255);
}

.post .user .username {
    color: grey;
    font-size: 16px;
}

.post .user .avatar {
    display: block;
    float: left;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 10px;
    /* background-color: white; */
}

.post .content {
    display: block;
    /* background-color: brown; */
}

.post footer {
    display: block;
    margin: auto;
    position: absolute;
    left: 20px;
    bottom: 15px;
}

.post .position_map {
    display: block;
    margin: auto;
    min-height: 160px;
    margin-bottom: 35px;
}

.post .followBtn {
    display: block;
    margin: auto;
    float: right;
    border: 2px solid white;
    padding: 6px 12px;
    border-radius: 10px;
    transition: 0.15s ease-in-out background-colour, 0.15s ease-in-out color;
}
.post .followBtn:hover, .post .followBtn.following {
    background-color: white;
    cursor: pointer;
    color: black;
}
.post .followBtn.following:hover {
    opacity: 0.7;
}