* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a{
  color:#ff6652;
  transition-duration: 0.4s;
  display: inline-block;
}
a:hover{
  color:#e9d3d0;
  transform: scale(1.04);
}

body {
    
  overflow: hidden;
  font-family: 'Times New Roman', serif;
  background: url('https://files.catbox.moe/dx2csa.png');
  color: #ccc;
  font-size: 15px;
  min-height: 100vh;
  letter-spacing: 1px;
  background-size: cover;
  background-repeat: no-repeat;
}

.unifrakturmaguntia-regular {
  font-family: "UnifrakturMaguntia", cursive;
  font-weight: 400;
  font-style: normal;
}

ul, ol {
  list-style-type: none;
}

.navbutton{
    position: relative;
    padding: 15px;
    
    
}
.navbutton img {
  display: block;
  max-width: 190px;
  height: auto;
  transition-duration: 0.4s;
}
.navbutton img:hover{
    transform: scale(1.5) rotate(5deg);
}


.leftbar{
    background:url('https://files.catbox.moe/nyhtcb.png');
    position: relative;
    width: 330px;
    height: 100vh;
    left: -65px;
    background-size: cover;
    background-repeat: no-repeat;
}

.navbar{
    position: absolute;
    width: 260px;
    height: auto;
    background-color: rgba(0, 0, 0, 0.733);
    border: rgba(255, 255, 255, 0.753) solid;
    border-radius: 5px;
    left:50%;
    bottom: 50px;
    transform: translateX(-50%);
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 411;
}

.lace {
  position: absolute;
  height: 1px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.842);
  top: 0;
  left: 0;
  z-index: 10;
  
}

:root {
  --gap: 0px;
  --scroll-speed: 35s;
}
.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
  width: 100%;
}

.marquee_content {
  display: flex;
  flex-shrink: 0;
  justify-content: space-around;
  min-width: 100%;
  gap: var(--gap);
  animation: scroll var(--scroll-speed) linear infinite;
}

.marquee_content img {
  height: 40px;
  width: auto;
  display: block;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - var(--gap))); }
}


.frame-pfp img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 401;  
}

.pfp {
  position: absolute;   
  top: 115px;           
  left: 85px;          
  z-index: 402;
  
}

.pfp img {
  width: 160px;
  height:175px;
  display: block;
  border-radius: 15px;
  border: 15px double;
  border-color:rgb(0, 0, 0);
}


.side-panel {
  position: fixed;
  top: 0;
  right: -827px;
  width: 827px;
  height: 100%;
  background-color: black;
  transition: right 0.5s ease;
  z-index: 999;
}

.side-panel.active {
  right: 0;
}

.sidebase{
    width: 75%;
    height: 800px;
    background-color: rgb(0, 0, 0);
    position: absolute;
    top: 70px;
    right:55px;
    overflow-y: scroll;
    padding: 15px;
    text-align: center;
    z-index: 1899;
    
}

.border-img {
  position: absolute;
  left: -35px;
  top: 0;
  width: 555px;
  height: 100vh;
  z-index: 1000;
}

/*WHEEL*/
.rotate {
  position: fixed;
  top: 50%;
  right: -350px;
  transform: translateY(-50%);
  z-index: 998;
  transition: right 0.5s ease;
}

.rotate.active {
  right: 470px;
}

.rotate img {
  width: 630px;
  height: auto;
  animation: spin 35s linear infinite;
}

@keyframes spin {
  from { transform: rotate(360deg); }
  to   { transform: rotate(-0deg); }
}

/* Toggle button */
.toggle-btn {
  position: fixed;
  top: 50%;
  right: 10px;
  transform: translateY(-50%) ;
  z-index: 1001;
  cursor: pointer;
  transition: right 0.5s ease;
}

.toggle-btn.active {
  right: 847px;
  transform: rotateY(180deg);
  top: 47.5%;
}


.toggle-btn img {
  width: 70px;
  height: auto;
  display: block;
  
}

.toggle-btn img:hover {
  animation: bob 0.5s ease-in-out infinite;
}

@keyframes bob {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.222222); }
  60%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.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;
}
}

.buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
  margin-bottom: 20px;
}

.buttons a, .buttons button {
  flex: 1;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Times New Roman', serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: #e0e0e0;
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  border: 1px solid #444;
  box-shadow: inset 0 0 0 2px #000, inset 0 0 0 3px #555;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
}

.buttons a:hover, .buttons button:hover {
  color: #ffffff;
  background: #252525;
  border-color: #888;
  box-shadow: inset 0 0 0 2px #000, inset 0 0 10px #ffffff33;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  letter-spacing: 3px;
}

.buttons a::after, .buttons button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: 0.5s;
}

.buttons a:hover::after, .buttons button:hover::after {
  left: 150%;
}

.gallerybase {
  position: relative;
  background-color: rgba(0, 0, 0, 0.733);
  border: rgba(255, 255, 255, 0.753) solid;
  border-radius: 5px;
  width: 65vw;
  height: 70vh;
  overflow-y: scroll;
  padding: 10px;
  text-align: center;
  left:-115px;
}

