html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  overflow: hidden;
}

#fileBrowser {
  font-family: Courier, monospace;
  font-size: 12px;
  width: 500px;
  height: 100%;
  background: rgba(240, 240, 240, 0.5);
  /* border-left: 0px solid rgba(0, 0, 0, 0.1); */
  position: absolute;
  left: -500px; /* File browser začíná mimo obrazovku napravo */
  top: 0;
  transition: left 0.2s ease;
  padding-top: 0px;
  overflow-y: auto;
  box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000; /* Zajištění, že file browser bude nad ostatními prvky */
}

#fileBrowser.show {
  left: 0; /* File browser se přesune na viditelnou část obrazovky */
}

#fileContent {
  flex: 1;
  height: 100%;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f0f0f0;
  width: 100%; /* Šířka aktivního okna zůstává 100 % */
}

#fileContent iframe {
  width: 100%;
  height: 100%;
  border: none;
}

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

ul ul {
  margin-left: 0;
}

.folder,
.file {
  cursor: pointer;
  padding: 0px 0px 0px 18px;
  display: block;
padding: 10px;
}

.folder {
  color: blue;
  background-color: rgba(200, 220, 255, 0.7);
}

.folder:hover {
  background-color: rgba(180, 200, 255, 0.8);
}

.file {
  color: green;
  background-color: rgba(200, 255, 200, 0.7);
}

.file:hover {
  background-color: rgba(180, 255, 180, 0.8);
}

.icon {
  width: 15px;
  height: 15px;
  margin-right: 0px;
}

pre {
  background: #333;
  color: #bbb;
  padding: 15px;
  border-radius: 15px;
  overflow: auto;
  white-space: pre-wrap;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  max-width: 100%;
  margin: 0 auto;
}

.media-container {
  text-align: center;
  max-width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.media-description {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}

video,
audio,
img {
  max-width: 80%;
}

#toggleButton {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #007bff;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1001;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#toggleButton:hover {
  background: #0056b3;
}
