body {
	margin: 0;
	padding: 0;
	background: #000;
	color: #fff;
	overflow-x: hidden;
	font-family: Arial, sans-serif;
}

h2 {
	font-size: 24px;
	text-align: center;
	margin-top: 5vh;
}

.cube-container {
	position: relative;
	width: 200px;
	height: 200px;
	margin: 60px auto;
	perspective: 800px;
}

.cube {
	width: 100%;
	height: 100%;
	position: absolute;
	transform-style: preserve-3d;
	animation: rotate 8s infinite linear;
}

.face {
	position: absolute;
	width: 200px;
	height: 200px;
	background: linear-gradient(135deg, #ff00ff, #00ffff);
	opacity: 0.8;
	border: 2px solid white;
	box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.face:nth-child(1) {
	transform: rotateY(0deg) translateZ(100px);
}

.face:nth-child(2) {
	transform: rotateY(90deg) translateZ(100px);
}

.face:nth-child(3) {
	transform: rotateY(180deg) translateZ(100px);
}

.face:nth-child(4) {
	transform: rotateY(-90deg) translateZ(100px);
}

.face:nth-child(5) {
	transform: rotateX(90deg) translateZ(100px);
}

.face:nth-child(6) {
	transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotate {
	from {
		transform: rotateX(0) rotateY(0);
	}

	to {
		transform: rotateX(360deg) rotateY(360deg);
	}
}

footer {
	font-size: 14px;
	padding: 1em 0;
	color: #333;
	display: flex;
	justify-content: center;
	gap: 30px;
	position: fixed;
	bottom: 0;
	width: 100vw;
	background: #151515;
}

footer a {
	color: gray;
	text-decoration: none;
	display: block;
	margin: 0.2em 0;
	background: #151515;
}

footer a:hover {
	text-decoration: underline;
}
