/* 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 */
}

video {
  width: 100%;
  height: auto;
}


@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;
}

/* Reset i globalne ustawienia */
html, body {
  margin: 0;
  padding: 0 10px;
  box-sizing: border-box;
  overflow-x: hidden;
}

body {
  font-family: 'Andika', sans-serif;
  background-color: #6CC7DE;
background-size: auto;
background-repeat: repeat;
}

h3 {
  font-family: 'Andika';
  font-size: 24px;    
  text-align:left;
  line-height:30px;
    
}

@media (min-width: 1024px) {
  body {
  background-color: #77CEE3;
background-size: auto;
background-repeat: repeat;
  }
}

/* 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: 9999;
}
.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% */
  
}

.menu-overlay {
  pointer-events: none;
}

.menu-overlay.show {
  pointer-events: auto;
}


/* 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;
  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 {
    text-transform:uppercase;
    color: white    ;
    text-align:center;
  font-family: 'Amatic SC';
  font-size: 34px;
}

/* 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;
}

/* Dodaj ten fragment do kontenera nadrzędnego, np. do body lub main, który otacza animowane elementy */
html, body {
  overflow-x: hidden; /* Zapobiega pojawianiu się dodatkowego scrolla */
}

/* 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;
  }
}
.input-container, .textarea-container, .checkbox-container {
            position: relative;
        }

input,textarea {
width: 98%;
height:50px;
border: 1px solid #ccc;
border-radius: 10px;
font-size: 16px;
outline: none;
transition: border-color 0.3s;
font-family: Andika;
text-indent: 10px;
margin-bottom:5px;
}
input:focus textarea:focus {
box-shadow: inset 0 0 5px black;
color:black;

}
input::placeholder textarea::placeholder{
color: black;
font-family: Andika;
}
.file-input-container {
            display: flex;
            align-items: center;
            gap: 10px;
border: 1px solid #ccc;
            border-radius: 10px;
height:50px;
text-indent: 10px;
            width: 98%;
            cursor: pointer;
            transition: box-shadow 0.3s;
            background-color: white;
            position: relative;
            justify-content: space-between;
            margin-bottom:5px;
        }
        .file-input-container:hover {
            box-shadow: inset 0 0 5px black;
        }
        .file-input {
            display: none;
        }
        .upload-icon {
            font-size: 20px;
            color: #888;
        }
        .file-description {
            font-size: 12px;
            color: #666;
            margin-left: auto;
            margin-right: 10px;
        }
.input-container, .textarea-container {
            position: relative;
        }
textarea {
    height:100px;
}     

.checkbox-container {
    display: flex;
    align-items: flex-start; /* Wyrównanie do góry */
    justify-content: flex-start; /* Wyrównanie do lewej */
    gap: 10px;
    font-size: 16px;
    color: #333;
    flex-direction: row;
    width: 100%; /* Upewnienie się, że element obejmuje całą szerokość */
    font-family: Andika;
}

              .checkbox-container input {
            width: 50px;
            height: 50px;
            appearance: none;
border: 1px solid #ccc;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            background-color:white;
        }
        .checkbox-container input:checked::after {
            content: "";
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            background: url('https://fonts.gstatic.com/s/i/materialicons/check/v15/24px.svg') no-repeat center;
            background-size: contain;
        }
        
 .video-wrapper {
    position: relative;
    display: inline-block;
  }

  .volume-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 222;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    color: white;
  }

  .volume-toggle .material-icons {
    font-size: 24px;
  }        
        
        
        