/* ------------------------------------------------*/
/* Moje poprawki */
/* ------------------------------------------------*/


/* GALERIA */

.gallery__link, .cards__item {
    cursor:inherit;
  }


  /*INNE  */

  .opis-grupy > div {
    text-align: justify !important;
    hyphens: auto;
  }

.btn-full-width {
    width: 100%;
}

.form-inline {
    display: inline;
    width: auto;
    margin-right: 5px;
}


.img-thumbnail:hover {
    transform: scale(1.2);
    transition: transform 0.2s ease-in-out;
}



.responsive-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30vh;
    /* 80% wysokości okna przeglądarki */
}

.responsive-img-wrapper img {
    max-height: 100%;
    /* Maksymalna wysokość obrazka to 100% wysokości kontenera */
    width: auto;
    /* Zachowanie proporcji obrazka */
}


.achievements__number {
    font: normal 600 6rem / 1 var(--_font-accent);
}


@media only screen and (min-width: 1200px) {
    .tools-cards__item {
        width: 33%;
    }
}

@media only screen and (min-width: 1600px) {
    .tools-cards__icon {
        height: 20rem;
    }
}

.resume-lines__item {
    padding: 1rem;
}


.dymek {
    background: #fed963;
    color: #000;
    border-radius: 10px;
    padding: 0px 6px;
}

.menu__link {
    border: solid !important;
}

.tools-cards__icon {
    height: auto;
    width: 100%; 
}


/* @media only screen and (max-width: 1200px) {
    .tools-cards__icon {
         height: auto; 
        width:100%;
    }
} */



/* Ustawienia stylów dla obrazków w zależności od trybu */
.light-mode {
    /* content: url('light-image.jpg'); */
    /* Obrazek dla trybu jasnego */
    background-image: url('/img/wch_tlo4_jasne.jpg') !important;
}

.dark-mode {
    /* content: url('dark-image.jpg'); */
    /* Obrazek dla trybu ciemnego */
    background-image: url('/img/wch_tlo2.webp') !important;
}


/* Opcjonalnie, możesz dodać przejście dla płynnej zmiany */
#imageBackground {
    transition: content 0.5s ease;
}


/* #snow-js
 {
  position: absolute;
  width: 100%;
  height: 100%;
  min-height: 320px;
  background-color: transparent;
} */


.contact-lines__data {
    padding-bottom: 10px !important;
}

@media only screen and (min-width: 1600px) {
    .contact-lines__item {
        padding-bottom: 0.5rem;
    }
}

@media only screen and (min-width: 1400px) {
    .contact-lines__item {
        padding-bottom: 0.5rem;
    }
}

.akcent {
    border-top: solid 1px var(--t-medium);
    border-bottom: solid 1px var(--t-medium);
    padding: 10px 10px 10px 80px;
    font-weight: 500;
    color: var(--t-medium-akcent);
}

.akcent::before {
    content: '\f4c4';
    /* Kod Unicode ikony wykrzyknika Font Awesome */
    font-family: 'Font Awesome 6 Free';
    /* Użycie fontu Font Awesome */
    font-weight: 900;
    /* Wymaga wagi "solid" dla ikony */
    position: absolute;
    left: 10px;
    /* Pozycjonowanie ikony po lewej */
    color: var(--t-medium-akcent);
    /* Kolor ikony */
    font-size: 2em;
}

.akcent2 {
    color: var(--t-medium-akcent) !important;
}




/* YT modal */

.video-thumbnail {
    position: relative;
    width: auto;
    height: auto;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    border-radius: 25px;


}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    border: solid 2px var(--t-medium-akcent);
}

.video-thumbnail:hover {
    transform: scale(1.05);
}



  /* VIDEO tytul */
  .video-tytul {
    font-size: 18px;
    color: var(--t-opp-bright);
    position: absolute;
    bottom: 0px;
    /* left: 10px; */
    background: var(--t-medium-akcent);
    width: 100%;
    padding: 5px 10px;
  }

.ytmodal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s ease-in-out;
    /* Płynna zmiana opacity */
} 

