* {
  box-sizing: border-box;
}

body {
  position: relative;
  margin: 0;
  padding: 0;
  justify-content: center;
  min-height: 100vw;
  min-height: 60vh;
  background: rgb(11,32,87);
  overflow-y:auto;
  overflow-x: hidden;
  background-image: url(images/background.png);
  background-repeat: no-repeat;
  background-position:center;
  background-size: cover;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: rgba(11, 15, 26, 0.7);
  pointer-events: none;
  z-index: -1;
}

.background-layer {
  position: fixed;
  inset: 0;
  z-index: -1;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 1;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}



.siteheader {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 5px;
  left: 0;
  width: 100%;
  z-index: 1000;
  min-height: 100px;
  border-radius: 10px;
  margin: 0;
  padding: 0;
  background-color: rgba(23, 11, 48, 0.5);
  border-bottom: 1px solid rgba(192, 192, 192, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.left-header {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 50%;
  margin: 0;
  padding: 0;
  color: aliceblue;
  font-family: "Orbitron", sans-serif;
}

.left-header h1 {
  margin: 0;
  font-size: 24px;
}

.right-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 50%;
  min-height: 100px;
  margin: 0;
  padding: 0;
}

.logo {
  display: block;
  flex-shrink: 0;
  width: 250px;
  height: 100px;
  margin: 0;
  padding: 0;
  background-image: url("images/KosmicMisfits.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  text-indent: -9999px;
}



.mintNav {
  margin: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mintButton {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 70px;
  gap: 2px;
  height: 40px;
  margin-left: 50px;
  padding: 0;

  border: 1px solid silver;
  border-radius: 10px;
  background-color: rgba(192, 192, 192, 0.1);
  color: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.mint-bars {
  text-align: center;
  margin: 0;
  opacity: 1;
  font-size: 14px;
  color: #e8d0ff;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.mint-bar, .mint-barh {
  display: block;
  flex-shrink: 0;
  opacity: 0;
  height: 3px;
  width: 30%;
  gap: 5px;
  background-color: #e8d0ff;
  border-radius: 3px;
  transform-origin: center;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
#mintButton.active .mint-bars {
  opacity: 0;
}
#mintButton.active .mint-bar {
  opacity: 1;
  transform: translateY(11.7px) rotate(45deg) ;
}
#mintButton.active .mint-barh {
  opacity: 1;
  transform: translateY(-11.7px) rotate(-45deg);
}
.mintButton:hover {
  background-color: rgba(192, 192, 192, 0.2);
}

.mintButton span {
  font-family: inherit;
}
.mintPanel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
  position: fixed;
  top: 115px;
  right: 3%;
  width: 300px;
  max-height: 75vh;
  padding: 20px;
  background-attachment: local;
  background-color: rgba(23, 11, 48, 0.8);
  border-radius: 10px;
  border: 1px solid aliceblue;
  color: aliceblue;
  text-align: center;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%) translateY(20%);
  font-size: small;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    visibility 0.3s linear 0.3s;
}
.mintPanel a {
  color: yellow;
  text-decoration: none;
}
#mintPanel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transform: translateY(40px);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    visibility 0.5s;
}


.menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.Menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 45px;
  height: 45px;
  margin-right: 35px;
  padding: 5px;
  border: 1px solid rgba(192, 192, 192, 0.2);
  border-radius: 10px;
  background-color: rgba(192, 192, 192, 0.1);
  cursor: pointer;
}

.bar {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 2px;
  border-radius: 3px;
  background-color: #e8d0ff;
  transform-origin: center;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

#bars.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#bars.active .bar:nth-child(2) {
  opacity: 0;
}

#bars.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}



.menupanel {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;

  position: fixed;
  top: 100px;
  right: 3%;

  width: 300px;
  max-height: 75vh;
  overflow-y: auto;
  padding: 20px;

  background-color: rgba(23, 11, 48, 0.8);
  border-radius: 10px;
  border: 1px solid aliceblue;
  color: aliceblue;

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(calc(100% + 20px)) translateY(50%);

  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    visibility 0.3s linear 0.9s;
}

