/* * HEADER * */
header {
	background-color: var(--color-bg-header);
	color: var(--color-text-header);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding-top: 16px;
	padding-bottom: 16px;
	box-sizing: border-box;
}

.header-container {
	max-width: 1400px;
	box-sizing: border-box;
	width: 100%;
}

.header-content {
	display: flex;
	align-items: center;
	position: relative;
}

.header-logo {
	display: flex;
	flex: 0.2 0.2 auto;
	justify-content: center;
	align-items: center;
}

.header-logo img {
	width: auto;
	height: var(--header-height);
}

.header-site-description {
	display: flex;
	flex: 1 1 auto;
	justify-content: center;
	align-items: center;
	font-weight: bold;
}

.header-site-description a{
		color:var(--color-header-bloginfo-ahref);

}

.header-site-description a:hover {
	color: var(--color-header-bloginfo-ahref-hover);
}

/* ====== MENU ====== */

/* Kontener menu */
.main-nav {
	display: inline-block;
	justify-content: flex-start;
	align-items: center;
	background-color: var(--color-bg-burger);
	padding: 10px;
	z-index: 10;
}

/* Ukrycie checkboxa */
.menu-toggle {
	display: none;
}

/* Ikona hamburgera */
.menu-icon {
	font-size: 2rem;
	color: var(--color-fg-burger);
	cursor: pointer;
	display: block;
	z-index: 100;
}

/* Wrapper menu z animacją */
.menu-wrapper {
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #1f1f1f;
	flex-direction: column;
	width: 100%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	z-index: 99;
	overflow: hidden;
	max-height: 0;
	padding: 0 10px;
	transition: max-height 0.5s ease-in-out, padding 0.3s ease-in-out;
}

/* Pokazanie menu po kliknięciu checkboxa */
.menu-toggle:checked ~ .menu-wrapper {
	max-height: 500px; /* lub więcej, jeśli masz więcej linków */
	padding: 10px;
}

/* Przycisk zamykania (X) */
.close-icon {
	font-size: 1.5rem;
	color: #a3a3a3;
	cursor: pointer;
	padding: 0.5rem 1rem;
	text-align: center;
}

/* Styl listy menu */
.menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* Linki menu */
.menu a {
	text-decoration: none;
	color: #a3a3a3;
	padding: 1rem;
	display: block;
}

/* Hover na linki */
.menu a:hover {
	color: white;
}

/* MEDIA QUERY: tylko mobile */
@media (max-width: 768px) {
	.menu-icon {
		display: block;
	}
}
