/*body { background:linear-gradient(#cea300 (gold), #C20808 (red), #8800AB (purple)); min-height: 100vh;  color: black;
  font-family: Verdana;
  margin:0 auto;
  max-width: 800px;
  padding: 20px;
} */



* {
    color: black;
    font-family: Verdana;
    border-radius: 1em;
}
/* this is for when you select text on the page */
::selection {
    background: #C20808;
    color: #CEA300;
}

body {
    background-color: #8800AB;
    margin: 0 auto;
}
/* i think having better line spacing helps text to be more readable, but you can remove it if you want */
p {line-height: 1.5em;}

header {
    background-color: #C20808;
    background-image: url('images/background.png');
    background-size: 120%;
    background-position: center;
/* change the minimum height if you want it to take up more/less space */
    min-height: 200px;
/* can also limit the size of the header if you don't want to fill up the top. i recommend at least 800px tho! */
    max-width: 770px;
    margin: 0 auto;
    border-top: 4px solid #8800AB;
    border-bottom: 4px solid #8800AB;
/* i have a default border-radius set, but i didn't want rounded corners on this element */
    border-radius: 0;
}

/* this is your site title displayed at the top of the page */
header > h1 {
    margin: 40px auto;
    border-radius: .3em;
    max-width: 380px;
    padding: 12px;
    font-size: 4em;
/* you can change the text-align to center or right if you want it placed differently */
    text-align: center;
    background-color:#CEA300;
    border: 2px solid black;
    text-shadow: #8800AB 1px 1px 3px;
}

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

nav > ul {
    max-width: 960px;
    margin: auto;
    line-height: 3rem;
/* 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: 0px;
/* and this spaces out the buttons so they're not touching */
    justify-content: space-between;
}
nav li {
    text-align: center;
}
nav li > a {
    background-color: #CEA300;
    box-shadow: #C20808 4px 4px;
    padding: 8px 20px;
/* this takes away the link underline */
    text-decoration: none;
}
nav li > a:hover {
    box-shadow: black 4px 4px;
}

a {
    color: #8800AB;
    border-radius: .3em;
    text-shadow:#CEA300 1px 1px 2px;
    font-weight: bold;
    transition: background-color 400ms ease-out;
}
a:visited {
    color: maroon;
}
a:hover {
    background-color:#C20808;
    color: black
}

/* you can change this to anything you want :) */
ul { list-style-type:disc; }

#sidebar {
    /* made the stripe bg with a generator:
    https://stripesgenerator.com/
     */
    background: #C20808;
    background-size: 65.05px 65.05px;
    min-width: 220px;
    margin: 1em;
    padding: 1em;
    border: 2px solid black;
    box-shadow: #CEA300 4px 4px;
}

#avatar {
    margin: .5em auto;
    box-shadow: #C20808 4px 4px;
/* image size is 160px so i made its container a little bigger to fit the borders */
    max-width: 100px;
    max-height: 200px;
    border-radius: 1.5em;
}
#avatar img {
    background:white;
    max-width: 160px;
    border: 2px solid black;
    border-radius: 1.5em;
}

#bio {
    margin: 1em;
    background: #CEA300;
    border: 2px solid black;
    box-shadow: #C20808 4px 4px;
    text-shadow: #8800AB 0 0 2px;
}
#bio p { margin: 1em; }

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

main {
    background-color: #CEA300;
    padding: 1em 2em;
    margin: 1em;
    border: 2px solid black;
    box-shadow: #C20808 4px 4px;
    text-shadow: #8800AB 1px 1px 3px;
}

main > h1,
main > h2,
main > h3 {
    background-color:#cea300;
    border-radius: .4em;
    padding: .2em .5em;
    text-shadow: #8800AB 1px 1px 3px;
}

/* a class for centering text and images */
.center { text-align: center; }

footer {
    background-color:#CEA300;
    text-shadow: #8800AB 1px 1px 3px;
    text-align: center;
    font-size: small;
    padding: 1em;
    margin: 1em auto;
    max-width: 960px;
}

/* these are the mobile styles! */
@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;
        border: none;
    }
    header {min-height: 160px;}
    header > h1 { 
        font-size: 3em;
        margin: .4em;
    }
    nav > ul {
    /* this stuff makes it wrap around on mobile */
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
    }
    #avatar {margin: 0 1em;}
    #bio {width: 50%;}
    main {margin: 0 1em;}
    #sidebar ul {   
        margin: 0 1em;
        display: flex;
        flex-wrap: wrap;
        line-height: 2em;
    }
    #sidebar li {
        padding-left: 0;
        margin: .3em 1em;
    }
    footer {
        margin: 1em;
    }
}
/*header {
    background-color: var(--accent-color);
you can add the image url in :root (at the top) if you want 
  background: var(--header-bg);
  background-size: 100%;
  background-position: center;
 change the minimum height if you want it to take up more/less space 
    min-height: 200px;
can also limit the size of the header if you don't want to fill up the top. i recommend at least 800px tho! 
    max-width: 980px;
   margin: 0 auto;
  border-top: 4px solid var(--text-color);
  border-bottom: 4px solid var(--text-color);
i have a default border-radius set, but i didn't want rounded corners on this element 
  border-radius: 0;
}

 this is your site title displayed at the top of the page 
header > h1 {
    margin: 20px auto;
    border-radius: .3em;
    max-width: 900px;
    padding: 12px;
    font-size: 4em;
 you can change the text-align to center or right if you want it placed differently 
    text-align: center;
    background-color: var(--bg-color);
    border: 2px solid var(--text-color);
    text-shadow: var(--bg-color2) 1px 1px 3px;8*/

