html {
  scroll-behavior: smooth;
}

body {
    margin: 0;
    background-image: url("/about/now/img/bg.gif");
    background-size: auto;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    text-rendering: optimizeLegibility;
    font-family: 'Times New Roman', Times, serif;
}

::selection {
    background-color: #c72209 !important;
    color: #0e0505 !important;
}

* {
	box-sizing: border-box;
    scrollbar-width: thin;
    -ms-overflow-style: none;
    scrollbar-color: #1d1d1d #dfdfdf;
	cursor: url("/about/now/img/cur.png"), auto;
}

* img {
    user-select:none;
}

*::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-track {
    background: #dfdfdf;
}

*::-webkit-scrollbar-thumb {
    background-color: #1d1d1d;
}

a {
	cursor: url('/about/now/img/link.png'), auto;
}

a * {
	cursor: url('/about/now/img/link.png'), auto;
}

deity {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

knight {
    width: 1200px;
    height: fit-content;
    display: flex;
    flex-direction: row;
    gap: 4em;
    margin: 3em 3em 400px;
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

.ghost {
    height: 90vh;
    max-height: 1845px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    opacity: 0;
    pointer-events: none;
}

.face {
    height: 90vh;
    max-height: 1845px;
    position: fixed;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    animation: float 2.8s ease-in-out infinite;
    filter: drop-shadow(0 0 50px #b9cfff9a)
            drop-shadow(0 0 5px #f5d7b3)
            drop-shadow(0 0 70px #f5d7b3);
}

main {
    width: 100%;
    letter-spacing: 0.05rem;
    padding: 2em 0;
}

nav {
    margin-top: 2.2em;
    font-family: 1rem;
    font-family: 'pixelplay';
    letter-spacing: 0.1rem;
    text-align: center;
    .external-icon {
        display: none;
    }
    a {
        color: #fff5e0;
        padding: 0 2px;
        text-shadow: none;
        filter: drop-shadow(0.3px 0.5px 0 #c4341f) drop-shadow(-1px 0.5px 0 #c4341f) drop-shadow(0 -1px 0 #c4341f) drop-shadow(0.5px 0 #c4341f);
        &:hover {
            transition: all 0.3s ease-in-out;
            background-color: #ded6d6;
            color: #c4341f;
            text-decoration: none;
        }
    }
    span {
        &::before {
            content: "";
            display: inline-block;
            width: 20px;
            height: 20px;
            left: 0;
            top: 0;
            background-image: url('/about/now/img/bug.gif');
            margin-right: 4px;
            margin-left: 4px;
            margin-bottom: -4px;
        }
    }
}

content {
    display: inline-block;
    background-image: url('/about/now/img/bg2.png'), url('/img/dither.png');
    background-size: cover, auto;
    background-attachment: fixed, fixed;
    background-position: center, center;
    padding: 1em;
    backdrop-filter: blur(12px);
    width: 100%;
    border-radius: 12px;
    box-shadow: inset 0 0 5px #ffffff80;
    filter: drop-shadow(1px 1px 0 #fff5e6)
        drop-shadow(-1px -1px 2px rgba(0, 0, 0, 0.1))
        drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.15));
        .external-icon {
            font-size: 0.8rem;
            fill: #252525;
        }
            a {
                color: #8260e9;
                &:hover {
                    text-decoration-style: wavy;
                }
            }
        .inner {
            background-color: #ffffff8f;
            padding: 0.4em;
            border-radius: 4px;
            text-shadow: 1px 1px 0 #ffffff86;
            border: 1px dashed #00000057;
            color: #252525;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
            font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", "ＭＳ ゴシック", "MS Gothic", "Noto Sans CJK JP", TakaoPGothic, sans-serif;
            p {
                text-align: justify;
            }
            p:first-child {
                margin-top: 0;
            }
            p:last-child {
                margin-bottom: 0;
            }
        }
        span {
            border: 1px dashed #00000057;
            display: block;
            padding: 0.2em 0.4em;
            text-shadow: 1px 1px 0 #ffffff86;
            border-top: 0;
            font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", "ＭＳ ゴシック", "MS Gothic", "Noto Sans CJK JP", TakaoPGothic, sans-serif;
            background-color: #ffffff8f;
            &:last-child {
                border-bottom-left-radius: 4px;
                border-bottom-right-radius: 4px;
            }
            &.odd {
                background-color: #ffffff65;
                a {
                    color: #5738b6;
                }
            }
        }
}

h1 {
    margin-top: 4em;
    margin-bottom: 0.4rem;
    text-shadow: 1px 1px 0 #fff5e6;
    font-size: 1.2rem;
    font-style: italic;
    color: #31110f;
        img {
            margin-right: 4px;
            vertical-align: -3px;
            filter: drop-shadow(1px 1px 0 #fff5e6);
        }
}

header {
    float: left;
    margin: -16px 0.3em 0 0;
    font-size: 4rem;
    font-family: 'wobble';
    font-weight: 1000;
    margin-bottom: -23px;
    filter: drop-shadow(2px 2px 0px #fcedcf);
  background-image: url("/about/now/img/head.gif");
  background-position: center;
  background-repeat: repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  padding-left: 5px;
  transition: all 0.1s ease-in-out;
    &:hover {
        letter-spacing: 1rem;
        text-shadow: 2px 2px 0 #fcedcf;
        filter: none;
    }
}

@font-face {
	font-family: 'wobble';
	src: url('/fonts/wobble.otf');
}

@font-face {
	font-family: 'pixelplay';
	src: url('/fonts/pixelplay.otf');
}

text {
    font-style: italic;
    display: block;
    text-shadow: 1px 1px 0 #fcedcf;
    text-align: justify;
    color: #31110f;
    .external-icon {
        font-size: 0.7rem;
        fill: #000000b4;
    }
    a {
        color: #fff5e0;
        padding: 0 2px;
        text-shadow: none;
        letter-spacing: 0.1rem;
        filter: drop-shadow(0.3px 0.5px 0 #c4341f) drop-shadow(-1px 0.5px 0 #c4341f) drop-shadow(0 -1px 0 #c4341f) drop-shadow(0.5px 0 #c4341f);
        &:hover {
            transition: all 0.3s ease-in-out;
            background-color: #ded6d6;
            color: #c4341f;
            text-decoration: none;
        }
    }
}

.speech-bubble {
  filter: drop-shadow(1px 1px 0 #fff5e6)
        drop-shadow(-1px -1px 2px rgba(0, 0, 0, 0.1))
        drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.15));
  margin: 0 1rem 2.1rem 1rem;
  padding: 1rem 1.5rem;
  position: relative;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", "ＭＳ ゴシック", "MS Gothic", "Noto Sans CJK JP", TakaoPGothic, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  box-shadow: inset 0 0 5px #ffffff80;
  background: #8ca8d8;
    background-image:
        url("/about/now/img/590.gif");
    background-position: top;
    background-repeat: repeat;
    background-attachment: scroll;
    background-blend-mode: screen;
  letter-spacing: 1px;
  color: #000;
  border-radius: 12px;
}

.speech-bubble::before {
  content: "";
  position: absolute;
  left: 3rem;
  bottom: -25px;
  width: 0;
  height: 0;
  border: 12.5px solid transparent;
  border-top-width: 25px;
  border-bottom: 0;
  border-top-color: #a9c7f9;
  transform-origin: center;
  transform: rotate(90deg) skew(-25deg) translateY(16.6667px);
}

.lower {
  position: absolute;
  bottom: -2rem;
  left: 4.5rem;
  font-size: 0.9rem;
  font-style: normal;
  letter-spacing: 2px;
  color: #31110f;
  text-shadow: 1px 1px 0 #fff;
  background-color: #e9e9e7;
  padding: 0 2px;
}

.blinkie {
    vertical-align: -5px;
}

#statuscafe-username {
    white-space: nowrap;
    .external-icon {
        fill: #000000b4;
        margin-right: -7px;
        font-size: 0.8rem;
    }
    a {
        color: #31110f;
        text-decoration: none;
        transition: all 0.1s ease-in-out;
        margin-right: 2px;
        &:hover {
            letter-spacing: 5px;
            font-weight: 1000;
            color: #8ca5cf;
        }
    }
}

#statuscafe-content {
    text-shadow: 1px 1px 0 #fff;
    display: inline-block;
    padding: 0 2px;
    background-color: #ffe39d;
    text-align: justify;
}

@media (max-width: 999px) {
    knight {
        flex-direction: column;
        margin: 3em 1em;
    }
    nav {
        margin-bottom: -2em;
    }
    .ghost {
        display: none;
    }
    .face {
        position: unset;
    }
    main {
        background-color: #fcedcfda;;
        border-radius: 12px;
        border: 1px dashed #31110f;
        padding: 1em;
    }
}