/* Globale Styles */

@font-face {
  font-family: 'Super Legend Boy';
  src: url('./fonts/SuperLegendBoy-4w8Y.ttf') format('truetype');
  }
  
@font-face {
    font-family: 'JetBrains Mono NL';
    src: url('./fonts/JetBrainsMonoNL-Regular.ttf') format('truetype');
    }


body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: black;
}

.star {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  background-color: rgb(238, 245, 176);
  opacity: 0;
  animation: twinkle 4s infinite;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}


/* Safe-Stile */
#safe {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./imggs/lightningx.gif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: transform 1.5s;
  transform-origin: bottom center;
  cursor: pointer;
}

/* Geöffnete Safe-Tür */
#safe.open {
  transform: perspective(1000px) rotateX(90deg);
}

/* Kamera-Stile */
#camera {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./imggs/BOOSTERFOIL2.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  transition: transform 2s;
  border-radius: 12px;
}

/* Tresorraum-Stile */
#vault {
  position: fixed;
  top: -100%; /* Startposition oberhalb des Bildschirms */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("./imggs/khebpepe.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  padding: 20px;
  width: 100vw; 
  height: 100vh; 
  z-index: 999;
  overflow: auto;
  animation: slideIn 3s forwards;
  animation-delay: 0.3s;
  border-radius: 12px;
}

/* Animation für das Einblenden des Tresorraums */
@keyframes slideIn {
  0% {
    top: -600%; /* Startposition oberhalb des Bildschirms */
  }
  100% {
    top: 2%; /* Endposition in der vertikalen Mitte des Bildschirms */
  }
}

/* Element-Stile */
.element {
  width: 30vw;
  height: 30vh;
  margin: 2px;
  background-repeat: no-repeat;
  font-family: "Helvetica", Arial, sans-serif;
  font-size: 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translate(0%, 0%) scale(0);
  transition: opacity 0.5s, transform 1.2s;
  transition-delay: 1.8s;
  border-radius: 8px;
  padding: 4px;
}

.left-column,
.middle-column,
.right-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.left-column {
  justify-content: flex-start;
}

.middle-column {
  justify-content: center;
}

.right-column {
  justify-content: flex-end;
}


/* Schließen-Symbol-Stile */
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-family: "Super Legend Boy", Arial, sans-serif;
}

/* Subelement-Stile */
.sub-element {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  height: 0; /* Das Subelement ist ursprünglich nicht sichtbar */
  overflow: auto;
  transform: translate(-50%, -50%) scaleY(0) rotateX(180deg);
  transition: transform 0.5s ease-in-out;
  border-radius: 12px;
}

.sub-element-open {
  transform: translate(-50%, -50%) scaleY(1) rotateX(0);
  height: 90%;
}


.sub-element-closed {
  animation: foldAndFall 0.7s ease-in-out forwards;
}

@keyframes foldAndFall {
  0% {
    transform: translate(-50%, -50%) scaleY(1) rotateX(0);
  }
  50% {
    transform: translate(-50%, -50%) scaleY(0.5) rotateX(90deg);
  }
  100% {
    transform: translate(-50%, -50%) scaleY(0) rotateX(180deg);
  }
}

.sub-element-content {
  max-width: 90%;
  max-height: 90%;
  overflow: auto; 
  object-fit: contain; 
}


.explore-series-sub-element {
  position: relative;
}

.series1-sub-element {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-image: url(./imggs/BOOSTERFOIL22.png);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  height: 0;
  overflow: hidden;
  transform: translate(-50%, -50%) scaleY(0) rotateX(180deg);
  transition: transform 0.5s ease-in-out;
}

.sub-element-open .series1-sub-element {
  transform: translate(-50%, -50%) scaleY(1) rotateX(0);
  height: 90%;
  width: 90%;
  border-radius: 10px;
}

.explore-series-sub-element,
.series1-sub-element {
  width: 90%;
  height: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.series1-link {
  cursor: pointer;
  color: rgb(31, 29, 29);
}

.block-container {
  height: 100%;
  overflow-y: scroll;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  padding: 20px;
  width: 100%;
}


.block-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  width: 100%;
  padding: 10px;
  gap: 20px; 
}

