@font-face {
  font-family: "kirby";
  src: url(fonts/kirby.ttf);
}

@font-face {
  font-family: "janyk";
  src: url(fonts/janyk.ttf);
}

@font-face {
  font-family: "qaroxe";
  src: url(fonts/qaroxe.ttf);
}

@font-face {
  font-family: "smalle";
  src: url(fonts/smalle.ttf);
}

@font-face {
  font-family: "boinqster";
  src: url(fonts/boinqster.ttf);
}

@font-face {
  font-family: "myrtille";
  src: url(fonts/myrtille.ttf);
}

html {
  height: 100%;
  font-family: "kirby";
  box-sizing: border-box;
}

body {
  text-align: center;
  height: 100%;
  width: 99vw;
  display: flex;

  background-image: url(images/bubbles.gif);

  flex-direction: row;
  column-gap: 1vw;
  overflow: hidden;
}

main {
  height: 101vh;
  margin-top: -5vh;
  padding: 5px;
  padding-bottom: 13px;
  flex: 5;
  overflow-y: auto;
}

#spiffo {
  height: 17%;
  width: auto;
  margin-top: 1vh;
  image-rendering: pixelated;
}

#wx78 {
  height: 25vh;
  width: auto;
  image-rendering: pixelated;
  
  vertical-align: top;
  float: right;
}

aside {
  margin-top: -1.1vh;
  margin-left: -1.1vw;
  padding-left: 0.5vw;
  justify-items: center;
  height: 101vh;
  flex: 1;
  background-image: url(images/poolbottom.gif);
}

h1 {
  font-family: "qaroxe";
  font-size: 64px;

  background: #5a9ef6;
  -webkit-background-clip: text;
  -webkit-text-stroke: 4px transparent;
  color: white;
  filter: drop-shadow(1px 1px 0 black) drop-shadow(-1px 1px 0 black) drop-shadow(0 -1px 0 black) drop-shadow(1px 0 black);
}

h2, h3, h4, h5, h6 {
  font-family: "janyk";
}

h2 {
  font-size: 45px;
  margin-top: 1vh;

  background: #5a9ef6;
  -webkit-background-clip: text;
  -webkit-text-stroke: 4px transparent;
  color: white;
  filter: drop-shadow(1px 1px 0 black) drop-shadow(-1px 1px 0 black) drop-shadow(0 -1px 0 black) drop-shadow(1px 0 black);
}

p {
  font-family: "kirby";
  font-size: 14px;
  margin: 0;
  margin-bottom: 1vh;
}

a {
  color: #174075;
}

.fuzzy-box {
  border: 3px solid #a8ceff;
  background-color: rgba(168, 206, 255, 0.7);
  border-radius: 10px;
  box-shadow: 0px 0px 10px #a8ceff, 0px 0px 10px #a8ceff, 0px 0px 10px #a8ceff, 0px 0px 10px #a8ceff, 0px 0px 14px #a8ceff;
}

#credits {
  width: 85%;
  height: 68%;
  margin-top: -3vh;
  overflow-y: auto;
}

#big-box {
  height: 80vh;
  width: 100%;
  margin-top: -5vh;
}

.flex50-50, .flex80-20, .flex33-33-33, .flex40-60 {
  display: flex;
  flex-direction: row;
  column-gap: 1vw;
  flex-wrap: nowrap;

  margin-bottom: 3vh;
}

.flex50-50, .flex40-60 {
  column-gap: 3vw;
}

.flex50-50 p, .singlecol p {
  text-align: justify;
  padding-left: 1vw;
  padding-right: 1vw;
}

.flex50-50 section, nav, .flex80-20 .smaller, .flex33-33-33 section {
  flex: 1;
}

.flex40-60 .smaller {
  flex: 2;
}

.flex40-60 .larger {
  flex: 3;
}

.flex80-20 .larger { 
  padding: 10px;
  text-align: justify;

  flex: 4;
}

.flex80-20 .larger p, .flex50-50 p, .singlecol p {
  line-height: 1.5;
}

.flex80-20 .larger h2, .flex50-50 h2, .singlecol h2 {
  margin-bottom: 0;
}

#penguin, #monkey {
  height: 10vh;
  width: auto;
  vertical-align: top;
  float: left;
  image-rendering: pixelated;
  cursor: pointer;

  margin-right: 1vw;
}

#monkey {
  height: 15vh;
  transform: scaleX(-1);
}

#spiffo2 {
  vertical-align: top;
  float: right;
  image-rendering: pixelated;
  height: 25vh;
  width: auto;
}

#sacksock {
  image-rendering: pixelated;
  height: 45vh;
}

.divider {
  width: 48%;
  margin: 0;
  margin-bottom: 3vh;
  image-rendering: pixelated;
}

#scrap {
  background-image: url(images/graph-paper.png);
  background-size: cover;
  background-position-y: -2vh;
  background-clip: unset;
  background-repeat: no-repeat;
}

#scrap p {
  font-size: large;
  max-width: 90%;
  position: relative;
  top: 20%;
  left: 5%;
}

#scrap p, #notepad p, .note p {
  font-family: "smalle";
}

.image-glow {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.6))
}

#ohmygodbruh {
  height: 13vh;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255));

  position: relative;
}

#notepad {
  height: 22vw;

  background-color: #ffffff00;
  background-image: url("images/notepad.png");
  background-size: 140%;
  background-position-x: -3vw;
  background-position-y: -2vh;
  background-repeat: no-repeat;
}

#notepad p {
  height: 80%;
  width: 70%;

  position: relative;
  top: 14%;
  left: 16%;

  overflow-y: auto;
}

#shelf {
  height: 50vh;
  display: flex;

  background-image: url(images/shelf.png);
  background-size: contain;
}

#shelf img {
  height: 75%;
  width: auto;

  image-rendering: pixelated;
  cursor: pointer;
}

.media-slot {
  display: flex;
  flex-direction: column;
  align-items: center;  
  position: relative;
}

.note {
  visibility: hidden;
  width: 210px;
  height: 30vh;
  padding-top: 1.5vh;
  z-index: 1;

  background-image: url(images/paper2.png);
  background-size: 140%;
  background-position-x: -3vw;
  background-position-y: -6vh;
  background-repeat: no-repeat;
}

.note.open {
  visibility: visible;
}

.note p {
  height: 77%;
  text-align: center;
  overflow: auto;

  position: relative;
  left: 0.5vw;
  top: 3vh;
}

#shelf {
  display: flex;
  column-gap: 1vw;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 999px; 
}

main::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 999px; 
}

.fuzzy-box::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.379);
  border-radius: 999px; 
}


