@font-face {
font-family: 'Special Elite';
src: url(fonts/specialelite-regular-webfont.woff) format('woff');
}

:root {
    /* Page background */
    --background-color: #181414;
    --background-image: url('images/backgrounds/1.jpg');
    --background: var(--background-image) repeat fixed;
    --background-size: repeat;
    
    /* Universal text and link colors */
    --color:#2e2311;
    --link:#562607;
    
    /* Font family (can include fallbacks) */
    --bodyfont: sans-serif;

    /* List background colors */
    --color1: #f4efdc;
    --color2: #6e6452;
    --color3: #d7cbb8;
    --color4: #aca58f;
    --color5: #b7ab94;
    
    /* Borders for each background color */
    --color1border:#705e4b;
    --color2border:#24221c;
    --color3border:#705e4b;
    --color4border:#705e4b;
    --color5border:#522508;
    
    /* Header background and border */
    --header: #f4efdc;
    --headerborder:#2f5131;
    


}
/* 🌙 DARK MODE */

html[data-dark] {
  --background-color: #181414;
  --background-image: url('images/backgrounds/black-linen.png');
  --color: #eaeaea;
  --link: #d6c6a1;

  --color1: #1c1b1a;
  --color2: #2a2723;
  --color3: #23201c;
  --color4: #2f2b26;
  --color5: #26231f;

  --header: #111;
  --headerborder: #444;
}

        ::-webkit-scrollbar {
         width: 16px;
         height: 16px;
         }
         ::-webkit-scrollbar-track {
         background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAFElEQVQIW2M4fPz0////GYAYyAIASnoKpV3w4kgAAAAASUVORK5CYII=");
         image-rendering: pixelated;
         -webkit-filter: grayscale(100%);
         -moz-filter: grayscale(100%);
         -ms-filter: grayscale(100%);
         -o-filter: grayscale(100%);
         filter: grayscale(100%);
         }
         ::-webkit-scrollbar-track:active {
         background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAFElEQVQIW2M4fPz0////GYAYyAIASnoKpV3w4kgAAAAASUVORK5CYII=");
         -webkit-filter: grayscale(100%);
         -moz-filter: grayscale(100%);
         -ms-filter: grayscale(100%);
         -o-filter: grayscale(100%);
         filter: grayscale(100%);
         }
         ::-webkit-scrollbar-thumb {
         border-top: 1px solid #cccccc;
         border-left: 1px solid #cccccc;
         border-right: 1px solid black;
         border-bottom: 1px solid black;
         box-shadow: inset 1px 1px 0 0 white, inset -1px -1px 0 0 #868a8e;
         width: 16px;
         height: 16px;
         background-color: #cccccc;
         z-index: 1;
         }
         ::-webkit-scrollbar-corner {
         background-color: #cccccc;
         }
         ::-webkit-resizer {
         width: 16px;
         height: 16px;
         background-color: #cccccc;
         background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAN0lEQVR4Ae3MgQUAMBRDwU5fFF05lb/CARTBw2Ulof0DxPtcwp3hNuEYnjbcEW4TjuFpwx3h9gMWGgZ2Y/PT2gAAAABJRU5ErkJggg==");
         background-position: bottom right;
         background-repeat: no-repeat;
         image-rendering: pixelated;
         }
         ::-webkit-scrollbar-button,
         .scroll::-webkit-scrollbar-button {
         border-top: 1px solid #cccccc;
         border-left: 1px solid #cccccc;
         border-right: 1px solid black;
         border-bottom: 1px solid black;
         box-shadow: inset 1px 1px 0 0 white, inset -1px -1px 0 0 #868a8e;
         display: block;
         width: 16px;
         height: 16px;
         background-color: #cccccc;
         image-rendering: pixelated;
         background-repeat: no-repeat;
         background-position: center center;
         }
         ::-webkit-scrollbar-button:active,
         .scroll::-webkit-scrollbar-button:active {
         background-position: 2px 2px;
         }
         ::-webkit-scrollbar-button:horizontal:decrement,
         .scroll::-webkit-scrollbar-button:horizontal:decrement {
         background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAHklEQVQY02NgoBT8xyX8H5fwf1zCpOjAYwceV1EEAAO2D/HsQ4vsAAAAAElFTkSuQmCC");
         }
         ::-webkit-scrollbar-button:horizontal:increment,
         .scroll::-webkit-scrollbar-button:horizontal:increment {
         background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAHUlEQVQY02NgIB/8xy3xH7fEf9wS/0nUQZqrKAYAK44P8ZRmzLQAAAAASUVORK5CYII=");
         }
         ::-webkit-scrollbar-button:vertical:decrement,
         .scroll::-webkit-scrollbar-button:vertical:decrement {
         background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGklEQVR4AWMYxuA/SYphmETFhDX9x4mHGQAAcL4P8dQiMq8AAAAASUVORK5CYII=");
         }
         ::-webkit-scrollbar-button:vertical:increment,
         .scroll::-webkit-scrollbar-button:vertical:increment {
         background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAF0lEQVQY02NgoBf4jwJxSOHQhcNAOgMAWWAP8Rv2U3UAAAAASUVORK5CYII=");
         }
         ::-webkit-scrollbar-button:horizontal:increment:start,
         .scroll::-webkit-scrollbar-button:horizontal:increment:start {
         display: none;
         }
         ::-webkit-scrollbar-button:horizontal:decrement:end,
         .scroll::-webkit-scrollbar-button:horizontal:decrement:end {
         display: none;
         }
         ::-webkit-scrollbar-button:vertical:increment:start,
         .scroll::-webkit-scrollbar-button:vertical:increment:start {
         display: none;
         }
         ::-webkit-scrollbar-button:vertical:decrement:end,
         .scroll::-webkit-scrollbar-button:vertical:decrement:end {
         display: none;
         }
         ::-webkit-scrollbar-button:active,
         .scroll::-webkit-scrollbar-button:active {
         border-top: 1px solid #868a8e;
         border-left: 1px solid #868a8e;
         border-bottom: 1px solid #868a8e;
         border-right: 1px solid #868a8e;
         box-shadow: none;
         }  
