@charset "utf-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Merienda:wght@300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
/*
font-family: "Montserrat", Merienda;
*/

/*SELEKTORY GLOBALNE */
*{
	transition: 1s;
	box-sizing: border-box;
	
/*	border: 2px solid red!important;*/
}
html{
	font-family: "Montserrat", "Merienda";
	font-size: 16px;
	scroll-behavior: smooth;
}
body{
	font-size: 1rem;
	background-image: url("../img/Tlo.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
img{
	max-width: 100%;
}

h1{
	font-family: "Merienda";
	font-size: 2.5rem;
	font-weight: 700;
	padding: 1rem 0;
	line-height: 1.4;
}

/* --------------------------------------------------------------------------------*/

/* NAWIGACJA DESKTOP */

nav {
    background-color: #333;
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
}
nav ol {
    width: 1400px;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}
nav ol li {
    position: relative;
    list-style: none;
}
nav ol li a {
    padding: 1rem 2vw;
    display: block;
    color: #fff;
    text-decoration: none;
}
nav ol li a:hover {
    background-color: #eee;
    color: #333;
}

/* Submenu */
nav ol li .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    flex-direction: column;
    width: 200px;
}
nav ol li .submenu li {
    width: 100%;
}
nav ol li .submenu li a {
    padding: 0.8rem 1rem;
    display: block;
}
nav ol li.has-submenu:hover .submenu {
    display: flex;
}
nav ol li .submenu {
    transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------------*/

/*WSZYSTKIE SEKCJE*/

section{
	height: 90vh;
	padding: 5vw;
}
.zawartosc{
	max-width: 1400px; 
	width: 100%;
	display: flex;
	min-height: 100%;
	margin: 0 auto;
/*	background-color: red;*/
}
h2{
	font-family: "Merienda";
	font-size: 2rem;
    font-weight: 600;
/*	background-color: lightpink;*/
    padding: 1rem;
    margin-bottom: 1rem;
	line-height: 1.4;
}
p{
	line-height: 140%;
	font-family: "Montserrat";
	font-size: 1.5rem;
	font-weight: 400;
}



/*SEKCJE "ETAP1-5" */

.etap {
    background-size: 45% !important;
    background-position:  left!important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    min-height: auto;
    padding: 7vw 5vw 7vw 5vw ;
    display: flex;
    align-items: center;
    justify-content: center;

	
}
.etap .zawartosc {
    max-width: 1400px;
    width: 100%;
    display: flex;
    min-height: 130%;
	/*background-color: green;*/
}

.etap .text {
    flex: 0 1 35%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
	/*background-color: lightcoral;*/
    padding: 2rem;
	margin-left: auto;
}
.etap h2 {
    
    margin: 0;
    padding: 0.5rem 1rem;
    font-size: 3rem;
    font-weight: 600;
    z-index: 10;
	/*background-color: yellow;*/
}
.naglowek-etapu {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
}

.etap-label {
    font-size: 1.7rem;
    font-weight: 500;
    margin: 0;
    padding: 0;
    color: #222;
}
/* --------------------------------------------------------------------------------*/

/*POSZCZEGÓLNE SEKCJE*/

#pierwsza{
	padding-top: 10vw;
	display: flex;
	justify-content: center;
	align-items: center;
	/*background-color: lightpink;*/
	
}
#pierwsza .zawartosc{
	/*background-color: red;*/
	flex-wrap: wrap;
	justify-content: center;
	
}
#pierwsza article{
	/*background-color: lightcoral;*/
	margin: 2vh;
	display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center;
    padding: 2rem; 
	min-height: 100%;
}
#pierwsza article img{
	max-width: 50%;
	margin: auto;
	display: block;
}

/* --------------------------------------------------------------------------------*/
#Etap1 {
    background: url("../img/etap-2.webp");
/*    background-color: cadetblue;*/
}
#Etap2 {
    background: url("../img/etap-3.webp");
/*    background-color: orangered;*/
}
#Etap3 {
    background: url("../img/etap-4.webp");
/*    background-color: cadetblue;*/
}
#Etap4 {
    background: url("../img/etap-5.webp");
/*    background-color: orangered;*/
}
#Etap5 {
    background: url("../img/etap-6.webp");
/*    background-color: cadetblue;*/
}

/* --------------------------------------------------------------------------------*/
#siodma {
/*	background-color: orangered;*/
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5vw;
}
#siodma .zawartosc {
    max-width: 1400px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
	
}
#siodma article {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: transparent;
    padding: 2rem;
}
#siodma h2 {
    margin-bottom: 2rem;
    
/*background-color: lightpink;*/
    padding: 1rem;
    max-width: 90%;
}
#siodma img {
    max-width: 50%;
    height: auto;
    display: block;
}

