@import url('https://fonts.googleapis.com/css2?family=Delius&display=swap');
* {
  margin: 0px;
  padding: 0px;
  z-index: 1;
}
html {
  background-color: #f5e7de;
  background-image: url("/img/backk.gif");
  color: #440011;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  font-family: 'Times New Roman', Times, serif;
}
body {
  margin: auto;
  width: 800px;
  position: relative;
  image-rendering: pixelated;
}

header {
  background-image: url(/img/banner.png);
  height: 200px;
  width: 700px;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
h1 { font-size: 0px; }

.pagedoll {
  cursor: pointer;
  position: absolute;
  top: 19px;
  right: -20px;
}
#pagedoll:active {display: none}

flex {
  width: 100%;
  display: flex;
}
nav { min-width: 130px;
  position: relative;
  padding-top: 22px;
  font-size: 12px;
  h2 {
    border-width: 8px;
    border-style:solid;
    border-image: url("img/lace3.png") 8 fill round;
    font-size: 16px;
    margin: 0; padding: 0;
  }
  ul { list-style-image: url(/img/bullet.gif); margin-left: 16px; }
  li { margin-bottom: 3px; 
    color: #ffffff;
    background-color: #885533;
    background-image: url(/img/choco.png);
    border: 1px solid #440011;
    border-radius: 5px;
  }
  a {
    color: #ffffff !important;
  display: block;
  text-align: center;
  margin: 2px;
  img {
    filter:grayscale(0.5);
    line-height: 0;
    padding: 0;
    margin: 0;
  }
  }
  a:hover {
  font-weight: bold;
  background-color: #ee6688;
  img {
    filter:grayscale(0);
  }
  }
}
.navkikai {
  position:absolute;
  width: 133px;
  height: 125px;
  background-image: url("/img/navkikai.png");
  top: -78px;
  margin-bottom: -25px;
  pointer-events: none;
  z-index: 100 !important;
}
.navsatetsu {
  pointer-events: none;
  display: block;
  margin: auto;
}
.content {
  border: 1px solid;
  border-width: 8px;
  border-style:solid;
  border-image: url("img/lace.png") 8 fill round;
  flex-grow: 1;
}
main { width: 100%; padding: 3px; }
aside { width: 200px; float: right !important; }

#time { font-weight: bold; }
.julie {
  margin: auto;
  width: 300px;
  background-color: #885533;
  background-image: url(/img/choco.png);
  border: 2px solid;
  border-radius: 5px;
}
.juliebubble {
  display: flex;
  height: 75px;
}
.juliespeech {
  margin-top: 10px;
  height: 75px;
  background-color: #ffffff;
  color: #000000;
  text-align: center;
  padding: 5px;
}

.sidescroll {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 200px;
  width: 500px;
  border-width:7px;
  border-style:solid;
  border-image: url("/img/lace2.png") 8 fill round;
  margin: 0 auto;
  margin-bottom: 10px;
}
.sideinner {
  --duration: 25;
  width: max-content;
  white-space: nowrap;
  display: flex;
  gap: 5px;
  animation: marquee calc(var(--duration) * 1s) linear infinite;
  img {
    height: 198px;
    border: 1px solid;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.sideinner:hover {
    animation-play-state: paused;
}

h2 {
  background-color: #eebbbb;
  background-image: url(/img/backheading.png);
  border-radius: 5px;
  margin: auto;
  text-align: center;
  border: 1px solid;
  padding: 2px;
  margin: 5px;
}
h3 {
  padding: 5px;
  text-align:center;
}
p {
  margin: 10px;
  text-indent: 1em;
}
a {
  color: #ee6688;
}
a:hover {
  background-color: #ffffff;
}
ul {
  margin-left: 2em;
  padding: 5px;
  list-style-image: url(/img/medama.png); margin-left: 16px; 
}


homepageupdatescontainer {
  display: block;
  position: relative;
  width: 290px; 
  height: 200px;
  margin: 5px;
  overflow: scroll;
  border: 1px solid;
  h3 {
    position: sticky;
    top: 0;
    width: 290px; 
    background-color: #eebbbb;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid;
  }
}
homepageupdates {
  display: block;
  color: #ffffff;
  text-align: left;
  time {
    color: #eebbbb;
    font-weight: bold;
    display: block;
    border-bottom: 1px solid #ffffff;
  }
  article {
    margin: 3px;
    padding: 5px;
    border: 1px solid #440011;
    border-radius: 5px;
    background-color: #885533;
    background-image: url(/img/choco.png);
  }
  a {
    color: #eebbbb;
  }
  a:before {
    content: url(/img/medama.png)
  }
}

figure {
  text-align: center;
  margin: auto;
  width: 90%;
  padding: 5px;
  img { max-width: 100%; }
      figcaption {
        text-align:left
      }
  }
  .roomcorner {
    background-image: url(/img/bglighten.png), url(/img/bgdarken.png), url(/img/bgcolour.png), url(/img/room1.png);
    background-size: contain;
    background-blend-mode: lighten, darken, color;
    width: 500px;
    height: 375px;
  }
  .roomcorner:hover {
    background-image: url(/img/room1.png);
  }
  .roomclowns {
    background-image: url(/img/bglighten.png), url(/img/bgdarken.png), url(/img/bgcolour.png), url(/img/room2.png);
    background-size: contain;
    background-blend-mode: lighten, darken, color;
    width: 500px;
    height: 375px;
  }
  .roomclowns:hover {
    background-image: url(/img/room2.png);
  }
.linkstable {
  width: 490px;
  margin: auto;
  border-collapse: collapse;
  text-align: center;
  th, td {
    border: 1px solid;
    padding: 5px;
  }
  th {
    background-color: #eebbbb;
    border-color: #440011;
  }
  tbody {
    background-color:#ffffff;
  }
  tr:nth-of-type(even) {
    background-color: #f5e7de;
  }
  a:hover {
    background-color: #fe3333;
  }
}

.blogart {
  article {
    flex-grow: 1;
    padding: 5px;
  }
  figure img {
    border: 1px solid #440011;
    padding: 2px;
    background-color: #885533;
  }
}
.latestblog {
  border-right: 2px dashed #885533;
}
.newestart {
  image-rendering:auto;
  min-width: 200px;
}
.newestart img:hover {
  cursor: zoom-in;
}

#lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #00000099;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  padding: 5px;
  border: 1px solid #ffffff;
  background-color: #00000099;
  cursor: zoom-out;
}
#lightbox.pixel img {
  image-rendering: pixelated;
  transform: scale(2);
}
.uriel img {
  border-width:7px;
  border-style:solid;
  border-image: url("/img/lace2.png") 8 fill round;
  max-width: 90%;
  max-height: 300px;
}