* {
 font-family: 'Rethink Sans', sans-serif;
 font-family: 'Roboto', sans-serif;
 margin: 0;
 padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    list-style: none;
}

.nabor {
  position:sticky;
  top: 0;
  width: 100%;
  height: auto;
  background-color: red;
  color: white;
  z-index: 1000;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
}

html {
  scroll-behavior: smooth;
}

#zapisy-v2{
  display: none;
}

body {
  background-color:  rgb(248, 247, 243);
}


.nav-bar {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
list-style: none;
position: relative;
background-color: white;
padding: 0px 40px;
height: 97px;
}
.logo img 
{
width: 200px;
height: 100px;
}
.menu {display: flex;

}
.menu li {
padding-left: 25px;
padding-right: 25px;
}
.menu li a {
display: inline-block;
text-decoration: none;
color: black;
font-weight: 500;
text-align: center;
transition: 0.15s ease-in-out;
position: relative;
font-size: 24px;
}

.menu li a:hover {
color: rgb(216,38,27);
}

.menu li a.after {
color: rgb(216,38,27);
}

.menu li a::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 1px;
background-color: white;
transition: 0.15s ease-in-out;
}
.menu li a:hover:after {width: 100%;}
.open-menu , .close-menu {
position: absolute;
color: black;
cursor: pointer;
font-size: 40px;
display: none;
}
.open-menu {
top: 50%;
right: 20px;
transform: translateY(-50%);
}
.close-menu {
top: 30px;
right: 30px;

}
#check {display: none;}
@media(max-width: 1160px){
.menu {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 1001;
    background-color: white;
    transition: all 0.2s ease-in-out;
}

#zapisy-v2 {
  display: block;
}

.menu li {margin-top: 30px;
}
.menu li a {padding: 10px;}
.open-menu , .close-menu {display: block;}
#check:checked ~ .menu {right: 0;}

.ikonki {
  display: none;
}
}

@media only screen and (max-width: 700px) {
.menu {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80%;
  height: 100vh;
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 1001;
  background-color: white;
  transition: all 0.2s ease-in-out;
}
}

@media only screen and (max-width: 1260px) {
.nav-bar {
  padding: 0;
}

.menu li {
  padding-left: 15px;
  padding-right: 15px;
}
}


.ikonki img {
width: 28px;
height: 28px;
}

.ikonki button {
background-clip: padding-box;
background-color: rgb(216,38,27);
border: 1px solid transparent;
border-radius: .25rem;
box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
box-sizing: border-box;
color: #fff;
cursor: pointer;
display: inline-flex;
font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 16px;
font-weight: 600;
justify-content: center;
line-height: 1.25;
margin: 0;
min-height: 30px;
padding: calc(.875rem - 1px) calc(1.5rem - 1px);
position: relative;
text-decoration: none;
transition: all 250ms;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
vertical-align: baseline;
width: auto;
}

.ikonki button:hover {
background-color: white;
border: solid 1px rgb(216,38,27);
color: rgb(216,38,27);
font-weight: 500;
}
.baner {
  width: 100%;
  height: 700px;
  position: relative;
  margin-bottom: 20px;
}


.baner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
  filter: brightness(70%);
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.baner .tekst {
  position: absolute;
  top: 40%;
  left: 20%;
  transform: translate(-20% , -20%);
  color: white;
  width: 30%;

}

.baner .tekst h1 {
  margin-bottom: 20px;     
  font-size: 3vw;
  font-weight: 700;
}

.baner .tekst p {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 400;
}


.baner .tekst button {
  background-clip: padding-box;
  background-color: rgb(216,38,27);
  border: 1px solid transparent;
  border-radius: .25rem;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  min-height: 30px;
  padding: calc(.875rem - 1px) calc(1.5rem - 1px);
  position: relative;
  text-decoration: none;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: auto;

}

.baner .tekst button:hover {
  background-color: white;
  border: solid 1px rgb(216,38,27);
  color: rgb(216,38,27);
  font-weight: 500;
}

.swiper-button-next {
  color: rgb(216,38,27);
}

@media only screen and (max-width: 1350px) {
  .baner .tekst {
      text-align: center;
      top: 50%;
      width: 90%;
      left: 50%;
      transform: translate(-50% , -50%);
  }

  .baner .tekst h1 {
      font-size: 10vw;
  }
}