/* --------------------------------------------------------------------------------*/
#stopka{
	background-color: #222;
	color: #fff;
	height: auto;
}

#stopka .zapis {
    display: flex;
    gap: 10rem;
	/*background-color: lightpink;*/
}

.tekst-stopka {
    flex: 1 1;
	/*background-color: blue;*/
}

.tekst-stopka h2 {
    margin-bottom: 1rem;
    color: #DDB553;
	text-align: center;
	/*background-color: orange;*/
}

.tekst-stopka p {
    font-size: 1.3rem;
    line-height: 1.6;
	padding-bottom: 3vh;
	/*background-color: green;*/
}

.formularz-kurs {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
	max-width: 30%;
	/*background-color: gray;*/
	justify-content: center;
}

.formularz-kurs input,
.formularz-kurs button {
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.formularz-kurs input {
    background-color: #fff;
    color: #000;
}

.formularz-kurs button {
    background-color: #f0d27a;
    color: #000;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.formularz-kurs button:hover {
    background-color: #e5c25d;
}
#stopka .zawartosc{
	justify-content: center;
	padding-top: 5vw;
	}
/* --------------------------------------------------------------------------------*/

/*RESPONSYWNOŚĆ*/
@media all and (max-width: 1100px) {
	.etap {
		background-size: 60% !important;
	}
	p {
        font-size: 1.3rem;
    }

    .etap h2 {
        font-size: 2.2rem;
        text-align: left;
    }
	.etap-label {
		font-size: 1.2rem;
	}
}
@media all and (max-width: 800px) {
	section{
		padding: 0;
	}
	nav ol {
    	justify-content: center;
	}
	nav ol li a {
    	padding: 1rem 5vw;
	}
	
	#pierwsza {
		min-height: auto ;
   		height: 90vh ;
		padding-bottom: 10vh;
	}
	
	#pierwsza article img {
        max-width: 70%;
    }
	
	.etap {
		background-size: 100% auto !important;
/*		background-position: left;*/
		text-align: center;
		min-height: auto;
   		height: 100vh;
	}
	.etap .text {
		flex-wrap: wrap;
		justify-content:flex-end;
		padding: 1.5rem 1rem;
		/*background-color: dimgrey;*/
	}
	.etap h2 {
		display: flex; 
		flex-direction: column; 
		justify-content: center;
		align-items: center; 
		text-align: center;
		font-size: 1.6rem;
        padding: 0.5rem 0;
/*		background-color: red;*/
	}
	.etap .zawartosc p2{
		flex-direction: column;
		padding: 0.5rem 0;
/*		background-color: royalblue;*/
	}
	.etap .zawartosc {
		flex-direction: column;
/*		background-color: cadetblue;*/
	}
	.naglowek-etapu {
        align-items: center;
        text-align: center;
    }
    .etap-label {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
	
	#siodma img {
		max-width: 70%;
		margin-top:  -10vw;
		/*background-color: royalblue;*/
	}
	#siodma {
		padding-top: 10vw;
		min-height: auto ;
   		height: 60vh ;
		/*background-color: cadetblue;*/
	}
	#siodma h2 {
    	text-align: center;
	}
	
	#stopka .zapis {
        flex-direction: column;
        align-items: center;
        text-align: center;
		gap: 1rem;
    }

    .formularz-kurs {
        min-width: 90%;
    }
	
}

@media all and (max-width:600px){
	
	p {
        font-size: 1rem;
        line-height: 1.5;
    }

    h2 {
        font-size: 1.6rem;
        text-align: left;
    }

    h1 {
        font-size: 1.8rem;
        text-align: center;
    }
	#pierwsza {
   		height: 80vh ;
	}
	
	#pierwsza article img {
        max-width: 100%;
    }
	.etap {
		min-height: auto;
   		height: 80vh;
	}
	
	#siodma img {
		max-width: 100%;
		margin-top:  -10vw;
		/*background-color: royalblue;*/
	}
	#siodma {
		padding-top: 10vw;
		min-height: auto ;
   		height: 60vh ;
		/*background-color: cadetblue;*/
	}
	#siodma h2 {
    	text-align: center;
	}
	.tekst-stopka h2 {
		font-size: 1.5rem;
}

	.tekst-stopka p {
		font-size: 1rem;
	}
}
	@media all and (max-width:450px){
	
	#pierwsza {
		min-height: auto ;
   		height: 100vh ;
		padding-bottom: 10vh;
	}
	.etap {
   		height: 75vh ;
	}
	#siodma {
		min-height: auto ;
   		height: 50vh ;
		/*background-color: cadetblue;*/
	}
	#siodma {
		font-size: 0.5rem;
	}
}