#menuPanel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transform: translateY(40px);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    visibility 0.3s;
}

.menupanel > h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
}

.button-shelve {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 20%;
  height: 200px;
  padding: 5px;
  border: 1px solid rgba(192, 192, 192, 0.2);
  border-radius: 10px;
  background-color: rgba(192, 192, 192, 0.1);
  cursor: pointer;
}
.button-labels {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 5px;
  border: 1px solid rgba(192, 192, 192, 0.2);
  border-radius: 10px;
  background-color: rgba(192, 192, 192, 0);
  cursor: pointer;
  height: 100%;
  width: 100%;
}
.toggle-off {
  display: flex;
  flex-direction: column;
  background-color: transparent;
  height: 200px;
  width: 70px;
}


.menu-options {
  display: flex;
  flex-direction: column;

  margin-right: 0;
  justify-content: center;
  align-items: center;
  padding: 0;
  gap: 10px;
  width: 50px;
}



.nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;

  width: 50px;
  height: 50px;
  margin: 0;
  padding: 0;

  background-color: rgba(192, 192, 192, 0.1);
  border: 1px solid rgba(192, 192, 192, 0.2);
  border-radius: 10px;

  color: #e8d0ff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;

  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.nav:hover,
.nav.active {
  background-color: rgba(192, 192, 192, 0.2);
  border-color: rgba(232, 208, 255, 0.5);
  height: 55px;
  width: 55px;
}
.JJJ,
.jjj {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;
  border: solid;
  max-height: 50px;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 0;
  padding: 10px 15px;
  border: 1px solid rgba(192, 192, 192, 0.2);
  background-color: rgba(192, 192, 192, 0);
  border-radius: 10px;
  text-decoration: none;
  color: #e8d0ff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;

  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.JJJ:hover,
.JJJ.active,.jjj:hover {
  background-color: rgba(192, 192, 192, 0.2);
  border-color: rgba(232, 208, 255, 0.5);
  max-width: 110%;
  max-height: 60px;
}
.jjj {
  justify-content: space-between;
  gap: 5px;
}
.X,
.Discord {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 45px;
  width: 45%;
  padding: 0;
  margin: 0;
  text-indent: -999px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.X {
  background-image: url(images/X.png);
}
.Discord {
  background-image: url(images/Discord.png);
}
.X:hover,
.Discord:hover {
  border-color: rgba(232, 208, 255, 0.5);
  width: 50%;
  height: 50px;
}
.menuItems {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;
  height: 50px;
  width: 100%;
  margin: 0;
  background-color: rgba(192, 192, 192, 0);
  border: 1px solid rgba(192, 192, 192, 0.2);
  border-radius: 10px;

  color: #e8d0ff;
  font-family: "Orbitron", sans-serif;
  font-size: 16px;
  text-align: center;
}



.plus {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 2px;
  background-color: red;
  transform: translateX(17px) translateY(0px) rotate(-45deg)  ;
  padding: 0;
  margin: 0;
}
.pluss {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  padding: 0;
  margin: 0;
  height: 2px;
  background-color: red;
  transform: translateX(-17px) translateY(0px) rotate(45deg)  ;
}



.loreInfo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  
  width: 80%;
  height: auto;
  align-self: center;
  justify-self: center;
  
  margin: auto;
  color: azure;
  border-radius: 12px;
  border: none;
  background-color: rgba(11, 15, 26, 0.5);

  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 1;
  visibility:visible;
  pointer-events: none;
  z-index: -2px;
  overflow-y: hidden; 
   box-shadow:
        inset 0 0 5px rgba(11, 15, 26, 0.9),
        inset 0 0 15px rgba(11, 39, 168, 1),
        inset 0 0 30px rgba(11, 39, 168, 1),
        0 0 5px rgba(11, 15, 26, 0.9),
        0 0 30px rgba(11, 39, 168, 0.7);
        transform: translateY(50px);
  transition:
    transform 1s ease,
    opacity 1s ease,
    visibility 1s linear 0.3s;
}
.loreInfo .menuItems{
  border-top: 0;
  border-left: 0;
  border-right: 0;
  
  border-radius: 0;
  font-size: 30px;
  width: auto;  
}
.loreInfo_header {
  display: flex; 
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  width: auto;
  top: 0;
}


.loreInfo h1 {
  margin-top: 0;
  font-size: 22px;
  line-height: auto;
  padding: 20px;
}
.write-up {
  font-size: 10px;
  color: #e8d0ff;
}
.NFT_display {
  display: block;
  position: relative;
  isolation: isolate;

  width: min(600px, 90vw);
  height: 60vh;
  margin: 40px auto;

  background-color: rgba(23, 11, 48, 0.7);
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(23, 11, 48, 0.7);
  overflow: hidden;
}

.NFT_display > div {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.NFT_display > div.active {
  opacity: 1;
  z-index: 1;
}




.menu-close {
  align-self: flex-end;
  margin: 0;
}
#closeMenu.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

#closeMenu.active .bar:nth-child(2) {
  opacity: 0;
}

#closeMenu.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
#NFT_display1 {
  background-image: url("images/KosmicMisfits1.png");
}

