div#view {
    padding: 0 1em;
}

/* #viwe *{
    margin: 0;
    padding: 0;
    overflow-wrap: break-word;
    overflow: auto;
} */
html,
body {
    max-width: 100%;
}

.post {
    display: block;
    border: 1px solid black;
    box-sizing: border-box;
    margin-bottom: 5px;
    border-radius: 10px;
    padding: 15px;

    .caption {
        font-size: 2em;
    }

    .editbtn {
        display: block;
        border-radius: 4px;
        padding: 3px;
    }

    .timestamp,
    .time {
        margin-top: 10px;
        font-size: 10px;
        font-weight: 900;
    }

    * {
        /* background-color: yellow; */
        padding: 0;
        margin: 0;
        width: fit-content;
    }

    .likes::before {
        content: "🖤 ";
    }

    .likes.liked::before {
        content: "🧡 ";
    }

    .comments {
        list-style-type: circle;
        margin: 0 15px;
    }
}

#all_posts_view {
    .post {
        .caption {
            text-overflow: ellipsis;
            overflow: hidden;
            overflow-wrap: break-word;
            max-height: 400px;
            display: block;


            /* &.fontsizebig {
                font-size: 2em;
            }

            &.fontsizemid {
                font-size: 1.5em;
            }

            &.fontsizesmall {
                font-size: 0.9em;
            } */
        }
    }
}

button.solid {
    background: #ccc;
    border: 2px solid;
    padding: 5px;
    text-align: center;
}

button.navigator {
    margin: 5px 0;
    font-size: x-large;
    border-radius: 3px;

    &.p {
        width: 30%;
    }

    &.n {
        width: 67%;
        margin-left: 3%;
    }
}

.usertag {
    text-decoration-line: none;
    background: #efc2c2;
    color: black;
    font-weight: 900;
    padding: 0 5px;
    border-radius: 10px;
    cursor: help;
    background: lightsalmon;
    box-sizing: border-box;
    display: inline-block;
    text-align: center;
    font-family: monospace;
    font-weight: 1000;
    color: #960000;
    border: 1px solid #960000;
    padding: 5px;
    margin: 2px;
    box-shadow: inset #330000 2px 2px 1px 0, inset #ffcccc -2px -2px 1px 0,
        #330000 2px 2px 1px 0, #ffcccc -2px -2px 1px 0;
}

#err_view {
    height: max-content;
    margin: auto 0;
    padding-top: 20px;

    #err_dat {
        background: lightsalmon;
        padding: 50px;
        box-sizing: border-box;
        display: inline-block;
        font-size: xx-large;
        width: 100%;
        text-align: center;
        border-radius: 27px;
        font-family: monospace;
        font-weight: 1000;
        color: #960000;
        border: 5px solid #960000;
        box-shadow: inset #960000 2px 2px 7px 0, inset #ffffff -2px -2px 7px 0;
    }
}

.hidden,
.hide {
    display: none;
}


.userinfo {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    padding: 20px;

    .name {
        font-size: 2em;
        text-align: center;
        margin-bottom: 10px;

        .username {
            font-weight: 900;
            color: rgb(61, 61, 61);
        }
    }

    .email {
        margin-top: 5px;
        font-family: 'Courier New', Courier, monospace;
        font-weight: 700;

        &::before {
            content: "Email Address : ";

        }
    }

    .userinfos {
        margin: 5px 0;

        *:not(.hidden) {
            display: inline-block;
            background-color: #00b82273;
            padding: 2px 5px;
            margin: 0 2px;
            border-radius: 5px;
            border: 1px solid black;
        }
    }

    .followerinfo {
        margin-top: 15px;
        margin-bottom: 15px;
        text-align: center;

        .followBtn {
            display: block;
            width: 100%;
            margin-bottom: 7px;
            background-color: #00800088;

            &::before {
                content: "Follow";
            }

            &.following {
                background-color: #0004;
                color: white;
                font-weight: 900;

                &::before {
                    content: "Unfollow";
                }
            }

        }

        .noOfFollowers {
            &::before {
                content: "Followers : ";
            }
        }

        .noOfFollowing {
            &::before {
                content: "Following : ";
            }
        }
    }

    .last_login {
        &::before {
            content: "Last Loged in : ";
        }
    }

    .date_joined {
        &::before {
            content: "Joined Date : ";
        }
    }
}

textarea {

    width: 400px;
    min-width: 100%;
    height: 400px;
}

.form-control {
    margin-bottom: 1em;
}