/* ///////////////////////////////////////////// */

:root {

	--white: #feffff;
	--light-green: #d7f9e9;
	--turquoise: #8ff3e4;
	--turquoise-2: #58EDE1;
	--dark-turquoise: #8ff3e4;
	--deep-blue: #363c5f;
	--purple: #9967f9;
	--lilac: #d8c2fe;
	--dark-pink: #d91f78;
	--hot-pink: #ff4f91;
	--pink: #ffa6db;
	--soft-pink: #ffddf1;
	--gradient: linear-gradient(180deg,rgba(255, 250, 253, 1) 0%, rgba(255, 166, 219, 1) 54%, rgba(255, 135, 199, 1) 54%, rgba(247, 217, 255, 1) 100%);
	--text: #c1acbb;
	--font: 'Kodchasan-Light', serif;
	--font-size: 12px;
}



body::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

body::-webkit-scrollbar-track {
  background: var(--soft-pink);
  border-radius: 4px;
}

body::-webkit-scrollbar-thumb {
  background: var(--pink);
  border-radius: 4px;
  border: 2px solid var(--soft-pink);
}

body::-webkit-scrollbar-thumb:hover {
  background: var(--dark-pink);
}

body::-webkit-scrollbar-thumb:active {
  background: var(--purple);
}


html {
  scrollbar-width: thin;
  scrollbar-color: var(--pink) var(--soft-pink);
}


h2 {
    color: var(--white);
	-webkit-text-stroke-color: var(--turquoise-2);
    -webkit-text-stroke-width: 3px;
    paint-order: stroke fill;
    padding-bottom: 5px;
	text-decoration: underline wavy var(--turquoise-2);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
	text-align: center;
	margin-bottom: 5px;
	border: 1px dashed var(--pink);
    border-radius: 10px;

}



b {
    font-weight: 500;
    color: var(--hot-pink);
}


i {
    font-style: italic;
    color: var(--lilac);
}


u {
	  color: var(--turquoise);
    text-decoration: underline wavy;
    text-decoration-color: var(--turquoise);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}


.marker {
    background-color: var(--light-green);
    color: var(--white);
    padding: 0px 4px;
    border-radius: 4px;
    font-weight: bold;
}


@font-face {
  font-family: 'SantJoanDespi';
  src: url('./fonts/SantJoanDespiRegular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
	font-family: "Kodchasan-Light";
	src:
		url("/fonts/Kodchasan-Light.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "BitcountGridDouble";
	src:
		url("/fonts/BitcountGridDouble.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

body {
  display: flex;
  align-items: flex-start;
  justify-content: left;
  min-height: 100vh;
  font-size: var(--font-size);
  padding: 20px;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.2;
  background: url(/images/ribonbg1.png);
	width: 950px;
}


::selection {
   background: #F5EDDE;
   color: #D991A1;
   text-shadow: 0px 0px 1.5px #636363;
}

a {
  color: var(--pink);
  text-decoration: underline dotted;
  text-decoration-color: var(--pink);
  display: inline-block;
}

a:hover{
	color: var(--white);
	text-decoration: wavy;
	-webkit-text-stroke-color: var(--hot-pink);
    -webkit-text-stroke-width: 2px;
    paint-order: stroke fill;
	transform: scale(1.17) translate(5px, 0px);
}

a:visited{
	color: var(--turquoise);
	text-decoration: underline dashed;
	text-decoration-color: var(--turquoise);

}

a:active{
	color: var(--white);
	text-decoration: wavy;
	background: var(--lilac);
	-webkit-text-stroke-color: var(--purple);
    -webkit-text-stroke-width: 2px;
    paint-order: stroke fill;
	transform: scale(1.17) translate(5px, 0px);
}

.disabled-a {
	pointer-events: none;
	color: var(--text);
	text-decoration: line-through;
}


.page {
  border-width: 7px;
  border-style: solid;
  border-image: url(/images/border_a.png) 7 fill round;
}

.page-bg {
	background: url(/images/plead-pink.jpg) repeat;
	padding: 10px;
}

.header {
  grid-area: header;
	position: relative;
	background: url(/images/gravs_bill.png);
	background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
	width: 100%;
	height: 350px;
	z-index: 2;
	border: 4px ridge var(--white);
	border-radius: 10px;
	overflow: hidden;
}

.div-top {
	width: 100%;
    height: 100%;
    position: absolute;
    z-index: 5;
    translate: 0 305px;
    background-image: url(/images/divider-lace-pink.png);
    background-size: 288px 85px;
    background-repeat: repeat-x;
}

.float-border {
	width: 100%;
	height: 63px;
	position: fixed;
	top: 0;
	left: 0;
	background: url(/images/top-border.png) repeat;
	z-index: 99999;
}

.header-title {
	font-size: 8em;
	position: absolute;
	bottom: -10px;
	right: 16px;
	z-index: 10;
	color: var(--white);
	-webkit-text-stroke-color: var(--turquoise-2);
    -webkit-text-stroke-width: 3px;
    paint-order: stroke fill;
	font-family: "BitcountGridDouble";

}


.container-page {
  margin-left: 100px;
  margin-right: 100px;
	display: grid;
	grid-gap: 6px;
	grid-template:
    "header"
    "menu"
    "desc"
    "gallery"
    "footer"
    /1fr;
}

.wrapper1 {
	border: 4px ridge var(--white);
	border-radius: 10px;
	margin-bottom: 6px;
}

.menu { grid-area: menu; }

.menu-box {
  display: flex;
  border: 4px ridge var(--white);
  border-radius: 10px;
  padding: 7px;
  background: url(/images/cloth-trq.png);
  gap: 5px;
  justify-content: center;
  color: var(--pink);
}


.kins-intro {
  text-align: left;
  padding-left: 48px;
  padding-right: 38px;
  border: 1px dashed var(--pink);
  border-radius: 10px;
  background: url(/images/note-bg-pink.png) no-repeat center center;
  background-size: cover;
}

.kin-gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.kin-gallery div {
  width: 200px;
  height: 200px;
  margin: 5px;
  border-width: 7px;
  border-style: solid;
  border-image: url("/images/2jXrMdE.png") 11 fill round;
  position: relative;
  overflow: hidden;

}

.kin-gallery div span {
  position: absolute;
  bottom: 15px;
  left: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.781);
  color: var(--white);
  -webkit-text-stroke-color: var(--pink);
  -webkit-text-stroke-width: 3px;
  paint-order: stroke fill;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  font-size: 20px;
  opacity: 0;
  transform: translateY(100px);
  transition: transform 0.4s ease, opacity 0.5s ease;

}

.kin-gallery div img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

/* Captions on Hover */
.kin-gallery div:hover span {
  opacity: 1;
  transform: none;
}