#NFT_display2 {
  background-image: url("images/KosmicMisfits2.png");
}

#NFT_display3 {
  background-image: url("images/KosmicMisfits3.png");
}

#NFT_display4 {
  background-image: url("images/KosmicMisfits4.png");
}

#NFT_display5 {
  background-image: url("images/KosmicMisfits5.png");
}

#NFT_display6 {
  background-image: url("images/KosmicMisfits6.png");
}

#NFT_display7 {
  background-image: url("images/KosmicMisfits7.png");
}
.background-layer.active {
  opacity: 1;
}
.main_body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 90vw;
  text-align: center;
  height: 55vh;
  padding: 20px;
  background-color: rgba(23, 11, 48, 0.1);
  box-sizing: border-box;
  color: #ffffff;
  position: relative;
  top: 80px;
}
.main_intro,
.intro_animations {
  margin-top: 30px;
  text-align: center;
  justify-content: center;
  position: absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 20px;
}

.floating_image {
  margin-top: 20vh;
  height: auto;
  width: 50%;
  animation: float 60s ease-in-out infinite;
}
@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(30px, -25px);
  }

  50% {
    transform: translate(0, -40px);
  }

  75% {
    transform: translate(-30px, -20px);
  }

  100% {
    transform: translate(0, 0);
  }
}
.floating_building {
  text-align: center;
  justify-content: baseline;
  height: 100%;
  padding: 0;
  margin: 0;
  width: auto;
}
.CW {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.5rem, 12vw, 5rem);
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}
.main_intro > h2 {
  margin-top: 15px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1rem, 3vw, 2.5rem);
  line-height: 1.4;
  color: #dccbff;
}
.lower {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

    width: 100%;
    margin-inline: auto;
    padding: 0;

    justify-content: space-evenly;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    
    position: relative;
}
html{
  scroll-behavior: smooth;
}
.topCharacters {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 1 300px;
    height: 30vh;
    min-width: 200px;
    max-width: 300px;
    text-align: center;
    background-color: rgba(11, 15, 26, 0.9);
    border-radius: 12px;
    position: relative;
    box-shadow:
        inset 0 0 5px rgba(11, 15, 26, 0.9),
        inset 0 0 15px rgba(11, 39, 168, 0.7),
        inset 0 0 20px rgba(11, 39, 168, 0.5);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.topCharacters h5 {
    position: relative;
    z-index: 2;
    color: #dccbff;
    margin: 0;
    font-size: 15px;
}
.game-profile-display, .video-display{
  display: flex;
  padding: 10px;
  position: relative;
    z-index: 5;
  width: 100%;
  margin-top: 0;
  background-color: rgba(11, 15, 26, 0.9);
  border-radius: 12px;
  object-fit: cover;
 
}
.topCharacters h5 a {
    position: relative;
    z-index: 3;
    color: #4209b3;
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto;
}
.topCharacters h5 a:hover {
    position: relative;
    z-index: 3;
    color: #601ee4;
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto;
    font-size: large;
}
.game-profile-display{
  height: 80%;
   box-shadow:
        inset 0 0 5px rgba(11, 15, 26, 0.9),
        inset 0 0 15px rgba(11, 39, 168, 0.7),
        inset 0 0 30px rgba(11, 39, 168, 0.7);
        background-position:center;
        background-size:cover;
        background-repeat: no-repeat;
}
.video-display{
  height: 100%;
  margin: 0;
  padding: 0;
}

.lower .topCharacters .game-profile-display a{
  text-decoration: none;
  color: #dccbff;
}
.team > h2{
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(4rem, 5vw, 5rem);
  line-height: 1.4;
  color: #dccbff;
  text-align: center;
  border-bottom: 1px solid #dccbff;
}
.team > p{
  margin: 0 auto;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1rem, 2vw, 2.5rem);
  line-height: 1.4;
  color: #dccbff;
  text-align: center;
}
.team{
flex-direction: column;
}
.Team , .team{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  width: 90%;
  height: auto;
  padding: 0;
  margin:  auto;
  gap: 20px;
  border-radius: 12px;
  margin: 10px auto;
  
}

