body {
  background-image: url('https://i.pinimg.com/originals/e6/f1/d5/e6f1d59ba4012e50186de968f779360c.jpg');
}

.food-form {
   background color: black;
   padding: 20px;
   border-radius: 12px; 
   max-width; 400px;
   margin: 50px auto;
}

.food-form label {
   display: block;
   margin-bottom: 5px;
   font-weight: bold;
   font-size: 1.1em;
   color: #333;
}

/* Main colors and header image */
:root {
    --site-bg: url('https://i.pinimg.com/originals/e6/f1/d5/e6f1d59ba4012e50186de968f779360c.jpg');
    --main-bg: url('https://i.pinimg.com/originals/15/b3/ba/15b3ba3f531eedc5ed6b03be5c04210c.jpg');
    --gradient-bg: linear-gradient(0deg, #0000 0%, #1c246288 33%, #18084388 90%);
    --accent-color: violet;
    --link-color: mediumpurple;
    --bg-color: black;
    --text-color: violet;
    --text-color2: white;
    --favorite-color: darkslateblue;
}

/* All content */
* {
    color: var(--text-color);
    <style>
@font-face {
font-family:
font-weight: normal;
font-style: normal;
}

    /* custom scrollbars don't appear for all browsers, but i like setting them anyway */
    scrollbar-color: var(--favorite-color) var(--bg-color);
    scrollbar-width: thin;
}
/* text selection*/
::selection {
    background: var(--favorite-color);
    color: var(--bg-color);
}

html {scroll-behavior: smooth;}

body {
    margin: 0;
    background-color: var(--bg-color);
    background-image: var(--site-bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

p {line-height: 1.5em;}

/* site title */
header > h1 {
    margin: 1em auto;
    max-width: 960px;
    padding-left: 1em;
    text-align: center;
    color: var(--text-color2);
}

nav {
    padding: 0 1em 1em 1em;
    font-weight: bold;
}

nav ul {
    max-width: 960px;
    margin: auto;
    line-height: 3rem;
/* this stuff makes it wrap around on mobile */
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
/* this line takes away the dot in front of the list items */
    list-style-type: none;
/* list items have default padding but we don't need it for these */
    padding-left: 0;
/* and this spaces out the buttons so they're not touching */
    justify-content: space-evenly;
}
nav li a {
    background-color: var(--bg-color);
    border: 1px solid var(--favorite-color);
    padding: .5em 3em;
/* this takes away the link underline */
    text-decoration: none;
/* and this part is animation! */
    transition: color 400ms ease-out, border-color 400ms ease-out;
}
nav li a:hover {
    border: 1px solid var(--accent-color);
}

a {
    color: var(--link-color);
    transition: color 400ms ease-out;
}
a:visited {
    color: var(--favorite-color);
}
a:hover {
    color: var(--text-color2);
}

ul { list-style-type: "✦ "; }

#sidebar {
    background-image: var(--main-bg);
    border: 1px solid var(--favorite-color);
    min-width: 220px;
}

#avatar {
/* image size is 160px so i made its container a little bigger to fit the borders */
    margin: 1em auto;
    max-width: 164px;
    max-height: 164px;
}
#avatar img {
    background: var(--bg-color);
    max-width: 160px;
    border: 1px solid var(--favorite-color);
    box-shadow: var(--accent-color) 0 0 4px;
}

#bio {
    font-size: smaller;
    margin: 1em;
    background: var(--bg-color);
    border: 1px solid var(--favorite-color);
    box-shadow: var(--accent-color) 0 0 4px;
}
#bio p {
    margin: 1em;
    color: var(--text-color2);
}

#content {
    display: flex;
    max-width: 960px;
    margin: auto;
}

main {
    background-image: var(--main-bg);
    background-repeat: repeat;
    image-rendering: pixelated;
    max-width: 800px;
    margin: auto;
    color: var(--accent-color);
    max-height: 600px;
    overflow:auto;
}

.prose {
    background: var(--gradient-bg);
    margin: 0;
    padding: 1em;
}

.img-right { float: right; }

footer {
    text-align: center;
    font-size: small;
    padding: 1em;
}

@media only screen and (max-width: 800px) {
    #content {
        flex-wrap: wrap;
    }
    #sidebar {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding-top: 2em;
    }
    #avatar {margin: 0 1em;}
    #bio {width: 50%;}
    #sidebar ul {   
        margin: 0 1em;
        display: flex;
        flex-wrap: wrap;
        line-height: 2em;
        padding-left: 0;
    }
    #sidebar li {
        margin: .3em 1em;
    }
    main {
        max-height: fit-content;
    }
    .img-right {
        float: none;
        text-align: center;
    }
}

head {
  text-align: center;
}