/*
div, header, main, footer, aside, nav {
  border: solid 1px blue !important; 
}
*/

* {
  box-sizing: border-box;
}

p, h1, h2, h3, h4, li {
  margin: 0px;
}

@font-face {
  font-family: FreePixel;
  src: url(assets/font/FreePixel.ttf);
  font-weight: normal;
}

@font-face {
  font-family: FreePixel;
  src: url(assets/font/PixelOperator-Bold.ttf);
  font-weight: bold;
}

@font-face {
  font-family: Bangalor;
  src: url(assets/font/Bangalor.ttf);
  font-weight: bold;
}

@font-face {
  font-family: Emoji;
  src: url(assets/font/EmojiFont.ttf);
  font-weight: bold;
}

ul {
  list-style: square inside url("assets/interests/pink\ bullet.png");
  margin: 0;
  padding: 5px;
}

li {
  margin-bottom: 5px;
}

u {
  text-decoration: underline wavy #f8d3f8;
}

s {
  opacity: 0.4;
}

html, button {
  font-family: ms ui gothic, FreePixel;
  font-size: 16px;
  color: #6a5099;
}

/*
html, body {
  height: 99%;
  overflow: hidden;
}
*/

body {
  background-color: #fff5fd;
  opacity: 1;
  background-image:  linear-gradient(#ffe1ff 1px, transparent 1px), linear-gradient(to right, #ffe1ff 1px, #fffcfe 1px);
  background-size: 30px 30px;
}

h1 {
  font-family: Bangalor;
  font-size: 40px;
}

a {
  color: #ff6bdf;
  text-decoration: underline dotted 1px;
  transition: color 0.3s;
}

a:hover {
  color: #ffafee;
}

.container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid {
  background: #fff5fd;
  display: grid;
  gap: 10px;
  padding: 10px;
  grid-template: 
  "header header"
  "nav main"
  "footer footer" / 200px 600px;
  border-radius: 5px;
  border: double 3px #ffafee;
  box-shadow: inset 0 0 10px #fff;
}

header {
  border-radius: 3px;
  background: url(assets/interests/mizuki-banner.jpg);
  background-size: 100%;
  padding: 0 10px 0 0;
  grid-area: header;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  border: solid 1px #f8d3f8;
  transition: 0.5s;
}

header p {
  color: #fff;
  paint-order: stroke fill;
  -webkit-text-stroke: 3px #ffafee;
}

header a {
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

header:hover {
  background-size: 110%;
}

header h1 {
  color: #fff;
  paint-order: stroke fill;
  -webkit-text-stroke: 3px #ffafee;
  text-shadow: 0 0 5px #ffafee;
  transition: 0.5s;
}

header h1:hover {
  letter-spacing: 4px;
}

nav {
  padding: 10px;
  border-radius: 3px;
  background: #fff;
  grid-area: nav;
  border: solid 1px #f8d3f8;
  box-shadow: inset 0 0 10px #fff5fd;
}

main {
  padding: 10px;
  border-radius: 3px;
  background: #fff;
  grid-area: main;
  height: 600px;
  overflow-y: auto;
  border: solid 1px #f8d3f8;
  box-shadow: inset 0 0 10px #fff5fd;
}

footer {
  text-align: center;
  grid-area: footer;
  color: #ff6bdf;
}

.title {
  background: linear-gradient(to left, #fff5fd, #ffe3fb);
  padding: 7px;
  border: solid 1px #f8d3f8;
  border-radius: 3px;
  font-size: 16px;
  color: #fff;
  paint-order: stroke fill;
  -webkit-text-stroke: 2px #ffafee;
  box-shadow: inset 0 0 10px #fff;
}

.emoji {
  font-family: Emoji;
}

.button {
  margin-top: 5px;
  display: block;
  background: linear-gradient(to right, #fff, #fff5fd);
  padding: 7px;
  border: solid 1px #f8d3f8;
  border-radius: 3px;
  box-shadow: inset 0 0 10px #fff;
  color: #6a5099;
  text-decoration: none;
  transition: color 0.3s, margin-left 0.3s;
}

.first::before {
  content: "s";
  font-family: Emoji;
  color: #ffafee;
}

.button:hover {
  margin-left: 10px;
  color: #ffafee;
}

.button-sub:before {
  content: "D";
  font-family: Emoji;
  color: #ffafee;
}

.button-sub {
  margin-left: 20px;
}

.button-sub:hover {
  margin-left: 30px;
}

.pink-text {
  color: #ffafee;
}

.callout h2 {
  font-size: 20px;
  border-bottom: solid 1px #f8d3f8;
  padding-bottom: 5px;
  margin-bottom: 10px;
  paint-order: stroke fill;
  -webkit-text-stroke: 2px #fffcfe;
}

.callout {
  background: #fff5fd;
  padding: 10px;
  border: solid 1px #f8d3f8;
  border-radius: 3px;
  box-shadow: inset 0 0 10px #fff;
  margin-bottom: 10px;
}

.navigation {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.interests-nav {
  height: 40px;
  display: block;
  background: linear-gradient(to right, #fff, #fff5fd);
  padding: 7px;
  border: solid 1px #f8d3f8;
  border-radius: 3px;
  box-shadow: inset 0 0 10px #fff;
  text-decoration: none;
  transition: color 0.3s;
  paint-order: stroke fill;
  -webkit-text-stroke: 4px #fff;
}

.interests-nav:focus::before {
  font-family: Emoji;
  content: "s";
}

.interests-nav:focus, .interests-nav:hover {
  background: #fff;
  color: #ffafee;
}


/* 
========================================
  INTERESTS BOX 
========================================
*/

.interest {
  position: relative;
}

.interest-box {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 5px;
  row-gap: 10px;
}

.interest img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 3px;
  border: solid 1px #f8d3f8;
  transition: filter 0.2s ease-in-out;
}

.interest a > img:hover {
  filter: sepia(1) hue-rotate(-90deg) saturate(1.5);
}

.interest p {
  font-size: 12px;
  text-align: center;
  background: #fff5fd;
  border: solid 1px #f8d3f8;
  border-radius: 3px;
  box-shadow: inset 0 0 10px #fff;
  border-radius: 0 5px 0 0;
  padding: 5px;
  position: absolute;
  bottom: 0;
}

#characters {
  display: none;
}

#manga {
  display: none;
}

#music {
  margin-top: 10px;
  display: none;
}

#anime {
  display: none;
}

#games {
  margin-top: 10px;
  display: none;
}

#books {
  margin-top: 10px;
  display: none;
}

#hobbies {
  margin-top: 10px;
  display: none;
}



/* 
========================================
  SCROLLBAR 
========================================
*/

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #fff;
  border-left: dashed 1px #f8d3f8;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #fff5fd;
  border-radius: 10px;
  border: solid 1px #f8d3f8;
  border-right: none;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #ffe3fb;
}

::-moz-selection { /* Code for Firefox */
  color: #ffffff;
  background: #ffafee;
}

::selection {
  color: #ffffff;
  background: #ffafee;
}