@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(md/MaterialIcons-Regular.eot);
  src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url(md/MaterialIcons-Regular.woff2) format('woff2'),
    url(md/MaterialIcons-Regular.woff) format('woff'),
    url(md/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px; 
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
}

nav .brand-logo {
	font-size: 1.5rem;
}

nav ul a {
	padding: 0px 8px;
}

/* --- Farben für Message-Tags --- */
.card.success { 
  background-color: #e8f5e9; 
  color: #2e7d32; 
}

.card.error { 
  background-color: #ffebee; 
  color: #c62828; 
}

.card.warning { 
  background-color: #fff3e0; 
  color: #ef6c00; 
}

.card.info { 
  background-color: #e3f2fd; 
  color: #1565c0; 
}

.card.debug { 
  background-color: #f3e5f5; 
  color: #7b1fa2; 
}

/* --- Karte ausblenden (nach 5s) --- */
.message-card {
    animation: fadeOutMessage 1s ease-in-out forwards;
    animation-delay: 5s;
}

@keyframes fadeOutMessage {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); margin-top: -100%; }
}