/* 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');
}
@font-face{
  font-family: 'Bangers';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/dist/font/Bangers-Regular.woff2') format('woff2');
}

.bangers{
  font-family: 'Bangers';
}

.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 {
  height: 100%;
  margin: 0;
  padding: 0 10px;
  box-sizing: border-box;
  overflow-x: hidden;


}


body {
  font-family: 'Andika', sans-serif;
  background-image: url('/dist/img/front/bg2.webp');
  background-repeat: repeat;
  background-attachment: fixed;
  background-size: 100% auto;

}

h3 {
  font-family: 'Andika';
font-size: 2rem ; 
  text-align:left;
  line-height:30px;   
  padding-top:20px !important;
}
ol, li{
  font-family: 'Andika';
font-size: 1.2rem;
    line-height: 1;
    padding-bottom:5px;
        padding-top:5px;
}

@media (min-width: 1024px) {
  body {
    background-image: url('/dist/img/front/bg.webp');
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;
  background-color: rgba(117, 204, 224, 0.8);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

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;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-overlay.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 100;
}

.menu-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.menu-buttons a {
  display: block;
}

.menu-buttons a img {
  width: 75%;
  max-width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-buttons img:hover {
  transform: scale(1.1);
}



/* 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;
  }
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup.show {
  display: flex;
}

.popup-content {
  position: relative;
  background: yellow;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  max-width: 90%;
  font-size: 2rem;
  font-family: 'Amatic SC';
  font-weight: 600;
  white-space: pre-line;
}

.popup-content .close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 3rem;
  color: #000;
  cursor: pointer;
}

#popupText {
  margin: 0;
    font-size: 2rem;
  font-family: 'Amatic SC';
  font-weight: 600;
}

.podziel-sie-nagroda {
  position: relative;
  max-width: 90vw;
  margin: 0 auto;
  overflow: visible;
}
.podziel-sie-opinia {
    display: block;
    width: 80%;
    height: auto;
    margin: 0 auto;
}
.podziel-sie-nagroda .arrow-left,
.podziel-sie-nagroda .arrow-right{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:32px;
  height:auto;
  cursor:pointer;
  z-index:10;
}
.podziel-sie-nagroda .arrow-left{ left:5px; }
.podziel-sie-nagroda .arrow-right{ right:5px; }


.floating-footer {
            width: 100%;
            display: block;
        }
        
        main {
  flex: 1;
}

.footerall {
  width: 100%;
  margin-top: auto;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.footerall {
  width: 100%;
  margin-top: auto;
}

.stado{
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-bottom: 2%;
}
.stado-bg{
  max-width: 100%;
}

  .chcedolaczyc{
    margin-top: 1%;
    text-align: center;
    margin-left: 35%;
    max-width: 45%;
    width: 100%;
  }
  .chcedolaczyc b{
    font-size: 1.3rem;
  }
.chcedolaczyc a {
    display: inline-block;
    white-space: nowrap;
    text-align: center;
    background-color: yellow;
    border-radius: 20px;
    font-family: 'Amatic SC';
    font-size: 2.1rem;
    padding: 0.3rem 1rem;
    letter-spacing: 0.12rem;
    font-weight: 600;
}

.input-container,
.textarea-container,
.checkbox-container {
    position: relative;
}

input,
textarea {
    width: 94%;
    height: 50px;
    border: 1px solid #ccc;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 10px;
    font-size: 14px;
    font-family: Andika;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    padding: 0 10px;
    margin-bottom: 5px;
    background-color: white;
}

.custom-select {
    width: 97%;
    height: 50px;
    border: 1px solid #ccc;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 10px;
    font-size: 14px;
    font-family: Andika;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    padding: 0 10px;
    margin-bottom: 5px;
    background-color: white;
}

input:focus,
textarea:focus {
    box-shadow: inset 0 0 5px black;
    color: black;
}

input::placeholder,
textarea::placeholder {
    color: black;
    font-family: Andika;
    font-size: 14px;
}

.file-input-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 94%;
    height: 50px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: white;
    transition: box-shadow 0.3s;
    position: relative;
    justify-content: space-between;
    margin-bottom: 5px;
    padding: 0 10px;
    cursor: pointer;
}

.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: 14px;
    color: #666;
    margin-left: auto;
}

textarea {
    height: 100px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row;
    width: 100%;
}

.checkbox-container input {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    appearance: none;
    border: 1px solid #ccc;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: white;
    transition: box-shadow 0.3s;
}

.checkbox-container input:focus {
    box-shadow: inset 0 0 5px black;
}

.checkbox-container input:checked::after {
    content: "";
    width: 60%;
    height: 60%;
    display: block;
    background: url('https://fonts.gstatic.com/s/i/materialicons/check/v15/24px.svg') no-repeat center;
    background-size: contain;
}

.checkbox-label {
    font-family: Andika;
    font-size: 14px;
    color: black;
    font-weight: 700;
}

select {
    width: 99%;
    height: 50px;
    border: 1px solid #ccc;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 10px;
    font-size: 14px;
    font-family: Andika;
    color: black;
    background-color: white;
    background-image: url(/dist/img/front/4/arrow_down.webp);
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px auto;
    padding: 0 10px;
    margin-bottom: 5px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

select:focus {
    box-shadow: inset 0 0 5px black;
    color: black;
}

.stado .input-container {
  width: 99%;
  box-sizing: border-box;
  margin-bottom: 5px;
}
.stado .input-container input.stado-overlay {
  display: block;
  width: 99% !important;
  height: 50px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
  font-family: Andika;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  padding: 0 10px;
  background-color: white;
  box-sizing: border-box;
}
.stado .input-container input.stado-overlay:focus {
  box-shadow: inset 0 0 5px black;
  color: black;
}
button, .yellow-button {
    background-color: yellow;
    padding-inline: 10%;
    width: fit-content;
    border: none;
    border-radius: 13px;
    cursor: pointer;
    text-decoration: none;
    color: black;
    font-family: 'Amatic SC';
    text-align: center;
    letter-spacing: 0.15rem;
    font-weight: 700;
    text-shadow: 0px 1px, 1px 0px, 1px 1px;
    font-size: 6vw;
    line-height: 1;
    white-space: nowrap;
    display: block;
    margin: 0 auto;
    transition: box-shadow 0.3s;
    padding: 10px;
}
button:hover, button:focus {
  box-shadow: inset 0 0 5px black;
}
@media (min-width: 1024px) {
  button, .yellow-button {
    font-size: 3rem;
    padding-inline: 3%;
  }
}
.chcedolaczyc {
  text-align: center;
}
.chcedolaczyc b {
  font-size: 12px;
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}

u {
color: black;    

}

.howtodo {
     display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.howtodo-bg {
    width: 100%;
    height: auto;
}
.howtodo-bg-button {
    background-color: yellow;
    padding: 6px;
    padding-left: 5%;
    padding-right: 5%;
    border-radius: 20px;
    font-family: 'Amatic SC';
    font-size: 4vw;
    margin-right: -40%;
    margin-top: -10%;
    text-shadow: 0px 1px, 1px 0px, 1px 1px;
    letter-spacing: 0.12rem;
    font-weight: 600;
    color: black;
text-decoration: none;
}

.comunication {
    display: grid;
    grid-template-columns: 1fr 0.33fr 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    align-items: center;
    height: 8rem;
    width: 100%;
    gap: 3%;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}

.comunication a {
    grid-area: 1 / 3 / 2 / 4;
    background-color: yellow;
    width: 70%;
    min-width: fit-content;
    padding-inline: 3.5%;
    padding-block: 0.5%;
    border-radius: 15px;
    font-family: 'Amatic SC';
    text-align: center;
    font-weight: 600;
    font-size: 5vw;
    letter-spacing: 0.15rem;
    text-shadow: 0px 1px, 1px 0px, 1px 1px;
    font-weight: 700;
    color:black;
    text-decoration:none;
}

.comunication-text {
    grid-area: 1 / 1 / 2 / 2;
    font-family: 'Amatic SC';
    font-size: 6vw;
    color: white;
    text-align: right;
    margin: 0;
    line-height: 1;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .comunication-text {
        font-size: 2rem;
        line-height: 1;
    }
}

.comunication-text2 {
    font-size: 1.5rem;
    line-height: 1;
}

.comunication-arrow {
    grid-area: 1 / 2 / 2 / 3;
    width: 100%;
    height: auto;
}
.nazwa-uzytkownika {
    font-size: 4.5vw;
    line-height: 1;
    margin: 0;
    text-align: center;
    font-weight: 600;
}

.podpis-opinii {
    margin: 0;
    font-size: 4.5vw;
}


.obligatory {
    width: 50%;
    text-align: center;
    font-size: 2vw;
    margin-top: 0 !important;
        white-space: nowrap;
  
}

.zobaczjak-overlay {
    background-color: yellow;
    padding: 6px;
    padding-left: 5%;
    padding-right: 5%;
    border-radius: 20px;
    font-family: 'Amatic SC';
    font-size: 4vw;
    margin-right: -40%;
    margin-top: -10%;
    text-shadow: 0px 1px, 1px 0px, 1px 1px;
    letter-spacing: 0.12rem;
    font-weight: 600;
}

.winner1 {
    font-family: 'Amatic SC';
    font-size: 32px;
    letter-spacing: 0.12rem;
  font-weight: bold;
    margin: 0;
    text-shadow: 1px 1px 1px rgba(0, 0, 1);
}

.winner2 {
    font-family: 'Amatic SC';
    font-size: 28px;
    letter-spacing: 0.12rem;
  font-weight: bold;
    margin: 0;
    text-shadow: 1px 1px 1px rgba(0, 0, 1);
}

.zobacz-rowniez {
    font-family: 'Amatic SC';
    font-size: 50px !important;
    font-weight: 700 !important;
}

