@font-face {
  font-family: 'gothicpixels';
  src: url(https://benitengu.neocities.org/fonts/gothicpixels/GothicPixels.ttf);
}

@font-face {
    font-family: 'caudexregular';
    src: url('https://benitengu.neocities.org/fonts/caudex/caudex-regular-webfont.woff2') format('woff2'),
         url('https://benitengu.neocities.org/fonts/caudex/caudex-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'caudexbold';
    src: url('https://benitengu.neocities.org/fonts/caudex/caudex-bold-webfont.woff2') format('woff2'),
         url('https://benitengu.neocities.org/fonts/caudex/caudex-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'caudexbold_italic';
    src: url('https://benitengu.neocities.org/fonts/caudex/caudex-bolditalic-webfont.woff2') format('woff2'),
         url('https://benitengu.neocities.org/fonts/caudex/caudex-bolditalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'caudexitalic';
    src: url('https://benitengu.neocities.org/fonts/caudex/caudex-italic-webfont.woff2') format('woff2'),
         url('https://benitengu.neocities.org/fonts/caudex/caudex-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

.mea-culpa-regular {
  font-family: "Mea Culpa", cursive;
  font-weight: 400;
  font-style: normal;
}

.kaisei-decol-regular {
  font-family: "Kaisei Decol", serif;
  font-weight: 400;
  font-style: normal;
}

.yuji-syuku-regular {
  font-family: "Yuji Syuku", serif;
  font-weight: 400;
  font-style: normal;
}

[lang="ja"]{
  font-family: "Kaisei Decol", serif;
}


body {
    margin-top: 0px;
    margin-inline: 0;
    cursor: url(cursor.png), auto !important;
    overflow-x: hidden;
    font-family: 'caudexregular';
    font-size: 17px;
    max-width: 100vw;
    background-image: url("/applestripe.gif");
    background-repeat: repeat;
}

 #menu {
 	margin: 5%;
	text-align: right;
 }
 .submenu {
 	text-align: left;
 	margin: 5%;
  width: 90%;
 }
 
   /* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
     body {
         font-size: 12px !important;
         float: left;
         margin-top: 0px;
     }
 #menu {
  margin: 0px;
  text-align: left;
 }
 .submenu {
  text-align: left;
  margin: 15px;
  width: 90%;
 }

}

h1 {
    font-family: 'Mea Culpa';
    font-size: 50px;
    margin: 5px;
    color: #613548;
    text-align: center;
}

h2 {
    font-family: 'Mea Culpa';
    font-size: 30px;
    color: #613548;
    text-align: center;
}

h3 {
    font-size: 25px;
    color: #613548;
}

a {
    color: #613548;
    text-decoration: none;
    text-shadow: #222 0px 0px 2px;
}

a:hover {
    color: #7f152e;
    font-weight: bold;
    text-shadow: #7f152e 0px 0px 5px;
}

b {
    font-weight: normal;
    text-shadow: #7f152e 0px 0px 2px;
}

i {
    color: #766;
}

.flexcontainer {
  display: flex; /* flexbox for easier organization */
  flex-direction: column; /* column to go from top to bottom */
  float: right; /* positions the whole container on the right side */
}

.flexitem { /* wraps around image and caption, so the grouping is treated as one block in the flex parent. this behavior is default and doesn't require css rules to work. */
  
}

.image {
  width: 150px;
  border: 50px solid transparent;
  border-image-slice: 225 281 229 281;
  border-image-width: 50px 50px 50px 50px;
  border-image-outset: 0px 0px 0px 0px;
  border-image-repeat: stretch stretch;
  border-image-source: url("frame.png");
}

.image:hover { /* only this class needs to change on hover, and only this property needs to change on hover too */
 transform: rotate(3deg);
}

.caption {
  width: 300px;
  margin-top: -20px;
  margin-right: 50px; /* margins set for positioning. top margin overlaps the invisible bottom border of the image, and right is for keeping in line with the image's right border */
  background-image: url("bg.png");
  background-position: center;
  background-size: cover; /* you do not need to fiddle with weird border-image rules when background-image is much easier. as a note, you should also consider using smaller images, images with less blank space, and/or a background that tiles when repeated. */
  text-align: right;
}

#images{
	width:95%;
	padding:2.5%;
}
#right{
	text-align: right;
}
#left{
	text-align: left;
}
img{
  max-width:100%;
  max-height:100%;
}

.blockquote {
    border-left: dotted #888 1px;
    padding: 5px;
    margin-left: 5px;
}
        
    .wrapper {
    font-family: 'Calligraphy';
    font-size: 20px;
    letter-spacing: 1.5px;
    margin: 4% 10%;
    width: 80%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    grid-auto-rows: minmax(auto, auto);
    opacity: .90;
}

.body {
    overflow-x: hidden;
    margin-top: 0px;
    font-family: 'caudexregular';
    max-width: 100vw;
    background-image: url("applestripe.gif");
    background-repeat: repeat;
}
.title {
    padding: 5px;
    grid-column: 1 / 5;
    grid-row: 1;
    background-color: #d9d0d0;
    border:3px solid #916f41;
    border-radius:10px;
    background-image: url(/bg/noirlac-tower.gif);
    background-size:1200px;
    background-position: 0px 800px;
}

#flex-components{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
    margin: 5px;

}

