body {
display: flex;
justify-content: flex-start;
align-items: flex-start;
margin: 0;
color: white;
position: relative;  
scrollbar-width: none;    
-ms-overflow-style: none;  
font-size:12px;
background-color:black;
background: url(../img/art.png) repeat;
animation: bgScroll 20s linear infinite;
position: relative;
}
body::before {
content: "";
position: fixed;
inset: 0;
background: linear-gradient(
120deg,
rgba(0,0,0,1) 30%,
rgba(0,0,0,0.2) 100%
);
pointer-events: none;
z-index: -1;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
width: 0;
height: 0;
display: none;        
}
::selection {
background: rgba(0,0,0,0.7);
color: #737373;
}
@keyframes bgScroll {
0% { background-position: 0 0; }
100% { background-position: 10% 0; }
}
.left-box {
width: 25vw;
height: 100vh;
border-right: 1px solid #131318;
background: linear-gradient(to top, #131318, #000);
display: flex;
flex-direction: column;
align-items: center;
padding-top: 25px;
box-sizing: border-box;
position: fixed;
top: 0;
left: 0;
z-index: 2;
box-shadow: black 0px -5px 25px 5px inset;
overflow:hidden;
}
.left-box::after {
content: "";
position: absolute;
top: 0;
right: 0;
width: 1px; 
height: 100%; 
}
.title {
font-size: 48px;
font-family: Times;
font-style: italic;
margin-top:10px;
align-self: flex-start;
margin-left: 37px;
}
.updated {
font-family: Times;
font-size: 14px;
font-style: italic;
margin-top:-45px;
align-self: flex-start;
line-height:1.2;
margin-left: 34px;
filter:opacity(0.35);
text-shadow:
-1px -1px 0 black,
0px -1px 0 black,
1px -1px 0 black,
-1px  0px 0 black,
1px  0px 0 black,
-1px  1px 0 black,
0px  1px 0 black,
1px  1px 0 black;
}
.lastupd {
text-decoration: underline dotted #999;
}
.textbox {
line-height:1.4;
width: 85%;
font-family: MS UI Gothic;
font-size: 12px;
color: #d6d6d6;
margin-top:20px;
text-shadow:
-1px -1px 0 black,
0px -1px 0 black,
1px -1px 0 black,
-1px  0px 0 black,
1px  0px 0 black,
-1px  1px 0 black,
0px  1px 0 black,
1px  1px 0 black;
z-index:99999;
}
.title,
.updated,
.textbox,
.caption {
opacity: 0;
animation: textFade 1s ease-out forwards;
}
@keyframes textFade {
from {
opacity: 0;
transform: translateY(6px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.home {
font-size: 14px;
font-style: italic;
align-self: flex-start;
line-height:1.2;
filter:opacity(0.95);
text-shadow:
-1px -1px 0 black,
0px -1px 0 black,
1px -1px 0 black,
-1px  0px 0 black,
1px  0px 0 black,
-1px  1px 0 black,
0px  1px 0 black,
1px  1px 0 black;
text-decoration: underline dotted #999;
}
.gallery {
position: absolute;
top: 0;
left: 25vw;
width: 75vw;
padding: 30px;
box-sizing: border-box;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 33px;
z-index: 0; 
pointer-events: auto; 
background-color: transparent; 
}
.gallery ::selection {
background: rgba(255, 255, 255, 1);
color: #737373;
}
.gallery img {
width: 100%;
aspect-ratio: 1 / 1;
object-fit: cover;
cursor: pointer;
border: 1px solid rgba(0,0,0,0.2); 
outline: 1px solid rgba(0,0,0,0.2);
outline-offset:2px;
opacity: 0.3; 
transition: transform 0.2s ease, opacity 0.2s ease;
mix-blend-mode: overlay; 
filter: invert(1) grayscale(100%) brightness(80%);
}
.gallery img:hover,
.gallery img.active {
opacity: 0.75;
filter: invert(1) grayscale(100%) brightness(90%) contrast(80%);
}
.caption {
width: 90%;
max-width: 500px;
margin-bottom: 14px;
font-family: MS UI Gothic;
font-size: 12px;
text-align: center;
color: rgba(255,255,255,0.85);
min-height: 1.2em; 
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(6px);
}
to {
opacity: 0.55; 
transform: translateY(0);
}
}
.gallery img {
opacity: 0;            
animation: fadeIn 1s ease forwards;
}
#lightbox {
position: fixed;
top: 0;
left: 25vw;
width: 75vw;
height: 100vh;
background: rgba(0,0,0,0.25);
display: none;
align-items: center;
justify-content: center;
backdrop-filter: blur(0px);  
transition: backdrop-filter 0.3s ease-in-out; 
z-index: 99999;
}
#lightbox.active {
display: flex;
backdrop-filter: blur(1px); 
}
#lightbox img {
max-width: 82vw;
max-height: 82vh;
object-fit: contain;
border: 1px solid black;
outline: 1px solid #fff;
outline-offset:0px;
}
#lightbox .lb-inner {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
}
#lightbox .lb-caption {
font-family: MS UI Gothic;
font-size: 12px;
color: #d6d6d6;
text-shadow:
-1px -1px 0 black,
0px -1px 0 black,
1px -1px 0 black,
-1px  0px 0 black,
1px  0px 0 black,
-1px  1px 0 black,
0px  1px 0 black,
1px  1px 0 black;
text-align: center;
max-width: 80%;
padding: 7px;
line-height:14.5px;
}
a {
color: #ebebeb;
text-decoration: none;
text-decoration: underline dotted #777;  
font-size:12px;
}
a:hover {
background-color: rgba(90,90,90, 0.3);
text-decoration: underline dotted #999;
}
a:active {
background-color: rgba(0,0,0, 0.6);
color: #e8e8e8;
text-decoration: underline dotted #999;
}
@media (max-width: 900px) {
body {
flex-direction: column;
overflow-x: hidden;
font-size: 12px;
}
.left-box {
position: relative;
width: 100%;
height: auto;
min-height: unset;
padding: 20px 15px;
border-right: none;
border-bottom: 1px solid #070708;
box-shadow: black 0px -5px 25px 5px inset;
}
.left-box::after {
display: none;
}
.title {
font-size: 34px;
margin-bottom: 18px;
}
.textbox {
width: 100%;
font-size: 12px;
}
.caption {
max-width: 100%;
font-size: 12px;
}
.gallery {
position: relative;
left: 0;
top: 0;
width: 100%;
padding: 16px;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
gap: 16px;
}
.gallery img {
opacity: 0.5; 
mix-blend-mode: normal;
}
.gallery img:hover {
transform: none;
}
#lightbox {
left: 0;
width: 100vw;
height: 100vh;
padding: 10px;
}
#lightbox img {
max-width: 85vw;
max-height: 85vh;
user-select: none;
}
#lightbox .lb-caption {
max-width: 95%;
}
}
.mayura {
margin-top: auto;
margin-bottom: 5px;
transform: scaleX(-1);
pointer-events: none;
user-select: none;
max-width: 100%;
height: auto;
object-fit: contain;
display: block;
z-index: 9999;
-webkit-mask-image: linear-gradient(to bottom, black 13%, transparent 100%);
mask-image: linear-gradient(to bottom, black 13%, transparent 100%);
}
.mayura2 { 
margin-top: -20px;
margin-bottom: 45px;
pointer-events: none;
user-select:none;
width: 700px;
left: 5px;
height: auto;
position: absolute;
object-fit: contain;
display: block;
-webkit-mask-image: linear-gradient(to bottom, black 43%, transparent 100%);
mask-image: linear-gradient(to bottom, black 43%, transparent 100%);
animation: mayuraFade 1.2s ease-out forwards;
}
@keyframes mayuraFade {
from {
opacity: 0;
transform: translateY(6px);
}
to {
opacity: 0.3; 
transform: translateY(0);
}
}
.gallery,
.gallery * {
user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
#lightbox,
#lightbox * {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

#lightbox img {
  -webkit-user-drag: none;
  user-drag: none;
}
#s-m-t-tooltip{
z-index: 10;
margin: 24px 14px 7px 12px;
background: linear-gradient(to bottom, #0a0a0a, #000);
color: white;
font-size: 12px;
font-family: MS UI Gothic;
padding: 8px 8px;
white-space: normal;
max-width: 180px;
word-wrap: break-word;outline: 1px solid rgba(0, 0, 0, 1);
outline-offset: -2px;
line-height:14px;
box-shadow:
0 0 0 1px black,   
1px 1px 0 #000;  text-shadow:
-1px -1px 0 black,
0px -1px 0 black,
1px -1px 0 black,
-1px  0px 0 black,
1px  0px 0 black,
-1px  1px 0 black,
0px  1px 0 black,
1px  1px 0 black;
}