:root {
    /* main colours: */
    --main-bg-color: rgb(0, 153, 255);
    --border-color: rgb(0, 66, 189);

    /* sizes */
    --main-border-width: 30px;
    --main-padding: 10px;

}
html {
    font-family: 'Courier New', Courier, monospace;
    color: white;
}
body {
    background-color: black;
    display: flex;
    justify-content: center;
    margin: 0;

}
#perma-home-link {
    color: white;
    text-decoration: none;
}
#container {
    display: flex;
    flex-direction: column;
    width: 1000px;
    height: 100dvh;
    background-color: var(--main-bg-color);
    border-left: solid var(--main-border-width) var(--border-color);
    border-right: solid var(--main-border-width) var(--border-color);
}
main {
    flex: 1;
}
.border-bottom {
    border-bottom: solid 4px var(--border-color);
}
.border-left {
    border-left: solid 4px var(--border-color);
}
.border-right {
    border-right: solid 4px var(--border-color);
}
.outside-padding {
    padding: var(--main-padding);
}
h1 {
    margin: 0;
}
.perma-home-button {
    height: 57px;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: var(--main-padding); */
    /* box-shadow: 3px 3px 2px black; */
}
header > div{
    height: 57px;
    display: flex;
    align-items: center;
}
#nav-ul {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    list-style: none;
    padding: 0;
    margin: 0;

}
#nav-ul > li {
    padding: var(--main-padding);
    text-align: center;
    width: 100%;
    height: 100%;
}
#nav-ul > li > a {
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
}
#nav-ul > li:hover > a {
    color: var(--border-color);
}
#nav-ul > li:hover {
    background-color: white;
}
#nav-ul > li > #nav-selected-text{
    color: var(--border-color);
}
#nav-ul > #nav-selected-box {
    background-color: white;   
}
#nav-ul > :not(:first-child) {
    border-left: solid 4px var(--border-color);
}
#home-overview {
    display: flex;
}
.home-overview-side {
    height: 100px;
}
#home-overview-side-div {
    width: 200px;
}
#home-overview-main {
    width: 100%;
}
#login-form {
    display: flex;   
    flex-direction: column;
    gap: 3px;
    width: 300px;
}
#login-form > section {
    width: 300px;
}
#login-form > section > input {
    width: 100%;
}
#submit {
    width: 300px;
}
.form-section {
    display: flex;
}
.include-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
}
footer {
    background-color: var(--border-color);
    display: flex;
    justify-content: center;
    flex-direction: row;
}
footer > p {
    margin: 0;
}
#footer-link {
    color: white;
}
.post {
    width: calc(500px - calc(2 * var(--main-padding)) - 2px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* border: solid 4px var(--border-color); */
    /* padding: var(--main-padding); */
}

.post-title-div {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 10px;
}
.post-title-div > h2, p {
    margin: 0;
}
.create-post-div {
    flex: 1;
    width: 100%;
}
#create-post-div {
    display: flex;
    flex-direction: row;
    gap: 5px;
}
#post-create-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 300px;
}
#post-edit-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 300px;
}
#post-text-area {
    height: 100%;
}
.comment {
    border: solid 4px var(--border-color);
}
#comment-area {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#spec-post-div {
    border: solid 4px var(--border-color);
    margin-bottom: 10px;
    width: 965px;
    box-sizing: border-box;
    text-wrap: wrap;
    word-wrap: break-word;
}
#spec-post-comment-div {
    border: solid 4px var(--border-color);
    margin-bottom: 10px;
}
#profile-section {
    display: flex;
    align-items: center;
    gap: 10px;
}
#profile-section > img {
    width: 200px;
}
#account-page-top-bar {
    width: 100%;
}
#user-list-div {
    display: grid;
    padding: 10px;
    gap: 10px;
    overflow-y: scroll;
    height: calc(100dvh - 181px);
    align-items: start;
    align-content: start;
}
.user-list-profile-section {
    border: solid 4px var(--border-color);
}
#post-list-div {
    display: grid;
    padding: 10px;
    gap: 10px;
    overflow-y: scroll;
    height: calc(100dvh - 226px);
    align-content: start;
}
.post-list-section {
    border: solid 4px var(--border-color);
}
#home-page-main-flex {
    justify-content: space-between;
    flex-direction: row;
}
#comment-create-form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.form-group {
    height: 300px;
}
.ck-editor__main {
    color: black;
    min-height: 300px;
}
.ck-editor__editable {
    min-height: 300px;
}
.post-buttons {
    display: flex;
    gap: 10px;
    padding: 10px;
    padding-left: 0;
}