.teamhighlight{
  display: flex;
  flex-direction: column;
  flex: 0 1 40vh;
  height: 85vh;
  width: 50vh;
  background-color: rgba(11, 15, 26, 0.8);
  padding: 0;
  margin: 0;
  border-radius: 20px;
  text-align: center;
  opacity: 0;
  box-shadow:
        inset 0 0 5px rgba(11, 39, 168, 0.7),
        inset 0 0 15px rgba(11, 39, 168, 0.7),
        inset 0 0 30px rgba(11, 39, 168, 0.7);
        transform: translateY(50px);
        transition: opacity 0.8s ease,
                    transform 0.8s ease;
}
.teamhighlight.active, .topCharacters.active ,.loreInfo.active{
  opacity: 1;
  transform: translateY(0);
  transition:
    transform 1s ease,
    opacity 1s ease,
    visibility 1s linear 0.1s;
}
.teamhighlight h1 {
  color: #dccbff;
  font-size: 30px;
  margin: 0;
  padding: 0;
  
}
.teamhighlight h6 {
  margin: 0;
  padding: 0;
  color: rgb(150, 143, 143);
  top: 0;
  height: 5px;
  transform: translateY(-1px);
  padding: 10px;
}
.teamhighlight h5 {
  margin: 0;
  color: #dccbff;
  top: 0;
  padding: 15px;
}

