.personen {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
}

.person {
  width: 300px;
  padding: 20px;

  /* Rahmen */
  border: 2px solid #333;  /* Default für unbekanntes Geschlecht */

  /* Hintergrund */
  background-color: #fffbe6;  /* Default für unbekanntes Geschlecht */

  /* Optional für Karten-Optik */
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.2);

  font-family: Arial, sans-serif;
}

.person h3 {
	margin-top: 0;
}

.männlich {
	border: 2px solid blue;
	background-color: aliceblue;
}

.weiblich {
	border: 2px solid hotpink;
	background-color: lavenderblush;
}

.unbekannt {
  border: 2px solid #333;  /* Default für unbekanntes Geschlecht */
  background-color: #fffbe6;  /* Default für unbekanntes Geschlecht */
}


/* Navigation */

/* Screenreader-only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Navigation Style */
.nav-icons {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1rem;
}

/* Icon Backgrounds */
.nav-icons a {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
	opacity: 0.6;
}

/* Icons */
.icon-home {
    background-image: url('../icons/icon_home.svg');
}

.icon-tree {
    background-image: url('../icons/icon_stammbaum.svg');
}

/* Optional: Hover Effekt */
.nav-icons a:hover {
    opacity: 1;
}
