/*Main page*/
html {
background-color: #2E9C97;
}
body {
  background-image: url("/main-images/water.gif");
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: #0F4C4A;
  margin: 0;
}
/*Container for everything*/
.container {
  height: 100%;
  width: 90%;
  max-width: 900px;
  margin:auto;
  display:block;
  position:relative;
  border:#FBF7EE solid 10px;
  border-top-style: none;
  border-bottom-style: none;

}
/*banner image omoha*/
.banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display:block;
}
.subheader {
  background-color: #2E9C97;
  color: #FBF7EE;
  margin: 0 auto;
  text-align: center;
  padding:5px;
}
.subheader p {
  font-size: 12px;
}
a {
  color: #0F4C4A;
  font-weight: 800;
  text-decoration:none;
}
a:hover {
  color: #5FBFB0;
  text-decoration: underline;
}
/*Navbar and its properties*/
#navbar {
  background-color: #2E9C97;
}
#navbar ul {
  display: flex;
  padding: 5px;
  margin: 0;
  list-style-type: none;
  justify-content: space-evenly;
}
#navbar li a {
  color: #0F4C4A;
  font-weight: 800;
  text-decoration:none;
  font-size: 13px;
}
#navbar li a:hover {
  color: #5FBFB0;
  text-decoration: underline;
}
main {
  margin:0 auto;
  display:flex;
  align-items: flex-start;
  background-color: #2E9C97;
}
.left-column {
  flex: 0 0 150px;
  display:flex;
  flex-direction: column;
  gap:5px;
  font-size: 14px;
}
.changelog {
  background-color: #FBF7EE;
  padding: 10px;
  border:5px solid #2E9C97;
}
.text {
  border:5px solid #2E9C97;
  padding:10px;
  background-color: #FBF7EE;
}
.text2 {
  border:5px solid #2E9C97;
  border-top:0px;
  padding:10px;
  background-color: #FBF7EE;
}
.right-column {
  flex: 1;
  text-align:justify;
  hyphens: auto;
}
footer img {
  width:88px;
  height:31px;
}
/*Images*/
.box {
  float:right;
  border:2px solid #2E9C97;
  margin: 0px auto;
  padding:5px;
  margin-right:0px;
  margin-left: 15px;
  background-color: white;
  max-width: 150px;
}
.box p {
  text-align: center;
  margin:0;
}
.box img {
  width:100%;
  display:block;
}
/*Big image*/
.map {
    display:block;
    margin: 0px auto;
    padding: 5px;

}
.map p {
    text-align: center;
    margin:0;
}
.map img {
    width:100%;
    display:block;
}
/*Navigator subsections*/
.navigator {
  border:5px solid #2E9C97;
  padding:10px;
  background-color: #FBF7EE;
}
.navigator ul {
  padding: 5px;
  margin: 0;
  list-style-type: none;
}
.navigator li a {
  color: #0F4C4A;
  font-weight: 500;
  text-decoration:none;
}
.navigator li a:hover {
  color: #5FBFB0;
  text-decoration: underline;
}
.button {
  display:flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/*CSS für die Karten in main page, von KI geholfen :/ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    padding: 10px 0;
    
}
.card {
    background-color: #e5e9e0;
    border: 2px solid #829a90;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #1a1a1a;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
a.card:hover {
    text-decoration: none !important;
}
.image-wrapper img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #c0cdc4;
}
.card-content {
    margin-top: 8px;
}
.tag {
    font-weight:bold;
    font-size: 0.95rem;
    color: #2b5753;
    display: block;
}
.card-content h3 {
    margin: 4px 0;
    font-size: 1.1rem;
}
.card-content p {
    font-size: 0.85rem;
    line-height: 1.3;
    color: #333;
    margin: 0;
    font-weight: 100;
}

/* CSS für Taxonomic Indey*/
.tax-section {
    margin-top: 24px;
}
.section-title {
    color: #1b4d47;
    font-size: 1.3rem;
    margin-bottom: 8px;
    border-bottom: 2px solid #829a90;
    padding-bottom: 4px;
}
.tax-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #f4f6f3;
    border: 2px solid #829a90;
}
.tax-table th {
  background-color: #2b5753;
  color: #ffffff;
  text-align: left;
  padding: 10px;
  font-size: 0.95rem;
  border-right: 1px solid #4a7570;
}
.tax-table th:last-child {
  border-right: none;
}
/* Table content cells */
.tax-table td {
  vertical-align: top;
  width: 33.33%; /* Equals out the 3 columns */
  padding: 12px;
  border-right: 1px solid #c0cdc4;
}
.tax-table td:last-child {
  border-right: none;
}
/* Internal typography and list styling */
.tax-group {
  margin-bottom: 12px;
}

.tax-group strong {
  display: block;
  color: #1b4d47;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.tax-group ul {
  margin: 0;
  padding-left: 18px;
  list-style-type: square; /* Retro square bullets */
}

.tax-group li {
  font-size: 0.85rem;
  margin-bottom: 3px;
}

.tax-group a {
  color: #23524b;
  text-decoration: underline;
}

.tax-group a:hover {
  color: #000000;
}