/* Stylizacja dla przeglądarek Firefox */
* {
  scrollbar-width: thin; /* ustawia cienki pasek przewijania */
  scrollbar-color: #74ccdf transparent; /* kolor kciuka i tło */

}

/* Stylizacja dla przeglądarek WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 5px; /* bardzo wąski pasek przewijania */
  height: 5px; /* w przypadku scrolla poziomego */
}



::-webkit-scrollbar-track {
  background: transparent; /* kolor tła paska przewijania */
}

::-webkit-scrollbar-thumb {
  background-color: #74ccdf; /* kolor paska przewijania */
  border-radius: 10px; /* zaokrąglenie krawędzi */
  border: 1px solid transparent; /* opcjonalna ramka, która pozwala na lepsze wyeksponowanie */
}
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/dist/font/AmaticSC-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Andika';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/dist/font/Andika-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/dist/font/MaterialIcons-Regular.woff2') format('woff2');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}


h3 {
  font-family: 'Andika';
  font-size: 24px;    
  text-align:left;
  line-height:30px;
    
}



/* Topbar – pełna szerokość, ale zawartość opakowana w header-container */
/* Zwiększony z-index, aby ikona była zawsze nad menu */
header {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 300;
  transition: all 0.3s ease;
}

header.sticky {
  position: fixed;
  background-color: rgba(117, 204, 224, 0.8);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.header-container {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.header-left img {
  height: 60px;
}

.header-center {
  display: flex;
  align-items: center;
  font-family: 'Andika';
  font-size: 20px;

}

.header-center .material-icons {
  font-size: 24px;
  margin-right: 5px;
}

.header-right .material-icons {
  font-size: 35px;
  cursor: pointer;
  margin-top:10px;
}

/* Rozwijane menu – tło nakładane */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(108, 200, 222, 1);
  background-repeat: repeat;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: all 0.8s ease;
  z-index: 200;
}


.menu-overlay.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index:1;
}

.menu-buttons {
  display: flex;
  flex-direction: column; /* Ustawia obrazki jeden pod drugim */
  align-items: center; /* Centruje obrazki */
  text-align: center;
  margin-top:50px;
}

.menu-buttons a {
  display: block; /* Każdy link zajmuje całą szerokość kontenera */
}

.menu-buttons a img {
  width: 75%; /* Zachowuje proporcje */
  max-width: 100%; /* Zapobiega nadmiernemu rozciąganiu */
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-buttons img:hover {
  transform: scale(1.1); /* powiększenie o 10% */
  
}


/* Główna treść – używamy min-height zamiast height, by uniknąć podwójnego scrollowania */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  overflow-y: hidden;
  overflow-x: hidden;
  padding-top: 60px; /* miejsce na topbar */
}

.content-image {
  max-width: 100%;
  height: auto;
}

.content-image.first {
  width: 35%;
}
.content-image.second {
  width: 60%;
}
.content-image.third {
  width: 40%;
  overflow: hidden;
  animation: pulse 1.5s ease-in-out infinite;
}

