@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
/* CSS Document */

*{
	transition: 0.6s;
	scroll-behavior: smooth;
	box-sizing: border-box;
}

html{
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
}

body{
}

/* NAWIGACJA */
nav{
	margin: 2rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

nav .zawartosc{
	max-width: 1200px;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;	
	margin: 0 4rem;
}

nav .zawartosc p{
	font-size: 2rem;
	font-weight: 600;
}

nav .zawartosc ol{
	display: flex;
	gap: 3.4rem;
	
	font-size: 1.5rem;
}

nav .zawartosc a{
	color: black;
}

nav .zawartosc a:hover{
	font-weight: 500;
	color: #E34D22;
}

/* HEADER */
#HEADER{
	background-image:url("../img/tlo header.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 90vh;
}
#HEADER .zawartosc{
	max-width: 1200px;
	width: 100%;
	display: flex;
	align-items: center;
	
	margin: 0 6rem;
}

#HEADER .zawartosc article{}

#HEADER .zawartosc article h1{
	font-size: 7rem;
	font-weight: 600;
}

#HEADER .zawartosc article h2{
	letter-spacing: 0.8rem;
	font-size: 1.5rem;
	font-weight: 800;
	color: #E34D22;
	
	margin-top: 1rem;
}

#HEADER .zawartosc article p{
	margin-top: 1rem;
	margin-right: 2rem;
	line-height: 1.5rem;
}

#HEADER .zawartosc article a{
	margin-top: 1rem;
	background-color: #E4532A;
	display: inline-block;
	border-radius: 0.6rem;
	padding: 1rem 3rem;
	color: white;
}

#HEADER img{
	max-width: 600px;
	width: 80%;
	height: auto;
	display: block;
}

/* PROJEKTY */
#PROJEKTY{
	display: flex;
	align-items: center;
	justify-content: center;
	
}

#PROJEKTY .zawartosc{
	max-width: 1200px;
	width: 100%;
	padding: 0 1.4rem;
	
}

#PROJEKTY .tytul{
	display: flex;
	justify-content: center;
	align-items: center;
	
	font-size: 2rem;
	font-weight: 600;
	margin-top: 2rem;
	margin-bottom: 8rem;
}

/* PROJEKTY - OBOK SIEBIE */

#PROJEKTY .projekty{
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
	gap: 3rem;
}
#PROJEKTY .projekty article{
	flex: 1 1 250px;
	max-width: 260px;
}
#PROJEKTY .projekty img{
	max-width: 250px;
	
	height: auto;
	display: block;
}

#PROJEKTY .projekty h1{
	display: block;
	font-size: 1.5rem;
	margin-bottom: 1rem;
	font-weight: 600;
}

#PROJEKTY .projekty p{
	line-height: 1.5rem;
}

.fota{
	display: flex;
	align-items: flex-end;
	justify-content: center;
	margin-bottom: 2rem;
	height: 200px;
}

/* PROJKETY - LISTA */
.odstep{
	margin-top: 12rem;
}
#PROJEKTY .lista h1{
	font-size: 1.5rem;
	margin-bottom: 2rem;
	font-weight: 600;
	margin-top: 2rem;
}

#PROJEKTY .lista p{
	line-height: 1.5rem;
	margin-bottom: 2rem;
	margin-bottom: 14rem;
}

#PROJEKTY .lista img{
	max-width: 100%;
	max-height: 100%;
	height: auto;
	display: block;
}


/* O MNIE */
#ABOUT{
	background-image:url("../img/tlo about.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50vh;
}

#ABOUT .zawartosc{
	max-width: 1200px;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 4rem;
	padding: 2rem 2rem;
}

#ABOUT .obrazek{
	max-width: 100%;
	max-height: 100%;
	height: auto;
}

#ABOUT .zawartosc h1{
	color: white;
	font-size: 2rem;
	font-weight: 600;
	margin-bottom: 2rem;
}

#ABOUT .zawartosc p{
	line-height: 1.5rem;
	color: white;
}

/* KONTAKT */
.kontakt{
	display: flex;
	justify-content: center;
	align-items: center;
	
	font-size: 2rem;
	font-weight: 600;
	margin-top: 6rem;
	margin-bottom: 4rem;
}
#KONTAKT .zawartosc{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12rem;
	margin-bottom: 6rem;
	padding: 2rem;
}

#KONTAKT .zawartosc article{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
}

#KONTAKT img{
	width: 40px;
	height: auto;
}

#KONTAKT h2{
	font-size: 34px;
	font-weight: 600;
}

#KONTAKT a{
	font-weight: 600;
	color: #E4532A;
	padding: 1rem 2rem;
	border-width: 2rem;
	border: #E4532A solid 0.2rem;
}

#KONTAKT a:hover{
	background-color: #E4532A;
	color: white;
}
/* STOPKA */
#STOPKA{
	background-color: black;
	display: flex;
	justify-content: center;
	align-items: center;
}
#STOPKA p{
	color: white;
	padding: 1.5rem;
}

/* mobile */

@media all and (max-width: 1199px){
	nav .zawartosc ol{
		font-size: 1rem;
		font-weight: 400;
	}
	
	#HEADER .zawartosc{
		margin: 0.3rem;
		padding: 2rem;
		gap: 2rem;
		justify-content: space-between;
	}
	
	#HEADER .zawartosc article{
		flex: 1 1 0;
		max-width: 560px;
		min-width: 0;
	}
	#HEADER .header-fota{
		max-width: 46%;
		height: auto;
		flex: 0 1 auto;
	}
	
	#KONTAKT .zawartosc{
		gap: 7rem;
	}
}

@media all and (max-width: 900px){
	
	nav{
		margin: 0;
	}
	nav .zawartosc{
		margin: 0;
		padding: 2rem 2.2rem;
	}
	
	nav .zawartosc p{
		font-size: 1.5rem;
		font-weight: 700;
	}
	
	nav .zawartosc ol{
		display: none;
	}
	
	#HEADER{
		display: block;
		overflow: hidden;
		position: relative;
		min-height: 820px;
		background-image: none;
		background-color: #FDE7D2;
	}
	
	#HEADER::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 400px;
		background-image: url("../img/tlo header.png");
		background-size: cover;
		background-position: bottom center;
		background-repeat: no-repeat;
		z-index: 0;
	}
	
	#HEADER .zawartosc{
		position: relative;
		z-index: 1;
		display: block;
		max-width: none;
		width: 100%;
		margin: 0;
		padding: 4.5rem 2.2rem 0;
	}
	#HEADER .zawartosc article{
		position: relative;
	}
	#HEADER .header-fota{
	max-width: 600px;
	width: 80%;

	display: block;
	margin-left: 8rem;
	} 
	
	#ABOUT .zawartosc{
		flex-direction: column;
		padding: 2rem 2rem;
		}
	#KONTAKT .zawartosc {
		flex-direction: column;
		gap: 2.5rem;
		margin-bottom: 6rem;
	}
	#KONTAKT .zawartosc article {
		width: 420px;
		max-width: 100%;
		align-items: center;
		justify-content: flex-start;
		gap: 1rem;
	}

	@media all and (max-width: 500px){
	
	#HEADER .zawartosc article h1{
		font-size: 4rem;
	}
	#HEADER .header-fota{
		margin-left: 6rem;
	} 

}