#parentDiv {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  /* animation: fadeIn 1.2s ease-out; */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.box {
  text-align: center;
}
.box h2 {
  font-size: xx-large;
  text-align: center;
  margin-bottom: 5px;
  /* color: white; */
}

.box p {
  font-size: large;
  /* color: white; */
}
#slogan {
  /* font-size: x-large !important; */
  margin-top: 5px;
}

.box button {
  background-color: #1877f2;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: large;
  font-weight: bold;
  transition: background-color 0.3s;
  margin-top: 10px;
}

.box:hover {
}

#erklaerung-box {
  background: linear-gradient(
    135deg,
    rgba(172, 172, 255, 0.85) 0%,
    rgba(172, 172, 230, 0.85) 100%
  );
}

#direktSuche,
#filter,
#inspiration-box {
  background: linear-gradient(
    135deg,
    rgba(172, 255, 172, 0.85) 0%,
    rgba(172, 230, 172, 0.85) 100%
  );
}

#country-search {
  position: relative;
  width: 100%;
}

#countryInput {
  width: 100%;
  padding: 14px 48px 14px 20px;
  font-size: 18px;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  box-shadow: none;
  outline: none;
  transition: box-shadow 0.2s ease-in-out;
}

#countryInput:focus {
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  border-color: rgba(223, 225, 229, 0);
}

#searchButton {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: #5f6368;
  background-color: transparent !important;
  margin-top: 0 !important;
  padding: 0 !important;
  font-size: x-large !important;
}

#countryDropdown {
  width: calc(100% - 2 * 24px);
  max-height: 250px;
  text-align: left;
  color: black;
  background-color: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  list-style: none;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
}

#countryDropdown li {
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#countryDropdown li:hover {
  background-color: var(--lightBlue);
}

.button-inactive {
  opacity: 0.5;
  pointer-events: none;
}
.button-active {
  opacity: 1;
  pointer-events: auto;
}

.dropdown-visible {
  display: block !important;
}
.dropdown-hidden {
  display: none !important;
}

/* Für das Listenelement, das keine Übereinstimmung anzeigt */
#countryDropdown li.no-match {
  font-style: italic;
}

/* Optional: visuelles Feedback für ausgewähltes Dropdown-Element */
#countryDropdown li.selected {
  background-color: #e0e7ff;
}
