@font-face {
	font-family: 'PxSans';
	src: url('/fonts/px_sans_nouveaux.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

:root {
	--w3m-accent: #514071!important;
  --wui-color-accent-100: #514071!important;
  --wui-color-inherit: #999 !important;
	--w3m-font-family: 'PxSans', sans-serif !important;
  --wui-color-accent-090: #5a418b!important; /* Mouseover for connect button */
  /* --wui-font-size-paragraph: calc(var(--w3m-font-size-master) * 2.2)!important;*/
   --color-main:#353535;
  --color-secondary:#514071;
  --color-mint:#60814b;
  --color-mint-hover:#516f3d;
  --color-gray-one: #ccc;
  --color-gray-two: #ddd;
  --color-gray-three: #bbb;
  --color-gray-buttons-back: #4f4f4f;
  --color-gray-buttons-text: #7c7c7c;
  --color-black-buttons-back: #131313;
  --color-black-buttons-text:#7c7c7c;
  --left-panel-width: 300px;
}

body {
	color: #999;
	font-family: 'PxSans', sans-serif;
  background-color: var(--color-main)
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/img/pixel-back.jpg");
  background-repeat: repeat;
  background-size: 500px auto;    /* small, proportional tiles */
  opacity: 0.66;                  /* fade to 25% opacity */
  z-index: -1;   
               /* sit behind everything */
}

html, body {
  overflow-x: hidden!important;
  overflow-y: auto;
  height: 100vh;
}

a, a:link, a:visited {
  color:var(--color-secondary);
}

.logo {
  color:#7975aa;
  fill:#7975aa;
  height:50px;
}

img {
   image-rendering: pixelated;
}

h1 {
  font-size:3rem;
}
@media ((min-width: 576px) and (max-width: 992px)) {
  h1 { font-size:2rem; }
}
@media (max-width: 576px) {
  h1 { font-size:1.5rem; }
  .left-panel-text {
    margin: 20px 0 0!important;
  }
  .left-panel-row {
    left:0!important;
  }
  w3m-button {
    right:0!important
  }
  .mint-bar-wrapper-inner {
    max-width:100%!important;
  }
}


.unstyled-button {
  width:100%;
  height:100%;
}

.btn-minted {
  background: var(--color-gray-buttons-back);
  color: var(--color-gray-buttons-text);
  font-size:1.4rem;
  height: 20vh;
  overflow: hidden;
}
.btn-success {
  background: var(--color-mint)
}
.btn-success:hover {
  background: var(--color-mint-hover)
}
.btn-stage {
  background: var(--color-gray-buttons-back);
  color:var(--color-gray-buttons-text);
  font-size: 1.4rem;
}

.btn-mint {
  background-color: var(--color-mint)!important;
  color: white !important;
  border:20px solid #2e57b0;
  font-family: var(--pixel-font);
  font-size: 1.4rem;
  display: block;
  width: 100%;
  text-align: center;
}
.btn-mint:hover {
  background-color:#5667c8!important;
}



.btn-connect {
  background-color: var(--color-secondary)!important;
  color: #999 !important;
  border: none;
  font-family: var(--pixel-font);
  font-size: 1.4rem;
  display: block;
  width: 100%;
  text-align: center;
  border:15px solid #0000002e;
}
.btn-connect:hover {
  background:#5a418b!important;
}

.btn-qty {
  background: var(--color-gray-buttons-back);
  color:var(--color-gray-buttons-text);
  font-size: 2.2rem;
}
.btn-contract {
  background: var(--color-black-buttons-back);
  color:var(--color-gray-buttons-text)!important;
  font-size: 2.2rem;
  border:15px solid #ffffff04;
}
.btn-contract:hover {
  background:#1e1e1e;
}

.btnplusminus {
  position: relative;
  height: auto;
  width: auto;
  color: white;
  padding: 0 10px;
  background:inherit;
  border:0;
}

.calink,
.calink:link,
.calink:visited,
.calink:hover,
.calink:active,
.calink:focus {
  color: #fff !important;
  text-decoration: none !important; /* if you also want to kill the underline */
}
.mintbtn {
  height: 100%!important;
  width: 100%!important;
  padding: 10px 20px!important;
}

.btn-ethcost {
  background: var(--color-gray-buttons-back);
  color:var(--color-gray-buttons-text);
  font-size: 2.2rem;
}
.btn-sneakpeak {
  background:#171717;
  color: #ff6363;
  font-size: 2.2rem;
  background-image:url("/img/clipboard-image-22.png");
  background-size: contain;
}

.btnfirstconn {
  color:blue;
}

.pixel-blinker {
  width: 8px;
  height: 8px;
  background: currentColor;
  image-rendering: pixelated;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
  animation: pixel-blink 1s steps(1) infinite;
}
@keyframes pixel-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

.msg-error, .msg-error p {
  color:#bc3c3c;
  font-size:1.2rem!important;
}
.w-85 { width: 85%!important; }

.half-img,
.halfish-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.mainpart {
  min-height:90vh!important;
  display:flex;
}


.nftcontainer {
  min-height: 90vh;
}


@media (max-width: 991.98px) {
  .mainpart {
    min-height: 50vh !important;
  }
  .nftcontainer {
  min-height: 50vh!important;
}
}

.statusbar { margin-top: 2rem; }
.progress-bar { background-color: #c93939; }
.progress { background-color: rgba(194, 40, 40, 0.25) !important; }

small { font-size:11px; }

.btn {
  border: 0;
  border-radius:0;
}

w3m-button {
  transform: scale(0.85);
  transform-origin: top right;
}

.btnqty,
.btnqty:active,
.btnqty:hover {
  padding: 0 10px !important;
  background: none !important;
  color: #ccc;
  margin-top: -7px !important;
}

.confixed {
  position: absolute!important;
  top: 20px;
  right: 10px;
  z-index: 9999;
  font-size:1.4rem!important;
}

.hero {
  width: 100%;
  height: auto;
}

.mint-bar-wrapper {
  position: fixed;
  bottom: 150px;
  left: 50%!important;
  transform: translateX(-50%);
  width: 80%;
  right: 0;
  max-width:1600px!important;
  z-index: 100;
  pointer-events: none;
  background-color:#222;
  padding:25px;
}
@media (min-width: 992px) and (max-width: 1399.98px) {
  .mint-bar-wrapper {
    width: 97%;
  }
}
@media (max-width: 992px) {
  .mint-bar-wrapper {
    width: 80%;
    bottom:120px!important;
  }
}
@media (max-width: 768px) {
  .mint-bar-wrapper {
    width: 95%!important;
    padding:20px 10px!important;
  }
}



.mint-bar-wrapper-inner {
  max-width: 90vw;
  width:100%;
  pointer-events:auto!important;
}
.mint-bar-wrapper .row {
  pointer-events: auto;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .mint-bar-wrapper {
     bottom:180px!important;
     left:50%!important;
     transform:translateX(-50%);

  }
  .minttext {
    font-size:.7rem!important;
  }
}



.left-panel-row {
  position: absolute;    /* whatever absolute positioning you need */
  top: 1rem;             /* tweak */
  left: 1rem;            /* tweak */
  display: flex;
  align-items: flex-start; /* align headings/text at top */
  gap: 1rem;             /* space between the two blocks */
}

.left-panel-title {
  /* auto-width so it only takes as much as the three lines need */
  flex: 0 0 auto;
}

.left-panel-text {
  /* fixed 300px width */
  flex: 0 0 300px;
}

/* Optional: make sure links wrap neatly */
.left-panel-text a {
  word-break: break-word;
}



/* 1) Wrapper: no left padding, flex‐start alignment */
.pixel-char-wrapper {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  height: 75vh; /* or your desired height */
  padding: 0; /* remove horizontal padding */
  scroll-snap-type: x mandatory;
  justify-content: flex-start;
}

/* 2) Track: no left margin */
.pixel-char-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0; /* or some horizontal spacing */
  margin: 0;
  height: 100%;
}


.pixel-char-track {
  overflow-x: auto;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}
.pixel-char-track::-webkit-scrollbar {
  display: none;             /* Chrome, Safari and Opera */
}

/* 3) Character sizing */
.pixel-char {
  flex: 0 0 auto;
  display: block;
  scroll-snap-align: start;
}

/* 4) Heights */

.pixel-char {
  height: 90%;
  width: auto;
  object-fit: contain;
  max-height: 90%;
}
@media (max-width: 992px) {
.pixel-char {
  height:50%;
  max-height:50%;
  margin-top:200px
}
}

@media (max-width: 576px) {
.pixel-char {
  margin-top:150px
}
}




@media (min-width: 992px) {
  .footer-links {
        position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1c1c1c; /* your background color */
    padding: 15px 0;
    text-align: center;
  }
}

@media (max-width: 991.98px) {
  .footer-links {
     position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1c1c1c; /* your background color */
    padding: 8px 0;
    text-align: center;
    
  }
  .footer-links a {
    font-size:0.8rem!important;
  }

}

.footer-links a {
    color:#9f9f9f!important;
    text-decoration:none!important;
    font-size:.9rem;
  }
.footer-links a:hover {
  background:inherit!important;
  text-decoration:underline!important;
}



.status-tooltip {
  position: fixed;
  bottom: 50px;
  left: 0;
  width: 100%;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 576px) {
  .status-tooltip {
    font-size: 0.65rem;
  }
}

.status-success {
  background-color: #60814b;
}

.status-error {
  background-color: rgba(192, 55, 55, 0.9);
}


/* pixel-border, themintbar, and all remaining rules below unchanged */

.pixel-border {
  clip-path: polygon(
      0px calc(100% - 20px),
      4px calc(100% - 20px),
      4px calc(100% - 12px),
      8px calc(100% - 12px),
      8px calc(100% - 8px),
      12px calc(100% - 8px),
      12px calc(100% - 4px),
      20px calc(100% - 4px),
      20px 100%,
      calc(100% - 20px) 100%,
      calc(100% - 20px) calc(100% - 4px),
      calc(100% - 12px) calc(100% - 4px),
      calc(100% - 12px) calc(100% - 8px),
      calc(100% - 8px) calc(100% - 8px),
      calc(100% - 8px) calc(100% - 12px),
      calc(100% - 4px) calc(100% - 12px),
      calc(100% - 4px) calc(100% - 20px),
      100% calc(100% - 20px),
      100% 20px,
      calc(100% - 4px) 20px,
      calc(100% - 4px) 12px,
      calc(100% - 8px) 12px,
      calc(100% - 8px) 8px,
      calc(100% - 12px) 8px,
      calc(100% - 12px) 4px,
      calc(100% - 20px) 4px,
      calc(100% - 20px) 0px,
      20px 0px,
      20px 4px,
      12px 4px,
      12px 8px,
      8px 8px,
      8px 12px,
      4px 12px,
      4px 20px,
      0px 20px
    );
}
.pixel-border::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  clip-path: inherit;
  box-shadow: 0 0 0 2px black;
  z-index: -1;
  pointer-events: none;
}
.pixel-rounded {
  clip-path: polygon(
    0 8px, 8px 8px, 8px 0,
    calc(100% - 8px) 0, calc(100% - 8px) 8px,
    100% 8px, 100% calc(100% - 8px),
    calc(100% - 8px) calc(100% - 8px),
    calc(100% - 8px) 100%, 8px 100%,
    8px calc(100% - 8px), 0 calc(100% - 8px)
  );
}
.contract {
  padding-top:15px;
}
.themintbar {
  background:#111!important;
  color:#ccc;
  padding:10px 50px;
}
.themintbarsep {
  border-right:5px solid #444;
}

@media screen and (max-width: 991px) {
  .hero {
    width: 80%;
    min-width: 300px;
    height: auto;
  }
}
@media screen and (max-width: 767px) {
  .hero {
    width: 100%;
    min-width: 300px;
    height: auto;
  }
  .nftcontainer {
    min-height: 30vh;
  }
  .themintbar {
    padding:20px 0;
  }
  .my-5 {
    margin-top: 1rem!important;
    margin-bottom: 1rem!important;
  }
  .statusbar {
    margin-top:0;
  }
}

.gethelp {
  font-size:1.2rem;
}
.gethelp span {
  color:#666;
}
.gethelp a {
  margin-left:20px;
}

.ethicon {
  height:60px;
}
@media screen and (max-width: 1200px) {
  .btn-minted,
  .btn-stage,
  .btn-ethcost,
  .btn-qty,
  .btn-contract,
  .btn-connect,
  .unstyled-button {
    font-size:1.4rem!important;
    height:auto;
    border:0;
    padding:5px!important;
  }
  .btn-mint {
    height: auto;
    font-size:1.4rem;
    padding:5px!important;
    border:0;
  }
  .ethicon {
    height:40px;
  }
}

.logo {
  height:22px;
  fill:#666;
}

.fillbtn button {
  width:100%;
}

w3m-button {
  position: relative !important;
  top: 20px;
  right: 20px;
  z-index: 99999;
  transform: scale(1);
  transform-origin: top right !important;
}

#wallet-fixed-wrapper {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  height:60px;
}

