/* Grid für die Hauptboxen */
.main-box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Einzelne Themenboxen */
.topic-box {
  display: block;
  padding: 1rem;
  background-color: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease-in-out;
}

.topic-box:hover {
  background-color: #eaeaea;
  transform: scale(1.03);
}

/* Sprachumschalter */
.language-flags {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.language-flags img {
  width: 24px;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 3px;
  transition: transform 0.2s;
}

.language-flags img:hover {
  transform: scale(1.1);
}