* { margin:0; padding:0; scrollbar-color: var(--scrollcolor) var(--scrollbg);}


body {
    background: var(--background-color) var(--background-image) repeat fixed;
    background-size: var(--background-size);
    font: 1.0rem var(--bodyfont);
    color: var(--color);
    font-family:"Courier Prime", monospace;
}

/* Body text styles */

main ul {
    list-style-position:outside;
    margin-left:20px;
    line-height:1.5;
}

p {
    line-height:1.5;
    margin:10px 0 10px 0;
}

a {
    color: var(--link);
}

a:hover, a:focus {
    text-decoration:none;
}

/* Main header */

header#top {
    width: 80%;
    max-width:1000px;
    box-shadow: rgba(0,0,0,0.1) -3px 3px 3px;
    background: var(--header);
    border: 1px solid var(--headerborder);
    margin: 25px auto;
    border-radius: 5px; 
}

header#top h1 {
    font-size: 1.5em;
    margin-bottom: 10px; 
    font-family: 'Special Elite', cursive;
}

/* Header text */

#infocontainer {
    padding:20px;
    min-height:5.5em;
}

/* Header icon */

.header-icon {
    margin-right: 20px;
    border-radius: 5px;
    height: 65px;
    width: 65px;
    float:left;
}

/* Menu */

nav {
    margin-top:10px;
    border-top: 1px solid var(--headerborder); 
    font-size:1rem;
    
    
}

nav ul {
    list-style:none;
    display:inline;
}

nav ul li {
    display: inline-block;
    width:100px;
    text-align:center;
    padding: 6px 0;
    border-left: 1px solid var(--headerborder); 
}

nav ul li:first-child {
    border: 0px; 
}

nav a {
    text-decoration:none;
    font-family: 'Special Elite', cursive;
}

nav a:hover {
    text-decoration:underline;
}

/* Main content */

main {
    margin: 40px 70px 0 70px;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
}

/* Lists */

