*,
*::before,
*::after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
::-webkit-scrollbar {
	width: 15px;
}
::-webkit-scrollbar-track {
	box-shadow: inset 0 0 5px grey;
	border-radius: 10px;
}
::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.732);
	border-radius: 10px;
}
body {
	position: relative;
	font-family: 'Montserrat', sans-serif;
	background-color: #fff;
}

/* nowe menuuuu*/

a {
	text-decoration: none;
	color: rgb(0, 0, 0);
}
.headerview {
	background-size: cover;
	position: relative;
	background-attachment: fixed;
	margin-top: 50px;
}
@media (max-width: 1200px) {
	::-webkit-scrollbar {
		width: 0px;
	}
}

#header {
	width: 100%;
	z-index: 100;
	text-align: center;
	position: static;
}

@media (max-width: 1200px) {
	#header {
		background-color: #5c5c5ccf;
	}
}
#header:after {
	content: '';
	clear: both;
	display: block;
}
#header a {
	padding: 20px;
	text-decoration: none;
	color: #000000;
}
.search {
	float: right;
	padding: 30px;
}
input {
	border: none;
	padding: 10px;
	border-radius: 20px;
}
.logo {
	float: left;
	padding: 15px 0 15px;
}
.logo a {
	font-size: 28px;
	display: block;
	padding: 0 0 0 20px;
}
nav {
	display: inline-block; /* Zmieniamy float: right na display: inline-block */
	margin: 0 auto; /* Dodajemy marginesy 0 na górze/dole i auto po bokach, aby wyśrodkować menu */
}
nav > ul {
	position: relative;
	margin: 0;
	padding: 0;
	display: inline-block; /* Dodajemy display: inline-block */
}
nav li {
	list-style: none;
	display: inline-block; /* Zmieniamy float: left na display: inline-block */
	margin: 0;
}
nav .dropdown {
	position: relative;
	z-index: 2;
}
nav li a {
	float: center;
	margin-top: 30px;
	padding-right: 40px;
	font-size: 20px;
	font-family: Montserrat;
	padding-left: 0;
	margin-left: 10px;
	border-width: 2px;
	border-radius: 30px;
	color: #000000;
	border: 2px solid white;
	padding: 3px;
	background-color: #ffcc29;
}

nav li a:hover {
	color: #ffffff;
}
nav li a.active {
	text-decoration: underline;
	font-weight: bold;
}
nav li ul {
	display: none;
}
nav li:hover ul {
	display: inline;
}
nav li li {
	float: none;
}
nav .dropdown ul {
	position: absolute;
	left: 0;
	top: 100%;
	background: rgba(92, 92, 92, 0.703);
	padding: 20px 0;
	border-bottom: 3px solid #ffffff;
}
nav .dropdown li {
	white-space: nowrap;
}
nav .dropdown li a {
	padding: 10px 35px;
	font-size: 13px;
	min-width: 300px;
	margin-top: 0;
}
nav .mega-dropdown {
	width: 100%;
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	overflow: hidden;
	padding: 20px 35px;
	border-bottom: 3px solid #34495e;
}
nav li li a {
	float: none;
	color: rgb(255, 255, 255);
	display: block;
	padding: 8px 10px;
	border-radius: 3px;
	font-size: 13px;
}
nav li li a:hover {
	background: #868686;
}
.mega-col {
	width: 25%;
	float: left;
}
#menu-icon {
	position: absolute;
	right: 0;
	top: 50%;
	margin-top: -12px;
	margin-right: 30px;
	display: none;
}
#menu-icon span {
	border: 2px solid rgb(0, 0, 0);
	width: 30px;
	margin-bottom: 5px;
	display: block;
	-webkit-transition: all 0.2s;
	transition: all 0.1s;
}
@media only screen and (max-width: 1470px) {
	nav > ul > li > a {
		padding: 35px 15px;
	}
}
@media only screen and (min-width: 1450px) {
	nav {
		display: block !important;
	}
}
@media only screen and (max-width: 1450px) {
	nav {
		display: none;
		width: 100%;
		clear: both;
		float: none;
		max-height: 400px;
		overflow-y: scroll;
	}
	#menu-icon {
		display: inline;
		top: 45px;
		cursor: pointer;
	}
	#menu-icon.active .first {
		transform: rotate(45deg);
		-webkit-transform: rotate(45deg);
		margin-top: 10px;
	}
	#menu-icon.active .second {
		transform: rotate(135deg);
		-webkit-transform: rotate(135deg);
		position: relative;
		top: -9px;
	}
	#menu-icon.active .third {
		display: none;
	}
	.search {
		float: none;
	}
	.search input {
		width: 100%;
	}
	nav {
		padding: 10px;
	}
	nav ul {
		float: none;
	}
	nav li {
		float: none;
	}
	nav ul li a {
		float: none;
		padding: 8px;
		display: block;
	}
	#header nav ul ul {
		display: block;
		position: static;
		background: none;
		border: none;
		padding: 0;
	}
	#header nav a {
		color: rgb(255, 255, 255);
		padding: 8px;
	}
	#header nav a:hover {
		color: rgb(255, 255, 255);
		border-radius: 3px;
	}
	#header nav ul li li a:before {
		content: '- ';
	}
	.mega-col {
		width: 100%;
	}
}
* {
	box-sizing: border-box;
}
.naglowek {
	display: flex;
	align-items: center;
	height: 250px;
}

