@charset "utf-8";
/* Import fontu */
@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap');

/*SELEKTORY GLOBALNE*/
*{
	transition: 1s;
	box-sizing: border-box;
}
html{
	font-family: "Onest", sans-serif;
	font-size: 10px;
	scroll-behavior: smooth;
}
body{
	font-size: 1rem;
	overflow-x: hidden;
}


img{
	max-width: 100%;
}

a{
	text-decoration: none;
}
p{
	line-height: 140%;
}
b{
	font-weight: 900;
}
/*NAV MOBILE*/
.burger{
	display: none;
	position: fixed;
	top: 2rem;
	right: 2rem;
	font-size: 3rem;
	color: white;
	mix-blend-mode: difference;
	padding: .5rem .7rem .7rem;
	cursor: pointer;
	z-index: 5;
}
.nakladka{
	background-color: white;
	/*opacity: .9;*/
	color: #282D7E;
	z-index: 6;
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	width: 0%; /*parametr do zmiany skryptem*/
	overflow: hidden; /*zeby ukryc zawartosc nakladki przy 0& szer.*/
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 2rem;
}
.nakladka ol{
	text-align: center;
	width: 100%;
}
.nakladka ol li{
	margin-bottom: 1rem;
}
.nakladka ol li a{
	color: #282D7E;
	display: block;
	padding: 2rem;
	
}
.nakladka ol li a:hover{
	background-color: #282D7E;
	color: white;
}
.zamknijX{
	position: absolute;
	top: 2rem;
	right: 1.5rem;
	font-size: 4rem;
	padding: 0 1.5rem .5rem;
	color: #282D7E;
}


/*NAV DESKTOP*/
nav{
	background-color:#282D7E;
	padding: 3rem 1rem;
	display: flex;
	justify-content: center;
	position: fixed;
	width: 100%;
	font-size: 1.7rem;
	z-index: 2;
}
nav ol{
	max-width: 1400px;
	width: 100%;
	display: flex;
	justify-content: space-evenly;
	
}
nav ol li{}
nav ol li a{
	color: white;
}
nav ol li a:hover{
	border-bottom: thin solid white;
}


/*SEKCJE WSZYSTKIE*/
section{
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-size: 1.6rem;
	padding: 1rem 2rem; /*odstęp całej strony od brzegu*/
	overflow: hidden;
}
.zawartosc{
/*	background-color: red;*/
	max-width: 1400px;
	/*min-height: 50vh;*/
	width: 100%;
	display: flex;
	gap: 2rem;
}
/*SEKCJE POSZCZEGÓLNE*/
#logo{
	justify-content: flex-end;
	padding-bottom: 8rem;
	background: url(../img/logo.png) no-repeat center;
	background-size: 90%;
	background-color:#282D7E;
	color: white;
}
#logo .zawartosc{
	color: white;
	flex-wrap: wrap;	
	justify-content: center;
	align-items: center;
	font-weight: 300;
	font-size: 1.6rem;
}
#logo img{
	max-width: 100%; 
	margin: auto;
	width: 100%;
}#logo .zawartosc p{
	text-align: center;
	width: 50%;
	padding-bottom: 6rem;
}
#logo .desktop{
	width: 100rem;
	height: auto;
}
#logo .mobile{
	display: none;
}
#pierwsza{
	background-color: #282D7E;
	color: white;
}
#pierwsza .zawartosc{
	padding: 1rem 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 6rem;
}
#pierwsza article{
	flex: 1 1 300px;
}
#pierwsza .zawartosc #wprowadzenie{
	/*width: 30%;*/
	height: auto;
	margin: auto;
}
#pierwsza .zawartosc p{
	text-align: left;
	padding: 0 .2rem;
	line-height: 1.4;
	font-weight: 200;
	font-size: 1.6rem;
}
#pierwsza .zawartosc .wpro-img{
	display: flex;
	flex: 2 1 300px;
	flex-wrap: wrap;
	width: 20%;
	justify-content: space-around;
	position: relative;
}
#pierwsza .zawartosc #ryba{
	width: 100%;
}
#pierwsza .zawartosc #gwiazda{
	position: absolute;
	height: 18rem;
	top: 20vw;
	right: 20vw;
	width: auto;
}
#pierwsza .zawartosc #muszla{
	height: 10rem;
	width: auto;
	transform: rotate(30deg);
	position: absolute;
	left: 20vw;
	top: 18vw;
}
#druga .zawartosc {
	background-color: white;
  	display: flex;
  	flex-direction: column;
  	gap: 2rem;
  	padding-bottom: 5rem;
  	color: #282D7E;
  	align-items: center;
	justify-content: center;
	z-index: -2;
}