@media screen and (max-width:768px) {
  .btn-sneakpeak {
    height:300px!important;
  }
  #wallet-fixed-wrapper {
    height:70px;
  }
  .ethicon {
    height:35px;
  }
  .mintbtn {
    margin-top:10px;
  }
}

@media screen and (max-width: 576px) {
  .btn-minted,
  .btn-stage,
  .btn-ethcost,
  .btn-qty,
  .btn-contract,
  .btn-mint,
  .btn-connect,
  .gethelp,
  .unstyled-button,
  .confixed {
    font-size:1rem!important;
  }
  .logo {
    height:18px;
  }
  .ethicon {
    height:25px;
  }
}

.mntbarbigtexgt {
  font-size:1.5rem;
}
@media (min-width: 992px) and (max-width: 1399.98px) {
  .mntbarbigtexgt {
    font-size: 1.1rem !important;
  }
}
@media (max-width: 992px) {
  small,
  .mntbarbigtexgt {
    font-size: 1rem!important;
    display:inline!important;
  }
  small::after {
    content: ":\00a0";
  }
  .mintbar-item {
    text-align: left !important;
  }
}




.dabutton {
  width: 400px;
}

@media (max-width: 576px) {
small, .mntbarbigtexgt {
    font-size: .8rem!important;
}
.qtyblock {
  min-width:80px!important;
}

}


