* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Open Sans', sans-serif;
}

.wrapper {
	margin: 0 auto;
	width: 100%;
	max-width: 1200px;
	background-color: white;
}

.hero-bg {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.hero-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
}

.hero-text h1 {
	margin-bottom: 5px;
	text-shadow: 3px 3px 5px black;
	color: #ddd;
}

.hero-text span {
	text-transform: uppercase;
	color: #09f;
}

.section-title {
	margin-bottom: 20px;
	text-transform: uppercase;
	text-align: center;
}

section {
	scroll-margin-top: 80px;
}

nav {
	position: sticky;
	top: 0;
	height: 60px;
	line-height: 60px;
	background-color: #ddd;
	text-align: center;
	z-index: 10;
}

.menu__item {
	font-size: 20px;
	font-weight: 600;
	color: black;
	text-decoration: none;
	text-transform: uppercase;
}

.burger-icon {
	display: block;
	margin-left: auto;
	padding: 0 30px;
	line-height: 60px;
	font-size: 30px;
	background: none;
	border: none;
	cursor: pointer;
}

.header {
	position: relative;
	height: 330px;
	background-image: url(../img/rynekbledzew.jpg);
	background-size: cover;
	background-position: 0 80%;
}

main {
	margin: 60px 0px;
}

.about-us-info {
	font-size: 20px;
	margin-bottom: 10px;
	padding: 0 20px;
}

.products {
	margin: 60px auto;
}

.products h3 {
	text-transform: uppercase;
}

.product {
	position: relative;
	height: 300px;
	background-size: cover;
	background-position: center;
	text-align: center;
}

.product:hover h3 {
	transform: scale(1.6);
}

.product h3 {
	text-transform: uppercase;
	transition: transform 0.3s;
}

.first-product {
	background-position: center;
	background-image: url(../img/accountant-1238598_640.jpg);
}

.second-product {
	background-position: center;
	background-image: url(../img/books-3446451_640.jpg);
}

.third-product {
	background-position: center;
	background-image: url(../img/accounting-761599_640.jpg);
}

.fourth-product {
	background-position: center;
	background-image: url(../img/business-962316_640.jpg);
}

.fifth-product {
	background-position: center;
	background-image: url(../img/calculator-1044173_640.jpg);
}

.sixth-product {
	background-position: center;
	background-image: url(../img/office-work-3293203_640.jpg);
}

.seventh-product {
	background-position: center;
	background-image: url(../img/calculator-1180740_640.jpg);
}

.eighth-product {
	background-position: center;
	background-image: url(../img/stock-1863880_640.jpg);
}

.nineth-product {
	background-position: center;
	background-image: url(../img/calculator-1680905_640.jpg);
}

.tenth-product {
	background-position: center;
	background-image: url(../img/desk-593327_640.jpg);
}

.eleventh-product {
	background-position: center;
	background-image: url(../img/ledger-1428230_640.jpg);
}

.twelfth-product {
	background-position: center;
	background-image: url(../img/office-614273_640.jpg);
}

.thirteenth-product {
	background-position: center;
	background-image: url(../img/calculator-2620140_640.jpg);
}

.fourteenth-product {
	background-position: center;
	background-image: url(../img/coins-912720_640.jpg);
}

.contact {
	text-align: center;
}

.contact h3 {
	margin: 20px 0;
	text-transform: uppercase;
}

footer {
	padding: 30px 10px;
	text-align: center;
	background-color: #ddd;
}

.link-footer {
	display: block;
	margin: 10px 0;
	text-decoration: none;
}

.menu {
	position: sticky;
	top: 0;
	left: 0;
	z-index: 2;
}

.menu-container {
	position: relative;
	z-index: 3;
	background-color: white;
}

.nav-items {
	position: absolute;
	z-index: -1;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 576px;
	padding-top: 75px;
	background-color: white;
	transform: translateY(-100%);
	transition: transform 0.34s;
}

.nav-items--active {
	transform: translateY(0);
}

@media (min-width: 768px) {
	.burger-icon {
		display: none;
	}

	.nav-items {
		position: relative;
		display: block;
		transform: translateY(0);
		padding-top: 0;
		margin-left: auto;
		margin-right: auto;
		height: 100%;
		max-width: 100%;
	}

	.nav-items a {
		padding: 0 30px;
		text-decoration: none;
		text-transform: uppercase;
		font-weight: bold;
		color: #333;
		transition: color 0.3s;
	}

	.nav-items a:hover {
		color: #09f;
	}

	.header {
		height: 400px;
		background-image: url(../img/rynekbledzew.jpg);
	}

	.header-text h1 {
		font-size: 36px;
	}

	.header-text p {
		font-size: 18px;
	}

	.products h3 {
		font-size: 24px;
	}
}

@media (min-width: 992px) {
	.product-box {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		font-size: 0;
	}

	.product {
		display: inline-block;
		width: 45%;
	}
}

@media (min-width: 1200px) {
	.header-text h1 {
		font-size: 40px;
	}

	.header-text p {
		font-size: 20px;
	}
}