@charset "utf-8";
/* CSS Document */
/* import fontu z Google Fonts*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Parisienne&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@font-face {
  font-family: Satoshi;
  src: url("../fonts/Satoshi-Variable.ttf");
}
@font-face {
  font-family: Clash;
  src: url("../fonts/ClashDisplay-Variable.ttf");
}

*{
	transition: 1s;
	box-sizing: border-box; /*żeby paddingi nie zwiększały ustalonej szerokości boxu - większa kontrola nad responsywnością*/
}
html {
	font-family: "Inter", sans-serif;
	font-size: 16px; /*takie są ustawienia domyślne*/
	font-size: 10px; /*zmieniamy na 10, żeby rem był wielokrotnością 10 i łatwiej będzie nam kalkulować; teraz 1rem=10px*/
	scroll-behavior: smooth;
	--main-red: #E13B3B;
	--main-blue: #134192;
	--body-grey: #1A1A1A;
}

body{
	background-color: #FFFFFB;
	font-size: 1.6rem;
	height: 100vh;
	gap: 10rem;
	overflow-x: hidden;
}
a {
	text-decoration: none;
}

/*wszsytkie obrazki*/
img {
	max-width: 100%;
}

/*wszystkie akapity*/
p {
	color: var(--body-grey, #1A1A1A);

	/* body v2 */
	font-family: Inter;
	font-size: 1.3rem;
	font-style: normal;
	font-weight: 300;
	line-height: 145%; /* 1.45rem */
}
b {
	color: var(--main-red);
	/* body emphasized */
	font-family: "Playfair Display";
	font-style: italic;
	font-weight: 600;
	line-height: 145%;
}
h2 {
	font-family: "Playfair Display";
	font-size: 3.5rem;
	font-weight: 500;
	line-height: 133%;
	color: var(--main-blue);
	text-align: center;
	max-width: 140vh;
	display: flex;
	align-items: center;
	align-content: center;
}


/*NAWIGACJA MOBILE*/
.burger{
	background-color: rgba(225,59,59);
	color: #fff;
	position: fixed;
	top: 2rem;
	right: 2rem;
	font-size: 3rem;
	padding: .5rem .65rem;
	display: none;
	cursor: pointer;
	z-index: 1; /*kolejność ponad elementami sekcji*/
}
.burger:hover{
	background-color: #eee;
	color: #222;
}

.nakladka{
	background-color: rgba(19,65,146,0.9);
	position: fixed;
	top: 0;/*żeby zwijała się do górnej krawędzi*/
	right: 0;/*żeby zwijała się do prawej krawędzi*/
	height: 100%;
	width: 0%;/*ten paramter będzie zmieniany za pomocą FUNKCJI w JavaScript*/
	overflow: hidden; /*żeby nie wystawała zawartość jak szer./wys. równa 0*/
	z-index: 2; /*kolejność ponad burgerem*/
	display: flex;
	justify-content: center;
	align-items: center;
	/*opacity: .9; /*żeby widzieć burger*/
}
.nakladka ol{
/*	background-color: red;*/
	width: 100%;
	text-align: center;
}
.nakladka ol li{}
.nakladka ol li a{
	color: #eee;
/*	background-color: yellow;*/
	padding: 1.2rem;
	display: block; /*by wpływały na otoczenia swoim rozmiarem (rozszerzały je a nie nachodziły na siebie)*/
	margin-bottom: 3vh;
}
.nakladka ol li a:hover{
	background-color: #eee;
	color: #222;
}

.zamknijX{
	background-color: #eee;
	position: absolute; /*pozycja względem kontenera nadrz. "nakladka"*/
	top: 2rem;
	right: 2rem;
	font-size: 3.5rem;
	padding: 0 1.022rem .5rem;
}
.zamknijX:hover{
	background: none;
	color: #fff;
	cursor: pointer;
}

/*NAWIGACJA DESKTOP*/
nav {
	position: fixed;
	width: 100%;
	display: flex;
	justify-content: left;
	padding-left: 10rem;
	padding-top: 2rem;
	background: #FFFFFB;
}
nav ol{
/*	background-color: teal;*/
	display: flex;
	justify-content: flex-start;
}
nav ol li {}
nav ol li a {
/*	background-color: darkgoldenrod;*/
	padding: 1rem 2vw;
	display: block;
	color: var(--main-blue);
	font-family: "Poppins", sans-serif;
	font-size: 1.7rem;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}
nav ol li a:hover {
	color: var(--main-red);
}

/************************************/
/*WSZYSTKIE SEKCJE*/
section {
	min-height: 40vh;
	max-width: 100vw;
	padding: 5vh 2rem;
	display: flex;
	justify-content: center;
	align-items: center;
}
div{
	max-width: 100vw;
}
.zawartosc {
/*	background-color: red;*/
	max-width: 1400px;
	width: 100%;
	display: flex;
	gap: 2rem;
	padding: 0 10vw;

}

/*POSZCZEGOLNE SEKCJE*/
#pierwsza {
	width: 100%;
	height: 90vh;
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	align-items: flex-end;
}
#pierwsza .logo {
	padding-left: 10vw;
	padding-bottom: 1rem;
}
#pierwsza h1 {
	font-family: "Playfair Display";
	font-weight: 500;
	font-style: italic;
	font-size: clamp(5rem, 8vw, 30rem);
	color: var(--main-red);
}
#pierwsza h2{
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	font-size: clamp(4rem, 4vw, 30rem);
	color: #E13B3B;
}
#pierwsza section {
	padding-right: 0px;
}
#pierwsza img {
	max-width: 50vw;
	max-height: 90vh;
	object-fit: cover;
	flex: 1;
	/*position: absolute;*/
}