.ytmodal.active {
    visibility: visible;
    opacity: 1;
    /* Zmiana opacity na 1 w celu pokazania modala */
    animation: fadeIn 0.5s ease-in-out;
    /* Dodanie animacji */
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.ytmodal-content {
    width: 85%;
    height: 85%;
    background-color: #000;
    position: relative;
}

.ytmodal-content iframe {
    width: 100%;
    height: 100%;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 64px;
    color: white;
    cursor: pointer;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    width: 100px;
    height: 100px;
}

.play-button:hover {
    opacity: 0.7;
}

.play-button.hidden {
    display: none;
}


.grecaptcha-badge { 
    visibility: hidden !important;
}

/* PODZIEKOWANIA */

.wegiel-podziekowania {
    margin-top:150px;
}

@media only screen and (max-width: 768px) {
    .wegiel-podziekowania {
      margin-top: 40px;
    }
  }

  /* Lista prezentow */

  .wybrany, .wybrany h5 {
    color: #888 !important;
  }

  .niewybrany:hover {
    background: var(--t-opp-medium);
    color: #fff !important;
    cursor: pointer;
  }

 .lista-potrzebujacy a {
    color: var(--base-opp);
 }


 /* Formularz */
.form-label-link {
    color:#77d4fc; 
    text-decoration: underline;
}


/* LOGO dla mobile */

  .logo__image {
    width: 300px;
    height: 85px;
    background-image: var(--logo);
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 auto;;
  }

  .inkman {
    width: 100px;
    position:absolute;
    right: 20px;
    bottom: 0px;
  }



  /* Stylizacja ludzika */
#ludzik-container {
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: 80px; /* Początkowa szerokość, widoczna tylko głowa */
    height: 80px; /* Początkowa wysokość */
    overflow: hidden; /* Ukryj resztę obrazka */
    transition: width 0.5s, height 0.5s; /* Animacja przy najechaniu */
    cursor: pointer;
    z-index: 1000;
}

#ludzik {
    width: auto;
    height: 220px; /* Pełna wysokość obrazka */
    transform: translateY(0px); /* Ukryj ciało ludzika poza widoczną częścią */
    transition: transform 0.5s; /* Dodaj animację dla transformacji */
}

#ludzik-container:hover {
    width: 100px; /* Docelowa szerokość po wysunięciu */
    height: 220px; /* Docelowa wysokość po wysunięciu */
}

#ludzik-container:hover #ludzik {
    transform: translateY(0); /* Odsłoń całą postać */
}

/* SNIEG */
#snow-js
{
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 320px;
    background-color: transparent;
} 

canvas {
    display: block;
    pointer-events: none;
    width: 100%; 
    height: 100%;
}

#snow-overlay {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%; 
    pointer-events: none; 
    z-index: 0; 
overflow: hidden; 
}

/* MAPA */
.leaflet-popup-content h4 {
    color: #000 !important;
    font-size: 18px !important;
}

.leaflet-popup-content h4, .leaflet-popup-content p {
    color: #000 !important;
    font-size: 12px !important;
}




#map {
   height: 500px;
}
#point-list {
   z-index:10000;
} 
ul {
   list-style-type: none;
   padding: 0;
}
li a {
   text-decoration: none;
   color: blue;
   cursor: pointer;
}
li a:hover {
   text-decoration: underline;
}

.leaflet-tooltip {
background-color: rgba(255, 255, 255, 0.8);
color: black;
font-weight: bold;
border-radius: 4px;
padding: 2px 4px;
font-size: 12px;
}
.leaflet-tooltip-top:before {
border-top-color: rgba(255, 255, 255, 0.8);
}



/* ZWYKŁY INPUT bez FORM */
.przesylka-input {
    position: relative;
    display: block;
    width: 100%;
    border: none;
    outline: none;
    margin: 0;
    padding: 1.4rem 0.4rem;
    background-color: transparent;
    border-bottom: 2px solid var(--stroke-elements);
    font: normal 700 2rem / 1.4 var(--_font-default);
    color: var(--t-bright);
}


/* POPUP BOX */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    animation: popupFadeIn 0.3s ease-out;
    cursor: pointer;
}

.popup-overlay.popup-hiding {
    animation: popupFadeOut 0.3s ease-out;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes popupFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.popup-box {
    position: relative;
    background: #1a1a1a;
    border: 3px solid #fed963;
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem;
    max-width: 90%;
    max-height: 85vh;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(254, 217, 99, 0.2);
    animation: popupSlideIn 0.4s ease-out;
    cursor: default;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-close-x {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 2.5rem;
    color: #fed963;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.popup-close-x:hover {
    color: #fff;
    transform: scale(1.2);
}

.popup-content {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.popup-content iframe {
    max-width: 100%;
    border-radius: 10px;
}

.popup-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 2rem;
    background: #fed963;
    color: #1a1a1a;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-close-btn:hover {
    background: #fff176;
    transform: scale(1.02);
}

.popup-close-btn i {
    font-size: 1.4rem;
}

@media only screen and (min-width: 768px) {
    .popup-box {
        max-width: 600px;
        padding: 3rem 3rem 2rem;
    }

    .popup-content {
        font-size: 1.4rem;
    }

    .popup-close-x {
        top: 10px;
        right: 10px;
        font-size: 2rem;
    }
}

@media only screen and (min-width: 1200px) {
    .popup-box {
        max-width: 700px;
    }
}

