/*
=====================================
 Volunteer Simulator – IFTR 2025
 CSS Styling für Spiel, Navigation & Layout
=====================================
*/

/* ---------- Grundlegendes Layout ---------- */
body {
  background: #f2f2f2;
  font-family: 'Courier New', sans-serif;
  font-weight: 600;
  padding: 2rem;
  text-align: center;
  color: #333;
}

h2 {
  color: #f35675;
}

a {
  color: #f35675;
  text-decoration: none;
}
a:hover {
  color: #fac3ce;
}

footer {
  background-color: #f1f1f1;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* ---------- Startscreen ---------- */
#start-screen {
  text-align: center;
  padding: 2rem;
}

/* ---------- Spiel-Counter ---------- */
#counter {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* ---------- Spielbereich ---------- */
#game {
  max-width: 600px;
  margin: auto;
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

#image-container {
  position: absolute;
  top: 200px;
  right: 20px;
  width: 300px;
  height: 300px;
  overflow: hidden;
}

#scene-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#choices {
  min-height: 120px;
}

/* ---------- Buttons ---------- */
button {
  margin: 1rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-family: 'Courier New', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  background: #f35675;
  color: white;
  cursor: pointer;
  opacity: 100;
  transition: all 0.3s ease;
}

button.visible {
  opacity: 1;
}

button:hover {
  background: #f35675;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ---------- Sidebar ---------- */
.sidebar {
  position: fixed;
  top: 0;
  left: -200px;
  height: 100%;
  width: 200px;
  background-color: #f35675;
  transition: left 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sidebar.open {
  left: 0;
}

.menu-icon {
  position: absolute;
  top: 10px;
  right: -45px;
  font-size: 28px;
  background-color: #f2f0f0;
  color: #f35675;
  padding: 0px;
  border-radius: 0px;
  cursor: pointer;
  z-index: 1001;
  transition: background-color 0.3s;
}

.sidebar-content {
  margin-top: -10px;
  display: none;
  width: 100%;
  flex-direction: column;
}

.sidebar.open .sidebar-content {
  display: flex;
}

.sidebar-content a {
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  transition: background 0.2s;
}

.sidebar-content a:hover {
  background-color: #f5889e;
}

/* ---------- Sidebar Steuerbuttons ---------- */
.sidebar-top-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

.sidebar-top-controls button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: white;
  padding: 10px 30px;
  margin: 0;
  transition: transform 0.2s;
}

.sidebar-top-controls button:hover {
  background-color: #f5889e;
}
