body {
    margin: 0;
    height: 100vh;
    font-family: Arial, sans-serif;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(./original-5f0cd5004ba5b47b4c898173b26737a4.jpg) no-repeat center center;
    background-size: cover;
  }

  .room {
    width: 80%;
    height: 80%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
  }

  .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  margin: 0 30px;
  transition: transform 0.3s, filter 0.3s;
}

  .item:hover {
    transform: translateY(-5px) scale(1.1);
      filter: drop-shadow(0 10px 15px rgba(0,0,0,0.6)); 
  }

  .character-image img {
    width: 80px;
    height: 100px;
    margin-bottom: 10px;
  }

  .character-name {
    font-size: 0.9rem;
    text-align: center;
  }

  .overlay {
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 15;
  }

  .window {
    background: rgba(20,20,40,0.95);
    padding: 30px;
    border-radius: 14px;
    width: 400px;
    box-shadow: 0 0 30px #000;
  }

  .character {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
  }

  .character img {
    width: 100px;
    height: 100px;
    
  }

  .options button, .closeBtn {
    width: 100%;
    background: rgba(255,255,255,0.15);
    border: none;
    padding: 10px;
    color: #fff;
    margin: 5px 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
  }

  .options button:hover, .closeBtn:hover {
    background: rgba(255,255,255,0.35);
  }

  textarea {
    width: 100%;
    height: 300px;
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 10px;
    resize: none;
  }

  /* Tagebuch-Fenster als zwei Spalten */
.diary-window {
  display: flex;
  gap: 20px;
  width: 80%;
  max-width: 900px;
  background: rgba(20,20,40,0.97);
  padding: 22px;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  max-height: 80vh;
  overflow: hidden;
}

/* Links: Schreibbereich */
.diary-left { flex: 2; display: flex; flex-direction: column; }
#diaryText { flex: 1; min-height: 240px; padding: 12px; border-radius: 8px; border: none; background: rgba(255,255,255,0.03); color: #fff; resize: none; }

/* Buttons */
.diary-buttons { margin-top: 10px; display: flex; gap: 10px; }
.diary-buttons button { padding: 10px 14px; border: none; background: rgba(255,255,255,0.12); color: #fff; border-radius: 8px; cursor: pointer; }
.diary-buttons button:hover { background: rgba(255,255,255,0.25); }

/* Rechts: Eintragsliste */
.diary-right { flex: 1; background: rgba(255,255,255,0.03); padding: 12px; border-radius: 8px; overflow-y: auto; }
#entriesList { list-style: none; padding: 0; margin: 0; }
#entriesList li { padding: 8px 10px; background: rgba(255,255,255,0.04); margin-bottom: 8px; border-radius: 6px; cursor: pointer; font-size: .9rem; }
#entriesList li:hover { background: rgba(255,255,255,0.12); }

/* kleine responsive Anpassung */
@media (max-width: 700px) {
  .diary-window { flex-direction: column; width: 92%; max-height: 90vh; }
  .diary-right { max-height: 200px; overflow-y: auto; }
}

#entriesList li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 6px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

#entriesList li .deleteBtn {
  cursor: pointer;
  margin-left: 10px;
  color: #ff6666;
  font-weight: bold;
}

#entriesList li .deleteBtn:hover {
  color: #ff0000;
}


 