/* crt effect */
      .crt::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 5;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
}

@keyframes flicker {
  0% {
  opacity: 0.00001;
  }
  5% {
  opacity: 0.00009;
  }
  10% {
  opacity: 0.00004;
  }
  15% {
  opacity: 0.00006;
  }
  20% {
  opacity: 0.00008;
  }
  25% {
  opacity: 0.0006;
  }
  30% {
  opacity: 0.10008;
  }
  35% {
  opacity: 0.10004;
  }
}

.crt::after {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: 5;
  pointer-events: none;
}
    
    
/* basic */
html {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0) 8vh, rgba(174, 164, 179,1) 98vh), url("images/blog_images/custom/bg2.jpg");
    background-attachment: fixed;
    cursor: url("patchicur.png"), auto;
    scrollbar-color: #9d90a3 #c9c3c8;
}
a:hover {
    cursor: url("patchicur.png"), auto;
}
body {
    margin: 0;
    padding: 0;
}
.filter {
    filter: sepia(5%)
        grayscale(25%) 
        brightness(105%)
        contrast(92%);
}
.everything {
    position: relative;
    margin-top: 0;
    margin-bottom: 3px;
    border: 2px ridge #dfdae3;
    outline: 1px solid black;
    background-color: #D9D9D9;
    width: 880px;
    margin-right: auto;
    margin-left: auto;
    line-height: 16px;
  font-size: 12px;
    letter-spacing: 0.8px;
  font-family: "MS UI Gothic", "Times New Roman", Times, "Meiryo", メイリオ, "Hiragino Kaku Gothic ProN", ヒラギノ角ゴ Pro W3, serif;
}
.everything::before {
    content: '';
    position: absolute;
    width: 900px;
    height: 70px;
    
    
    left: -12px;
    top: -80px;
    
    background-image: url("images/blog_images/custom/top.png");
    background-size: 900px;
    background-repeat: no-repeat;
}
.header {
    background-image: url(images/blog_images/custom/resize_image.jpg);
    height: 250px;
    border-bottom: 2px ridge #dfdae3;
    filter: sepia(5%)
        grayscale(25%) 
        hue-rotate(-10deg)
        brightness(105%)
        contrast(92%);
    position: relative;
}
.header p {
    color: white;
    font-style: italic;
    font-family: Times;
    font-size: 12px;
    text-shadow: -1px -1px 0 #867c8f, 0px -1px 0 #867c8f, 1px -1px 0 #867c8f, -1px 0px 0 #867c8f, 1px 0px 0 #867c8f, -1px 1px 0 #867c8f, 0px 1px 0 #867c8f, 1px 1px 0 #867c8f;
    position: absolute;
    
    bottom: 0px;
    left: 20px;
}
.content {
    width: 872px;
    min-height: 1000px;
    padding: 8px;
    display: grid;
    grid-template-columns: 200px 1fr;
    column-gap: 5px;
}
a {
    color: #4d277a;
    text-decoration: underline;
}
::selection {
  background-color: #d5ccdb;
}
.center {
    margin-left: auto;
    margin-right: auto;
}
.deco img {
    filter: sepia(5%)
        grayscale(30%) 
        hue-rotate(-10deg)
        brightness(100%)
        contrast(92%);
    width: 170px;
    height: 100%;
}
.deco {
    margin-top: -10px;
}
  #patch {
        position: fixed;
        bottom: 0;
        right: 10px;
        height: 100px;
        filter: sepia(5%)
        grayscale(25%) 
        hue-rotate(-10deg)
        brightness(105%)
        contrast(92%);
       image-rendering: pixelated;
       image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: nearest-neighbor;
  transform: scaleX(-1);
    }


li {
    list-style: none;
    font-family: "MS PGothic", "Meiryo", メイリオ, "Hiragino Kaku Gothic ProN", ヒラギノ角ゴ Pro W3, sans-serif;
    font-size: 12px;
    line-height: 20px;
}
.info {
    border-right: 2px ridge #dfdae3;
    padding-top: 15px;
}
.info ul {
    margin-bottom: 10px;
    margin-top: 5px;
    border: 4px #88868a double;
    border-radius: 3px;
    width: 170px;
    text-align: center;
    margin-left: 8px;
    padding-left: 0px;
}
.info li:nth-child(odd) {
    background-color: #cdd0d4;
}
.recentjournals li {
    text-align: left;
    padding-left: 4px;
}
h3 {
    font-size: 12px;
    color: white;
    text-shadow: -1px -1px 0 #867c8f, 0px -1px 0 #867c8f, 1px -1px 0 #867c8f, -1px 0px 0 #867c8f, 1px 0px 0 #867c8f, -1px 1px 0 #867c8f, 0px 1px 0 #867c8f, 1px 1px 0 #867c8f;
    border: 1px black dotted;
    border-radius: 3px;
    padding-left: 5px;
    width: 185px;
}

#statuscafe {
    padding: 10px 0px 5px 0px;
    
    border: 1px solid #756b75;
    border-radius: 15px;
    background-color: #e3dce8;
    
    min-height: 45px;
    max-height: 100px;
    min-width: 180px;
    max-width: 185px;
    
    margin-bottom: 20px;
    
    position: relative;
}
#statuscafe-username {
    margin-bottom: .5em;
    display: none;
}
#statuscafe-content {
    margin: 0 1em 0.5em 1em;
    text-align: left;
    line-height: 15px;
    display: inline-block;
    white-space: break-spaces;
}
#statuscafe-content:hover {
    text-decoration: underline dotted #756b75;
}
#statuscafe-content::before {
    content: "“ ";
}

