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

@font-face {
  font-family: itg;
  src: url(fonts/ITGliphexionDEMO-Regular.otf);
}

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

@font-face {
  font-family: pixel;
  src: url(fonts/PixelForge.otf);
}

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






    --site-bg: url('images/bg-image.png');
    --main-bg: url('images/nothing.png');
    --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;
}

* {
    color: var(--text-color);
    font-family: novem;
    text-shadow: 2px 2px 5px var(--bg-color);
    scrollbar-color: var(--favorite-color) var(--bg-color);
    scrollbar-width: thin;
}

::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;
}
p {line-height: 1.5em;}

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

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

nav ul {
    max-width: 960px;
    margin: auto;
    line-height: 3rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    list-style-type: none;
    padding-left: 0;
    justify-content: space-evenly;
}
nav li a {
    background-color: var(--bg-color);
    border: 1px solid var(--favorite-color);
    padding: .5em 3em;
    text-decoration: none;
    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 {
    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;
    border: 1px solid darkslateblue;
    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;
    }
}





.galeria {
  display: inline-block;
  vertical-align: center; 
  margin-left: 25px;
  min-width:900px;
}




div.gallery {
  border: 1px solid #ccc;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: 80px;
  border-radius: 10px;
}

div.desc {
  padding: 10px;
  text-align: center;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 19.99999%;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