#druga {
	display: flex;
	flex-direction: column;
	gap: 6rem;
	padding: 10rem 0 10rem 0;
}
#druga .cytat {
	font-family: "Playfair Display";
	font-size: 3.5rem;
	font-weight: 500;
	line-height: 133%;
	color: var(--main-blue);
	text-align: center;
	max-width: 130vh;
}
.julian {
	color: var(--main-red);
	font-family: "Parisienne", cursive;
	font-size: 3.125rem;
	font-style: normal;
	font-weight: 400;
	line-height: 74%;
}
#druga .akapit {
	display: inline-flex;
	align-items: flex-start;
	gap: 6rem;
	padding: 4vh 20vw;
}
#druga .akapit p {
	width: 100%;
}

#slowacki {
	background-color: var(--main-blue);
	padding: 0 0 10rem 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-content: flex-start;
	
}
#slowacki p {
	color: #FFFFFB;
	padding: 0 13rem 0 13rem;
	font-family: "Playfair Display";
	font-size: 3rem;
	font-style: italic;
	font-weight: 500;
	line-height: 145%; /* 2.71875rem */
	max-width: 130rem;
}
#slowacki p b {
	font-size: 10rem;
	color: #fff;
}
#slowacki .nazwisko {
	font-family: Inter;
font-size: 2.3rem;
font-style: normal;
font-weight: 300;
line-height: 145%; 
	text-align: left;
}
#slowacki .cudzyslow1 {
	align-self: flex-start;
	padding:  0 0 0 7rem;
}
#slowacki .cudzyslow2 {
	align-self: flex-end;
	padding:  0 7rem 0 0 ;
}

#trzecia {
	display: flex;
	flex-direction: column;
	gap: 3rem;
	padding: 4vh 20vw;
}
#trzecia h2 b {
	font-family: "Parisienne", cursive;
	font-style: normal;
	font-weight: 400;
}
#trzecia img {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
}
#trzecia p {
	line-height: 1.5;
	padding: 0;
}
#trzecia div {
	display: flex;
	flex-direction: row;
	gap: 6rem;
}
#trzecia div img,
#trzecia div p {
	flex: 1 1 0;
	min-width: 0;
}

