@charset "utf-8";
*{
	transition: 500ms;
	box-sizing: border-box;
}
@font-face{
    font-family: 'handrawn';
	src: url(../fonts/DeliciousHandrawn-Regular.ttf);
}
@font-face{
    font-family: 'playpen regular';
	src: url(../fonts/PlaypenSansDeva-Regular.ttf);
}
@font-face{
    font-family: 'playpen bold';
	src: url(../fonts/PlaypenSansDeva-Bold.ttf);
}
html{
	scroll-behavior: smooth;
}
body{
	overflow-x: hidden;
}
nav{
	padding: 10px;
	height: 60px;
	display: flex;
	gap:20px;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	width: 100%;
	background-color: white;
	z-index: 1; /* kolejność warstw*/
}
nav img{
	max-height: 3rem;
	margin-left: 5vh;
}
nav ol{
	/*background-color: green;*/
	display: flex;
	justify-content: right;
	align-items: center;
	gap: 2vw;
	margin-right: 5vh;
	font-family: playpen regular;
	font-size: rem;
}
nav ol li{
	/*background-color:  yellow;*/
}

nav ol li a{
	/*background-color: hotpink;*/
	display: block;
	padding: 10px 20px;
	text-decoration: none;
	color: rgb(151, 191, 4)
}
nav ol li a:hover{
	background-color: #618C01;
	color: white;
    border-radius: 5px;
}
.burger-toggle {
	display: none;
}

.burger {
	display: none;
	font-size: 32px;
	color: rgb(151, 191, 4);
	cursor: pointer;
	margin-right: 5vh;
}
section{
	min-height: 100vh;
}
#sekcja1 .leaf {
  position: absolute;
  top: -50px;
  width: 40px;
  height: auto;
  animation: fall 8s linear infinite, sway 4s ease-in-out infinite alternate;
}

#sekcja1 .leaf:nth-child(1) {
  animation-delay: 0s;
}

#sekcja1 .leaf:nth-child(2) {
  animation-delay: 2s;
}

#sekcja1 .leaf:nth-child(3) {
  animation-delay: 4s;
}

@keyframes fall {
  0% {
    top: -50px;
    opacity: 1;
  }
  100% {
    top: 100vh;
    opacity: 1;
  }
}

@keyframes sway {
  0% {
    transform: translateX(0px) rotate(0deg);
  }
  100% {
    transform: translateX(50px) rotate(60deg);
  }
}
#sekcja1{
	background-image: url(../img/sekcja\ 1\ tlo\ vector-01.png);
	min-height: 100vh;
width: 100%;
background-position: center;
background-size: cover;
text-align: center;
}
#sekcja1 h1{
	color: white;
	font-family: handrawn;
	font-size: 5rem;
}
#sekcja1 .front{
	display: flex;
	justify-content: center; /* Centers horizontally */
	align-items: center; /* Centers vertically */
	height: 100vh; /* Full viewport height */
	flex-direction: column;
}
#sekcja1 article{
	background-color: #47660393;
	padding: 1rem;
	border-radius: 1rem;
	max-width: 46rem;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
#sekcja1 h2{
	margin-top: 2rem;
	margin-bottom: 0.5rem;
	color: white;
	font-size: 2rem;
	font-family: playpen bold;
}
#sekcja1 p{
	color: white;
	font-size: 1rem;
	font-family: playpen regular;
	line-height: 1.5rem;
}
#sekcja1 button{
	font-size: 1rem;
	background-color: white;
	color: #618C01;
	border-radius: 0.5rem;
	font-family: playpen bold;
	border: none;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	margin-top: 1rem;
}
#sekcja1 button:hover{
	background-color: #618C01;
	color: white;
}


.separator {
  position: absolute;
  z-index: 0;
/*  margin-top: -40px;*/
/*  margin-bottom: -40px;*/
/*	max-width: 92%;*/
/*  overflow-x: hidden;*/
/*  height: auto;*/
	height: 300px;
  /* background-color: red; */
/*	overflow-x: hidden;*/
	bottom: -150px;
/*	background-color: red;*/
	padding: 0 2rem;
}

.separator img {
/*  position: absolute;*/
  /*top: -200px; /* dopasuj ręcznie */
/*  left: 0;*/
  width: 100%;
  height: auto;
  display: block;
	margin: auto;
  pointer-events: none;
}
#sekcja2{
	background-image: url(../img/planting.jpg);
	background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
	margin: auto;
  	padding: 10px;
	display: flex;
	flex-flow: nowrap;
	align-items: center;
	justify-content: left;
}


