

.grid-container {
  display: grid;
  grid-template-columns: 20% 60% 20%;
  margin: auto;
  width:80%;
  
}

.sidenav{
  border: 2px solid white;
  border-radius: 10px;
  background-color: #ccffff;
  position: relative;
  top: 50px;
  margin:50px 0px 50px 10px;
  
}

.image-container img {

  transition: transform 0.3s ease;

}

.image-container:hover img {

  transform: scale(1.1);

}

.maintext{
  
  text-align: center;
  border: 2px solid white;
  border-radius: 10px;
  background-color:black;
  opacity:0.5;
  position: relative;
  top: -20px;
  margin:50px 60px 10px;
  height:500px
  
}

.otherside{
  border: 2px solid white;
  margin:50px 10px 10px;
  border-radius: 10px;
  position: relative;
  top: 50px;}


/*Some fancy code for fun, to add special characters around the navigation links. Change content to "" if you don't want these.*/
.links li:before {
  content: "ã€Œ";
  }
  
.links li:after {
  content: "ã€ âˆ· ";
  }
  
.links .last:after {
  content: "ã€";
  }
  
.links li:before, .links li:after {
  letter-spacing: 0.1em;
  }
  
  
  /*CONSUMPTION PAGE*/
  

/*alkaldsnfakdsfalskdnfs

[data-theme="light"] {
    --font: #141414;
    --background: #dadada;
  }
  
  [data-theme="dark"] {
    --background: #141414;
    --font: #dadada;
  }

:root {
    --red: #EC1016;
    --orange: #f8a71b;
    --yellow: #EDDB00;
    --green: #BBF124;
    --blue: #2E4F9E;
    --purple: #655DC6;
    --bluegray: #7BA0C4;
    --pink: #F883D7;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    image-rendering: pixelated;
}

*::selection {
    background-color: var(--accent);
    color: var(--font);
}

body {
    color: var(--font);
    background-color: var(--background);
    font-family: dotgothic;
    cursor: url('cursor.png'), auto;
}

h1 {
    font-family: tribute;
    font-size: 24px;
    filter: drop-shadow(0px 1px var(--font)) drop-shadow(0 -1px var(--font)) drop-shadow(1px 0 var(--font)) drop-shadow(-1px 0 var(--font));
}

h1:hover {
    background-size: 100vw 100vw;
    margin: 0;
    position: relative;
    text-align: -webkit-center;
    background: repeating-linear-gradient(-45deg, var(--accent) 0%, var(--background) 25%, var(--accent) 50%);
    animation: 'slide' 30s infinite linear forwards;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes slide {
    0% { background-position-x: 0%; }
    100% { background-position-x: 200vw; }
}

h1::before {
    content: ">> ";
}

h2 {
    font-family: tribute;
    font-size: 18px;
    font-style: italic;
}

h3 {
    font-family: tribute;
    font-size: 16px;
    text-decoration: underline;
}

p {
    letter-spacing: 1px;
    line-height: 20px;
    font-size: 16px;
}

strong {
    color: var(--accent);
    filter: drop-shadow(0px 1px var(--font)) drop-shadow(0 -1px var(--font)) drop-shadow(1px 0 var(--font)) drop-shadow(-1px 0 var(--font));
}

strong:hover {
    background-size: 100vw 100vw;
    margin: 0;
    position: relative;
    text-align: -webkit-center;
    background: repeating-linear-gradient(-45deg, var(--accent) 0%, var(--background) 25%, var(--accent) 50%);
    animation: 'slide' 30s infinite linear forwards;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

em {
    background-color: var(--accent);
}

em::selection {
    background-color: var(--font);
    color: var(--background);
}

a {
    color: var(--font);
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
}
  
a:hover {
    text-decoration:line-through;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    cursor: url('cursorhover.png'), auto;
}

textarea {
    background-color: var(--background);
    border: solid 1px var(--font);
    color: var(--font);
}

ol {
    list-style-position: inside;
    margin-left: 50px;
    margin-bottom: 15px;
    text-indent: -25px;
}

ul {
    list-style-position: inside;
    list-style-type: '✦ ';
}

ul li {
    padding-left: 20px;
    text-indent: -20px;
}

hr {
    margin: 15px;
    margin-top: 0;
}



/* =============== INDEX 

#index {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#index>div>div {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-content: center;
}

#index #knight {
    pointer-events: all;
}

@keyframes float {
    0% {
        transform:translateY(5px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(5px);
    }
}

.float {
    animation: float infinite 2s linear;
}

.transition {
    animation: transition 0.6s ease-in forwards;
    animation-delay: 2s;
}

@keyframes transition {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(400px);
    }
}

/* =============== UNIVERSALS 

.borderless {
    border: 1px solid var(--background);
    padding: 2px;
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
    z-index: 0;
    width: 100%;
    background-color: var(--background);
}

.singleborder {
    border: 1px solid var(--font);
    padding: 2px;
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
    z-index: 0;
    width: 100%;
    background-color: var(--accent);
}

.singleborder > .singleborder {
    padding: 5px;
    background-color: var(--background);
    border-radius: 2px;
}

.borderimage {
    border-image-slice: 33 33 33 33 fill;
    border-image-width: 33px 33px 33px 33px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: round round;
    border-image-source: url("graphics/border.png");
    border-style: solid;
    image-rendering: pixelated;
}

.singleborder p {
    margin-bottom: 15px;
}

.threecol {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    justify-content: space-evenly;
    gap: 2px;
}

.doll {
    position: absolute;
    z-index: 200;
    pointer-events:none;
    filter: drop-shadow(0px 0px 2px var(--font));
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}

.tablefooter {
    width: 101%;
    border-top: 1px var(--font) solid;
    border-collapse: collapse;
    position: absolute;
    bottom: 0px;
    left:-2px;
    right:-2px;
}

.tablefooter td {
    border: 1px var(--font) solid;
    border-bottom: none;
    width: 33%;
}

.tablefooter p {
    margin: 0;
}

.todo {
    list-style-image: url('graphics/unchecked.png');
    list-style-position: inside;
}

.checked {
    list-style-image: url('graphics/checked.png');
    text-decoration: line-through;
}

.new::after {
    content: url(graphics/new.gif);
    margin-left: 2px;
}

.centerflexcol {
    display: flex; 
    flex-direction: column; align-items: center;
}

.centerflex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1px;
}

#trackName {
    width: calc(100% + 20px);
    display: flex;
    gap: 5px;
    text-wrap: nowrap;
    z-index: 0;
}

#artistName {
    overflow-wrap: break-word;
    width: 118px;    

}

.horiz > li {
    display: inline-block;
}

.horiz > li > a {
    text-decoration: underline var(--accent) 2px;
}

.horiz > li > a:hover {
    text-decoration: line-through var(--accent) 2px;
}

/* =============== MAIN FRAME 

#mainframe {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 800px;
    margin: 50px 200px;
    gap: 50px;
}





/* ===================== HEADER 

#header {
    height: fit-content;
    color: var(--background);
    position: relative;
    overflow: visible;
    z-index: 1;
    padding: 0px;
}

#header a {
    position: absolute;
    right: 5px;
    color: var(--background);
    filter: drop-shadow(0px 1px var(--font)) drop-shadow(0 -1px var(--font)) drop-shadow(1px 0 var(--font)) drop-shadow(-1px 0 var(--font));
}

#header h1 {
    position: absolute;
    bottom: 0px;
}

.headergif {
    width: 100%;
    height: 150px;
    background-position: center;
}

#homeheader {
    background-image: url(graphics/haruka2.gif);
}

/* ===================== FIRST BLOCK 

#first {
    display: grid;
    grid-template-columns: 20% auto auto;
    justify-content:space-between;
    position: relative;
    height: fit-content;
    gap: 2px;
}

#firstdoll {
    right: -45px;
    bottom: -150px;
    width: 200px;
}

#navlink {
    position: absolute;
    bottom: 5px;
    margin: auto;
    left: 0;
    right:0;
}

#firstwhitespace {
    float: right;
    bottom: 0;
    right: 0;
    height: 150px;
    width: 30px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 2px;
    flex-wrap: wrap;
}

.buttons a {
    filter: none;
    height: 31px;
}

#minimuu {
    width: 100px;
    position: absolute;
    bottom: -10px;
    right: -20px;
}

#stamps img {
    align-self: center;
    margin: 0;
}

/*========================= SECOND BLOCK 

#second {
    grid-template-columns: 25% 49.5% 25%;
    display: grid;
}

#listening {
    display: grid;
    grid-template-columns: 68px auto;
    gap: 5px;
    height: 100%;
    position: relative;
    overflow: auto;
}

#listening img {
    width: 68px;
    border: var(--accent) 2px solid;
    image-rendering: pixelated;
    z-index:2;
}

#listening p {
    margin:0;
    text-align: left;
}




/*========================= THIRD 

#third {
    display: grid;
    grid-template-columns: auto 25% auto;
    justify-content: space-around;
    gap: 2px;
}

#thirddoll {
    left: -130px;
    bottom: 0px;
    z-index: -100;
}

#harukadoll {
    width: 75px;
    left: 455px;
    bottom: -25px;
}

/*========================= PESTERCHUM STATUS 

#pesterStatus {
    border-bottom: 1px solid var(--font);
    font-family: courierpixel;
    font-size: 12px;
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: var(--background);
    padding: 5px;
    text-align: center;
}

#statuscafe-username {
    font-weight: bold;
    color: var(--font);
    margin-bottom: 0px;
}

#statuscafe-username a {
    text-decoration: none;
    color: var(--accent);
    filter: drop-shadow(0px 1px var(--font)) drop-shadow(0 -1px var(--font)) drop-shadow(1px 0 var(--font)) drop-shadow(-1px 0 var(--font));
    position: relative;
}

#statuscafe-content {
    color: var(--font);
}

#statuscafe-content::before {
    content: 'JY: ';
    color: var(--accent);
    filter: drop-shadow(0px 1px var(--font)) drop-shadow(0 -1px var(--font)) drop-shadow(1px 0 var(--font)) drop-shadow(-1px 0 var(--font));
}

/* ==================== TREE VIEW 

ul.tree-view {
    font-family: 'dotgothic';
    display:block;
    margin:0;
    color: var(--font);
    line-height: 18px;
    padding-top: 0px;
    z-index: 10;
}

ul.tree-view li {
    list-style-type:none;
    margin-top:3px;
    z-index: 10;
    text-indent: 0;
    padding-left: 0;
}

ul.tree-view a {
    color:var(--font);
    transition: ease 0.25s;
    filter: none;
}

ul.tree-view a:focus {
    background-color:var(--accent);
    color:var(--font);
}

ul.tree-view a:hover {
    transition: ease 0.25s;
}

ul.tree-view summary {
    color: var(--font);
    z-index: 100;
    font-weight: bolder;
    font-style: italic;
}

ul.tree-view summary:hover {
    transition: ease 0.25s;
}

ul.tree-view ul {
    margin-top:3px;
    margin-left:16px;
    padding-left:16px;
    border-left:1px dotted var(--font);
}

ul.tree-view ul>li {
    position:relative;
}

ul.tree-view ul>li:before {
    content:"";
    display:block;
    position:absolute;
    left:-16px;
    top:6px;
    width:12px;
    border-bottom:1px dotted var(--font);
}

ul.tree-view ul>li:last-child:after {
    content:"";
    display:block;
    position:absolute;
    left:-20px;
    top:7px;
    bottom:0;
    width:8px;
    height: 10px;
    background: var(--background);
    z-index: -10;
}
    
ul.tree-view ul details>summary:before {
    margin-left:-22px;
    position:relative;
}

ul.tree-view details {
    margin-top:0;
}

ul.tree-view details>summary:before {
    text-align:center;
    font-style: normal;
    display:block;
    float:left;
    content:"+ ";
    width:8px;
    height:8px;
    background-color: var(--background);
    z-index: -10;
}

ul.tree-view details[open] summary {
    margin-bottom:0;
}

ul.tree-view details[open]>summary:before {
    content:"-";
}

details > summary {
    list-style:none;
}  