#dwa {
    background-color: transparent;
    border: none;
    font-size: 300%;
    color: white;
    position: absolute;
    top: 50%;
    right: 0%;
}

#jeden {
    background-color: transparent;
    border: none;
    font-size: 300%;
    color: white;
    position: absolute;
    top: 50%;
    left: 0%;
}

.wydarzenie {
  width: 65%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}

.timery {
  display: flex;
  justify-content: space-between;
}

.timery span {
   border: solid 5px rgb(216,38,27);;
   border-radius: 150px;
   padding: 20px;
   font-size: 38px;
   margin-bottom: 5px;
}

.timery p {
  display: grid;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

.wydarzenie h1 {
  padding-top: 50px;
  text-align: center;
  font-size: 40px;
}

.wydarzenie img {
  width: 50px;
  height: 50px;
}

.lokalizacja {
  display: flex;
  justify-content: center;
  align-items: center;
}
.data {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.data img {
  width: 50px;
  height: 50px;
}

.linia {
  background-color: rgb(216,38,27);
  height: 3px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

#opisy {
  font-size: 30px;
  margin-bottom: 0px;
}

.opisy {
  display: flex;
  justify-content: space-between;
}

@media only screen and (max-width: 800px) {
  .wydarzenie {
    width: 95%;
  }
}


@media only screen and (max-width: 500px) {

  .timery span {
    font-size: 22px;
    padding: 15px;
  }

  .timery p {
    font-size: 17px;
  }
}



.pole {
  padding-top: 30px;
  padding-bottom: 30px;
  width: 100%;
  height: 600px;
  background-color: rgb(216,38,27);
  display: grid;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  
}

.zawartość {
 display: flex;
 align-items: center;
}  

.onas {
  color: white;
  width: 575px;
}

.kategorie p {
  text-align: center;
}

.zawartość img {
  width: 585px;
  height: 500px;
  border: solid 15px white;
  margin-right: 25px;
  object-fit: cover;
  object-position: center;
}


.onas h1 {
  font-size: 50px;
}

.onas p {
  font-size: 24.6px;
  text-align:left;
}

@media only screen and (max-width: 1200px) {
  .pole {
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }
  
  .zawartość {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }


  .zawartość img {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }


}

@media only screen and (max-width: 1050px) {
  .onas {
    width: 90%;
  }
} 



@media only screen and (max-width: 900px) {



  .zawartość {
    width: 100%;
    margin-left: auto;
    margin-right: auto;

  }
  .zawartość {
    display: grid;
  }

  .zawartość .zdj img {
    width: 95%;
    height:auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
  }

  .zdj {
    display: flex;
    justify-content: center;
  }

  .zawartość .onas {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media only screen and (max-width: 600px) {
  .onas p {
    font-size: 20px;
  }
}

.pole {
  padding-top: 50px;
  padding-bottom: 50px;
}

.wstawka {
  max-width: 1300px;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  padding-top: 30px;
  padding-bottom: 0px ;
}

.ikona {
  text-align: center;
  margin-bottom: 5px;
}

.ikona img {
  width: 70px;
  height: 70px;
  background-color: rgb(216,38,27);
  padding: 10px;
  border-radius: 50px;
}

.box {
  width: 380px;
  padding: 30px;
  margin-left: auto;
  margin-right: auto;
}

.opis h1 {
  margin-bottom: 10px;
}


@media only screen and (max-width: 1010px) {
  .wstawka {
    width: 100%;
  }

  .box {
    width: 30%;
    height: auto;
  }

}

@media only screen and (max-width: 815px) {
  .wstawka {
    display: grid;
  }

  .box {
    width: 95%;
  }

}

.kategorie {
  padding-top: 30px;
  padding-bottom: 30px;
}

.kategorie h1 {
  text-align: center;
  font-size: 40px;
}

.swiper {
  width: 1200px;
  padding: 40px;
}

.swiper-slide {
  width: 300px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 30px;
}

.swiper-slide h1 {
  margin-bottom: 10px;
}

.swiper-slide p {
  margin-bottom: 10px;
}

.swiper-slide ul li {
  margin-bottom: 5px;

}

.swiper-slide .line {
  margin-bottom: 7px;
  width: 270px;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.24);
  margin-left: auto;
  margin-right: auto;
}


.swiper-slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px 20px 0px 0px ;
}



.swiper-slide button {
  background-clip: padding-box;
  background-color: rgb(216,38,27);
  border: 1px solid transparent;
  border-radius: .25rem;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  min-height: 30px;
  padding: calc(.875rem - 1px) calc(1.5rem - 1px);
  position: relative;
  text-decoration: none;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: auto;
  margin-bottom: 15px;
}


.swiper-slide button:hover {
  background-color: white;
  border: solid 1px rgb(216,38,27);
  color: rgb(216,38,27);
  font-weight: 500;
}

.swiper-pagination-bullet {
  background-color: rgb(216,38,27);
  opacity: 1;
}

@media only screen and (max-width: 1250px) {
  .swiper {
    width: 95%;
  }
}


@media only screen and (max-width: 700px) {
  .swiper {
  width: 95%;
  }
}




/* Kateogire */


/* Kontakt */

.kontakt {
  padding-top: 30px;
  padding-bottom: 30px;
}



.wlasciciel {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.tytul2 {
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
  font-size: 22px;
}

.tytul2 span {
  color: rgb(216,38,27);
}

.wlasciciel span {
  color: rgb(216,38,27);
}

.biuro span {
  color: rgb(216,38,27);
}

.biuro h1 {
  margin-bottom: 50px;
  font-size: 36px;
}

.opcje ul li {
  margin-bottom: 8px;
}

.wlasciciel h1 {
  margin-bottom: 50px;
}

.kontakt {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.opcje {
  display: flex;
}

.mapa iframe {
  width: 100%;
}

.biuro button {
  border-radius: 20px;
  background-color: rgb(216,38,27);
  color: white;
  border: solid rgb(216,38,27) 1px;
  padding: 12px 40px 12px 40px;
  font-size: 20px;
  margin-bottom: 30px;
}

.biuro button:hover {
  background-color: white;
  border: solid 1px rgb(216,38,27);
  color: rgb(216,38,27);
  font-weight: 500;
  transform: matrix3d(ease-in-out);
  transition: 0.3s;
}

.biuro ul {
  margin-bottom: 30px;
}

.look {
  margin-left: 20px;
}

.ibiuro img {
  width: 500px;
  height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: 50px;
}

.sekret button {
  border-radius: 20px;
  background-color: rgb(216,38,27);
  color: white;
  border: solid rgb(216,38,27) 1px;
  padding: 12px 40px 12px 40px;
  font-size: 20px;
  margin-bottom: 30px;
  display: none;
  



 
  
}

.sekret button:hover {
  background-color: white;
  border: solid 1px rgb(216,38,27);
  color: rgb(216,38,27);
  font-weight: 500;
  transform: matrix3d(ease-in-out);
  transition: 0.3s;
}


@media only screen and (max-width: 1200px) {


  .kontakt {
    width: 95%;
  }

  .ibiuro img {
    width: 400px;
  }
}

@media only screen and (max-width: 1000px) {
  

  .biuro {
    margin-left: auto;
    margin-right: auto;
  }



  .ibiuro img {
      width: 100%;
  }

  .sekret {
    display: flex;
    justify-content: center;
  }

}

@media only screen and (max-width: 830px) {
  .ibiuro img {
    display: none;
  }

  .biuro button {
    display: none;
  }

  .sekret button {
    display: flex;
  }


}


@media only screen and (max-width: 600px) {
  .opcje {
    display: grid;
  }

  .wlasciciel {
    width: 95%;
    font-size: 20px;
  }

  .biuro {
    width: 95%;
    font-size: 20px;
  }


}


/* Kontakt*/



/* Zapisy */

.zapisy .tytul h1 {
  font-size: 46px;
  text-align: center;
  margin-bottom: 30px;
}

.zapisy {
  width: 1200px;
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  padding-top: 50px;
  padding-bottom: 30px;
 
}

form {
  margin-right: 30px;
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
}

form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 20px;
}

form input {
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 20px;
  border:none;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  width: 99%;
  
}


form select {
  padding: 15px;
  border-radius: 20px;
  border:none;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  width: 23%;

}

.end {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.end a {
  color: black;
  text-decoration:underline;
}

.end a:hover {
  color: rgb(216,38,27);
}

form button {
  padding-top: 10px;
  background-clip: padding-box;
  background-color: rgb(216,38,27);
  border: 1px solid transparent;
  border-radius: .25rem;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  min-height: 30px;
  padding: calc(.875rem - 1px) calc(1.5rem - 1px);
  position: relative;
  text-decoration: none;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: auto;
  margin-bottom: 15px;
  width: 120px;
}

form button:hover {
  background-color: white;
  border: solid 1px rgb(216,38,27);
  color: rgb(216,38,27);
  font-weight: 500;
  transform: matrix3d(ease-in-out);
  transition: 0.3s;
}

.zapisy .text {
  width: 50%;
  background-color: rgb(216,38,27);
}

.text {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.text .srodek h1 {
  font-size: 45px;
  color: white;
  margin-bottom: 5px;
}

.text .srodek p {
  color: white;
  font-size: 20px;
}

.text .srodek .line {
  width: 50px;
  height: 3px;
  background-color: white;
  margin-bottom: 30px;
}

.name input {
margin-right: 5px;
  width: 49%;
}

.dane input {
  margin-right: 5px;
  width: 49%;
}

.pesel input{
  margin-right: 5px;
  width: 75%;
}

.ztyt {
  text-align: center;
  font-size: 22px;
  display: none;
}




@media only screen and (max-width: 1200px) {

  .zapisy {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-around;
  }

  form {
    width: 60%;
  }



  form textarea {
    width: 100%;

  }

  .email input {
    width: 100%;
  }

  .name input {
    width: 100%;

  }



  .dane {
    width: 100%;

  }

  .pesel {
    width: 100%;

  }

  .name input {
    margin-right: 0px;
    width: 100%;
    }
    
    .dane input {
      
      margin-right: 0px;
      width: 100%;
    }
    
    .pesel input{
      
      width: 58%;
    }

    .pesel select {
      width: 39%;
    }

    .text {
    width: 40%;
     margin-left: 0;
    }
}


@media only screen and (max-width: 700px) {

  

  form {
    margin-left: auto;
    margin-right: auto;
  }

    .ztyt {
      display: block;
    }

  .text {
    display: none;
    margin: 0;
  }

  form {
    width: 95%;
  }


  .email {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .email input {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }


  .name input {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .dane {
    width: 100%;
  }

  .dane input {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }


  .name {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .dane {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .pesel {
    width: 100%;

    margin-left: auto;
    margin-right: auto;
  }


  .pesel input {
    width: 67%;
  }

  .pesel select {
    width: 30%;
  }
  

  form textarea {
    width: 100%;
    margin: 0;
  }
    
  .end {
    padding-top: 10px;
  }

  form button {
    margin: 0;
  }

}

/* Zapisy */

.ktlo {
  background-color: rgb(27, 26, 26);
  padding: 50px;
  color: white;
}

.koniec {
  display: flex;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.place {
  width: 200px;
  margin-left: auto;
  margin-right: auto;
  color: white;
}

.place a {
  text-decoration: none;
  color: white;
}

.place h2 {
  margin-bottom: 9px;
}

.place li {
  margin-bottom: 3px;
}

.place li:hover {
  color: rgb(216,38,27);
  cursor: pointer;
}

.place a:hover {
  color: rgb(216,38,27);
  cursor: pointer;
}


@media only screen and (max-width: 800px) {
  .koniec {
    display: grid;
    grid-template-columns: 1fr 1fr ;
  }

  .place {
    margin-bottom: 15px;
  }
}

@media only screen and (max-width: 500px) {
  .koniec {
    display: grid;
    grid-template-columns: 1fr  ;
  }

  .place {
    text-align: center;
  }
}


.reveal {
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: all 2s ease;
}

.reveal.active{
  transform: translateY(0px);
  opacity: 1;
}

.nabor {
  position:sticky;
  top: 0;
  width: 100%;
  height: auto;
  background-color: red;
  color: white;
  z-index: 1000;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
}

/* Overlay – całe okno z przyciemnieniem */
#popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 10px; /* margines na małych ekranach */
}

#popup {
  position: relative;
  background: white;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  padding: 10px;
  box-sizing: border-box;
}

#popup img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

#popup-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* 📱 TELEFONY */
@media (max-width: 480px) {
  #popup {
    max-width: 100%;
    padding: 8px;
  }

  #popup-close {
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}

/* 📱 TABLETY */
@media (max-width: 768px) {
  #popup {
    max-width: 90%;
  }
}