.teamhighlight a{
  transform: translateY(-7px);
  text-decoration: none;
  color: rgb(80, 109, 237);
}
.overhead{
  display: flex;
  position: relative;
  height: 30%;
  width: 100%;
  
  justify-content: center;
  align-items: center;
}
.teamhighlight-content-header, .ring{
  height: 70%;
  width: 100%;
  position: absolute;
background-size: cover;
background-repeat: no-repeat;
background-position:center;
}
.teamhighlight-content-header{
  border-radius: 20px;
  box-shadow: 
        0 0 5px rgba(11, 39, 168, 0.7),
        0 0 15px rgba(11, 39, 168, 0.7);
}
.teamhighlight:nth-child(1) .teamhighlight-content-header {
top: 0;
background-image: url(images/obie-banner.png);
}
.teamhighlight:nth-child(2) .teamhighlight-content-header {
top: 0;
background-image: url(images/velli-banner.png);
}
.teamhighlight:nth-child(3) .teamhighlight-content-header {
top: 0;
background-image: url(images/Nod3x-banner.png);
}
.pfp{
  height: 85px;
  width: 85px;
  bottom: 0;
  z-index: 1px;
  margin-top: 0%;
  border-radius: 50%;
  background-repeat: no-repeat;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-position: center;
  background-size: contain;
}
.ring, .rotatingRIng{
  display: flex;
  height: 90px;
  width: 90px;
  bottom: 0;
  border-radius: 50%;
  margin-top: 0%;
  
  
  justify-content: center;
  align-items: center;
  background-color: transparent;
}
.rotatingRIng {
    position: absolute;
    inset: 0;

    border-radius: 50%;

    background: repeating-conic-gradient(
        rgba(11, 39, 168, 1) 0deg 4deg,
        transparent 4deg 12deg
    );

    -webkit-mask: radial-gradient(
        farthest-side,
        transparent calc(100% - 3px),
        black calc(100% - 2px)
    );

    mask: radial-gradient(
        farthest-side,
        transparent calc(100% - 3px),
        black calc(100% - 2px)
    );
    animation: rotateRing 20s linear infinite;
}

.profile-container  {
    position: relative;

    width: 83px;
    height: 83px;

    border-radius: 50%;
    z-index: -1;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@keyframes rotateRing {
    to {
        transform: rotate(360deg);
    }
}
.ring{
  
  
  box-shadow: 
        0 0 5px rgba(11, 39, 168, 0.7),
        0 0 15px rgba(11, 39, 168, 0.7);
}

#teamBanner{
  background-size: cover;
  background-position: center;
}
#teampfp{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background-color: aquamarine;
}
.teamhighlight:nth-child(1) .pfp {
  display: flex;
  background-image: url(images/obie-pfp.png);
}
.teamhighlight:nth-child(2) .pfp {
  display: flex;
  background-image: url(images/velli-pfp.png);
}
.teamhighlight:nth-child(3) .pfp, .footer .pfp {
  display: flex;
  background-image: url(images/Nod3x-pfp.png);
}
.team .pfp {
  position: relative;
  z-index: 1;
    background-image: url("images/KosmicMisfits.png");
}
.teamhighlight-content-header::after{
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  border-radius: 20px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
}

