*{
margin:0;
padding:0;
box-sizing:border-box;
font-family: serif;
font-weight:400
}


/* NAVBAR */

.navbar{
position:absolute;
top:0;
width:100%;
display:flex;
justify-content:space-between;
padding:30px 60px;
z-index:10;
color: white;
}

.navbar a{
color:white;
text-decoration:none;
}

/* HERO */

.hero{
height:100vh;
background-image:url("images/Voan.webp");
background-size:cover;
background-position:center;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
position:relative;
color: white;
}

.hero::after{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.35);
z-index:1;
}

.hero-content{
position:relative;
max-width:600px;
z-index:2;
}

.hero h1{
font-size:80px;
margin-bottom:35px;
}

.hero p{
font-size:16px;
line-height:1.6;
margin-bottom:20px;
}

.about{
background:#f1f1f1;
padding:120px 80px;
}

.about-container{
display:flex;
align-items:center;
gap:80px;
max-width:1400px;
margin:auto;
}

.about-image{
width:633px;
height:592px;
overflow:hidden;
}

.about-image img{
width:100%;
height:100%;
object-fit:cover;
object-position:center;
display:block;
}

.about-text{
max-width:100%;
color:#333;
font-size:16px;
line-height:1.0;
}

.about-text p{
margin-bottom:60px;
}

#pierwszytxt{
margin-left: 6%;
max-width:80%;
}

#drugitxt{
margin-left:auto;
margin-right:-50%;
max-width:80%;
text-align:left;
}

#trzecitxt{
margin-left:6%;
}

/* telefon sekcja druga: */

@media (max-width:900px){

.about-container{
flex-direction:column;
gap:40px;
}

/* obrazek peĹna szerokoĹÄ */
.about-image{
width:100%;
height:auto;
}

.about-image img{
height:auto;
}

/* tekst */
.about-text{
max-width:100%;
font-size:15px;
line-height:1.4;
}

/* LEWA */
#pierwszytxt,
#trzecitxt{
max-width:85%;
margin-left:20%;
}

/* PRAWA */
#drugitxt{
max-width:90%;
margin-left:auto;
margin-right:25%;
text-align:left;
}

}

.process{
padding:120px 80px;
background:#f5f5f5;
}

/* gorne zdjecia*/

.process-images{
display:grid;
grid-template-columns:1fr 1fr 1fr;
gap:40px;
max-width:1400px;
margin:auto;
}

.img-large{
height:auto;
overflow:hidden;
border-radius:20px;
}

.img-large img{
width:100%;
object-fit:cover;
}

/* srodkowe 4 obrazki */
.img-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
}

.img-grid img{
width:100%;
aspect-ratio:1/1;
object-fit:contain;
display:block;
}

/* tekst pod spodem */

.process-text{
display:grid;
grid-template-columns:1fr 1fr 1fr;
gap:80px;
max-width:1400px;
margin:20px auto 0;
}

.process-text h3{
font-size:26px;
margin-bottom:20px;
}

.process-text p{
line-height:1.2;
color:#444;
white-space: pre-line;
}

@media (max-width:900px){

.process{
display:grid;
grid-template-columns:1fr;
}

/* wylacz stare uklady */
.process-images,
.process-text{
display:contents;
}

.process-text > div{
margin-top:30px;
margin-bottom:30px;
}

.process-images > .img-large:first-child{
order:1;
}

.process-text > div:nth-of-type(1){
order:2;
}

.process-images > .img-grid{
order:3;
}

.process-text > div:nth-of-type(2){
order:4;
}

.process-images > .img-large:last-child{
order:5;
}

.process-text > div:nth-of-type(3){
order:6;
}

}

.events{
padding:140px 80px;
background:#f5f5f5;
}

.events h2{
font-size:48px;
margin-bottom:100px;
}

.process h2{
font-size:48px;
margin-bottom:100px;
}

/* pojedynczy blok */

.event{
display:flex;
align-items:center;
justify-content:space-between;
gap:120px;
margin-bottom:140px;
max-width:1400px;
margin-left:auto;
margin-right:auto;
}

/* odwrĂłcenie kolejnoĹci */

.event.reverse{
flex-direction:row-reverse;
}

/* tekst */

.event-text{
width:40%;
}

.event-text h3{
font-size:28px;
margin-bottom:15px;
text-align: center;
}

/* zdjÄcie */

.event-image{
width:50%;
}

.event-image img{
width:100%;
height:auto;
display:block;
}

@media (max-width:900px){

.event{
flex-direction:column;
gap:40px;
}

.event.reverse{
flex-direction:column;
}

.event-text,
.event-image{
width:100%;
}

}
.event-text p{
text-align: center;
}


.contact-section{
display:flex;
justify-content:space-between;
align-items:flex-start;
max-width:1400px;
margin:auto;
padding:140px 60px;
gap:120px;
}

.contact-left{
width:45%;
}

.contact-left h1{
font-size:70px;
font-weight:400;
margin-bottom:25px;
}

.contact-left p{
max-width:420px;
line-height:1.6;
}

.contact-right{
width:45%;
}

form{
display:flex;
flex-direction:column;
gap:15px;
}

label{
font-size:14px;
margin-top:10px;
}

label span{
color:#777;
font-size:12px;
}

input,
textarea{
width:100%;
padding:14px 18px;
border-radius:30px;
border:1px solid #cfcfcf;
font-size:14px;
outline:none;
background:white;
}

textarea{
border-radius:25px;
min-height:140px;
resize:none;
}

.name-row{
display:flex;
gap:20px;
}

button{
margin-top:20px;
width:110px;
padding:14px;
border:none;
border-radius:40px;
background:#2b2624;
color:white;
font-size:14px;
cursor:pointer;
}

button:hover{
background:#1c1816;
}

@media (max-width:900px){

.contact-section{
flex-direction:column;
gap:60px;
}

.contact-left,
.contact-right{
width:100%;
}

.contact-left h1{
font-size:48px;
}

}