body {
	font-family: Arial, sans-serif;
	background: #f5f5f5;
	margin: 0;
	padding: 10px;
	padding-top: 60px;
	background-image: url("/icons/BG.jpg");
	background-attachment: fixed;
	background-repeat: repeat-x;
	-moz-background-size: contain;
	background-size: 100% 100%;
}

.container {
	max-width: 650px;
	margin: auto;
	margin-top: -50px;
	background: rgba(255, 255, 255, 0.9);
	padding: 20px;
	border-radius: 20px;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
	font-family: 'Minecraftia', monospace;
}

.name {
	margin-top: -10px;
	transition: color 0.3s;
}

.name:hover{
	cursor: pointer;
}

.second-page-btn {
	text-decoration: none;
  	margin-top: -10px;
	transition: color 0.3s;
	font-weight: bold;
	color: inherit; 
}

.second-page-btn:hover {
	color: #aaa;
	cursor: pointer;
}

h1,
h2 {
	text-align: center;
	text-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
	font-family: 'Minecraftia', monospace;
}


ul {
	margin: 10px 0;
	padding-left: 20px;
	list-style: square inside;
}

.lblheader {
	font-size: 114%;
	line-height: 0;
	text-align: left;
	text-decoration: underline solid;
}




#infoBtn {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: none;
	background: #333;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	transition: background 0.3s;
	z-index: 1000;
}

#infoBtn:hover {
	background: #555;

}

#infoBox {
	position: fixed;
	bottom: 80px;
	right: 20px;
	width: 250px;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	padding: 15px;
	font-size: 14px;
	display: none;
	z-index: 1000;
}

#infoBox h3 {
	margin-top: 0;
	font-size: 16px;
	text-align: center;
}

#closeInfo {
	position: absolute;
	top: 8px;
	right: 10px;
	border: none;
	background: none;
	font-size: 18px;
	cursor: pointer;
	color: #666;
}

#closeInfo:hover {
	color: #000;
}

#infoBtn:hover {
	transform: scale(1.1);
	background: #555;
}

ul li {
	transition: color 0.3s;
}

ul li:hover {
	color: #555;
}

body.dark .container {
	background: rgba(40, 40, 40, 0.95);
	color: #ddd;
}


body.dark #infoBox {
	background: rgba(50, 50, 50, 0.95);
	color: #ddd;
}


.mode-container {
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem 0;
  width: 100%;
}

.switch {
  position: relative;
  display: inline-block;
  width: 3.7rem;
  height: 2.1rem;}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #4cafef;
  transition: 0.4s;
  border-radius: 34px;
}

/* Der Kreis */
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;

  /* ☀️ Bild standardmäßig (Light-Mode) */
  background-image: url('/icons/sun.png');  /* <-- hier dein Pfad */
  background-size: 16px 16px;
  background-position: center;
  background-repeat: no-repeat;
}

input:checked + .slider {
  background-color: #2248ba;
}

/* 🌙 Bild bei aktiviertem Dark-Mode */
input:checked + .slider:before {
  transform: translateX(26px);
  background-image: url('/icons/moon.png');  /* <-- hier dein Pfad */
}




/* Mobile */

@media (max-width: 700px) {
	body {
		background: #f5f5f5;
	}
	body.dark {
	color: #ddd;
	background: rgba(50, 50, 50);
  }
  .name {
	font-size: 130%;
	margin-top: -10px;
}
}