body {
  margin: 0;
  padding: 0;
  background-image: url(../Images/Background.png);
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Silkscreen", sans-serif;
}

.navigationbar {
  /* Navigation Bar at the top (Home, Games, Projects */
  width: 100%;
  height: 40px;
  background-color: black;
  margin: auto 80px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.5);
  user-select: none;
  display: flex;
  z-index: 999;
  position: fixed;
  top: 0%;
  justify-content: center;
}

.HomeNav {
  height: 40px;
  line-height: 40px;
  width: 10%;
  padding: 0 120px;
  color: azure;
  font-size: 24px;
  font-family: "Silkscreen", sans-serif;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
}

.HomeNav:hover {
  color: lightblue;
}

.headlinebox {
  top: 60px;
  width: 500px;
  height: 100px;
  background-color: rgb(35, 35, 35);
  border-radius: 12px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
  position: relative;
  color: rgb(220, 210, 194);
  font-weight: bold;
  font-family: "Silkscreen", sans-serif;
  white-space: nowrap;
  font-size: clamp(14px, 4vw, 58px);
  margin: 10px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
}

.projekt-card {
  /* Cards With Infos */
  margin: 40px auto 0 auto;
  width: 100%;
  max-width: 340px;
  min-height: 120px;
  background: #222;
  border: 4px solid #fff;
  border-radius: 16px;
  box-shadow: 0 0 16px #000;
  font-family: "Silkscreen", "Pixelify Sans", monospace;
  color: #fff;
  font-size: 1.2em;
  display: block;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 #000;
  padding: 20px;
  white-space: pre-line;
  word-break: break-word;
  box-sizing: border-box;
}
.projekt-card a {
  /* Cards With Infos */
  display: block;
  margin-top: 8px;
  word-break: break-all;
}

.footer-info {
  /* Footer Infos At the bottom (Mail, Github, DC */
  width: 100%;
  background: #111;
  color: #fff;
  font-family: "Silkscreen", "Pixelify Sans", monospace;
  font-size: 1em;
  padding: 12px 0;
  text-align: center;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 9999;
}
.footer-info a {
  /* Footer Infos At the bottom (Mail, Github, DC */
  color: #7ecfff;
  text-decoration: underline;
  font-family: inherit;
  /* --------- Card Parts --------- */
}

@keyframes Zoom {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}
.card-container {
  animation: Zoom 3s ease-in-out infinite;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
/* Logo oben links als Overlay */
.card {
  width: 290px;
  height: 354px;
  cursor: pointer;
  position: relative;
  font-family: "Silkscreen", sans-serif;
  margin: 70px;
}

/* Logo oben links als Overlay */
.card span {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../Images/LogoJimpu.png");
  background-size: cover;
  background-position: center;
  border: 4px solid #fff;
  border-radius: 16px;
}

/* Text in der Mitte */
.content {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  font-weight: 800;
  font-size: 2em;
  user-select: none;
  cursor: pointer;
  color: white;
  padding: 10px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}
/* --------- Card Parts --------- */
.Info-Panel {
  position: absolute;
  align-items: center;
  position: absolute;
  background-image: url(../Images/Map.png);
  background-size: contain;
  background-repeat: no-repeat;
  padding: 2%;
  text-align: 50%;
  height: 200%;
  width: 140%;
  top: 15%;
  font-family: "Silkscreen", "Pixelify Sans", monospace;
}
.Infos {
  position: absolute;
  top: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 700px;
  height: 100vh;
  background-image: url(../Images/Infos.png);
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
}

.InfoText {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 25%);
  width: 100%;
  height: 40%;
  font-family: "Silkscreen", sans-serif;
  font-size: 18px;
  color: aliceblue;
  flex-direction: column;
  gap: 20px;
}

.box-button {
  position: absolute;
  top: 101%;
  left: 38%;
  width: 25%;
  cursor: pointer;
  border: 4px solid black;
  background-color: #963f3e;
  padding-bottom: 10px;
  transition: 0.1s ease-in-out;
  user-select: none;
  z-index: 9999;
}

.button-text {
  background-color: #72a11d;
  border: 4px solid #28860f;
  padding: 3px 8px;
}
.box-button:active {
  padding: 0;
  margin-bottom: 10px;
  transform: translateY(10px);
}

@media (max-width: 1000px) {
  .PlayerImage {
    display: none;
  }
  .Infos {
    top: 0%;
    transform: scale(2.5);
    left: 46%;
  }
  .navigationbar {
    transform: scale(2.5);
  }
  .Info-Panel {
    transform: scale(0.63);
    top: 2%;
  }
  .HomeNav {
    padding: 0 30px;
  }
  body {
    background-size: 300%;
  }
}
.CloseButton {
  background-image: url(../Images/CloseButton.png);
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
  position: absolute;
  width: 15%;
  height: 10.5%;
  left: 90%;
  top: -5%;
  z-index: 9999;
  font-size: 90px;
  font-family: "Silkscreen", "Pixelify Sans", monospace;
}

.PlayerImage {
  position: relative;
  top: 8%;
  left: 98%;
}
.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.tooltip {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);

  background: #1a1a2e;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1a1a2e;
}

.tooltip-wrapper:hover .tooltip {
  opacity: 1;
}

.hole64x64 {
  position: absolute;
  height: 40%;
  width: 40%;
  background-image: url(/Images/Hole64x64.png);
  background-repeat: no-repeat;
  filter: none;
  text-align: center;
  justify-content: center;
}

.imageShowCaseGame {
  mask-image: url(/Images/Hole64x64.png);
  width: 600px;
  height: 320px;
  background-size: cover;
  background-position: center;
  transform: scale(0.9);
}
.imageShowCaseNews {
  mask-image: url(/Images/Hole64x64.png);
  width: 600px;
  height: 320px;
  background-size: cover;
  background-position: center;
  transform: scale(0.9);
}