/* =========================
   BASIC RESET & THEME
   ========================= */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html, body {
	background: #1c1d26;
	color: rgba(255,255,255,0.85);
	font-family: "Roboto", Arial, sans-serif;
}

/* =========================
   HEADER & NAV
   ========================= */
#header {
	background: #272833;
	height: 3.5em;
	line-height: 3.5em;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
}

#logo {
	position: absolute;
	left: 1em;
}

	#logo a {
		color: #ffffff;
		text-decoration: none;
		font-weight: 300;
	}

#nav {
	position: absolute;
	right: 1em;
}

	#nav ul {
		list-style: none;
	}

		#nav ul li {
			display: inline-block;
			margin-left: 1em;
		}

			#nav ul li a {
				color: #ffffff;
				text-decoration: none;
			}

/* =========================
   MOBILE MENU
   ========================= */
.menuToggle {
	display: none;
	position: absolute;
	right: 1em;
	color: #fff;
	text-decoration: none;
}

@media (max-width: 736px) {
	.menuToggle {
		display: block;
	}

	#nav {
		display: none;
		background: #272833;
		width: 100%;
		top: 3.5em;
		right: 0;
		text-align: center;
	}

		#nav ul li {
			display: block;
			padding: 1em 0;
			border-top: 1px solid rgba(255,255,255,0.1);
		}

	body.is-menu-visible #nav {
		display: block;
	}
}

/* =========================
   BANNER / CONTENT
   ========================= */
#banner {
	min-height: 100vh;
	padding-top: 5em;
	background: #1c1d26;
}

	#banner .content {
		max-width: 800px;
		margin: auto;
		padding: 2em;
	}

/* =========================
   DEVICE CONTROL TOGGLE
   ========================= */
.toggle-switch {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 20px 0;
}

	.toggle-switch input {
		display: none;
	}

.slider {
	position: relative;
	width: 80px;
	height: 34px;
	background: #555;
	border-radius: 30px;
	cursor: pointer;
	border: 1px solid #aaa;
}

	.slider span {
		position: absolute;
		width: 50%;
		top: 50%;
		transform: translateY(-50%);
		text-align: center;
		font-size: 12px;
		font-weight: bold;
		color: #000;
	}

	.slider .on {
		left: 0;
	}

	.slider .off {
		right: 0;
	}

.toggle-switch input:checked + .slider {
	background: #00c853;
}

	.toggle-switch input:checked + .slider .off {
		display: none;
	}

.toggle-switch input:not(:checked) + .slider .on {
	display: none;
}

.device-name {
	color: #ffffff;
	font-size: 18px;
}

/* =========================
   FOOTER
   ========================= */
#footer {
	background: #272833;
	padding: 2em;
	text-align: center;
}

	#footer .copyright {
		list-style: none;
		color: rgba(255,255,255,0.6);
	}
