body {
	position: relative;
}

/* REAL SETTINGS */

.settings {
}

.settings-container {
	display: flex;
	position: sticky;
	bottom: 3rem;
	min-width: 50%;
	max-width: 900px;
	margin: auto;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	background: white;
}

.sidebar {
	width: 20%;
	min-width: 100px;
	background: #2c3e50;
	color: white;
	display: flex;
	flex-direction: column;
}

.sidebar button {
	background: none;
	border: none;
	padding: 15px;
	text-align: left;
	color: inherit;
	font-size: calc(1rem + var(--font-size-larger));
	cursor: pointer;
	transition: background 0.2s ease;
}

.sidebar button:hover,
.sidebar button.active {
	background: #34495e;
}

.content {
	flex: 1;
	padding: 1rem;
	background: #fff;
	min-width: 200px;
	color: black;
}

.content h2 {
	margin-top: 0;
}

.section {
	display: none;
	position: relative;
}

.section.active {
	display: block;
}

.options {
	display: flex;
	width: 100%;
	box-sizing: border-box;
	justify-content: space-between;
	padding: 0 5%;
}

.option-title {
	text-align: center;
}

.options-info {
	margin: 0;
	font-size: 0.62rem;
}

.option-buttons {
	align-content: center;
}

#toggle-header {
  position: relative;
  width: 3.125rem;
  height: 1.5rem;
  background-color: #ccc; /* Aus-Zustand */
  border-radius: 999px;
  padding: 0;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s;
}

#toggle-header .slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  transition: left 0.3s;
  box-shadow: 0 0 3px rgba(0,0,0,0.2);
}

/* Wenn an (header_first aktiv) */
#toggle-header.active {
  background-color: #4caf50; /* Grün für an */
}

#toggle-header.active .slider {
  left: 28px; /* Slider nach rechts schieben */
}

/* MEDIA */

@media (max-width: 768px) {
	.settings-container {
		width: 100%;
	}
}