header {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 5px 10%;
	background-color: #dddddd;
	position: fixed;
	z-index: 1;
	width: 100%;
	box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.27);
	/* -webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px); */
}

.triangle {
	transform: scale(0.7);
}

.logo {
	margin-right: auto;
	transform: scale(0.8);
}

.logo:hover {
	transform: scale(0.85);
	transition: all 0.2s ease 0s;
}

.nav__links {
	list-style: none;
	display: flex;
	align-items: center;
}

.nav__links a strong {
	font-weight: 600;
}

.nav__links a,
.mobile-menu-container,
.overlay__content a {
	color: black;
	text-decoration: none;
}

.nav__links li {
	padding: 0px 20px;
}

.nav__links li a {
	transition: all 0.3s ease 0s;
}

.nav__links a:hover {
	/* text-decoration: underline; */
	opacity: 0.7;
	text-decoration-color: black; /* to spowoduje, �e podkre�lenie b�dzie bia�e */
	text-underline-offset: 3px;
}

.mobile-menu-container {
	margin-left: 20px;
	padding: 9px 25px;
	/* background-color: rgba(0, 136, 169, 1); */
	/* border: 2px solid black;
	border-radius: 5px; */
	cursor: pointer;
	transition: all 0.3s ease 0s;
	/* height: 50px; */
	display: flex;
	align-items: center;
	justify-content: center;
}

.mobile-menu-container img {
	margin-top: 10px;
}

.mobile-menu-container:hover {
	opacity: 0.7;
	/* background-color: rgba(0, 136, 169, 0.8); */
}

/* Mobile Nav */

.menu {
	display: none;
}

.overlay {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 2;
	left: 0;
	top: 0;
	background-color: #dddddd;
	overflow-x: hidden;
	transition: all 0.3s ease 0s;
}

.overlay--active {
	width: 100%;
}

.overlay__content {
	display: flex;
	height: 100%;
	padding-top: 20px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.overlay a {
	padding: 15px;
	font-size: 1.2em;
	display: block;
	transition: all 0.3s ease 0s;
}

.overlay a:hover,
.overlay a:focus {
	opacity: 0.5;
}
.overlay .close {
	position: absolute;
	top: 20px;
	right: 45px;
	font-size: 60px;
	color: black;
	cursor: pointer;
}

.menu_item {
	color: #ebebeb;
}

#home_icon {
	transform: scale(0.2);
}

.social-media-nav {
	display: flex;
	align-items: center;
	gap: 10px;
}

.social-media-nav a:hover {
	opacity: 0.7;
}

/* Stylowanie rozwijanego menu */

.dropdown {
	position: relative;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
}

.dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

.dropdown-content a:hover {
	opacity: 0.7;
	text-decoration-color: black; /* to spowoduje, �e podkre�lenie b�dzie bia�e */
	text-underline-offset: 5px;
}

.nav__links li:hover .dropdown-content {
	display: block;
}

/* @media screen and (max-width: 1450px) {
	.overlay a {
		
		font-size: 4.2em;
	}
	.overlay .close {
		font-size: 6.2em;
		top: 15px;
		right: 35px;
	}

	

	body {
		overflow: hidden;
	}

	.social-media-nav img {
		height: 100px;
	}
} */

@media only screen and (max-width: 1350px) {
	/* .overlay {
		padding-top: 200px;
	} */

	/* body {
		overflow: hidden;
	} */

	.nav__links,
	.mobile-menu-container {
		display: none;
	}
	.menu {
		display: initial;
	}

	/* header {
		padding: 0px 10%;
	} */
}

@media only screen and (max-width: 1350px) and (min-height: 500px) {
	/* .overlay {
		padding-top: 200px;
	} */

	.overlay a {
		/* font-size: 420px; */
		font-size: 3.2em;
	}
	.overlay .close {
		font-size: 4.2em;
		top: 15px;
		right: 35px;
	}

	.overlay__content {
		gap: 20px;
	}

	/* .overlay {
		background-color: gold;
	} */

	/* body {
		overflow: hidden;
	} */

	.social-media-nav img {
		height: 70px;
	}

	/* header {
		padding: 0px 10%;
	} */
}

@media screen and (max-width: 500px) {
	.overlay {
		padding-top: 0px;
	}

	.logo {
		transform: scale(0.8);
	}

	/* .logo img {
		width: 400px;
		width: 400px;
	} */

	.overlay__content {
		gap: 20px;
	}

	.social-media-nav img {
		height: 40px;
	}

	.overlay a {
		font-size: 20px;
	}
	.overlay .close {
		font-size: 40px;
		top: 15px;
		right: 35px;
	}
}

@media only screen and (max-height: 400px) and (orientation: landscape) {
	.overlay {
		padding-top: 100px;
	}

	/* .overlay {
		height: 700px;
		width: 0;
		position: fixed;
		z-index: 2;
		left: 0;
		top: 0;
		background-color: brown;
		overflow-x: hidden;
		transition: all 0.3s ease 0s;
	} */
}