.home-box {
  width: 100%;
  min-height: 5px;
  background-color: rgba(0, 0, 0, 0.349);
  padding: 15px;
  border: rgba(255, 255, 255, 0.178) dotted;
  border-radius: 5px;
  position: relative;
  overflow-y: scroll;
  scrollbar-width: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  flex-grow: 1;
}


.home-side {
  width: 245px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.158);
  position: relative;
  border-radius: 15px;
  border: rgba(255, 255, 255, 0.205) solid;
  padding:15px;
  overflow-y: scroll;
  scrollbar-width: none;
  flex-shrink: 0;
}

.titletext {
    background: url('https://files.catbox.moe/wtruzd.gif');
    position: relative;
    width: 650px;
    height: 135px;
    margin-bottom: 45px;
    background-size: contain !important;
    background-repeat: no-repeat;
    animation: flickering 5s infinite;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

@keyframes flickering {
    0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
    20%, 24%, 55% { opacity: 0.3; }
}

.box-img {
  width: calc(20% - 30px); 
  aspect-ratio: 1 / 1;
  margin: 15px; 
  box-sizing: border-box; 
  background-size: cover !important;
  background-position: center;
  border: 3px solid #fff;
  border-radius: 3px;
  position: relative;
  transition-duration: 0.4s;
}

.box-img .art {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.box-img:hover{
  filter: invert(1) hue-rotate(180deg);
  transform:scale(1.1) rotate(5deg);
}

.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 1999;
}

.overlay img {
  max-width: 90%;
  max-height: 90%;
}

.close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}


.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;
}

/************SCROLLBAR*******************/
::-webkit-scrollbar {
  width: 5px;
}
/* Track */
::-webkit-scrollbar-track {
  background: linear-gradient(
    0deg,
    rgba(51, 51, 51, 0.94) 0%,
    rgba(255, 255, 255, 0.68) 100%
  );
  border-color:#ffffff;
  border-radius:90px;
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: #5a5a5a;
  border:3px solid;
  border-radius:90px;
  border-color:#5a5a5a;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #ffffff; 
}
/************SCROLLBAR*******************/

.oc-side {
  width: 215px;
  height: auto;
  background-color: rgba(0, 0, 0, 0.349);
  position: absolute;
  right: 25px;
  top: 15px;
  border-radius: 15px;
  border: rgba(255, 255, 255, 0.205) solid;
  padding: 15px;
  overflow-y: auto;
  scrollbar-width: none;
}


.ocbutton {
  position: relative;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.ocbutton .label {
  margin-top: 8px;
  color: rgb(214, 214, 214);
  font-family: "UnifrakturMaguntia", cursive;
  font-size: 35px;
}

.font{
  margin-top: 8px;
  color: rgb(214, 214, 214);
  font-family: "UnifrakturMaguntia", cursive;
  font-size: 35px;
}


.ocbutton img {
  display: block;
  width: 150px;
  height: 150px;
  transition-duration: 0.4s;
  border-radius: 15px;
  border: rgba(255, 255, 255, 0.205) solid;
  
}
.ocbutton img:hover{
  filter: invert(1) hue-rotate(180deg);
  transform:scale(1.1);
}

.posts-container {
  margin-left: 30px;
  margin-top: 15px;
  width: 75%;
  max-height: calc(100vh - 310px);
  overflow-y: auto;
  scrollbar-width: none;
}

.post-box {
  min-height: 5px;
  background-color: rgba(0, 0, 0, 0.349);
  padding: 15px;
  text-align: left;
  border: rgba(255, 255, 255, 0.178) dotted;
  border-radius: 5px;
  margin-bottom: 15px;
}

.post-font{
  font-size: 25px;
}
.post-font img {
  display: block;
  margin: 0 auto;
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    height: 100vh;
    width: 100vw;
}

.left-column, .right-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.right-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
}

.g-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.g-title {
  font-family: 'Georgia', serif;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  margin-bottom: 5px;
}

.g-btn {
  width: 100%;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  font-family: 'Times New Roman', serif;
  font-size: 1.4rem;
  color: #d1d1d1;
  background: rgba(34, 34, 34, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  outline: 1px solid rgba(255, 255, 255, 0.1);
  outline-offset: -5px;
  transition: all 0.3s ease-in-out;
  position: relative;
  display: block;
}

.g-btn:hover {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: 0.5s;
  color: #fff;
  border-color: #b8b8b8;
  box-shadow: 0 0 15px rgba(126, 126, 126, 0.5);
  letter-spacing: 2px;
  transform: scale(1.02);
}

.g-btn::before {
  content: '†';
  position: absolute;
  left: 10px;
  font-size: 0.8rem;
  opacity: 0.3;
}

.g-btn::after {
  content: '†';
  position: absolute;
  right: 10px;
  font-size: 0.8rem;
  opacity: 0.3;
}