* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  overflow: hidden;
  font-family: Georgia, Arial, sans-serif;
  background: url('https://files.catbox.moe/vhkven.png');
  color: #ccc;
  background-size: cover;
  background-repeat: no-repeat;
  font-size: 13px;
  min-height: 100vh;
  letter-spacing: 1px;
}

/* --- FLEXBOX LAYOUT --- */
.main-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  height: 100vh;
  padding: 20px;
}

.left-side, .right-side {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* --- FLEXBOX LAYOUT --- */


.titletext {
  background: url("https://files.catbox.moe/fla7hz.gif");
  height: 110px;           /* Adjust height of title gif */
  width: 500px;            /* Adjust width of title gif */
  background-size: contain !important;
  margin-bottom: 10px;
}

.sub-title {
  background-color: rgba(0, 0, 0, 0.733);
  border: rgba(83, 0, 0, 0.753) solid;
  border-radius: 5px;
  width: 126vh;
  text-align: center;
  margin-bottom: 10px;
}

.gallerybase {
  background-color: rgba(0, 0, 0, 0.733);
  border: rgba(83, 0, 0, 0.753) solid;
  border-radius: 5px;
  height: 65vh;
  width: 126vh;
  overflow-y: scroll;
  padding: 10px;
  text-align: center;
}

.box-img {
  width: 195px;
  height: 195px;
  background-size: cover !important;
  background-position: center;
  display: inline-block;
  margin: 15px;
  cursor: pointer;
  border: 3px solid #816f6f;
  border-radius: 3px;
  position: relative;
  transition-duration: 0.4s;
}

.gallery-item {
    display: inline-block;
    vertical-align: top;
    text-align: center;
}

.credit-link {
  display: block;
  color: #ccc;
  font-size: 11px;
  text-decoration: none;
  font-family: Georgia, serif;
  margin-bottom: 20px;
  transition: 0.3s;
}

.credit-link:hover {
  color: rgba(130, 0, 0, 1);
  text-shadow: 0 0 5px rgba(130, 0, 0, 0.5);
}


.box-img .art {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.box-img:hover{
  filter: invert(1) contrast(.9) hue-rotate(180deg) saturate(3);
  transform:scale(1.1) rotate(5deg);
}

.tooltip {
  position: fixed;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2000;
}

a {
  text-decoration: none;
}

.buttons {
  background-color: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(130, 0, 0, 0.8);
  box-shadow: rgba(83, 0, 0, 0.4) 0 4px 12px;
  border-radius: 50px;
  width: 315px;
  min-height: 80px; 
  box-sizing: border-box; 
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(255, 255, 255);
  font-size: 22px;
  margin: 15px auto;
  transition: all 0.3s ease; 
  font-family: 'UnifrakturMaguntia', serif;
  font-size: 38px;
  text-shadow: 2px 2px 4px #000;
}

.buttons:hover {
  background-color: rgba(83, 0, 0, 0.9);
  box-shadow: rgba(130, 0, 0, 0.8) 0 0 20px;
  transform: translateY(-3px);
  color: #ffffff;
}

.side-menu {
  width: 315px;
}

a:first-child .buttons {
    margin-top: 0; 
}

.pfp {
  background: url('https://files.catbox.moe/puhuzp.png');
  background-size: contain;
  background-repeat: no-repeat;
  width: 400px;
  height: 400px;
  
}

.pfp {
  animation: float 6s ease-in-out infinite;
}

.back-button {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 9999;
  width: 150px;
  min-height: 50px;
  margin: 0;   
  font-size: 24px;
}

.particle {
  position: fixed;
  pointer-events: none;
  border-radius: 2px;
  z-index: 10000;
  animation: gothicPop 0.8s ease-out forwards;
}

@keyframes gothicPop {
  0% { 
    transform: translate(0, 0) rotate(0deg) scale(1); 
    opacity: 1; 
  }
  100% { 
    transform: translate(var(--x), var(--y)) rotate(360deg) scale(0); 
    opacity: 0; 
  }
}

@keyframes pulse {
  0% { box-shadow: rgba(83, 0, 0, 0.753) 0 0 16px; }
  50% { box-shadow: rgba(110, 1, 1, 0.9) 0 0 30px; }
  100% { box-shadow: rgba(83, 0, 0, 0.753) 0 0 16px; }
}

.gallerybase, .sub-title, .buttons {
  animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/************SCROLLBAR*******************/
::-webkit-scrollbar {
  width: 5px;
}
/* Track */
::-webkit-scrollbar-track {
background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.829) 0%,
    rgba(0, 0, 0, 0.68) 100%
  );
border-color:#ffffff00;
border-radius:90px;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #000000;
border:3px solid;
border-radius:90px;
border-color:#000000;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #000000; 
}
/************SCROLLBAR*******************/

.lines {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 3090;
  opacity: 0.15;
}
 
.lines:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, .5) 51%);
  background-size: 100% 4px;
  will-change: background, background-size; animation: scanlines 0.2s linear infinite;
}
 
@keyframes scanlines {
  from 
    {background: linear-gradient(to bottom, transparent 10%, rgba(0, 0, 0, .5) 51%);
    background-size: 100% 4px; }
  to {
    background: linear-gradient(to bottom, rgba(0, 0, 0, .5) 50%, transparent 51%);
    background-size: 100% 4px;}
}