section {
    margin:20px;
    box-shadow: rgba(0,0,0,0.1) -3px 3px 3px;
    padding:15px;
    border: 40px solid transparent; 
    border-image-source: url("images/backgrounds/alo.png");
    border-image-slice: 180 fill;
    border-image-repeat: repeat;
    background-clip: padding-box;
    
}
/* List colors */

.color1 {
    background:var(--color1);
    border-color:var(--color1border);
    
    & .listheader {
        border-color:var(--color1border);
    }
    
    & .handle {
        color:var(--color1border);
    }
}

.color2 {
    background:var(--color2);

    
    & .listheader {
        border-color:var(--color2border);
    }
    
    & .handle {
        color:var(--color2border);
    }
}

.color3 {
    background:var(--color3);
    border-color:var(--color3border);
    
    & .listheader {
        border-color:var(--color3border);
    }
    
    & .handle {
        color:var(--color3border);
    }
}

.color4 {
    background:var(--color4);
    border-color:var(--color4border);
    
    & .listheader {
        border-color:var(--color4border);
    }
    
    & .handle {
        color:var(--color4border);
    }
}

.color5 {
    background:var(--color5);
    border-color:var(--color5border);
    
    & .listheader {
        border-color:var(--color5border);
    }
    
    & .handle {
        color:var(--color5border);
    }
}

/* List titles */

header.listheader {
    display:flex;
    justify-content: space-between;
    border-bottom: 0.5px solid; 
    padding-bottom:5px;
    margin-bottom:10px;
}

h2 {
    font-size:1.1em;
    font-family: 'Special Elite', cursive;
}

h2 .subtitle {
    font-weight:normal;
}

h2 a {
    text-decoration:none;
    color: var(--color);
}

h2 a:hover {
    text-decoration:underline;
}

/* Drag handle */

.handle {
    font-size:1rem;
    cursor:grab;
    font-weight:bold;
}

/* List icons */

.listicon {
    float: right;
    margin: 0 0 5px 10px;
height: auto;
    border-radius:5px;
}

/* List content */

.listtext {
    overflow: auto;
    max-height: 300px;
    padding:10px;
}

.listtext img {
  height: 100px;
  transition:transform .25s ease;
  image-rendering:pixelated;
}
/* List footers */

.foot {
    font-size: 0.9em;
    padding: 10px;
    text-align: right; 
}

.foot p {
    margin:0;
}

/* Main footer */

footer#bottom {
    background: var(--header);
    border: 1px solid var(--headerborder);
    padding: 5px;
    font-size:1rem;
    margin: 25px auto;
    max-width: 700px;
    width:70%;
    box-shadow: rgba(0,0,0,0.1) -3px 3px 3px;
    text-align: center;
    border-radius: 5px; 
}

#misctodo {
ul li::before {
  content: '☐';
  display: inline-block;
  color: black;
  padding-right: 6px;
}

ul li {
  list-style: none;
}
}

#misctodo {
    color: #d7cbb8;
}

#misctodo a {
    color: #d7cbb8;
}

#mangastoread a {
    color: #d7cbb8;
}

#mangastoread {
    color: #d7cbb8;
}

#tattoos {
    color: #d7cbb8;
}

#tattoos a {
    color: #d7cbb8;
}

#infocontainer {
  position: relative;
}

        /* --- Links and select color --- */
        a {
            color: #6d5f4d;
            text-decoration: none;
        }

        a:hover {
            opacity: 0.6;
        }

        ::selection {
            color: #ed7c68;
            background-color: #ffdfc4;
        }

/* Phone stuff */

@media screen and (max-width: 899px) {
    header#top {
        width:calc(100% - 40px);
        margin-top:20px;
    }

    header#top h1 {
        font-size:1.4em;
    }

    main {
        display:inline;
        margin: auto;
        width:calc(100% - 40px);
    }

    .listtext {
        height:auto;
        max-height:250px;
    }

    .handle {
        display:none;
    }
    
    .foot {
        font-size:0.85em;
    }

    h2 {
        font-size:1.2em;
    }

    footer#bottom {
        width:75%;
    }

}