#czwarta {
	display: flex;
	gap: 6rem;
	align-items: flex-start;
	padding: 4vh 20vw;
}
#czwarta p {
	max-width: 37rem;
}
#czwarta h2 {
	text-align: left;
}
#czwarta h2 .b{
	color: var(--main-red);
	font-family: "Parisienne", cursive;
	font-style: normal;
	font-weight: 400;
}

#rok {
	font-size: 30rem;
	max-height: 30rem;
}
#rok1 {
	font-family: "Poppins", sans-serif;
	color: var(--main-red);
}
#rok9{
	font-family: "Parisienne", cursive;
	font-size: 80%;
	color: var(--main-blue);
}
#rok92{
	font-family: Satoshi;
	color: var(--main-red);
}
#rok5 {
	font-family: Clash;
	color: var(--main-blue);

}

#kontakt {
	background-color: var(--main-blue);
	color: white;
	display: flex;
	flex-direction: column;
	align-items: center;
	align-content: center;
	gap: 6rem;
	min-height: 0;
	justify-content: space-between;
	padding: 4vh 20vw;

}
#infokontakt {
	display: flex;
	flex-direction: row;
}
#kontakt h3 {
	font-weight: 500;
}
#kontakt p {
	font-weight: 200;
	color: white;
	line-height: 180%;

}
#kontakt div {
	min-width: 37rem;
	gap: 6rem;
}

.copy p {
	font-size: 60%;
}

@media all and (max-width:2000px){
	#pierwsza img {
		width: 90vh;
		height: 90rem;
		object-fit: cover;
		align-self: flex-end;
		position: absolute;
		top: 0px;
		right: 0px;
	}
}
	
@media all and (max-width:1400px){
	#druga .akapit{
		padding: 2vh 20vh;
	}
	#pierwsza img {
		max-width: 40vw;
	}
	#czwarta {
		flex-direction: column;
	}
}
	
@media all and (max-width:1000px){
	#druga .akapit {
		padding: 2vh 5vw;
		flex-direction: column;
		gap: 1rem;
	}
	#trzecia { 
		padding: 5vw;
	}
	#trzecia div {
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}
	#trzecia .mandarynki {
		flex-direction: column-reverse;
	}
	#trzecia img {
		padding: 1vw;
	}
	#czwarta {
		padding: 5vw;
		align-content: center;
		flex-direction: row;
	}
	#kontakt {
		padding: 5vw;
	}
	nav {
		padding-left: 5rem; 
	}
	nav ol li a {
		font-size: 1.4rem;
	}
	#pierwsza .logo {
		padding-left: 5vw;
	}
}
			
@media all and (max-width:800px){
	#druga .cytat {
	font-size: 3rem;
	padding: 0 3rem 0 3rem;
	}
	.burger {
	display: block;
	}
	nav {
		display: none;
	}
	#pierwsza {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 8rem 0 0 0;
	}
	#pierwsza .logo {
		z-index: 2;
		position: relative;
		padding: 0.5em;
	}
	#pierwsza img {
		width: 100%;
		height: auto;
		max-width: 100%;
		position: static;
		z-index: 1;
	}
	#druga {
		padding-top:3rem;
	}
	#czwarta {
		display: flex;
		flex-direction: column;
		align-content: center;
		align-items: center;
	}
}
		
@media all and (max-width:600px){
	#slowacki p{
		font-size: 2rem;
		padding: 2.5rem;}
	#slowacki p b {
		font-size: 9rem;
		color: #fff;}
	#slowacki .cudzyslow2{
		padding:  0 3rem 0 0 ;
	}
	#slowacki .cudzyslow1{
		padding: 0 0 0 3rem;
	} 
	#slowacki .nazwisko {
		font-size: 1.5rem;
		padding: 0;
	}
	#slowacki {
		padding: 0 0 3rem 0;
	}

	#rok1, #rok9, #rok92, #rok5 {
		font-size: 50%;
	}
	#kontakt {
		display: flex;
		flex-direction: column;
	}
	#infokontakt {
		display: flex;
		flex-direction: column;
	}
}
