#guestbook {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-basis: 100%;
}
.header {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}
    .header img {
        width: 80%;
        max-width: 1100px;
        height: auto;
        margin: 0 auto;
        display: block;
        margin-top: 15px;
        margin-bottom: 10px;
    }
    .header a:hover {
        opacity: 0.9; /* Slightly fade the image on hover */
    }
@media only screen and (max-width: 800px) {
    #flex {
        flex-direction: column;
        align-items: center;
    }
    #commentSection {
        order: 1;
        margin-bottom: 10px;
    }
    #commentSection iframe {
        max-width: 100% !important;
    }
    #guestbook {
        order: 2;
        margin-bottom: 10px;
    }
}
/*
    Below you will be able to freely customize every aspect of the comment widget.
    Most aspects of the widget are 100% able to be customized in CSS, but for strong structural changes,
    you may have to edit the JavaScript file.

    These are all the classes and IDs at your disposal!
    Classes have a c- at the start and IDs have a c_
    You don't need every single one for a good theme, but I tried to give as many options as possible!
*/
/*
    Containers:
        #c_widget - The container <div> for the entire widget
        #c_inputArea - The wrapper <div> around the form
        #c_container - The wrapper <div> around all the comments

    The input form:
        #c_form - The whole input <form>
        #c_widgetTitle - The <h2> title at the top of the form

        .c-inputWrapper- All <div> wrappers for each label/input pair
        .c-label - All <label>s
        .c-input - All <input>s

        #c_nameWrapper - The wrapper <div> for the name field
        .c-nameLabel - The <label> for the name field
        .c-nameInput - The <input> for the name field

        #c_websiteWrapper - The wrapper <div> for the website field
        .c-websiteLabel - The <label> for the website field
        .c-websiteInput - The <input> for the website field

        #c_textWrapper - The wrapper <div> for the text field
        .c-textLabel - The <label> for the text field
        .c-textInput - The <input> for the text field

        #c_submitButton - The submit button (It's an <input> element with a type of "submit")
        #c_replyingText - The text <span> that displays when a user is replying to a comment

    The comment section:
        .c-comment - All comment <div>s
        .c-reply - All reply <div>s (contained within parent comment <div>s)
        .c-name - The name of the person submitting the comment/reply (an <h3> element)
        .c-timestamp - The timestamp of when the comment/reply was made (a <span> element)
        .c-site - The website linked at the top of the comment/reply (an <a> element)
        .c-text - The actual text body of the comment/reply (a <p> element)
        .c-replyButton - All reply <button>s
        .c-expandButton - The <button>s to reveal/hide replies (These only show if s_collapsedReplies is set to true in the JS)
        
        #c_pagination - The <div> wrapper for the pagination at the bottom (Only shows if there's more than one page)
        .c-paginationButton - Both left and right directional <button>s
        #c_leftButton - The left <button>
        #c_rightButton - The right <button>
*/
/* Main */
#c_widget {
    box-sizing: border-box;
    height: 100%;
    padding: 15px;
    overflow: auto;
}

#c_widget button, #c_widget input[type=submit] {
    margin-left: 20px;
    margin-bottom: 20px;
    padding: 2px 10px 3.5px 10px;
    text-decoration: none;
	text-transform: lowercase;
	text-align: center;
    font-family: 'IM Fell SC';
    background-color: var(--dark-colour);
    color: antiquewhite;
    border: 1px solid #444;
    border-radius: 5px;
    cursor: pointer;
}
#c_widget button:hover, #c_widget input[type=submit]:hover {
    background-color: var(--light-colour);
    color: antiquewhite;
    border: 1px solid #444;
}
#c_widget button:disabled, #c_widget input[type=submit]:disabled {opacity: 60%;}
#c_widget button:disabled:hover, #c_widget input[type=submit]:disabled:hover {
    background-color: white;
    color: #808080;
    border: 1px solid #808080;
}

/* Input section */
#c_inputDiv {
    display: none; /* don't show input section */
    padding: 10px;
    background-color: var(--dark-colour);
    padding:  23px 10px 23px 10px;
    background-image: url("/assets/scrollBackground.png");
    background-clip: content-box;
    border: 0px solid transparent;
    border-image-source: url('/assets/scrollBorder.png');
    border-image-slice: 210 220 210 220; 
    border-image-width: 35px;
    border-image-outset: 10px;
    border-image-repeat: round;
    box-sizing: border-box;
    margin-bottom: 30px;
}
#c_container {margin-top: 10px;}

#c_widgetTitle {
    margin: 0;
    padding-left: 20px;
    padding-top: 10px;
    font-style: italic;
    text-decoration: underline;
}

.c-inputWrapper {
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 20px;
    margin-right: 20px;
}
.c-input {
    padding: 4px;
    color: #250016;
    border-radius: 4px;
    border: 3px solid var(--light-colour);
	outline: none;
}
.c-input:focus {border: 5px solid #ffcf3e;}

.c-textInput {
    width: calc(100% - 10px);
    max-width: 900px;
    resize: none;
}
#c_submitButton {display: block;}
#c_replyingText {color: var(--lightest-colour);}

/* Comment section */
.c-comment {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background-image: url("/assets/scrollBackground.png");
    border: 1px solid var(--light-colour);
    border-radius: 4px;
}
.c-reply {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background-color: var(--dark-colour);
    border: 1px solid var(--light-colour);
    border-radius: 4px;
}
.c-reply:last-child {margin-bottom: 0;}

.c-name {
    display: inline-block;
    margin: 0;
    margin-right: 10px;
    padding: 0;
}
.c-site {
    text-transform: lowercase;
    color: var(--light-colour); /* color of the website link */
}
.c-site:hover {color: var(--lightest-colour);} /* website link on hhover */
.c-timestamp {
    float: right;
    opacity: 60%;
}
.c-text {
    margin: 0;
    margin-top: 10px;
    padding: 0;
    text-align: justify;
    color: var(--lightest-colour); /* comment text color */
}

/* Pagination */
#c_pagination {text-align: center;}
.c-replyButton {margin-top: 10px;}
.c-expandButton {
    float: right;
    margin-top: 10px;
}
.c-paginationButton {
    margin-right: 4px;
    margin-left: 4px;
}