.block {
  flex-basis: calc(33.33% - 20px); 
  height: auto;
  background-color: transparent;
  /* background-color: #d14893; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
}


.block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.block h3,
.block p {
  margin-top: 10px;
  margin-bottom: 5px;
}

.raretoshi-sub-element {
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: flex-start;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background-image: url(./imggs/BOOSTERFOIL22.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  overflow: auto;
  padding: 5%;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  gap: 20px;
  font-family: "JetBrains Mono NL", Arial, sans-serif;
  text-decoration: none;
}

.raretoshi-sub-element a {
  text-decoration: none;
  color: #333;
  margin-bottom: 10px;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.3s;
}

.raretoshi-sub-element a:hover {
  color: #71836f;
  transform: scale(1.05);
}

.raretoshi-sub-element img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  margin-top: 20px;
}

.raretoshi-sub-element::-webkit-scrollbar {
  background-color: transparent;
}

.raretoshi-sub-element::-webkit-scrollbar-track {
  background-color: transparent;
}

.raretoshi-sub-element::-webkit-scrollbar-thumb {
  background-color: transparent;
}

.raretoshi-sub-element::-webkit-scrollbar-thumb:hover {
  background-color: transparent;
}


.explore-series-sub-element {
  display: flex;
  flex-direction: flex-start;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background-image: url(./imggs/BOOSTERFOIL22.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  overflow: auto;
  padding: 5%;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  gap: 20px;
  font-family: "JetBrains Mono NL", Arial, sans-serif;
}

.explore-series-sub-element img {
  display: flex;
  height: 100%;
}

.explore-series-sub-element::-webkit-scrollbar {
  background-color: transparent;
}

.explore-series-sub-element::-webkit-scrollbar-track {
  background-color: transparent;
}

.explore-series-sub-element::-webkit-scrollbar-thumb {
  background-color: transparent;
}

.explore-series-sub-element::-webkit-scrollbar-thumb:hover {
  background-color: transparent;
}

.rp-content-box {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-image: url(./imggs/BOOSTERFOIL22.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  overflow: auto;
  padding: 5%;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  gap: 20px;
  font-family: "JetBrains Mono NL", Arial, sans-serif;
  text-decoration: none;
}

.rp-link-1 {
  text-decoration: none;
  cursor: pointer;
}

.rp-content-box::-webkit-scrollbar {
  background-color: transparent;
}

.rp-content-box::-webkit-scrollbar-track {
  background-color: transparent;
}

.rp-content-box::-webkit-scrollbar-thumb {
  background-color: transparent;
}

.rp-content-box::-webkit-scrollbar-thumb:hover {
  background-color: transparent;
}

/* CSS-Stile für den Account-Bereich */
.account-content {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: flex-start;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background-image: url(./imggs/BOOSTERFOIL22.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  overflow: auto;
  padding: 5%;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  gap: 20px;
  font-family: "JetBrains Mono NL", Arial, sans-serif;
  text-decoration: none;
}

.account-image {
  width: auto;
  height: 50%;
}

.account-content::-webkit-scrollbar {
  background-color: transparent;
}

.account-content::-webkit-scrollbar-track {
  background-color: transparent;
}

.account-content::-webkit-scrollbar-thumb {
  background-color: transparent;
}

.account-content::-webkit-scrollbar-thumb:hover {
  background-color: transparent;
}

.rarity-sub-element {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  max-height: 80vh;
  max-width: 80vw;
  overflow: auto;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-radius: 8px;
}
.rarity-sub-element table {
  margin-bottom: 4%;
}

/* Media Query für kleine Bildschirme */
@media screen and (max-width: 600px) {
  .rarity-sub-element table {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: contain;
  }

  .projectsstuff-element img {
    width: 100%;
    height: auto;
  }
}
/* Media Query für große Bildschirme */
@media screen and (min-width: 800px) {
  .raretoshi-sub-element img {
    width: 50%;
    height: auto;
    margin-bottom: 20px;
    margin-top: 20px;
  }
}

.rarity-sub-element table + table {
  margin-top: 4%;
}

.rarity-sub-element h2,
.rarity-sub-element div {
  margin-bottom: 10px;
  text-align: center;
}

.rarity-sub-element::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}



.rarity-link {
  cursor: pointer;
  color: rgb(31, 29, 29);
}

.rarity-sub-element::-webkit-scrollbar {
  background-color: transparent;
}

.rarity-sub-element::-webkit-scrollbar-track {
  background-color: transparent;
}

.rarity-sub-element::-webkit-scrollbar-thumb {
  background-color: transparent;
}

.rarity-sub-element::-webkit-scrollbar-thumb:hover {
  background-color: transparent;
}


.projectsstuff-element {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-image: url(./imggs/BOOSTERFOIL22.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  overflow: auto;
  padding: 5%;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  gap: 4%;
  font-family: "JetBrains Mono NL", Arial, sans-serif;
}

.projectsstuff-element a {
  text-decoration: none;
}
.projectsstuff-element h3 {
  margin-top: 8%;
}

.projectsstuff-element img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.projectsstuff-element::-webkit-scrollbar {
  background-color: transparent;
}

.projectsstuff-element::-webkit-scrollbar-track {
  background-color: transparent;
}

.projectsstuff-element::-webkit-scrollbar-thumb {
  background-color: transparent;
}

.projectsstuff-element::-webkit-scrollbar-thumb:hover {
  background-color: transparent;
}

.faq-button {
  position: fixed;
  top: 3%;
  right: 4%;
  color: lightgrey;
  background-color: transparent;
  font-family: "Super Legend Boy", Arial, sans-serif;
  border: none;
  font-size: 0.7em;
  cursor: pointer;
  z-index: 9998;
  animation: fadeIn 2s ease-in-out forwards;
}
@media screen and (max-width: 600px) {
  .faq-button {
    position: fixed;
    top: 3%;
    right: 4%;
    color: lightgrey;
    background-color: transparent;
    font-family: "Super Legend Boy", Arial, sans-serif;
    border: none;
    opacity: 0;
    font-size: 0.7em;
    cursor: pointer;
    z-index: 9998;
    animation: fadeIn 2s ease-in-out forwards;
  }
}

.faq-image {
  position: fixed;
  top: 1%;
  right: 1%;
  width: 13vw;
  height: auto;
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards, pulse-faq-image 3s infinite;
  cursor: pointer;
  z-index: 9998;
}
@keyframes fadeIn {
  from {
    opacity: 0; 
  }
  to {
    opacity: 1; 
  }
}
@keyframes pulse-faq-image {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@media screen and (max-width: 680px) {
  .faq-image {
    position: fixed;
    top: 3%;
    right: 1.5%;
    width: 23vw;
    height: auto;
    animation: fadeIn 2s ease-in-out forwards, pulse-faq-image 3s infinite;
    z-index: 9998;
  }
}

.faq-overlay {
  z-index: 99999;
}
.faq-overlay {
  opacity: 0;
  display: flex;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-image: url(./imggs/BOOSTERFOIL22.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 12px;
  overflow: auto;
  padding: 5%;
  width: 90vw;
  height: 90vh;
  box-sizing: border-box;
  gap: 20px;
  font-family: "JetBrains Mono NL", Arial, sans-serif;
  text-decoration: none;
  animation: fadeInOverlay 0.5s ease-in-out forwards;
}

.faq-overlay h4 {
  margin-top: 10vh;
}
.close-button2 {
  position: absolute;
  top: 4%;
  right: 2%;
  cursor: pointer;
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.faq-overlay::-webkit-scrollbar {
  background-color: transparent;
}

.faq-overlay::-webkit-scrollbar-track {
  background-color: transparent;
}

.faq-overlay::-webkit-scrollbar-thumb {
  background-color: transparent;
}

.faq-overlay::-webkit-scrollbar-thumb:hover {
  background-color: transparent;
}

.social-links {
  position: fixed;
  top: 1%;
  left: 1%;
  display: flex;
  gap: 10px;
  z-index: 9999;
  opacity: 0;
  animation: fade-in 0.5s ease-in-out 4s forwards;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: white;
  background-color: #333;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2em;
}

.social-links a:hover {
  background-color: #555;
}

.custom-link {
  position: fixed;
  opacity: 0;
  bottom: 1%;
  right: 1%;
  color: grey;
  text-decoration: none;
  font-size: 1em;
  z-index:9999;
  animation: fade-in1 0.5s ease-in-out 4s forwards;
}
@keyframes fade-in1 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media screen and (max-width: 600px) {
  .custom-link {
    font-size: 0.8em; 
  }
}

.video-link {
  cursor: pointer;
}
.video-link:hover {
  transform: scale(1.04);
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

.video-container {
  max-width: 90%;
  max-height: 90%;
}

.video-container video {
  width: 100%;
  height: 100%;
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 99999;
}
.popup-close {
  position: absolute;
  top: 6vh;
  right: 33vw;
  cursor: pointer;
  font-size: 2em;
  color: #ffffff;
  z-index: 99999;
  pointer-events: auto;
}

@media screen and (max-width: 1150px) {
  .popup-close {
    top: 5px;
    right: 5px; 
  }
}

#subscribePopup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999999;
  background-color: green;
  width: 50%;
  padding: 5%;
  text-align: center;
  color: white;
  border-radius: 4px;
  font-family: "Super Legend Boy", Arial, sans-serif;
  font-size: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}

#errorPopup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999999;
  background-color: red;
  width: 50%;
  padding: 5%;
  text-align: center;
  color: white;
  border-radius: 4px;
  font-family: "Super Legend Boy", Arial, sans-serif;
  font-size: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}


.fade-out {
  opacity: 0;
  transition: opacity 1s;
}

.advertisement-bar {
  animation: showAdvertisement 0.7s linear 4s forwards;
  position: fixed;
  top: 0;
  left: 37.5%;
  width: 25%;
  background: linear-gradient(to right, #00FF00, #00FFFF);
  opacity: 0;
  padding: 10px;
  text-align: center;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  z-index: 9999;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.advertisement-text {
  margin: 0;
  cursor: pointer;
}

@media screen and (max-width: 700px) {
  .advertisement-text {
    margin: 0;
    cursor: pointer;
    font-size: 0.8em;
  }
}

.advertisement-bar:hover {
  transform: scale(1.04);
}
.advertisement-bar a {
  text-decoration: none;
  background: linear-gradient(to right, rgb(168, 80, 168), indigo, rgb(32, 32, 224), rgb(107, 50, 173), rgb(76, 0, 255), rgb(162, 0, 255), rgb(128, 10, 108));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
@keyframes showAdvertisement {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.responsive-video {
  width: 90%;
  height: auto;
  border: 3px solid #006400; /* Dunkelgrüne Rahmenfarbe */
  border-radius: 8px; /* Abrundung der Ecken */
  padding: 4px; /* Abstand zwischen dem Rahmen und dem Video */
}