#flex-components > div {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border: double;
  width: 70%;
  margin: 5px;
}

ul { list-style-type: "❧"; 
}

.box {
  background-color: #f6f4d2;
  border-style: groove;
  border-color: #d4e09b;
  border-width: 5px; 
  padding: 5px;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
}


.caption {
  width: 300px;
  border: 50px solid transparent;
  border-image-slice: 385 457 299 449 fill;
  border-image-width: 50px 50px 50px 50px;
  border-image-outset: 0px 0px 0px 0px;
  border-image-repeat: stretch stretch;
  border-image-source: url("paper.png");
  border-style: solid;
  clear: right;
}

table, th, td {
  border: 1px solid;
  background-color: #f6f4d2;
  margin-bottom: 10px;
  border-color: #887740;
}

 /* Style the navigation menu */
.topnav {
  margin-top: 0px;
  overflow: hidden;
  background-color: #AFA581;
  position: relative;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
  display: none;
}

/* Style navigation menu links */
.topnav a {
  color: #293105;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
}

/* Style the hamburger menu */
.topnav a.icon {
  background: #906E56;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
  background-color: #906E56;
  color: black;
}

/* Style the active link (or home/logo) */
.active {
  background-color: #f6f4d2;
  color: #293105;
} 

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #7a624e;
    border: 2px #ad9f93 inset;
}

::-webkit-scrollbar-thumb {
    background: #a6861c;
    border: 2px #a6861c outset;
}

::-webkit-scrollbar-thumb:hover {
    background: #a86058;
}


::-moz-selection {
    /* Code for Firefox */
    color: #fff;
    background: #631b13;

}

::selection {
    color: #fff;
    background: #631b13;
}

@media print {
  
  * {
    background-color: #fff !important;
    color: #222;
}
* {
    font-size: 11pt !important;
    font-family: Helvetica, sans-serif !important;
}

@page {
    margin: 0.5in;
}

h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid !important;
}

p, li, blockquote, figure, img {
    page-break-inside: avoid !important;
}
figure {
    margin: 1rem 0;
}

figcaption {
    text-align: left;
    margin: 0 auto;
    padding: 0.6rem;
    font-size: 0.9rem;
}

figure img {
    display: block;
    max-height: 35vh;
    max-width: 90vw;
    outline: none;
    width: auto;
    height: auto;
    margin: 0 auto;
    padding: 0;
}

a::after {
    content: " (" attr(href) ") ";
    font-size: 90%;
}
}