* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-family: Roboto;
}

body {
  /* padding: 20px; */
  /* background-color: var(--lightBlue); */
  background-image: url("icons/background.jpg");
  background-size: auto;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* min-height: 100vh; */
}

:root {
  --blue: rgb(49, 112, 143);
  --pink: #8b3a62;
  --lightPink: #cd6090;
  --red: #e46464;
  --lightRed: #ffdddd;
  --green: #33a333;
  --gray: #aaaaaa;
  --lightBlue: rgb(217, 237, 247);
  --header-height: 91.6px; /* Höhe des Headers */
}

#hamburger-menu {
  display: block;
  font-size: 30px;
  cursor: pointer;
}

#close-menu {
  display: block;
  font-size: 30px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
}

#nav-menu {
  position: fixed;
  left: -250px;
  top: 0;
  width: 250px;
  height: 100%;
  background-color: var(--blue);
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 60px;
  z-index: 102;
  background: linear-gradient(
    135deg,
    rgba(137, 137, 137, 1) 0%,
    rgba(230, 236, 245, 0.85) 100%
  );
}
#nav-menu h2 {
  padding: 10px 15px;
  color: black;
  text-align: left;
  font-size: xx-large;
  font-weight: bold;
  text-decoration: underline;
  margin-bottom: 20px;
}
#nav-menu a {
  padding: 10px 15px;
  text-decoration: none;
  font-size: x-large;
  font-weight: bold;
  color: black;
  display: block;
  transition: 0.3s;
}

#nav-menu a:hover {
  background-color: var(--lightBlue);
}

#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(128, 128, 128, 0.7); /* Grau und leicht transparent */
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
  display: none; /* Standardmäßig ausgeblendet */
  width: 40px; /* Feste Breite */
  height: 40px; /* Feste Höhe */
}

#progress-bar {
  left: 0;
  width: 0;
  height: 5px;
  background-color: blue;
  z-index: 100;
  margin-bottom: 5px;
}
#header {
  display: flex;
  flex-direction: column;
  background-color: white;
  position: fixed;
  width: 100%; /* Volle Breite */
  z-index: 100;
  top: 0;
  border-bottom: 2px solid black;
  padding: 10px;
  margin-top: auto;
  margin-bottom: auto;
}

#main {
  display: flex; /* Flexbox-Layout aktivieren */
  flex-wrap: wrap; /* Zeilenumbruch bei Bedarf */
  justify-content: center; /* Zentriert die Elemente horizontal */
  gap: 10px;
  /* max-width: 600px; */
  /* height: 100vh; */
  margin: auto;
  margin-top: calc(var(--header-height) - 0px);
  padding: 10px;
}

#menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

#menu > img {
  cursor: pointer;
}

#menu h1 {
  margin: 0 auto; /* Zentriert das h1 horizontal */
}

/* Overlay für das Blockieren von Klicks außerhalb des Menüs */
#menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0); /* Unsichtbar */
  z-index: 100; /* Unter dem Menü, aber über allem anderen */
  display: none; /* Standardmäßig ausgeblendet */
}

.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-col {
  display: flex;
  flex-direction: column;
}

.box {
  color: #222831; /* Dunkles Anthrazit für Lesbarkeit */
  border: 1px solid rgba(200, 200, 200, 0.3); /* Optionaler Rand */
  border-radius: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  padding: 10px;
}

@media (max-width: 600px) {
  .box {
    width: 100%;
  }
}
@media (min-width: 601px) {
  .box {
    width: calc(50% - 5px); /* 5px is half the gap of parentDiv */
  }
}

.footer {
  font-size: 0.9rem;
  /* padding-top: 10px; */
  text-align: center;
  padding-bottom: 10px;
}

.footer a {
  color: var(--blue);
  text-decoration: none;
  margin: 0 10px;
}

.footer a:hover {
  text-decoration: underline;
}

#spenden-link {
  font-weight: bold;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

ul {
  list-style-type: none;
}

.land-card {
  background: linear-gradient(135deg, #4e54c8, #8f94fb);
  color: white;
  border-radius: 1.2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
  padding: 18px 24px;
  width: 300px;
  text-align: center;
  transition: transform 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.land-card:hover {
  transform: scale(1.04);
}
.land-card a {
  font-weight: bold;
  font-size: 1.2em;
  color: #fff;
  text-decoration: none;
  display: block;
  word-break: break-word;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.land-card div {
  font-size: 1em;
  opacity: 0.85;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.land-cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
