body, html
{
    width: 100%;
    height: 100vh;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

body
{
    display: flex;
    flex-direction: column;
}

.user-area
{
    display: flex;
    align-items: center;
    overflow-y: scroll;
}

.rounded_corners
{
    border-radius: 2vh;
}

.outer_dialogue
{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 85%;
    width: 100%;
}

.dialogue
{
    margin: 20px auto;
    padding: 20px;
    border-radius: 5px;
}

.form-group
{
}

.form-control
{
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 12px;
    resize: vertical;
}

.form-input
{
    width: 100%;
    height: 5vh;
    padding: 0;
    border: 0;
}

.form-textarea
{
    resize: vertical;
    width: 100%;
    height: 10vh;
    padding: 0;
    border: 0;
}

.generic_button
{
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    height: 35px;
    display: inline-block;
    text-align: center;
}

.user_button
{
    color: white;
    padding: 12px 0px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    display: inline-block;
    text-align: center;
}

.post-container
{
    width: 100%;
}

.post_parent
{
    width: 50vw;
    height: 100%;
}

.post-title
{
    margin-bottom: 0;
}

.poster-text
{
    margin-top: 0;
    font-size: 10px;
}

.clearfix::after
{
    content: "";
    clear: both;
    display: table;
}

.post-image
{
    max-width: 100px;
    max-height: 100px;
    margin: 5px;
    transition: 0.1s;
    border-radius: 5px;
}

.post-image-extended
{
    max-width: 512px;
    max-height: 512px;
    margin-right: 10px;
    transition: 0.1s;
}

hr
{
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
    margin: 20px 0;
}

.image-preview {
    display: flex;
    flex-wrap: wrap;
}

.image-preview img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
}

.file-input-container {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.file-input-container input[type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.upload_file_button {
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.post-images-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-images-container img {
    max-width: 100px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: width 0.3s, height 0.3s;
}

.post-images-container.expanded {
    display: block;
}

.post-images-container.expanded img.post-image-extended {
    max-width: 512px;
    object-fit: cover;
    border-radius: 5px;
}