#druga .zawartosc .blok {
	display: flex;
	flex-direction: row;
 	justify-content: center;
  	align-items: center;
  	gap: 2rem;
  	flex-wrap: wrap;
  	width: 100%;
  	max-width: 1200px;
}
#druga .zawartosc .blok .obraz{
	padding-left: 15rem;
}
#druga .zawartosc .blok-reverse {
 	display: flex;
	flex-direction: row-reverse;
 	justify-content: center;
  	align-items: center;
  	gap: 2rem;
  	flex-wrap: wrap;
  	width: 100%;
  	max-width: 1200px;
}
#druga .zawartosc .tekst,
#druga .zawartosc .obraz {
	flex: 1;
	min-width: 280px;
}
#druga .zawartosc .tekst{
	display: flex;
	flex-direction: column;
	text-align: center;
	gap: 1rem;
	font-size: 2rem;
}
#druga .zawartosc .tekst b{
	padding-bottom: 2rem;
	font-size: 3.2rem;
}
#druga .zawartosc .obraz img {
  	width: 100%;
  	max-width: 550px;
  	height: auto;
}

#gatunki-desktop {
  	width: 100%;
  	max-width: 1200px;
  	margin-bottom: 2rem;
}

#gatunki-mobile {
  	display: none;
}
#trzecia {
	background-color:#282D7E;
	margin: 0 auto;
	position: relative;
	min-height: 250vh;
}

#trzecia .zawartosc {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 auto;
}

#zolw {
	width: 65rem;
	max-width: 90%;
}

.glebia-blok {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	margin-bottom: 3rem;
	max-width: 1200px;
	width: 100%;
}

#glebia {
	width: 80rem;
	max-width: 94%;
}

#glebia-opis {
	transform: translateY(-200px);
	color: #fff;
	padding: 1.5rem;
	max-width: 40rem;
	font-size: 2rem;
	line-height: 1.4;
	font-weight: 200;
}

#plaszczka {
	width: 60rem;
	max-width: 95%;
	margin-top: 2rem;
	transform: translateX(20%);
}

#czwarta{
	background-color:white;
	color: #282D7E; 
	overflow: hidden;
/*	background-color: red;*/
}
#rafy {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 2rem;
}

.glowny-blok {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin: 0 auto;
  flex-wrap: wrap;
}

.lewa {
  flex: 1 1 45%;
}

.lewa img {
 	width: 80%;
	padding-left: 12rem;
}

.prawa {
 	flex: 1 1 50%;
 	display: flex;
 	flex-direction: column;
 	gap: 1.5rem;
	width: 30%;
}

.prawa article p {
 	font-size: 2.2rem;
 	line-height: 1.4;
	padding-bottom: 5rem;
	font-size: 2.2rem;
}

.prawa article img {
 	width: 90%;
 	height: auto;
	padding-bottom: 5rem;
}

.zdjecia-obok {
 	display: flex;
 	width: 100%;
	justify-content: center;
}

.zdjecia-obok img {
 	width: 30%;
	margin: 3rem;
}
#czwarta .zawartosc{
	display: flex;
  flex-direction: column;
  gap: 2rem;
}
#stopka{
	background-color:#282D7E;
	min-height: 10vh;
}
#stopka .zawartosc{
	display: flex;
	justify-content: center;
	align-items: center;
	width: auto;
	gap: 7vh;
}
#stopka .zawartosc p{
	text-align: center;
    color: white;
    font-weight: 200;
    padding: 1rem;
}
#stopka a{
	color: white;
}


