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;
}

h1,
h2 {
	text-align: center;
	text-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
	font-family: 'Minecraftia', monospace;
}

.accordion-content {
	font-size: 110%;
	line-height: 1.5;
  font-family: Arial, Helvetica, sans-serif;
}

.status-box {
	border: 1px solid #ddd;
	padding-left: 20px;
	border-radius: 5px;
	background: #fafafa;
	margin-bottom: 20px;
	font-size: 150%;
	line-height: 0.4;
	opacity: 0.8;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.accordion-btn {
	background: none;
	border: none;
	font-size: 1em;
	cursor: pointer;
	color: #333;
	opacity: 1;
	transition: opacity 1s easeIn 0s;
	font-family: 'Minecraftia', monospace;
}

.accordion-btn:hover {
	opacity: 0.8;
}

.green {
	color: green;
	font-weight: bold;
}

.red {
	color: red;
	font-weight: bold;
}

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;
}

.server-icon {
	width: 100px;
	height: 100px;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
	flex-shrink: 0;
	background-image: none
}

.status-flex {
	display: flex;
	align-items: center;
	gap: 25px;
}

#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;
}

.player-entry {
	display: flex;
	align-items: center;
	gap: 8px;
	line-height: 1.1;
}

.player-entry a {
  color: inherit;
  text-decoration: none;
}

.player-entry img {
	width: 25px;
	height: 25px;
	border-radius: 4px;
}

.player-entry a:hover {
  text-decoration: underline;
}

.accordion-btn {
	transition: transform 0.2s, background 0.2s, color 0.2s;
}

.accordion-btn:hover {
	transform: scale(1.05);
	color: #2a8f2a;
}

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 .accordion-btn {
	color: #ddd;
}

body.dark #infoBox {
	background: rgba(50, 50, 50, 0.95);
	color: #ddd;
}

body.dark .status-box {
	background: rgb(34, 34, 34);
	color: #ddd;
	border: #000;
}

.gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.gallery img {
	width: 150px;
	cursor: pointer;
	border-radius: 5px;
	transition: transform 0.2s;
}

.gallery img:hover {
	transform: scale(1.05);
}

.lightbox {
	display: none;
	position: fixed;
	z-index: 999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	justify-content: center;
	align-items: center;
	padding: 20px;
}


.lightbox img {
	max-width: 90%;
	max-height: 90%;
	border-radius: 5px;
}

.close {
	position: absolute;
	top: 50px;
	right: 70px;
	color: white;
	font-size: 50px;
	font-weight: bold;
	cursor: pointer;
}

.copy-btn {
  margin-left: 8px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1em;
}

.prev,
.next {
	position:absolute;
	top: 50%;
	transform: translateY(-50%);
	color: white;
	font-size: 60px;
	font-weight: bold;
	cursor: pointer;
	user-select: none;
	padding: 10px;
}

.prev {
	left: 40px;
}

.next {
	right: 40px;
}

.prev:hover,
.next:hover {
	color: #414141;
}

.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 */
}


.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;
}

.download-btn {
	position: absolute;
	bottom: 70px;
	left: 20px;
	cursor: pointer;
	height: 3%;
	width: 3%;
}


/* Mobile */

@media (max-width: 800px) {
	.gallery img {
		width: 100px;
	}
	.close {
		font-size: 24px;
		top: 15px;
		right: 20px;
	}
	.status-box {
		font-size: 100%;
	}
	body {
		background: #f5f5f5;
	}
	body.dark {
	color: #ddd;
	background: rgba(50, 50, 50);
  }
  .name {
	font-size: 130%;
	margin-top: -10px;
}

  /* Container für Buttons unter dem Bild */
  .lightbox-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin-top: 20px;
  }

  /* Gemeinsamer Stil für alle Buttons */
  .lightbox-controls .prev,
  .lightbox-controls .next,
  .lightbox-controls .download-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
  }

  .lightbox-controls .prev:hover,
  .lightbox-controls .next:hover,
  .lightbox-controls .download-btn:hover {
    background: rgba(255, 255, 255, 0.3);
  }

  /* Pfeil-Symbole */
  .lightbox-controls .prev,
  .lightbox-controls .next {
    font-size: 28px;
	top: 70%;
    color: white;
    user-select: none;
  }

  /* Download-Icon */
  .lightbox-controls .download-btn img {
    width: 28px;
    height: 28px;
    object-fit: contain;
  }
}