header, footer {
  background: #00872d;
  color: white;
  padding: 1rem;
  border-radius: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#nav-logo {
  background: #bdd6ee;
  border-radius: 0.5rem;
  padding: 0.5rem;
}

.login-container {
  width: 100%;
  max-width: 400px;
  margin: 80px auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.login-container h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.login-container input[type="text"],
.login-container input[type="password"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0 20px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.login-container button {
  width: 100%;
  padding: 12px;
  background-color: #008b3b;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login-container button:hover {
  background-color: #00872d;
}

.logout-button {
  text-decoration: none;
  color: black;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s ease;
  background-color: orange;
}

.logout-button:hover {
  background-color: #00399e;
  color: white;
}

.back-button-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.back-button:hover {
  background-color: #00399e;
  color: white;
}
.back-button {
  border-radius: 15px;
  cursor: pointer;
  transition: color 0.3s ease;
  background-color: #bdd6ee;
  display: flex;
  text-decoration: none;
  color: black;
  position: absolute;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.category-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 1rem;
  background-color: #f5f5f5;
}

.category {
  margin-bottom: 2rem;
}

.category h2 {
  margin-bottom: 1rem;
  color: #00399e;
}

.card-container {
  display: flex;
  flex-direction: column;
}

.card {
  display: flex;
  flex-direction: column;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
  max-width: 100%;
  box-sizing: border-box;
  height: 250px;
  transition: transform 0.2s ease;
}

.card-button {
  width: 100%;
  height: 35px;
  text-align: center;
  border-radius: 4px;
  background-color: rgba(9, 110, 34, 0.719);
  color: white;
  font-size: 1.5rem;
  margin-top: auto;
}
.card-button:hover {
  background-color: #00399e;
}

.card:hover {
  transform: translateY(-3px);
}

.card h3 {
  margin-top: 0;
  color: #008b3b;
}

.card p {
  margin: 0.5rem 0 0;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link .card {
    cursor: pointer;
}

/* Tablet: 2 Spalten */
@media (min-width: 768px) {
  .card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .card {
    margin-bottom: 0;
  }
}

/* Desktop: 3 Spalten */
@media (min-width: 1024px) {
  .card-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.details-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.details-progress {
  margin-bottom: 20px;
}

.progress-bar-container {
  background-color: #e0e0e0;
  border-radius: 30px;
  overflow: hidden;
  height: 30px;
  width: 100%;
}

.progress-bar {
  background-color: #008b3b;
  height: 100%;
  text-align: center;
  color: white;
  font-weight: bold;
  line-height: 30px;
  transition: width 0.4s ease;
}

.details-project {
  background-color: #ffffff;
  padding: 20px;
  border-left: 5px solid #00399e;
  border-radius: 8px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.details-project h1 {
  margin-bottom: 1rem;
  color: #00399e;
}

.details-contact {
  background-color: #ffffff;
  padding: 20px;
  border-left: 5px solid #00399e;
  border-radius: 8px;
  margin-bottom: 20px;
}

.details-contact h3 {
  margin-top: 0;
  color: #00399e;
}

.contact-info p {
  margin: 5px 0;
}

.accordion-section {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 10px;
  border-left: 5px solid #008b3b;
  overflow: hidden;
}

.accordion-header {
  padding: 15px 20px;
  background-color: #fdf5db;
  /*cursor: pointer;*/
  font-weight: bold;
  color: #008b3b;
}

.accordion-content {
  display: block;
  padding: 15px 20px;
  border-top: 1px solid #ccc;
}

.todo-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.status {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.85em;
  text-transform: uppercase;
  font-weight: bold;
}

.status.ausstehend {
  background-color: #ffeeba;
  color: #856404;
}

.status.in-bearbeitung {
  background-color: #cce5ff;
  color: #004085;
}

.status.abgeschlossen {
  background-color: #d4edda;
  color: #155724;
}