/* these are the main colors and header image
   replace them with anything you want! */
:root {
    --header-bg: url('inquisitive_puck.png');
    --accent-color: #00144D;
    --link-color: #00144D;
    --bg-color: RGBA(255, 255, 255, .5);
    --bg-color2: #5E5250;
    --text-color: #2e1d17;
}

/* this applies to all the content */
* {
    color: var(--text-color);
/* change the font here, it's set up to all use the same one */
    font-family: monospace;
}
/* this is for when you select text on the page */
::selection {
    background: var(--accent-color);
    color: white;
}

/* image display */
* {
  box-sizing: border-box;
}

#images_art {
 /* width: 100%; */
  max-width: 1200px;
 /* display: table; */
  columns: 2;
  margin: 0 auto;
}

#images {
 /* width: 100%; */
  max-width: 1200px;
  display: table;
  margin: 0 auto;
}

img {
  vertical-align: bottom;
  padding: 0 0 .5em 0;
}


body {
    background: linear-gradient(1deg,rgba(0, 78, 102, 1) 0%, rgba(59, 242, 255, 1) 100%);
    background-attachment: fixed;
    padding: 4px;
    margin: 0;
    font-size: 1.25em;
}
/* 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: #004d91;
    background: linear-gradient(1deg,rgba(0, 77, 145, 1) 0%, rgba(22, 225, 240, 1) 100%);
/* you can add the image url in :root (at the top) if you want */
    background-image: var(--header-bg);
    background-position: 75%;
    background-repeat: no-repeat;
/* change the minimum height if you want it to take up more/less space */
    min-height: 200px;
    margin: 0 auto;
    padding-top: 10px;
/* you can change the text-align to center or right if you want it placed differently */
    text-align: center;
    font-size: 2em;
}

/* this is your site title displayed at the top of the page */
header > h1 {
    margin: 20px auto;
    max-width: 1080px;
    width: fit-content;
    padding: 12px;
}

.white-bg {
    margin: auto;
    width: 690px;
    background: var(--bg-color);
    padding: 10px 30px;
}
    
nav {
    font-weight: bold;
    margin: 1em;
}

nav > ul {
    max-width: 1080px;
    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 {
    text-align: center;
}
nav li > a {
    background-color: var(--bg-color);
    color: var(--link-color);
    padding: .2em 2em;
    width: 230px;
/* this takes away the link underline */
    text-decoration: none;
}
nav li > a:hover {
    background-color: var(--bg-color);
}

a {
    color: var(--link-color);
    font-weight: bold;
    display: inline-block;
    transition: opacity 0.2s;
}

a:visited {
    color: #2F424F;
}

a:hover {
    color: white;
    opacity: 0.95;
}

/* you can change this to anything you want :) */
ul { 
    list-style-type: circle;
}

marquee {
    display: block;
    margin: 0;
    background-color: var(--stripe-color2);
}

#sidebar {
    background: var(--bg-color);
    min-width: 240px;
    max-width: 280px;
    min-height: 100%;
    margin: 0 1em 0 0;
    padding: 1em;
    box-shadow: var(--button-color) 8px 8px 20px;
}

#sidebar ul {
    padding-left: 0;
    margin: 1em;
}

#avatar {
    margin: .5em auto;
    text-align: center;
}
#avatar img {
    width: 100%;
}

#bio {
    background: var(--stripe-color2);
}
#bio p { margin: .8em; }

#content {
    display: flex;
    max-width: 1200px;
    margin: auto;
}

main {
    background-color: none;
    margin: auto;
    box-shadow: var(--button-color) 8px 8px 20px;
    max-width: 900px;
}

main h1 {
    text-align: center;
}

main > h1,
main > h2,
main > h3 {
    background-color: var(--bg-color);
    padding: .2em .5em;
    margin: 0;
}

.box {
  border: solid .25em;
  padding: 1em;
  margin: 1em 0 0 0;
  color: var(--bg-color);
  display: inline-block;
  width: 100%;
}

.mews {
    padding: 0 1em;
}

/* a class for centering text and images */
.center { text-align: center; }

footer {
    text-align: center;
    font-size: small;
    margin: 1em auto;
    max-width: 960px;
}

footer p {
    color: lightgray;
}

/* 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;
        margin: 0;
    }
    header {
        min-height: 300px;
        background-position: bottom;
    }
    header > h1 { 
        margin: .4em;
    }
    .white-bg {
        margin: 1em;
    }
    nav > ul {
    /* this stuff makes it wrap around on mobile */
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
    }
    #avatar {
        margin: 0 1em;
        max-width: 120px;
    }
    #bio {width: 50%;}
    main {
        margin: 0;
    /* remove scrollbar for mobile */
        max-height: fit-content;
    }
    #sidebar {
        max-width: 100%;
    }
    #sidebar ul {   
        margin: 0 1em;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        line-height: 2em;
    }
    #sidebar li {
        padding-left: 0;
        margin: .3em 1em;
    }
    footer {
        margin: 1em;
    }
}