body {
	margin: 0;
	padding: 0;
	background-color: #333333;
	color: #ffffff;
	font-family: Arial, sans-serif;
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

.main-content {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: calc(100vh - 60px);
	perspective: 1000px;
	perspective-origin: center center;
	padding: 20px;
	box-sizing: border-box;
}

.main-content img {
	user-select: none;
	-webkit-user-drag: none;
	-khtml-user-drag: none;
	-moz-user-drag: none;
	-o-user-drag: none;
	user-drag: none;
	pointer-events: none;
	transition: transform 0.3s ease-out;
	transform-style: preserve-3d;
	max-width: 100%;
	height: auto;
	width: auto;
	max-height: 80vh;
}

.footer {
	background-color: #000000;
	color: #ffffff;
	text-align: center;
	padding: 15px 0;
	position: fixed;
	bottom: 0;
	width: 100%;
	font-size: 12px;
	box-sizing: border-box;
}

.footer a {
	color: #ffffff;
	text-decoration: none;
}

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

.page-link {
	display: block;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	height: calc(100vh - 60px);
}

.page-link:hover {
	text-decoration: none;
}

/* Mobile Optimierungen */
@media screen and (max-width: 768px) {
	.main-content {
		min-height: calc(100vh - 80px);
		padding: 15px;
		perspective: 800px;
	}
	
	.main-content img {
		max-width: 90%;
		max-height: 70vh;
	}
	

	
	.footer {
		padding: 12px 0;
		font-size: 11px;
	}
	
	.page-link {
		height: calc(100vh - 80px);
	}
}

@media screen and (max-width: 480px) {
	.main-content {
		min-height: calc(100vh - 100px);
		padding: 10px;
		perspective: 600px;
	}
	
	.main-content img {
		max-width: 85%;
		max-height: 60vh;
	}
	

	
	.footer {
		padding: 10px 0;
		font-size: 10px;
	}
	
	.page-link {
		height: calc(100vh - 100px);
	}
}

@media screen and (max-width: 320px) {
	.main-content {
		min-height: calc(100vh - 120px);
		padding: 8px;
		perspective: 500px;
	}
	
	.main-content img {
		max-width: 80%;
		max-height: 50vh;
	}
	

	
	.footer {
		padding: 8px 0;
		font-size: 9px;
	}
	
	.page-link {
		height: calc(100vh - 120px);
	}
}

/* Touch-Geräte Optimierungen */
@media (hover: none) and (pointer: coarse) {
	.main-content img {
		transition: transform 0.2s ease-out;
	}
	
	.page-link {
		-webkit-tap-highlight-color: transparent;
	}
}

/* Landscape Mode für Mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
	.main-content {
		min-height: calc(100vh - 60px);
		padding: 10px;
	}
	
	.main-content img {
		max-height: 50vh;
	}
	
	.footer {
		padding: 8px 0;
		font-size: 10px;
	}
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	.main-content img {
		image-rendering: -webkit-optimize-contrast;
		image-rendering: crisp-edges;
	}
} 