@import url('https://fonts.cdnfonts.com/css/verdana');

body {
    background-color: #86BFFA;
    font-family: 'Verdana', sans-serif;

}

#logo-img {
    vertical-align: middle;
    padding-right: 10px;
}

.header-div {

    overflow: auto;

    position: fixed;
    width: 100%;
    background-color: white;
    top: 0;
    right: 0;
    max-height: 350px;

}

.post-link {
    color: black;
}

.header-title {
    margin: 25px;

    float: left;

}

.header-links {
    float: right;
    margin-right: 10px;
    vertical-align: middle;

}


.container {
    margin-top: 10%;
}


.topspan {
    display: inline-block;
    width: 850px;
}

.bottomspan {

    display: inline-block;
    border: 1px solid black;
    border-radius: 25px;
    padding: 10px;
}

form[action="search.php"] button[type="submit"] {
    margin-left: 5px;
}

.post-upvotes,
.post-upvotes-total,
.post-downvotes,
.post-downvotes-total {
    display: inline-block;
    color: black;

}




a {
    text-decoration: none;
}


.nav {
    appearance: auto;
    text-rendering: auto;
    color: buttontext;
    letter-spacing: normal;
    word-spacing: normal;
    line-height: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    cursor: default;
    box-sizing: border-box;
    background-color: buttonface;

    padding: 1px 6px;
    border-width: 2px;
    border-style: outset;
    border-color: buttonborder;
    border-image: initial;
    padding: 15px;
    border-radius: 25px;
    margin-top: 25px;
    margin-bottom: 25px;
    margin-right: 15px;
    margin-left: 15px;
    font-size: 20px;
    color: #86BFFA;

}


.center {
    text-align: center;
}


.nav a:visited {
    color: #86BFFA;
}

.upload-button,
select {
    padding: 10px;
    font-size: 20px;
    border-radius: 50px;
    color: #86BFFA;
    min-width: 100px;
    margin-top: 10px;
}

textarea {
    width: 100%;
}

.create-div {

    display: flex;
    justify-content: center;
    width: fit-content;
    margin: auto;
    margin-top: 0;
    margin-bottom: 3%;
    max-width: 1300px;
    padding: 0;

}

#sublewit-text {
    font-size: 125%;
}

#desc-text {
    margin-top: 10px;

}

.sidebar {
    width: 150px;
    height: fit-content;
    padding: 10px;
    position: fixed;
    background-color: white;

}

.upload-div,
.sublewit-div {
    border: 1px solid black;
    border-radius: 25px;
    display: inline-block;
    width: 100%;
    padding: 25px;
    margin: 10px;
    margin-top: 0;
}


ol li {
    padding: 10px;
    color: #86BFFA;
}

#upload-text,
#desc-text {
    font-size: 150%;
    width: 100%;
}


.posts-container {

    width: 50%;

    margin: auto;
    margin-top: 3%;
}

.post-div {
    border: 1px solid black;
    margin-bottom: 4%;
    border-radius: 15px;
    padding: 10px;
    word-wrap: break-word;

}

.error {
    text-align: center;
    font-size: 200%;
}

.error.good {
    color: green;
}

.error.bad {
    color: red;
}

.admin {
    width: fit-content;
}

.green {
    background-color: lightgreen;
}

.red {
    color: red;
}