.main-wrapper {
	display: flex;
	justify-content: center;
	gap: 20px;
	/* mezera mezi sloupci */
	margin: 20px auto;
	max-width: 1600px;
	/* můžeš upravit */
}

.side-gallery {
	margin-top: 20px;
	width: 200px;
	/* šířka sloupce */
	display: flex;
	flex-direction: column;
	gap: 15px;
	text-align: center;
}

.side-gallery img {
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.side-gallery p {
	margin: 5px 0 0;
	font-size: 90%;
	font-style: italic;
}

/* gallery grid used on tesarske_ukazky.html */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	max-width: 900px;
	margin: 20px auto 0;
	/* small gap from text above */
}

.gallery-grid figure {
	margin: 0;
}

.gallery-grid img {
	width: 100%;
	height: auto;
	/* zachovat poměr stran, neřezej */
	border-radius: 8px;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.18);
	display: block;
}

.gallery-grid figcaption {
	text-align: center;
	margin-top: 8px;
	margin-bottom: 20px;
	font-style: italic;
	font-size: 95%;
}

.gallery-grid a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.gallery-grid a:hover img {
	transform: scale(1.02);
	transition: transform 150ms ease-in-out;
}

@media (max-width: 1100px) {

	/* Skryjeme jen ty boční kontejnery */
	#vlevo,
	#vpravo {
		display: none;
	}

	/* Zajistíme, aby hlavní blok s textem zabral celou šířku */
	.container {
		width: 95% !important;
		max-width: none !important;
		margin: 10px auto !important;
	}

	/* Zrušíme zoom, který by to mohl celé vyosit */
	body {
		zoom: 1.0 !important;
	}
}


body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	background: linear-gradient(to bottom, #fcffe3, #ffffa3);
	background-attachment: fixed;

	font-size: 120%;
	/* Zvýší velikost písma */
	zoom: 1.2;
	/* Zvětší celou stránku */
}

header {
	background-image: url(obrazky/pozadi1.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;

	color: white;
	padding: 20px;
	text-align: center;
}

nav {
	display: flex;
	justify-content: center;
	background: #444;
}

nav a {
	color: white;
	padding: 15px 20px;
	text-decoration: none;
}

nav a:hover {
	background: #555;
}

.container {
	width: 1100px;
	margin: 20px auto;
	padding: 20px;
	background: white;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

ul li {
	line-height: 40px;
}


.obrazky {
	display: flex;
	justify-content: center;
	/* Zarovná obrázky na střed */
}

.kontakt {
	line-height: 40px;
}