:root {
    --pot-brown: #713e0d;
    --leaf-green: #3e6921;
    --purplish: #9a6896;
}

h1 {
    color: var(--pot-brown);
}

a {
    text-decoration: none;
}

body {
    background-color: #f3e1ed;
    background-image:url(../pics/plants_7.jpg);
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position:right;
    margin: 0;
    border: 1px solid #f3e1ed;
    background-position: bottom right;
    background-size: 30%;
}

#diary_content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    height: 100%;
    overflow: scroll;
}

input {
    font-size: 2em;
    height: 10%;
}

input, textarea {
    cursor: url(../pics/type.png),auto;
    border: none;
    background-color: transparent;
    padding: 12px;
    border-left: 1px solid var(--purplish);
    width: 100%;
    color: purple;
}


/*add page*/
textarea {
    height: 70%;
    cursor:url(../pics/type.png),auto;
    display: block;
    overflow: scroll;
}

.save_button {
    background-color: transparent;
    color: var(--purplish);
    border: none;
    border-left: 1px solid var(--purplish);
    padding: 8px;
    width: 100%;
    height: 5%;
    font-size: 2em;
}

#delete_diary_post_btn:hover {
    border: 1px solid violet;
    color: violet;
    transition: .3s;
}

.save_button:hover, #diary_responder {
    color: violet;
}

input:hover, textarea:hover, .save_button:hover {
    border-left: 1px solid violet;
}

#diary_form {
    height: 100%;
    flex-direction: column;
    gap: 20px
}

#diary_form_heading_wrap {
    width: 100%;
    display: flow-root;
}

#diary_form_heading_wrap>input {
    width: 89%;
    float: left;
    height: 100%;
}

#delete_diary_post_btn {
    width: 9%;
    height: 100%;
    float: right;
    background-color: transparent;
    border: none;
    border-radius: 12px;
    font-size: 2em;
    color: var(--purplish)
}

#diary_posts_list {
    max-width: 70%;
    margin: auto;
}

#diary_posts_list>a{
    margin: 12px;
    font-weight: bold;
    display: flow-root;
}

#diary_posts_list span {
    display: block;
    float: left;
    text-align: left;
}

#diary_posts_list span:nth-child(1) {
    width: 30%;
    color: var(--purplish);
}

#diary_posts_list span:nth-child(2) {
    width: 64%;
    color: var(--leaf-green);
}

#diary_posts_list a:hover .diary_link_content span, .diary_post_edit_link:hover {
    color: red;
}

#diary_post_body {
    color: var(--leaf-green);
    text-align: left;
}

@media screen and (max-width: 600px) {

    body {
        background-image:url();
    }

    #diary_posts_list {
        max-width: 100%;
    }
}