#sekcja2 article{
	/* background-color: red; */
	max-width: 24rem;
	padding: 1rem;
	margin-left: 6rem;
}
#sekcja2 h1{
	color: white;
	font-family: handrawn;
	font-size: 6rem;
	line-height: 5rem;
}
#sekcja2 p{
	margin-top: 4rem;
	margin-bottom: 0.5rem;
	color: white;
	font-size: 1.5rem;
	font-family: playpen bold;
	line-height: 2rem;
}
#sekcja3{
	/* background-color: rgb(180, 216, 139); */
	background-image: url(../img/sekcja3\ tlo.png);
	min-height: 100vh;
	width: 100%;
	background-position: center;
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center;
}
#sekcja3 .cycle{
	/* background-color: orange; */
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
#sekcja3 .cycle h1{
	color: #618C01;
	font-family: handrawn;
	font-size: 6rem;
	line-height: 5rem;
	margin-bottom: 2rem;
	margin-top: 4rem;
}
#sekcja3 .cycle img{
	max-height: 40rem;
}
#auth-section {
  /* background: #f1f8e9; */
  background-image: url(../img/logintlo.png);
  min-height: 100vh;
width: 100%;
background-position: center;
background-size: cover;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 40px;
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.auth-container h2 {
	font-size: 1.5rem;
  margin-bottom: 10px;
  color:#618C01;
  font-family: playpen bold;
}

.auth-container p {
  color: #555;
  margin-bottom: 30px;
  font-family: playpen regular;
}

.auth-form input {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.auth-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.auth-buttons button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.login-btn {
  background-color: #66bb6a;
  color: white;
}

.register-btn {
  background-color: #c5e1a5;
  color: white;
}

.login-btn:hover {
  background-color: #57a05a;
}

.register-btn:hover {
  background-color: #b0d279;
}
footer {
	background-color: #e4f5d1;
  padding: 30px 20px;
  text-align: center;
  font-family: playpen regular;
  color: #333;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

footer a {
  color: #007B5E;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #005B43;
  text-decoration: underline;
}

footer div {
  max-width: 800px;
  margin: 0 auto;
}

footer p {
  margin: 8px 0;
  font-size: 16px;
}

footer p:last-child {
  font-size: 14px;
  color: #777;
  margin-top: 20px;
}
@media (max-width: 900px) {
	.separator img{
		display: none;
	}
}
@media (max-width: 900px) {
	nav {
		flex-wrap: wrap;
		height: auto;
		padding-bottom: 0;
	}

	nav ol {
		display: none;
		flex-direction: column;
		width: 100%;
		margin: 0;
		padding: 0;
		background-color: white;
	}

	nav ol li {
		text-align: center;
		border-bottom: 1px solid #ddd;
	}

	.burger {
		display: block;
		margin-left: auto;
	}

	/* Kiedy checkbox zaznaczony, pokaż menu */
	.burger-toggle:checked + .burger + ol {
		display: flex;
	}
}
@media (max-width: 700px) {
	nav img{
	max-height: 1.5rem;
	margin-left: 2vh;
}
	#sekcja2 article{
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
		flex-direction: column;
		margin: auto;
	}
	#sekcja2 h1{
		font-size: 4rem;
	}
	#sekcja3 .cycle h1{
		font-size: 4rem;
		text-align: center;
	}
	#sekcja3 .cycle img{
		max-height: 25rem;
	}
	.auth-container{
		max-width: 350px;
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
	}
	.auth-container h2{
		font-size: 1rem;
	}
	.auth-container p{
		font-size: 12px;
		max-width: 8rem;
		line-height: 1rem;
	}
}
@media (max-height:900px){
	#sekcja3 .cycle h1{
		font-size: 4rem;
		text-align: center;
	}
	#sekcja3 .cycle img{
		max-height: 25rem;
	}
}
@media screen and (max-width: 768px){
	nav {
		flex-wrap: wrap;
		height: auto;
		padding-bottom: 0;
	}

	nav ol {
		display: none;
		flex-direction: column;
		width: 100%;
		margin: 0;
		padding: 0;
		background-color: white;
	}

	nav ol li {
		text-align: center;
		border-bottom: 1px solid #ddd;
	}

	.burger {
		display: block;
		margin-left: auto;
	}

	/* Kiedy checkbox zaznaczony, pokaż menu */
	.burger-toggle:checked + .burger + ol {
		display: flex;
	}
}
