/* Basis-Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f4f4f4;
  color: #333;
  transition: background-color 0.3s, color 0.3s;
}

.container {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.logo {
  display: block;
  margin: 20px auto;
  width: 100px;
  height: 100px;
}

h1 {
  text-align: center;
  color: #0078d4;
  margin-top: 20px;
}

h2 {
  text-align: center;
  color: #0078d4;
  margin-top: 40px;
}

.subtitle {
  text-align: center;
  color: #555;
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 20px;
}

#currentPathDisplay {
  margin-bottom: 20px; /* Abstand nach unten */
  font-size: 16px;
  text-align: center;
  color: #555;
}

#folderList {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.folder, .file {
  background-color: #fff;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.folder:hover, .file:hover {
  transform: scale(1.05);
  background-color: #e0f7ff;
}

.folder {
  font-weight: bold;
  background-color: #e6f7ff;
}

.upload-section {
  text-align: center;
  margin-top: 30px;
}

input[type="file"] {
  margin: 10px 0;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ddd;
}

button {
  background-color: #0078d4;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #005a8a;
}

.button-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.dark-mode-toggle, .dropbox-link-button {
  display: block;
  margin-bottom: 10px;
  background-color: #0078d4;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dark-mode-toggle:hover, .dropbox-link-button:hover {
  background-color: #005a8a;
}

.footer {
  width: 100%;
  text-align: center;
  background-color: #f4f4f4;
  padding: 10px;
  color: #333;
  margin-top: auto;
  transition: background-color 0.3s, color 0.3s;
}

.footer p {
  margin: 0;
  font-size: 14px;
}

body.dark-mode {
  background-color: #121212;
  color: white;
}

body.dark-mode .folder, body.dark-mode .file {
  background-color: #333;
  color: white;
}

body.dark-mode .footer {
  background-color: #121212;
  color: white;
}

body.dark-mode .dark-mode-toggle {
  background-color: #444;
}

body.dark-mode .dark-mode-toggle:hover {
  background-color: #666;
}

body.dark-mode .subtitle {
  color: #bbb;
}


/* 404 Fehlerseite */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  background-color: #f4f4f4;
  color: #333;
  text-align: center;
}

.error-page h1 {
  font-size: 72px;
  color: #e74c3c;
  margin-bottom: 20px;
}

.error-page h2 {
  font-size: 24px;
  color: #555;
}

.error-page p {
  font-size: 18px;
  color: #777;
  margin-top: 10px;
}

.error-page a {
  margin-top: 20px;
  font-size: 18px;
  color: #0078d4;
  text-decoration: none;
}

.error-page a:hover {
  color: #005a8a;
}

.error-page .logo {
  width: 100px;
  height: 100px;
  margin-bottom: 30px;
}


/* Track-Container */
.track-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

/* Cover-Container */
.cover-container {
  margin-bottom: 10px;
}

.cover-image {
  width: 250px; /* Festgelegte Breite für das kleine Bild */
  height: auto; /* Automatische Höhe für Proportionen */
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.cover-image:hover {
  transform: scale(1.1); /* Zoom-Effekt bei Hover */
}

/* Custom Download Button */
.custom-download-button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 25px;
  font-size: 16px;
  color: #fff;
  background-color: #28a745;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.custom-download-button:hover {
  background-color: #218838;
}

/* Datei-Text */
.file {
  text-align: center;
  font-size: 18px;
  color: #555;
  margin-top: 5px;
}
