.centered {
    width: 100%;
    display: flex;
    justify-content: center;
}
#account-info-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#name {
    margin: auto;
    margin-bottom: 15px;
    width: 95%;
    height: 25px;
    padding-left: 10px;
    border: none;
    border-radius: 10px;
    outline: solid #000 1px;
}
#name:focus {
    outline: solid #0055FF 1px;
}
#new-container {
    background-color: #fff;
    width: 50vw;
    height: min-content;
    margin: auto;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 3px 5px 1px #ddd;
    padding: 20px;
    padding-right: 40px;
}
#new-wrapper {
    width: 100%;
    padding: 0;
    padding-bottom: 0;
}
#new-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
#upload-container {
    background-color: #fff;
    width: 50vw;
    height: min-content;
    margin: auto;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 3px 5px 1px #ddd;
    padding: 20px;
    padding-right: 40px;
}
button {
    background-color: #5555ff;
    border-radius: 20px;
    border: none;
    font-size: 15px;
    padding: 12px;
    cursor: pointer;
    color: #fff;
    font-weight: 750;
}
#upload-wrapper {
    width: 100%;
    padding: 0;
    padding-bottom: 0;
}
#post-button-container {
    width: 100%;
    display: flex;
    justify-content: right;
}
input {
    margin-bottom: 20px;
}
input[type=file] {
    font-size: 15px;
}
input[type=file]::file-selector-button {
    background-color: #fff;
    border-radius: 5px;
    border: solid #000 1px;
    cursor: pointer;
}
.texta {
    padding-left: 10px;
    width: 95%;
    overflow-wrap: normal;
    resize: none;
    border-radius: 10px;
    outline: solid 1px #000;
    min-height: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    margin-bottom: 20px;
    min-height: 30px;
    padding: 10px;
}
.texta:empty::before {
    content: attr(placeholder);
    color: #555;
}
.texta:focus {
    outline-color: #0055ff;
}
#title-input { 
    align-content: center;
    padding-bottom: 5px;
    padding-top: 3px;
}
#description-input {
    min-height: 100px;
    width: 95%;
}
label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    margin: 0;
    margin-bottom: 5px;
}
#loading-bg {
    position: absolute;
    height:101vh;
    width:101vw;
    top:0;
    left:0;
    background-color: #eee;
    z-index: 998;
    visibility: hidden;
}
#form-container {
    display: grid;
    place-items: center;
}
#loading {
    font-size: 30px;
    position: absolute;
    right: 0;
    left: 0;
    top: 40vh;
    text-align: center;
    z-index: 999;
    color: #888;
}
select {
    border-radius: 10px;
    margin-left: 10px;
    padding: 2px;
}
.join-button {
    background-color: #5555ff;
    border-radius: 20px;
    border: none;
    font-size: 15px;
    cursor: pointer;
    color: #fff;
    font-weight: 750;
    padding: 12px;
    height: min-content;
    margin: 0;
}
.room-text {
    font-size: 15px;
    font-weight: 750;
}
#big-title {
    font-size: 30px;
    font-weight: 750;
    margin-right: 15px;
}
.post-container {
    background-color: #fff;
    width: 50%;
    height: min-content;
    margin: auto;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 3px 5px 1px #ddd;
    padding: 0;
    padding-top: 10px;
    padding-bottom: 20px;
}

.post-wrapper {
    width: 100%;
}

body {
    background-color: #eee;
    padding-top: 100px;
    margin: 0px;
}

p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
}

a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
}

.post-title {
    font-size: 18px;
    margin: auto;
    font-weight: 500;
}

.title-wrapper {
    width: 100%;
    margin-bottom: 10px;
    margin-left: 10px;
}

.post-image-wrapper {
    width: 100%;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.post-image {
    min-height: 20vh;
    width: 100%;
    max-height: 50vh;
    object-fit: scale-down;
}

.post-image-link {
    display: flex;
    justify-content: center;
}

.poster-wrapper {
    display: flex;
    width: 100%;
    border-style: solid;
    border-width: 0;
    border-bottom-width: 2px;
    border-color: #f3f3f3;
    padding: 0;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.poster-wrapper-nob {
    display: flex;
    width: 100%;
    border: none;
    padding: 0;
    padding-bottom: 5px;
    margin-top: 15px;
}

.poster {
    margin: 0;
    margin-left: 10px;
    font-weight: 600;
}

.view-text {
    margin: 0;
    margin-left: 5px;
    font-weight: 600;
    color: #3344FF;
    text-decoration: none;
}

.interaction:hover {
    text-shadow: #777 0 0 5px;
    transition-duration: 50ms;
}

.interaction:active {
    text-shadow: #555 0 0 7px;
    transition-duration: 50ms;
}

#enlarge-wrapper {
    position: fixed;
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 999;
    background-color: rgba(200,200,200,0.7);
    margin: 0px;
}

#close-enlarge {
    font-size: 50px;
    position: fixed;
    top: 0;
    left: 20px;
    text-decoration: none;
    color: #555;
}

