body {
  color: white;
  margin: 20px auto;
  max-width: 900px;
  padding: 0;
  min-height: 100vh;
}

body>img {
  image-rendering: pixelated;
}

html {
  background-color: rgb(16, 98, 118);
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

#title {
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

#bodyContainer {
  margin-top: 80px;
  display: flex;
  flex-direction: row;
  position: relative;
}

#leftBar {
  width:350px;
}

#profilepic {
  border: 4px solid white;
  transform: rotate(-15deg);
  background: white;
  color: black;
  width: fit-content;
  line-height: 0;
  text-align: center;
  height: min-content;
  margin: auto;
  position: relative;
  transition: transform 0.2s ease-in-out;
}

#profilepic:hover {
  transform: translate(-3px, -25px) rotate(-20deg) translate(3px, 25px);
}

#profilepic>img:nth-child(2) {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-24px, -150px) scale(0.3) rotate(10deg);
}

#profileblock {
  display: flex;
  flex-direction: row;
}

#profileblock > div:nth-child(2) {
  margin-left: 20px;
}

.content-block {
  z-index: 0;
  border: 10px ridge rgb(221, 31, 215);
  border-radius: 10px;
  padding: 10px;
  image-rendering: pixelated;
  background:  url(/img/tex/garden.webp) rgb(221, 31, 215);
  background-blend-mode: lighten;
  background-repeat: repeat;
  background-attachment: fixed;
  position:relative;
}

.flex-row {
  display: flex;
  flex-direction: row;
}


#scrollingbg {
  display: block;
  position: fixed;
  background-image: url("./img/tex/starstwinkle.gif");
  width: 300vw;
  height: 300vh;
  top: 0;
  left: 0;
  z-index: -10000;
  animation: scrollingBGSlide 5s linear infinite;
}

body.ccc #scrollingbg {
  background: 0 0 / 152px 117px url("/img/gifs/bigspinskull.gif"), url("./img/tex/starstwinkle.gif")
}

@keyframes scrollingBGSlide {
  0% {
    transform: translateY(0) translateX(0);
  }

  100% {
    transform: translateY(-234px) translateX(-304px);
  }
}

span.highlighter {
  color: yellow;
  text-transform: uppercase;
  animation: hueshift 2s linear infinite;
}

@keyframes hueshift {
  0% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(360deg);
  }
}

#nav {
  justify-content: center;
}

#nav>* {
  margin: 5px;
  margin-bottom: -10px;
}

#nav>a:hover {
  filter: invert(100%);
}

#pageContent {
  margin-top: 0px;
  position: relative;
}

img.pixel {
  image-rendering: pixelated;
}

img#sharkFront, img#sharkBack {
  position: absolute;
  float:left;
  right: 0;
  top: 0;
  image-rendering: pixelated;
  transform: scale(2) translate(25px, -30px) rotate(30deg) ;
}

#sharkFront {
z-index: 2;
}
#sharkBack {
 z-index: -1;
}

.particle {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  opacity: 1;
  animation: fadeOpacity 2s;
  z-index: 99999999;
  pointer-events: none;
}

@keyframes fadeOpacity {
  0% {
    opacity: 1
  }
  100% {
    opacity: 0
  }
}

#particle-container {
  width: 100vw;
  height: 100vh;
  position:fixed;
  z-index: 99999999;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Clown */
#clownbox {
  position:absolute;
  image-rendering: pixelated;
  top: -256px;
  height: 256px;
  width: 256px;
  left: 0;
  opacity: 0;
}

#clownbox.reveal {
  opacity: 1;
  animation: clownboxreveal 1.2s forwards;
}

#clownbox #arm{
  position:absolute;
  right: 30px;
  top: -83px;
}

#clownbox #arm.retract {
  opacity: 0;
  animation: armretract 1.2s forwards;
}

@keyframes clownboxreveal {
  0% {
    opacity: 0;
    left: -1024px;
  }
  50% {
    opacity: 1
  }
  100% {
    left: 0;
    opacity: 1;
  }
}

@keyframes armretract {
  0% {
    right: 30px;
    opacity: 1;
  }
  10%, 80% {
    right: 60px;
    opacity: 1;
  }
  100% {
    right: 1024px;
    opacity: 0;
  }
}