img,
video,
iframe {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.siteheader {
  min-height: 100px;
  padding-inline: clamp(12px, 3vw, 36px);
  gap: clamp(8px, 2vw, 24px);
}

.left-header,
.right-header {
  min-width: 0;
}

.left-header {
  flex: 1 1 0;
  width: auto;
}

.right-header {
  flex: 1 1 0;
  width: auto;
  gap: clamp(8px, 1.5vw, 20px);
}

.logo {
  width: clamp(110px, 18vw, 250px);
  max-width: 100%;
}

.mintNav {
  margin: 0;
}

.mintButton {
  margin-left: 0;
  flex-shrink: 0;
}

.Menu {
  margin-right: 0;
  flex-shrink: 0;
}

.mintPanel,
.menupanel {
  box-sizing: border-box;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 125px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mintPanel {
  flex-wrap: wrap;
}

.menupanel {
  flex-wrap: wrap;
}

.button-shelve {
  width: auto;
  min-width: 0;
}

.menu-options {
  width: 100%;
}

.loreInfo {
  position: relative;
  width: min(1100px, calc(100% - 40px));
  max-width: 100%;
  height: auto;
  max-height: none;
  margin: 32px auto;
  padding: clamp(16px, 3vw, 32px);
  overflow: visible;
  opacity: 0;
  
  pointer-events: none;
  
  transform: translateY(30px);
}

.loreInfo.active {
  opacity: 1;
  
  pointer-events: auto;
  transform: translateY(0);
}

.loreInfo h1 {
  line-height: 1.25;
}

.write-up {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.7;
  color: #b0abb8;
}

.NFT_display {
  width: min(600px, calc(100% - 32px));
  height: clamp(260px, 60vw, 600px);
  max-height: 70vh;
  max-height: 70dvh;
}

.main_body {
  width: min(1200px, calc(100% - 32px));
  min-height: min(620px, calc(100dvh - 120px));
  height: auto;
  margin: 100px auto 32px;
  padding: clamp(16px, 4vw, 40px);
  top: auto;
}

.main_intro,
.intro_animations {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  margin-top: 0;
  padding: 12px;
}

.floating_image {
  display: block;
  width: min(55%, 520px);
  max-height: 45vh;
  object-fit: contain;
  margin: 24px auto 0;
}

.lower {
  width: min(1400px, 100%);
  margin-inline: auto;
}

.topCharacters {
  flex: 1 1 260px;
  width: auto;
  min-width: 0;
  max-width: 340px;
  min-height: 260px;
  height: auto;
  padding: 12px;
  margin: 0 auto;
}

.game-profile-display,
.video-display {
  min-width: 0;
  overflow: hidden;
}

.Team,
.team {
  width: min(1400px, calc(100% - 32px));
}

.teamhighlight {
  flex: 1 1 280px;
  width: min(100%, 360px);
  min-width: 200px;
  max-width: 420px;
  min-height: 520px;
  height: auto;
}

.overhead {
  min-height: 150px;
}

.teamhighlight-content-header,
.ring {
  max-width: 100%;
}
.footer{
  display: flex;
  flex-direction: column;
  height: auto;
  width: 100%;
  color: rgb(150, 143, 143);
  justify-content: center;
  align-items: center;
  padding: auto;
}
.footer .pfp{
  margin: 5px;
  border-radius: 10%;
  height: 3em;
  width: 3em;
  
  background-image: url(images/Nod3x\ Business\ logo.png);
}
.footer ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  color: #dccbff;
}
.footer ul li {
  display: flex;
  align-items:center ;
  justify-content: center;
}
.footer ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:5px;
    text-decoration: none;
}
.footer a {
  color: rgb(150, 143, 143);
  text-decoration: none;
}
.footer .X_ ,.footer .Discord_{
  height: 2em;
  width: 2em;
  
}
@media screen and (min-width: 1200px) {
  .siteheader {
    padding-inline: max(32px, calc((100vw - 1400px) / 2));
  }

  .menupanel,
  .mintPanel {
    right: max(24px, calc((100vw - 1400px) / 2));
  }
}

@media screen and (max-width: 900px) {
  .siteheader {
    min-height: 88px;
  }

  .logo {
    width: clamp(90px, 16vw, 160px);
    height: 82px;
  }

  .menupanel {
    top: 98px;
    right: 16px;
    width: min(360px, calc(100vw - 32px));
    max-height: calc(100dvh - 116px);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px;
    transform: translateX(calc(100% + 24px));
  }

  .mintPanel {
    top: 98px;
    right: 16px;
    width: min(340px, calc(100vw - 32px));
    max-height: calc(100dvh - 116px);
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    transform: translateX(calc(100% + 24px));
  }

  .button-shelve,
  .button-labels,
  .menu-options {
    width: 100%;
    height: auto;
  }

  .menu-options {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
  }

  .JJJ,
  .jjj,
  .menuItems {
    width: 100%;
  }

  .main_body {
    min-height: 500px;
  }

  .teamhighlight {
    flex-basis: calc(50% - 20px);
  }
}

