@font-face {
    font-family: 'meditative';
    src: url('https://lilithdev.neocities.org/shrine/whitepine/meditative.woff2') format('woff2'),
        url('https://lilithdev.neocities.org/shrine/whitepine/meditative.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html {
    font-family: "meditative";
    /*font-size: 16px;*/
    font-size: 20px;
}

.window .title {
    display: none !important;
}

.window {
    /*border-image: url(/index/halloween/empty_frame_small.png) 120;
    border-image-width: 32px;*/
    /*border-image: url(/index/halloween/empty_stretch_frame_hotfix.png) 163;
    border-image-width: 64px;
    box-shadow: 0px 0px 10px 2px black;
    padding: 28px;*/ /* Magic number??????? */
    /*box-shadow: 0px 0px 10px 2px black;*/
    box-shadow: 0px 2px 8px 5px black;/*0px 0px 10px 2px black;*/
    background: none !important;
    border: 64px solid;
    border-image: url(/index/halloween/empty_stretch_frame_hotfix.png) 163;
    border-image-outset: 2px;
    padding: 0;
}

.window .content {
    /*opacity: 0;*/
    margin: 0;
    border: none;
    margin: -38px;
    margin: -36px;
    box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.4) inset;
    background: rgb(20,25,30);
    --lilith-window-text-color: #F7DDB9;
}

.window.alt-frame {
    /*border: 40px solid;*/
    border: 24px solid;
    border-image: url(/index/halloween/short_frame_small2.png) 51 57 52 54;
    padding: 0px;
}

.window.alt-frame .content {
    border: none;
    margin: 0;
}

.window.mirror-frame {
    border: 40px solid;
    /*border-image: url(/index/halloween/empty_frame_small.png) 118;*/
    border-image: url(/index/halloween/empty_frame_small_rotated.png) 118;
    border-image-outset: 2px;
    padding: 0px;
    border-image-outset: 5px;
}

.window.mirror-frame .content {
    border: none;
    margin: 0;
    margin: -5px;
}

.window.plaque-frame {
    border: 24px solid;
    border-image: url(/index/halloween/plaque.png) 27 fill;
    padding: 0px;
    box-shadow: none;
}

.etched-text {
    /*text-shadow: 0 2px gray;*/
    text-shadow: 0 2px #d3ba74;
    font-weight: bold;
    /*color: #fff2e6 !important;*/
    /*color: #fff2e6;*/
    font-family: "meditative";
    /*font-size: 16px;*/
    font-size: 20px;
    color: rgb(20,25,30) !important;
}

.etched-text .subtitle {
  font-weight: bold;
  font-size: 16px;
  /*color: #fff2e6 !important;*/
  color: rgb(20,25,30) !important;
}

.window.plaque-frame .content {
    border: none;
    margin: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: -2px;
}

.window.painting {

}

.painting > .content {
    padding: 0;
    display: block;
    /*width: calc(100% + 36px*2);*/
    width: calc(100% + 5px*2);
}

body {
    pointer-events: none;
}

.left, .right, .middle {
    align-items: center;
    pointer-events: none;
}

.left > *, .right > *, .middle > * {
    pointer-events: all;
}

.achievement-progress-bar-outer {
  border: 2px solid black;
  background: black;
}

#door-container {
    aspect-ratio: 360/520;
    max-width: 360px;
    width: 80%;
    /*background: red;
    margin-bottom: 20px;*/
    position: relative;
}

#door-container > * {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background-size: cover !important;
}

#door-frame {
    aspect-ratio: 360/520;
    background: url(/index/halloween/hw_doorframe.png);
    width: 100%;
}

#door-door {
    left: calc(40 / 360 * 100%);
    top: calc(50 / 520 * 100%);
    width: calc(280 / 360 * 100%);
    aspect-ratio: 280/428;
    background: url(/index/halloween/hw_door.png);
    transform-origin: left center;
    transform: perspective(800px) rotateY(0deg);
    backface-visibility: hidden;
    cursor: url("/click.png"), auto;
}

#door-inside {
    left: calc(30 / 360 * 100%);
    top: calc(30 / 520 * 100%);
    width: calc(300 / 360 * 100%);
    height: calc(448 / 520 * 100%);
    background: black;
}

#door-bubble {
  position: absolute;
  transform: translate(-50%,-50%);
  background: url(https://lilithdev.neocities.org/shrine/vg/nso/sprites/needy_msg_bg.png);
  width: 160px;
  height: 100px;
  padding: 14px 10px;
  box-sizing: border-box;
  line-height: 1.4em;
  left: 0;
  z-index: 1;
  pointer-events: none;
  animation-name: bubble-bob;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  top: calc(50% - 50px);
  opacity: 1;
  transition: 1s opacity;
}

.window::after {
    content: none;
}

body {
    /*background: url(/index/halloween/wallpaper_polka.jpg);
    background-size: 500px;*/
    background: url(/index/halloween/wallpaper2.jpg);
    background-size: 800px;
}

main {
    /*margin-top: 60px;*/
    margin-bottom: 160px;
}

#blog {
    font-family: "Pixelated MS Sans Serif";
    --lilith-window-text-color: #4932C9;
}

.nso.achievement-toast {
    --lilith-window-text-color: #4932C9;
}

footer {
    border: none;
    /*background: url(/index/halloween/wall_trim_tiling_short.png);*/
    background: url(/index/halloween/wall_trim_tiling_short_small.png);
    height: 128px;
    background-size: 30px;
    background-size: 188px;
    background-size: 337px;
    z-index: -2;
    display: flex;
    align-items: center;
    justify-content: stretch;
}

#pien-click-me {
    bottom: 115px !important;
    z-index: -1 !important;
    pointer-events: all;
}

#taskbar {
    width: 100%;
}

#taskbar > a {
    display: none;
}

#taskbar > .vl {
    display: none;
}

.banners {
    z-index: 99;
}

.site-date {
    display: none;
}

#dark-zone {
    /*background: radial-gradient(40% 40% at 50% 50%,rgb(107, 100, 200),black);*/
    /*background: radial-gradient(circle,rgba(255, 149, 0, 0) 0%, rgba(255, 149, 0, 0.15) 20%, rgba(0, 0, 0, 1) 90%);*/
    background: radial-gradient(circle,rgba(168, 98, 0, 0.25) 10%, rgba(0, 0, 0, 1) 100%);
    position: absolute;
    width: 100%;
    height: 100%;
    mix-blend-mode: multiply;
    opacity: 0.9;
    pointer-events: none;
}

header {
    z-index: 2;
    position: relative;
    pointer-events: all;
}

#chandelier {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -46px);
    z-index: 1;
    height: 300px;
    image-rendering: smooth;
    pointer-events: none;
}

#candy {
    width: 50%;
    margin-bottom: 24px;
    cursor: url("/click.png"), auto;
}

#navigation-bar .button {
    /*border: 4px outset white;
    border-radius: 25px;
    padding: 2px 8px;
    background: gray;
    color: white;*/
    padding: 2px 8px;
    border-radius: 16px;
    background: rgba(210, 210, 210, 0.38);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0px 12px 1px rgba(0, 0, 0, 0.5);
    border-width: 2px;
    color: rgb(20,25,30);
    font-family: "meditative";
    font-size: 20px;
}

#navigation-bar .content {
  gap: 6px;
  display: flex;
  flex-wrap: wrap;
  margin: -4px;
}