 
/*font*/
@font-face {
    font-family: ReconFontFamily;
    src: url(fonts/recon___.ttf);
}

@font-face {
    font-family: hrkt;
    src: url(fonts/hrkt.ttf)
}

@font-face {
    font-family: cmc;
    src: url(fonts/cmc.ttf)
}

@font-face {
    font-family: faqro;
    src: url(fonts/Faqro.ttf)
}

@font-face {
    font-family: code;
    src: url(fonts/mrvcode.ttf)
}
@font-face {
   font-family: Jogan;
   src: url(fonts/jogan.ttf)
}
/*color*/
:root {
    --site-bg: url('images/bg2.jpg');
    --main-bg: url('images/bg4.jpg');
    --accent-color: #222222;
    --link-color: #00B7FF;
    --bg-color: #666666;
    --bg-color2: #666666;
    --text-color: #000000;
    --text-color2: #111111;
    --favorite-color: #000000;
    --accent-color2: #333333;

}
  *{
    scrollbar-color: var(--favorite-color) var(--bg-color);
    scrollbar-width: thin;
}
/*txt select*/
::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: repeat;
}

p {line-height: 1.5em;}

header > h1 {
    font-family: "cmc", Courier New, courier, monospace;
    margin: 1em auto;
    max-width: 960px;
    padding-left: 1em;
    text-align: center;
    color: var(--bg-color);
}

nav {
    padding: 0 1em 1em 1em;
  
}

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: 5px inset var(--bg-color);
    padding: .5em 3em;
/* this takes away the link underline */
    text-decoration: none;
/* and this part is animation! */
    transition: color 150ms ease-out, border-color 150ms ease-out;
}
nav li a:hover {
    border: 5px inset var(--bg-color);
}

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

/* you can change this to lots of things. i picked a star! */
ul { list-style-type: "◘ "; }

#sidebar {
    background-image: var(--main-bg);
    border: 10px outset var(--bg-color);
    min-width: 200px;
    max-width: 450px;
}
.special {
  text-shadow: -1px -2px #000000, 1px  2px #666666;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333333;
}
/*AVATAR JUST IN CASE*/
#avatar {
    margin: 1em auto;
    max-width: 164px;
    max-height: 164px;
}
#avatar img {
    background: var(--bg-color);
    max-width: 160px;
    border: 5px inset var(--bg-color);
    
}

#bio {
    font-family: "Jogan";
    font-size: smaller;
    margin: .3em;
    background: var(--bg-color);
    border: 5px inset var(--bg-color);
    color: #000000;
    background: url("images/noimg.gif"); 
    filter: brightness(90%);
    
}
#bt ul {
    list-style-type: none;
}
#bio p {
    height: auto;
    border: 5px inset var(bg-color);;
    max-width: 100%;
    overflow: auto;
    text-align: center; 
    
    

}


#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;
    border: 10px outset var(--bg-color);
    color: var(--accent-color);
    max-height: 600px;
    overflow:auto;}
h2 {
    font-family: code, Courier New, courier, monospace;
}
    
p {
    font-family: Jogan, Courier New, courier, monospace;
    font-size: 24px
    }


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


.img-right { float: right; }

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



/*mobile*/
@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 {
/* remove scrollbar for mobile */
        max-height: fit-content;
    }
    .img-right {
        float: none;
        text-align: center;
    }
}