.logo {
	flex: 1;
}

.logo img {
	max-width: 100%;
	height: auto;
	margin-left: -50px;
}

.number {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	font-size: 16px;
	margin-right: 30px;
}

.number i {
	margin-right: 5px;
	font-size: 100px;
	color: #ffcc29;
}
.phone-number {
	display: block;
}
.phone-number a {
	text-decoration: none;
	color: #000000;
	font-size: 25px;
}
.line {
	border-bottom: 2px solid #ffcc29;
	padding-top: 60px;
	width: 1500px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
/* mobile menu */

@media only screen and (max-width: 1470px) {
	nav > ul > li > a {
		padding: 35px 15px;
	}
}
@media only screen and (min-width: 1450px) {
	nav {
		display: block !important;
	}
	.logo_mobile {
		display: none;
	}
}
@media only screen and (max-width: 1450px) {
	nav {
		display: none;
		width: 100%;
		clear: both;
		float: none;
		max-height: 600px;
		overflow-y: scroll;
	}
	.headerview {
		margin-top: 10px;
	}

	#header {
		background-color: #fff;
	}
	.line {
		display: none;
	}
	.logo {
		display: none;
	}
	.number {
		display: none;
	}
	.naglowek {
		display: none;
	}
	#menu-icon {
		display: inline;
		top: 45px;
		cursor: pointer;
	}
	#menu-icon.active .first {
		transform: rotate(45deg);
		-webkit-transform: rotate(45deg);
		margin-top: 10px;
	}
	#menu-icon.active .second {
		transform: rotate(135deg);
		-webkit-transform: rotate(135deg);
		position: relative;
		top: -9px;
	}
	#menu-icon.active .third {
		display: none;
	}
	.search {
		float: none;
	}
	.search input {
		width: 100%;
	}
	nav {
		padding: 10px;
	}
	nav ul {
		float: none;
	}
	nav li {
		float: none;
		width: 100%;
	}
	nav ul li a {
		float: none;
		padding: 8px;
		display: block;
	}
	#header nav ul ul {
		display: block;
		position: static;
		background: none;
		border: none;
		padding: 0;
	}
	#header nav a {
		color: rgb(0, 0, 0);
		padding: 8px;
	}
	#header nav a:hover {
		background: #ffcc29;
		color: rgb(255, 255, 255);
		border-radius: 10px;
	}
	#header nav ul li li a:before {
		content: '- ';
	}
	.mega-col {
		width: 100%;
	}
	ul {
		height: 700px;
	}
}