#enlarge {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.text-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.interaction {
    position: relative;
    text-decoration: none;
    padding-right: 2vw;
    font-size: 18px;
    text-shadow: #ccc 0 0 5px;
    text-align: center;
    color: #000;
}

#the-bar {
    background-color: #eee;
    height: 50px;
    width: 100%;
    position: fixed;
    top: 0px;
    z-index: 998;
    align-content: center;
    padding: 10px;
    box-shadow: 0 0 5px 0px;
    display: flex;
    justify-content: right;
    align-content: center;
}

#post-button {
    font-size: 20px;
    background-color: #00000000;
    border: none;
    margin-right: 20px;
    color: #000;
    font-weight: 750;
    cursor: pointer;
}

#new-room-button {
    font-size: 20px;
    background-color: #00000000;
    border: none;
    margin-right: 2%;
    color: #000;
    font-weight: 750;
    cursor: pointer;
    height: 100%;
    padding: 0;
}

#browse-rooms-button {
    font-size: 20px;
    background-color: #00000000;
    border: none;
    margin-right: 20px;
    color: #000;
    font-weight: 750;
    cursor: pointer;
    height: 100%;
    padding: 0;
    margin-right: auto;
}

#user-button {
    font-size: 20px;
    background-color: #00000000;
    border: none;
    margin-right: 20px;
    color: #000;
    font-weight: 750;
    cursor: pointer;
    padding: 0;
}

.description {
    color: #666;
    font-size: 17px;
    padding: 0px;
    padding-left: 10px;
    margin-bottom: 15px;
}

#search-bar {
    margin: 0;
    align-self: center;
    height: 30px;
    border-radius: 10px;
    border: none;
    outline: solid #000 1px;
    width: 20%;
    padding-left: 10px;
}

#parent{
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#child{
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    padding-right: 17px; /* Increase/decrease this value for cross-browser compatibility */
    box-sizing: content-box; /* So the width will be 100% + 17px */
}

#big-file {
    font-family: Arial, Helvetica, sans-serif;
    color: #aa0000;
    font-weight: 750;
}

body::-webkit-scrollbar {
    width: 0;
}
#the-at {
    margin: 0;
    color: #555;
}
.user-at {
    margin: 0;
    margin-left: 10px;
    color: #888;
    font-size: 12px;
}
.comment-container {
    align-items: center;
    border-style: solid;
    border-width: 0;
    border-top-width: 2px;
    border-color: #f3f3f3;
}
.comment-add-container {
    padding-top: 10px;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.comment-add-wrapper {
    flex: 1;
}
.comment-add {
    width: 90%;
    border: none;
    border-radius: 10px;
    outline: solid 1px #000;
    padding: 5px;
    margin: auto;
    margin-left: 15px;
}
.comment-add-button {
    width: min-content;
    background-color: #5555ff;
    border-radius: 20px;
    border: none;
    font-size: 15px;
    padding: 12px;
    cursor: pointer;
    color: #fff;
    font-weight: 750;
    margin-right: 15px;
}
.content-text {
    margin: 0;
    margin-left: 10px;
}
.room-text {
    font-size: 15px;
    font-weight: 750;
    margin: 0;
    margin-left: 20px;
}
#logo {
    position: fixed;
    top: 15px;
    left: calc(50% - 100px);
    width: 200px;
    height: 45px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#tiny-logo {
    width: 0;
}

@media (max-width: 1000px) {
    #logo {
        width: 0;
    }
    #search-bar {
        width: 30%;
        margin-right: 20px;
    }
    .post-container {
        width: 90%;
    }
    #tiny-logo {
        width: 120px;
        height: 30px;
        position: fixed;
        bottom: 10px;
        left: 10px;
    }
}