@media (max-width: 1399.98px) and (min-width: 992px) {
  .dabutton {
    width: 300px;
  }
}

@media (max-width: 991.98px) {
  .dabutton {
    width: 100%;
    height:50px
  }
}



@media (max-width: 992px) {
  .mintbarsuperwrapper {
    display: inline!important;
  }
  .left-panel-row {
    display:block;
  }
  .left-panel-text {
    margin: 50px 0 0;
  }
.minttext {
  font-size:.7rem!important;
}

  .sektstatus,
  .sektca
   {
    display: inline-flex !important;
    align-items: baseline;
    white-space: nowrap;
    gap: 0.25rem;
    text-align: left !important;
    vertical-align: top;
    width: 50%!important;
    float:left;
  }
  .sektsl {
    width:100%;
    text-align:left!important
  }
  .sektstatus span,
  .sektstatus small,
  .sektca span,
  .sektca small,
  .sektsl span,
  .sektsl small {
    font-size:12px!important;
  }

  .sektqty,
  .sektcost {
    display: inline-flex !important;
    position:relative!important;
    width: 100% !important;
    float: none !important;
    clear: left;
    background: #1c1c1c;
    justify-content: center!important;
    align-items: center;
    padding:15px;
    clip-path: polygon(
      0 8px, 8px 8px, 8px 0,
      calc(100% - 8px) 0, calc(100% - 8px) 8px,
      100% 8px, 100% calc(100% - 8px),
      calc(100% - 8px) calc(100% - 8px),
      calc(100% - 8px) 100%, 8px 100%,
      8px calc(100% - 8px), 0 calc(100% - 8px)
    );
   
  }
  .sektqty,
  .sektcost {
    width: calc(50% - 0.375rem) !important;
  }
  .sektqty {
    margin-right: 0.75rem;
  }
}
.sektstatus small,
.sektca small {
  margin-right: 0.25rem;
}