#statuscafe-content::after {
    content: " ”";
}
#statuscafe::before {
    content: "";
    position: absolute;

    top: -13px;
    left: 50%;
    transform: translateX(-50%);

    width: 0;
    height: 0;

    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-bottom: 13px solid #756b75;
}
#statuscafe::after {
    content: "";
    position: absolute;

    top: -12px;
    left: 50%;
    transform: translateX(-50%);

    width: 0;
    height: 0;

    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #e3dce8;
}

.calander table {
    width: 80px !important;
    height: 50px !important;
    border-collapse: collapse;
    padding: 0px;
    margin: 0;
    border: 3px #a799a8 ridge;
}
.calander td {
    padding: 4px;
  border: 1px solid #c5a9c9;
    font-size: 11px;
    background-color: #fef5ff;
}
.calander table tr:nth-child(2) td {
    outline: 1px solid #fef5ff;
  outline-offset: -2px;
    background-color: #fbe3ff;
}
.calander table tr:first-child td {
    outline: 1px solid #fef5ff;
  outline-offset: -2px;
    background-color: #e8d5eb;
}
.moon-widget {
    text-align: right;
  margin-bottom: -30px; 
margin-right: 22px;
  position: relative;
}
#moonphase {
    height: 20px;
}
h5 {
    font-family: "MS PGothic", "Meiryo", メイリオ, "Hiragino Kaku Gothic ProN", ヒラギノ角ゴ Pro W3, sans-serif;
    font-size: 13px;
    margin: 5px;
    letter-spacing: 0.8px;
}

/* first */
#patchy {
    outline: 1px solid black;
}
#music {
    text-align: center;
}
.intro h4 {
    margin: 4px 0 0 0;
}

h6 {
    color: white;
    margin: 15px;
    font-family: "MS PGothic", "Meiryo", メイリオ, "Hiragino Kaku Gothic ProN", ヒラギノ角ゴ Pro W3, sans-serif;
    font-size: 20px;
    letter-spacing: 0.9px;
    text-shadow: -1px -1px 2px #af8fcf, 1px -1px 2px #ffcffb, -1px 1px 2px #5f4b82, 1px 1px 2px #70596e;
}

/* second */
.intro {
    margin: 10px;
    padding: 30px 15px 15px 15px;
    border: 2px ridge #dfdae3;
height: 190px;
    text-align: center;
}
.blogarea {
    margin: 10px;
    padding: 12px;
    border: 2px ridge #dfdae3;
    border-radius: 3px;
}
.blogarea a:hover {
    background-color: #cfcccc;
}

.thumb {
    margin-bottom: 0;
    display: block;
    filter: sepia(5%)
        grayscale(20%) 
        hue-rotate(-10deg)
        brightness(95%)
        contrast(92%);
    margin: 5px 0 0 5px;
}
.imglink {
    display: inline-block;
    font-size: 10px;
    line-height: 5px;
    text-decoration: none;
    margin: 0 0 0 15px;
}
.imglink:hover {
    background-color: #D9D9D9 !important;
    text-decoration: underline !important;
}
.postlink {
    display: block;
    font-size: 10px;
    line-height: 5px;
    text-decoration: none;
    margin: 1px 5px 10px 5px;
}
.postlink:hover {
    background-color: #D9D9D9 !important;
    text-decoration: underline !important;
}
hr {
    margin-top: 50px;
    margin-bottom: 40px;
    margin-right: 20px;
    margin-left: 20px;
}
#him {
    position: fixed;
    bottom: -1.5%;
    right: 20%;
    height: 200px;
}
.img-infinitebouncehover {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

.img-infinitebouncehover:hover {
  -webkit-animation-name: bounces;
  animation-name: bounces;
}

@-webkit-keyframes bounces {
  0%, 100%, 20%, 50%, 80% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

@keyframes bounces {
  0%, 100%, 20%, 50%, 80% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}     
    
footer {
    margin-left: 590px;
}
h2 {
    color: #6d5f8a;
    font-size: 14px;
    border: black dotted 1px;
    padding: 2px;
    border-radius: 3px;
}
.postimg {
    max-height: 350px;
    max-width: 350px;
}
.postfooter {
    padding: 10px;
    border: 1px black dotted;
    border-radius: 3px;
}
.entry p {
    padding: 0 6px 6px 5px;
}
.tab {
    background-color: #ada7b5;
    height 15px;
    width: 790px;
    margin-top: -20px;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 20px;
    overflow: auto;
    border-bottom: 1px grey solid;
}
.tab img {
    float: right;
}
li a:hover {
    background-color: #d5ccdb;
}


.postfooter .ava {
    height: 50px;
    width: 50px;
}
.ava {
    position: relative;
    height: 120px;
    width: 120px;
    margin-top: 10px;
    border: 1px black solid;
}
.ava img, .ava video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avavid {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}
.ava:hover .avavid {
    opacity: 1;
}

.anan {
    height: 140px;
    margin-top: -130px;
    margin-left: -12px;
    margin-bottom: 0;
}
#pc {
    margin: 25px 0 0 72px;
}


/* page stuff */

.page {
    display: none;
}
.page.active {
    display: block;
}


.sprite {
    position: fixed;
    bottom: -200px;
    right: 1vw;
    background-image: url(kasumi1.png);
    background-size: contain;
    height: 600px;
    width: 200px;
    filter: sepia(5%)
        grayscale(35%) 
        hue-rotate(-10deg)
        brightness(105%)
        contrast(92%);
}
.sprite:hover {
    background-image: url(kasumi2.png);
    filter: sepia(5%)
        grayscale(35%) 
        hue-rotate(-10deg)
        brightness(105%)
        contrast(92%);
}
.sprite:active {
    background-image: url(kasumi3.png);
    filter: sepia(5%)
        grayscale(35%) 
        hue-rotate(-10deg)
        brightness(105%)
        contrast(92%);
}