/* =========================================
   HOME PAGE — Unique styles
   ========================================= */

/* Override nav to float over header */
nav {
	position: absolute;
	top: 90px;
	right: 40px;
	padding: 10px;
}

nav a {
	padding: 10px 50px;
}

/* ── Header ── */
header {
	margin-left: 100px;
	margin-top: 20px;
	max-height: 300px;
	max-width: 600px;
	display: block;
	color: #b8997a;
}

.blloku1 {
	display: flex;
	max-width: 400px;
	max-height: 400px;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.blloku2 {
	display: flex;
	max-width: 400px;
	max-height: 400px;
	justify-content: center;
	align-items: center;
	flex-direction: row;
	margin: 0;
}

/* ── Main sections ── */
main {
	margin: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: center;
	align-items: center;
}

.div1 {
	min-height: 200px;
	max-width: 500px;
	border: 1px solid #b8997a;
	border-radius: 2%;
	margin: 0;
	padding: 100px 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.div2 {
	flex: 1;
	min-height: 250px;
	max-width: 420px;
	border: 1px solid #b8997a;
	border-radius: 2%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.main2 {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	margin: 40px;
}

.div3 {
	min-height: 500px;
	max-width: 500px;
	border: 1px solid #b8997a;
	border-radius: 2%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.div3 ul,
.div3 li {
	list-style: none;
	color: #dbccbd;
	padding: 10px;
	margin: 0;
	font-size: 25px;
	text-align: center;
	cursor: default;
}

/* ── Mobile overrides ── */
@media (max-width: 420px) {
	header {
		margin: 0;
		padding: 0;
	}

	header h1,
	h3 {
		margin: 0;
		padding: 0;
	}

	header svg {
		max-width: 420px;
		height: auto;
	}

	main {
		max-width: 420px;
		height: auto;
		margin: 20px;
		padding: 0;
	}

	.div1 {
		position: relative;
		padding: 0;
	}

	.div2 {
		position: relative;
		max-width: 420px;
		max-height: 250px;
		padding: 0;
		margin: 0 20px;
	}

	.main2 {
		position: relative;
		margin: 0;
		padding: 0;
		max-width: 420px;
		height: auto;
	}

	.div3 {
		position: relative;
		max-width: 420px;
		height: auto;
		padding: 0 0 20px 0;
		margin: 0 20px;
	}
}
