#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/9t33dg.png");
    background-repeat: no-repeat;
    margin: 0; 
    min-height: 100vh;
    background-size: cover;      
    background-position: center; 
    background-attachment: fixed;
}

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

.oc-name {
    font-family: Euclid;
    font-size: 140px;
    margin-top:-40px;
    margin-bottom:0px;
    color:#060601;
    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/b7fvxr.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/b7fvxr.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: #000000;
}

#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: #060601 solid 2px;
    border-radius: 10px;
    filter: drop-shadow(0 0 0.75rem #060601);
}

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

#main {
  flex: 1;             
  background: rgba(255, 255, 255, 0.244);
  margin-top: 150px;
  margin-left:0px;
  box-shadow: 0 0 0.75rem #060601;
  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;
  pointer-events: none;
  position: relative; /* Pozwala na użycie 'top' */
  top: 150px;         /* To przesunie divider w dół, na obszar 'main' */
  z-index: 100;       /* Gwarantuje, że obrazek będzie NA WIERZCHU */
}

.novanex-marquee {
  color: #afada8;
  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 #060601;
  height: auto;        
  min-height: 1400px;  
}

#container {
  display: flex;
  gap: 20px;
  width: 100vw;
  max-width: 100vw;
  margin: 0 auto;
  position: relative;
  top: 40px;
  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;
  right: 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); }
}

#main-image-wrapper {
  display: flex;
  justify-content: center; /* Centruje w poziomie */
  align-items: flex-start; /* KLUCZ: zapobiega rozciąganiu w pionie */
  position: relative;
  z-index: 100;
  width: 100%;
  height: 0; /* Zapobiega wypychaniu treści przez niewidzialny kontener */
}

.divider {
      width: auto;
    max-width: 700px;
    height: auto;
    position: relative;
    top: 110px;
    pointer-events: none;
    display: block;
}