#layout, body, html {
  overflow-anchor: none;
}

#layout {
  height:auto;
  max-width: 2100px;      
  margin-top:50px;
}

.jacquard-12-regular {
  font-family: "Jacquard 12", system-ui, sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
    background: url("https://files.catbox.moe/cmlf1e.png");
    background-repeat: no-repeat;
    margin: 0; 
    min-height: 100vh;
    background-size: cover;      
    background-position: center; 
    background-attachment: fixed;
}

@font-face {
  font-family: Angelic;
  src: url(/fonts/AngelicWar.otf);
}

.oc-name {
    font-family: Angelic;
    font-size: 140px;
    margin-top:-40px;
    margin-bottom:0px;
    color:#ADADB4;
    letter-spacing: 20px;
    text-align: center;
}

#sparkle-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999999;
}

.buttons {
    width: 300px;
    height: auto;
    text-align: center;
    align-content: center;
    align-items: center;
}

#button-style {
    background: url("https://files.catbox.moe/w32a12.png")
    text-align: center;
    align-content: center;
    align-items: center;
}

#buttons {
    display: flex;         
    gap: 20px;             
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

.img-text-btn {
  width: 150px;
  height: 30px;
  background: url("https://files.catbox.moe/w32a12.png") center / cover no-repeat;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-text-btn:hover {
  filter: brightness(1.5);
  transition: transform 0.3s ease;
  transform: scale(1.1);
}

.img-text-btn:active {
  transform: translateY(2px);
}

#button-text {
    color: #e9ecea;
}

#button-text:hover {
    color: #121217;
}

#left-gallery {
    background-color: #000000;
    height: 1000px;
    margin: 100px;
    width: 15%;
    margin-top: 50px;
    margin-left: 100px;
    margin-right: 10px;
    border: #ADADB4 solid 2px;
    border-radius: 10px;
    filter: drop-shadow(0 0 0.75rem #ADADB4);
}

#right-gallery {
    background-color: #121217;
    height: 1000px;
    margin: 100px;
    width: 15%;
    margin-top: 50px;
    margin-right: 100px;
    margin-left: 10px;
    border: #ADADB4 solid 2px;
    border-radius: 10px;
    filter: drop-shadow(0 0 0.75rem #ADADB4);
}

#main {
  flex: 1;             
  background: rgba(255, 255, 255, 0.244);
  margin-top: 150px;
  margin-left:0px;
  box-shadow: 0 0 0.75rem #ADADB4;
  background-clip: padding-box;
}

@media (max-width: 1000px) {
  #container {
    flex-direction: column;
  }
  #left-gallery,
  #main,
  #right-gallery {
    width: 100%;
  }
}

#main-image-wrapper {
  width: 100%;           
  display: flex;
  justify-content: center;
  margin: 20px 0;        
}

.divider {
  width: 100%;        
  max-width: 600px;   
  height: auto;
  border-radius: 5px;
  margin-top: 50px;
  pointer-events: none;
}

.novanex-marquee {
  color: #ADADB4;
  background: black;
  line-height: 2.2;
}

#content-stack {
  position: relative;
  margin-top: -120px;
}

#main-image-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: -60px;
  position: relative;
  z-index: 5;
}

#buttons {
  position: relative;
  z-index: 20;
}

html, body {
  overflow-x: clip;
}

#scale-wrapper {
  transform: scale(0.8);
  transform-origin: top center;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

#left-gallery, #right-gallery {
  width: 20%;      
  margin-left: 10px;
  margin-right: 10px;
}

#container {
  display: flex;
  gap: 20px;
  width: 100vw;
  max-width: 100vw;
  margin: 0 auto;
  position: relative;
  top: -190px;
  justify-content: space-between;
  align-items: flex-start;
}

#left-gallery {
  margin-left: -100px;  
}

#right-gallery {
  margin-right: -100px; 
}

#main {
  flex: 1;
  background: rgba(255, 255, 255, 0.244);
  margin-top: 150px;
  box-shadow: 0 0 0.75rem #ADADB4;
  height: auto;        
  min-height: 1400px;  
}

#container {
  display: flex;
  gap: 20px;
  width: 100vw;
  max-width: 100vw;
  margin: 0 auto;
  position: relative;
  top: -190px;
  justify-content: space-between;
  align-items: flex-start;
}

.jprdl {
    max-height: 1200px;
}

#left-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#right-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#left-gallery,
#right-gallery {
  position: -webkit-sticky;
  position: sticky;
  top: 250px; 
  align-self: flex-start; 
  height: 600px; 
  z-index: 10;
  margin-top: 0 !important;
}

#left-gallery {
   margin-left: -100px;
}

#right-gallery {
   margin-right: -100px;
}

.page-doll-two {
  position: fixed;
  bottom: 20px;
  left: 10px;
  width: 220px;
  height: auto;
  z-index: 9999;
  pointer-events: none;
  transform: scaleX(-1);                /* e.g. horizontal flip */
  animation-name: floating;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

/* Animation ONLY adds extra translate */
@keyframes floating {
  0%   { transform: scaleX(-1) translateY(0); }
  50%  { transform: scaleX(-1) translateY(40px); }
  100% { transform: scaleX(-1) translateY(0); }
}