/***************/
/*RWD*/
@media all and (max-width: 600px){
	.burger{
		display: block;
		z-index: 5;
	}
	nav{
		display: none;
	}
	.zawartosc{
		flex-direction: column;
	}
	#logo{
		background: url("../img/logo-mobile.png") no-repeat center;
		background-color:#282D7E;
		background-size: 90%;
		justify-content: flex-end;
		padding: 3rem 0 .1rem 0;
	}
	#logo .zawartosc p{
		width: 80%;
		padding-bottom: 6rem;
		padding-top: 2rem;
	}
	#pierwsza .zawartosc .wpro-img{
		display: flex;
		flex: 2 1 100px;
		flex-wrap: wrap;
		width: 90%;
		position: relative;
		padding: 2rem 2rem 5rem;
	}
	#pierwsza .zawartosc #ryba{
		width: 70%;
	}
	#pierwsza .zawartosc #gwiazda{
		position: absolute;
		left: -30vw;
		top: 3rem;
		height: 110%;
	}
	#pierwsza .zawartosc #muszla{
		position: absolute;
		left: 70vw;
		top: -10vw;
		height: 30%;
	}
	#druga .zawartosc #gatunki-mobile{
		display: block;
	}
	#druga .zawartosc #gatunki-desktop{
		display: none;
	}
	#druga .zawartosc .blok, .blok-reverse {
		padding: 5rem .7rem;
	}
	#druga .zawartosc .blok .obraz{
		padding-left: 0;
	}
	#druga .zawartosc .tekst{
		padding: 5rem .1rem;
	}
	#druga .zawartosc .tekst b{
		padding-bottom: 2rem;
	}
	#trzecia {
		min-height: 250vh;
		position: relative;
	}
	#trzecia .zawartosc #glebia{
		width: 100%;
	}
	.glebia-blok {
		flex-direction: column;
		align-items: center;
		display: flex;
		flex-wrap: wrap;
		width: 100%;
		padding: 0;
  	}

 	#glebia-opis {
        position: relative;
		transform: none;
		width: 80%;
 		margin-top: 1rem;
		background-color: transparent;
		box-shadow: none;
		align-content: center;
		align-items: center;
		padding: 1rem;
  	}

  	#plaszczka {
    	align-self: center;
		padding-right: 5rem;
		width: 50%;
  	}

	#zolw,
	#glebia,
	#plaszczka {
		width: 95%;
		max-width: 480px;
		position: static;
  	}
	.glowny-blok {
  		flex-direction: column;
		flex-wrap: wrap;
		justify-content: center;
		align-content: center;
		align-items: center;
		width: 100%;
	}
	.prawa{
		width: 100%;
		max-width: 100%;
		margin-bottom: 95rem;
	}
	.prawa #coral1{
		height: 45rem;
/*		background-color: green;*/
	}
	.prawa img{
/*		position: absolute;*/
		transform: translateX(20rem);
	}
	.lewa {
 		width: 100%;
	}

	.lewa img {
		width: 80%;
		margin-left: 6.5rem;
		padding-left: 0;
		padding-bottom: 3rem;
	}
	.zdjecia-obok {
		display: flex;
		width: 100%;
		flex-direction: column;
		justify-content: center;
		align-content: center;
		align-items: center;
		position: relative;
	}
	.zdjecia-obok img{
		position: absolute;
	}
	.zdjecia-obok #coral2{
		left: -18rem;
		bottom: 40rem;
		width: 40rem;
	}
	.zdjecia-obok #coral3{
		width: 40rem;
		bottom: 6rem;
		left: 20rem;
	}
	#stopka .zawartosc{
		padding: 2rem 0;
	}
	#stopka .zawartosc a:hover{
		border-bottom: 1px solid white;
	}
}
/**/
