body {
  font-family: 'Press Start 2P', cursive;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
}

.project {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #004080;
}

nav {
  background-color: #004080;
  text-align: center;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-grow: 1;
  margin-left: 144px;
}

nav li {
  display: inline;
  margin: 0 15px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  margin-left: 10px;
}

nav a:hover {
  color: #ff0;
}

header {
  background-color: #004080;
  text-align: center;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

header img {
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
}

section {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: #222;
  border: 2px solid #004080;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

h2 {
  color: #00ff00;
}

h3 {
  color: #ff0;
}

article {
  margin-bottom: 20px;
  border-bottom: 1px solid #004080;
  padding-bottom: 10px;
}

footer {
  text-align: center;
  padding: 10px;
  background-color: #004080;
  color: #fff;
  padding-bottom: 50px;
}

footer p {
  word-break: break-word;
}

a {
  color: #00ff00;
  transition: color 0.3s;
}

a:hover {
  color: #ff0;
}

button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}

button:hover {
  color: #ff0;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery img {
  width: 200px;
  margin: 10px;
  border: 2px solid #00ff00;
  border-radius: 4px;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.1);
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin-bottom: 20px;
}

.lang-buttons {
  display: flex;
  align-items: center;
  margin-left: auto;
}

/* Kommentarstil */
.comment-list {
  margin-top: 10px;
  padding: 0;
}

.comment-list li {
  margin-bottom: 16px;
  padding: 0;
  list-style: none;
}

.comment-list li strong {
  display: block;
  background: #004080;
  padding: 6px 10px;
  color: #fff;
  font-weight: bold;
}

.comment-list li span {
  display: block;
  padding: 8px 10px;
  background: #111;
  border-left: 4px solid #00ff00;
  border-radius: 0 4px 4px 0;
}

ul li span {
  color: #ccc;
  font-style: italic;
}

/* Reaktionsbereich */
.reactions {
  display: flex;
  gap: 10px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.reaction-btn {
  background-color: transparent;
  border: 1px solid #00ff00;
  color: #00ff00;
  padding: 6px 12px;
  border-radius: 5px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.reaction-btn:hover {
  background-color: #003060;
  transform: scale(1.05);
  color: #ff0;
}

.reaction-btn.active {
  background-color: #004080;
  border-color: #ff0;
  color: #ff0;
  font-weight: bold;
  transform: scale(1.1);
}

/* Projektbilder */
.project-image {
  max-width: 100%;
  height: auto;
  border: 2px solid #00ff00;
  border-radius: 6px;
  margin: 10px 0;
  box-shadow: 0 0 10px rgba(0,255,0,0.2);
}

.active-readers{opacity:.8;font-size:.9rem}
.active-readers strong{margin-left:.35rem}

/* Responsive */
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    overflow: hidden;
  }

  nav ul li {
    display: block;
    margin: 10px 0;
    text-align: center;
  }

  header img {
    max-width: 100%;
  }

  section {
    max-width: 100%;
    padding: 10px;
  }

  .gallery img {
    width: 100%;
    margin: 5px 0;
  }

  footer p {
    font-size: 0.8em;
    word-break: break-all;
  }

  nav ul {
    margin-left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .lang-buttons {
    margin-left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  .project {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #004080;
  }

  .reactions {
    flex-direction: column;
    align-items: flex-start;
  }

  .reaction-btn {
    width: 100%;
    text-align: left;
  }
}