@keyframes float {
  0%, 100%   { transform: translateY(0); }
  50%        { transform: translateY(-10px); }
}
.pixel-char.float {
  animation: float 3s ease-in-out infinite;
}
/* ==== SWAY 1 ==== 
@keyframes sway1 {
  from { transform: rotate(1deg); }
  to   { transform: rotate(-1.5deg); }
}
.pixel-char.sway1 {
  transform-origin: center bottom;
  animation: sway1 2.5s ease-in-out infinite alternate;
}
  */

/* ==== SWAY 2 ==== 
@keyframes sway2 {
  from { transform: rotate(-1deg) scale(1); }
  to   { transform: rotate(0.5deg) scale(1.02); }
}
.pixel-char.sway2 {
  transform-origin: center bottom;
  animation: sway2 3s ease-in-out infinite alternate;
}
*/
/* ==== SWAY 3 ==== *
@keyframes sway3 {
  from { transform: rotate(1.5deg) scale(1); }
  to   { transform: rotate(2.5deg) scale(1.02); }
}
.pixel-char.sway3 {
  transform-origin: center bottom;
  animation: sway2 2s ease-in-out infinite alternate;
}
/
/* Works in WebKit (Chrome, Safari, Edge) */
.scroll-container::-webkit-scrollbar {
  height: 6px;
}

.scroll-container::-webkit-scrollbar-track {
  background: transparent;
}

.scroll-container::-webkit-scrollbar-thumb {
  background-color: #666;
  border-radius: 10px;
}

/* Optional: hide scrollbar on non-hover */
.scroll-container {
  scrollbar-width: thin;        /* Firefox */
  scrollbar-color: #666 transparent;
}

.stuffleftblock {
  min-width:120px!important;
  border-right:3px solid #191919;
}
@media (max-width: 991.98px) {
  .stuffleftblock {
    border-right: 0 !important;
  }
}



.qtyblock {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width:120px;
}

.qtyblock .mntbarbigtexgt {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  min-width: 0; /* prevent overflow from forcing line break */
}