body {
  background-color: #121212;
  color: #FFFFFF;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.list-container {
  width: 80%;
  margin: 50px auto;
}

.list-item {
  border-bottom: 1px solid #333;
  padding: 20px;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #fff;
  text-decoration: none;
}

.logo {
  width: 50px;
  max-height: 50px;
  display: block;
  margin-right: 10px;
}

.logo img {
  max-width: 100%;
  height: auto;
}

.list-item:hover {
  background-color: rgba(255,255,255,0.05);
}

.list-item,content {
  flex: 1;
}

.list-item .tags {
  color: #777;
}

.tags {
  text-align: right;
  font-size: 12px;
}

.description {
  font-size: 16px;
  margin-bottom: 10px;
}

.more-link {
  color: #00FFFF;
  cursor: pointer;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100%;
  background-color: #333;
  color: #FFF;
  overflow-y: auto;
  transition: left 0.3s ease; /* Animationsübergang hinzufügen */
}

.sidebar-toggle {
  cursor: pointer;
  position: fixed;
  top: 0;
  left: 0;
  float: left;
  z-index: 999; /* Stelle sicher, dass die Fläche über der Sidebar liegt */
  background-color: transparent; /* Mache die Fläche durchsichtig */
  font-size: 175%;
}

.open {
  left: 0 !important;
}

@media screen and (max-width: 800px) {
  .sidebar {
    left: -95%; /* Sidebar aus dem Bildschirm verschieben */
  }
}

.tag-list {
  padding: 20px;
}

.tag-item {
  margin-bottom: 10px;
  cursor: pointer;
}

.tag-item:hover {
  text-decoration: underline;
}

#tagDisplay {
  padding: 2em;
}

div#tagDisplay::before {
  content: "Tags:"
}

@media screen and (min-width: 799px) {
  .list-container, #tagDisplay {
    margin-left: 220px;
  }
  .sidebar-toggle {
    display: none;
  }
}

.tag, .newtag {
  display: inline-block;
  margin-right: 1em;
  padding: 5px 10px;
  background-color: #F0F0F0;
  color: #000;
  border-radius: 20px;
  line-height: 1.4; /* Optional: Zeilenhöhe für eine bessere Lesbarkeit */
}

newtag {
  margin-right: 0.5em;
  margin-bottom: 0.5em;
  cursor: pointer;
}

.tag::before, .newtag::before {
  content: '•';
  margin-right: 5px;
  color: #000; /* Farbe des schwarzen Punktes */
}

.tag:hover::before, .newtag:hover::before {
  content: '✖';
}

.title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
  text-decoration: none;
}

/* Stil für das Overlay */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0, 0.9); /* Weiß mit Transparenz */
  z-index: 999; /* Über allen anderen Elementen */
  transition: opacity 0.5s ease; /* Einfadeanimation */
}

/* Stil für das Formularcontainer im Overlay */
.form-container {
  display: none;
  background-color: #121212; /* Dunkler Hintergrund */
  color: #FFFFFF; /* Weiße Schrift */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Schatten */
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1000; /* Über allen anderen Elementen */
  opacity: 0;
  transition: opacity 0.5s ease; /* Hier wird die Transition definiert */
  transform: translate(-50%, -50%);
  width: 350px;
}

/* Stil für den Button "Seite vorschlagen" */
.suggest-page-button {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #121212;
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
}

/* Stil für das Formularfelder */
label {
  display: block;
  margin-bottom: 10px;
}

input[type="url"],
input[type="text"],
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  margin-bottom: 10px;
}

button[type="submit"] {
  padding: 10px 20px;
  background-color: #007bff; /* Hintergrundfarbe des Buttons */
  color: #fff; /* Textfarbe des Buttons */
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.submitBtn {
  margin-top: 1em;
}

.detailbtn {
  float: right;
  color: #fff;
  margin-left: 1em;
  font-size: 75%;
}

#detail-logo {
  max-width: 400px;
  float: left;
}

hr {
  display: block;
  clear: both;
}

details.sub {
  margin-left: 1em;
}

.description {
  color: #fff;
  text-decoration: none;
  display: block;
}

.mainlogo {
  width: 200px;
}

.url a {
  color: #ffffff;
}

footer {
  text-align: center;
}

footer a {
  color: #ffffff;
}

.alert {
    padding: 1em;
    margin: 1em 0;
    border-radius: 6px;
    font-weight: bold;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Container für die Melden-Sektion */
details {
    background-color: #1E1E1E; /* etwas dunkler als Body */
    border: 1px solid #333;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    color: #fff;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover-Effekt für Details */
details:hover {
    background-color: #2a2a2a;
    transform: translateY(-2px);
}

/* Styling für den Summary-Text */
details > summary {
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    outline: none;
}

/* Kleiner Pfeil anpassen */
details > summary::-webkit-details-marker {
    color: #00FFFF;
}

/* Sub-details für Tag Aktionen */
details.sub {
    background-color: #2a2a2a;
    margin: 10px 0 0 10px;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #444;
}

/* Input-Felder in den Forms */
details.sub input[type="text"],
details.sub textarea {
    background-color: #121212;
    color: #fff;
    border: 1px solid #555;
    border-radius: 5px;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
}

details.sub input[type="submit"] {
    background-color: #00FFFF;
    color: #000;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    font-weight: bold;
}

details.sub input[type="submit"]:hover {
    background-color: #00bfbf;
}
