html {
    background-color: #232831;
    color: aliceblue;
}

a {
    border: #7eb0df solid 1px;
    margin: 5px;
    padding: 2px 5px;
    color: #7eb0df;
    text-decoration: none;
}

a:hover {
    border: #add4f8 solid 1px;
    color: #add4f8;
    text-decoration: underline;
}

input {
    background-color: #2e3440;
    color: aliceblue;
    border: 1px solid #4c566a;
    padding: 5px;
    border-radius: 3px;
}

#error {
    text-align: center;
    padding: 20px;
    color: #ff6e64;
    margin-top: 10px;
    border: solid 2px #ff6e64;
    margin-right: 10px;
}

#createform input[type="text"] {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    background-color: #2e3440;
    color: aliceblue;
    border: 1px solid #4c566a;
    padding: 5px;
    border-radius: 3px;
    margin-bottom: 10px;
}

#createform textarea {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    height: 300px;
    background-color: #2e3440;
    color: aliceblue;
    border: 1px solid #4c566a;
    padding: 5px;
    border-radius: 3px;
    resize: vertical;
}

#createform input[type="submit"] {
    margin-top: 10px;
    /* center the submit button */
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    cursor: pointer;
}

.post {
    background-color: #2e3440;
    border: 1px solid #4c566a;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    word-wrap: break-word;
}

.post h1 {
    margin-top: 0;
    text-decoration: underline;
}

.post hr {
    border: none;
    border-top: 1px solid #4c566a;
    margin: 10px 0;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
}

#comment-form {
    display: flex;
    margin-top: 10px;
}

#comment-form input[type="submit"] {
    width: 20%;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
}
#comment-form textarea {
    width: 80%;
    height: 30px;
    background-color: #2e3440;
    color: aliceblue;
    border: 1px solid #4c566a;
    padding: 5px;
    border-radius: 3px;
    resize: vertical;
}

.reply {
    border: 1px solid #415274;
    padding: 5px;
    margin-top: 10px;
    border-radius: 5px;
}

table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #adb6c7;
}

th, td {
    border: 1px solid #adb6c7;
    padding: 8px;
    text-align: left;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    background-color: #0c0f14;
    color: aliceblue;
}

.footer p {
    margin: 0;
}