.content-image.preoducts {
  width: 100%;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.text-white {
  font-size: clamp(25.83px, 9.47vw, 96px);
    text-transform:uppercase;
    color: #ffffff;
    text-align:center;
  font-family: 'Amatic SC';
  width: 47%;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.19vw;
  line-height: 1 !important;
}
@media(max-width: 1228px){
  .text-white{
    font-size: clamp(25.83px, 7.47vw, 96px);
  }
}

/* Okno cookies – animowane pojawienie się */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  z-index: 300;
  font-family: 'Andika', sans-serif;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.cookie-consent.show {
  opacity: 1;
  transform: translateY(0);
}

.cookie-header {
  font-family: 'Andika';
  font-size: 18px;
  margin: 20px;
  line-height: 18px;
  font-weight: bold;
}

.cookie-body {
  flex-grow: 1;
  font-size: 14px;
  font-family: 'Andika';
  line-height: 20px;  
}

.cookie-buttons {
  display: flex;
  justify-content: space-around;
}

.cookie-btn {
  border: none;
  background: none;
  font-family: 'Andika', sans-serif;
  font-size: 16px;
  cursor: pointer;
  padding: 10px 20px;
}

/* Styl po najechaniu dla podstawowego przycisku */
.cookie-btn:hover {
box-shadow: inset 0 0 0 1px #70cadf; /* Obramowanie wewnętrzne */
  border-radius: 20px;
transition: box-shadow 0.6s ease; 

}

/* Przycisk z klasą accept */
.cookie-btn.accept {
  background: #70cadf;
  border-radius: 20px;
  padding: 10px 20px;
  color: black;
}

/* Efekt po najechaniu dla przycisku accept */
.cookie-btn.accept:hover {
  background: yellow; /* zmiana koloru tła na niebieski */
  color: black;
transition: background 0.8s ease, color 0.6s ease;
}

/* Desktop – ograniczenie szerokości dla contentu oraz cookies */
@media (min-width: 1024px) {
  .cookie-consent {
    max-width: 1024px;
	right:auto;
  }
  .content {
    max-width: 1024px;
    margin: 0 auto;
  }
.content-image.first {
  width: 20%;
}
.content-image.second {
  width: 60%;
}
.content-image.third {
  width: 15%;
}  
.menu-buttons img {
  width:20%;
  cursor: pointer;
transition: transform 0.3s ease; 
}

  
.menu-buttons img:hover {
  transform: scale(1.1); /* powiększenie o 10% */
}  
}
/* Kontenery dla obraz+tekst */
.image-text {
  display: flex;
  width: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  text-align:center;
  gap: 10px; /* odstęp między obrazem a tekstem */
}
/* Dla pierwszego bloku – kolejność: obraz, potem tekst, wyśrodkowany kontener */
.first-block {
  flex-direction: row;
  width: fit-content;
  margin: 0 auto;
}

/* Dla trzeciego bloku – kolejność: tekst, potem obraz */
.third-block {
  flex-direction: row;
}

/* Styl nagłówka przy obrazach */
.image-text-header {
  font-family: 'Amatic SC';
  font-size: 46px;
  font-weight: bold;
  line-height: 50px; 
  text-shadow: 1px 1px 1px rgba(0,0,1);
}

/* Styl 2 nagłówka przy obrazach */
.image-text-header2 {
  font-family: 'Andika';
  font-size: 18px;
  font-weight: bold;
  line-height: 20px; 
  text-align:left;
  margin-top:35px;

}

/* Ukrywanie logo i tekstu "POWRÓT" przy rozwiniętym menu */
header.menu-open .header-left,
header.menu-open .header-center {
  display: none;
}

header.menu-open .header-right {
  margin-left: auto;
}



/* animacje - poprawione */
.animate {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  will-change: transform, opacity; /* Optymalizacja animacji */
  transform: translateZ(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-scale {
  opacity: 0;
  animation: scaleUp 1.8s ease forwards;
  will-change: transform, opacity; /* Optymalizacja animacji */
  transform: translateZ(0);
}

@keyframes scaleUp {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

     .custom-button-small {
       font-family: 'Amatic SC', sans-serif;
       position: relative;
       background-color: #fff800;
       color: black;
       font-size: clamp(17px, 5.69vw, 58.2px); /* Zachowuję rozmiar czcionki*/

       letter-spacing: clamp(1px, 0.2845vw, 2.91px);
       font-weight: 800;
       border: 0px solid #000000;
       padding: 0.5vw 1.3vw;
       border-radius: clamp(8.54px,2.85vw,30px);
       top: -2.3vw;
       left: clamp(6px,2vw,21px);
       
       display: inline-block;
       width: clamp(56px,18.7vw,200px); /* Szerokość dopasowana do tekstu */
       height: clamp(23.33px,7.77vw,84px);
       text-shadow: 0px 1px, 1px 0px, 1px 1px;
  }

   .custom-button-small:hover {
       transform: scale(1.05); /* Efekt powiększenia przy najechaniu */
   }



   .question-container {
    display: flex;
    align-items: flex-start;
    gap: 1vw; 
    width: 100%;
    margin-bottom: 6vw;
    margin-top: 5vw;
}

.question-number {
    font-size: clamp(16.4px, 5.7vw, 50px);
    line-height: clamp(16.4px, 5.7vw, 60px);

    font-weight: bold;
}

.question-text:nth-child(1) {
    font-size: clamp(16.4px, 5.7vw, 60px);
    letter-spacing: clamp(-0.3px,-0.01vw,-1px);
    width: 88%;
    margin: 0;
}

.question-text:nth-child(2) {
        font-size: 1.5rem; 
  line-height: 1;
    letter-spacing: clamp(-0.3px,-0.01vw,-1px);

    width: 96%;
    margin: 0;
}


#zgoda-tekst-ZobaczJakToZrobic{
  font-size: clamp(8px,2.8vw,28.62px);
}
@media(max-width:418px){
  #zgoda-tekst-ZobaczJakToZrobic{
    font-size: clamp(7px,2.5vw,28.62px);

  }
}