@media screen and (max-width: 600px) {
  html {
    scroll-padding-top: 88px;
  }

  .siteheader {
    min-height: 90px;
    padding-inline: 12px;
    gap: 8px;
    border-radius: 0 0 10px 10px;
  }

  .left-header {
    gap: 6px;
  }

  .left-header h1 {
    font-size: clamp(12px, 5vw, 17px);
    line-height: 1.5;
    text-decoration:wavy;
    
  }

  .logo {
    width: clamp(58px, 17vw, 92px);
    height: 66px;
  }

  .right-header {
    min-height: 76px;
    gap: 8px;
    justify-content: flex-end;
  }

  .mintButton {
    width: 56px;
    height: 36px;
  }

  .mint-bars {
    font-size: 12px;
  }

  .Menu {
    width: 40px;
    height: 40px;
    margin: 0;
  }

  .bar {
    width: 21px;
  }

  .menupanel {
    top: 86px;
    right: 12px;
    width: min(340px, calc(100vw - 24px));
    max-height: calc(100dvh - 98px);
    padding: 14px;
    gap: 10px;
  }

  .mintPanel {
    top: 86px;
    right: 12px;
    width: min(340px, calc(100vw - 24px));
    max-height: calc(100dvh - 98px);
    padding: 14px;
  }

  .menupanel > h1 {
    font-size: 17px;
  }

  .menuItems {
    min-height: 44px;
    height: auto;
    padding: 10px;
    font-size: 13px;
  }

  .button-shelve {
    min-height: 0;
    padding: 8px;
  }

  .button-labels {
    gap: 8px;
    padding: 8px;
  }

  .JJJ,
  .jjj {
    min-height: 44px;
    height: auto;
    padding: 10px 12px;
    font-size: 13px;
  }

  .nav {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .X,
  .Discord {
    width: 44%;
    height: 40px;
  }

  .loreInfo {
    width: calc(100% - 24px);
    margin: 24px auto;
    padding: 14px;
  }

  .loreInfo .menuItems {
    font-size: 20px;
  }

  .loreInfo h1 {
    font-size: clamp(18px, 5vw, 24px);
    padding: 10px;
  }

  .NFT_display {
    width: calc(100% - 24px);
    height: clamp(230px, 65vw, 420px);
    margin: 24px auto;
  }

  .main_body {
    width: calc(100% - 24px);
    min-height: 430px;
    margin: 88px auto 24px;
    padding: 16px 10px;
  }

  .main_intro,
  .intro_animations {
    padding: 10px 4px;
  }

  .CW {
    font-size: clamp(2rem, 10vw, 3.4rem);
    overflow-wrap: anywhere;
  }

  .main_intro > h2 {
    font-size: clamp(0.95rem, 4.2vw, 1.35rem);
  }

  .floating_image {
    width: min(80%, 360px);
    max-height: 35vh;
    margin-top: 16px;
  }

  .lower {
    gap: 14px;
    padding: 14px 12px;
  }

  .topCharacters {
    flex: 1 1 100%;
    width: 100%;
    max-width: 420px;
    min-height: 240px;
  }

  .team > h2 {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .team > p {
    font-size: clamp(0.95rem, 4vw, 1.2rem);
    padding-inline: 8px;
  }

  .Team,
  .team {
    width: calc(100% - 24px);
    gap: 16px;
  }

  .teamhighlight {
    flex: 1 1 100%;
    width: 100%;
    max-width: 440px;
    min-height: 500px;
  }

  .teamhighlight h1 {
    font-size: 25px;
  }
  .mint-barh, .mint-bar {
    width: 21px;    
  }
  #mintButton.active .mint-bar {
    transform: translateY(10px) rotate(-45deg);
  
}
  #mintButton.active .mint-barh {
    transform: translateY(-11px) rotate(45deg);
  
}
}

@media screen and (max-width: 380px) {
  .siteheader {
    padding-inline: 8px;
    gap: 4px;
  }

  .left-header h1 {
    font-size: 11px;
  }

  .logo {
    width: 52px;
    height: 58px;
  }

  .right-header {
    gap: 5px;
  }

  .mintButton {
    width: 48px;
    height: 34px;
  }
    .Menu {
    width: 36px;
    height: 36px;
  }

  .bar {
    width: 19px;
  }

  .main_body {
    min-height: 390px;
  }

  .CW {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .teamhighlight {
    min-height: 460px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
