* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
  font-size: 16px;   /* baza – 1rem = 16px */
}
body {
      font-family: 'Lato', sans-serif;
     }
nav {
   position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  background: #202020;
  padding: 15px 120px;
  z-index: 1000;
   border-bottom: 1px solid rgb(167, 2, 64);
}
nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: transparent;
}

nav ul li {
    margin: 0;
}

nav ul li a { 
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  padding: 8px 12px;
  transition: width 0.4s ease-in-out;
font-size: 1.4rem;
}
nav ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: rgb(167, 2, 64); /* kolor podkreślenia */
  transition: all 0.3s ease;
  transform: translateX(-50%);
  
}
nav ul li a:hover::after {
  width: 100%;
}
nav ul li a:focus {
    outline: none;
    box-shadow: 0 0 0 4px #99c2ff;
}

nav ul li a.active {
    color: #001F4D;
    background-color: #CCE0FF;
}

nav ul li a:focus-visible {
    outline: 4px solid #003366; /* wyraźny focus dla klawiatury */
    outline-offset: 3px;
}
nav ul li a:hover {
  color: #bab6b6;
}
.login {
  display: flex;
  justify-content: center;
  align-content: center;
  margin-top: 10vh;
}
.login button, .login form input{
  width: 100%;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 10px;
  background: #0f6924;
  color: #fff;
  padding: 5px;
}
.login button:hover, .login form input:hover {
  background: #14ab37;
}
.content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: auto;
}
.index_text {
  width: 85vw;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 40px 60px;
  background: #202020;
  border-radius: 16px;
  color: #fff;
  border: 2px solid rgb(167, 2, 64);
   filter: drop-shadow(6px 6px 6px #202020);
}
.index_logos{
    list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin: 0;
  padding: 10px 0;
}
.index_logos img {
  height: 80px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
.index_logos img:hover {
  transform: translateY(-4px);
}
.index_text h1{
  line-height: 1.4;
  font-size: 2.2rem;
  font-family: 'Limelight', cursive;
  font-weight: 300;
}
.index_text p{
  line-height: 1.4;
  font-size: 1.5rem;
  margin-top: 20px;
  font-family: 'Lato', sans-serif; 
  font-weight: 300;
}

    .logo_projekt {
      display: flex;
      flex-direction: row;
    }
.logo_projekt img{
  display: block;
  height: 100px;
}
.mapa_edu {
  position: relative;
  display: flex;
  margin-top: 20px;
  width: 800px;
}
.mapa_edu img{
  width: 100%;
}
.content_edu {
  display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: auto;
}
.edu_index {
  width: 70vw;
  margin-top: 2vh;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px;
  background: #20202049;
  margin-bottom: 1vh;
  border-radius: 16px;
}

.edu_trasa {
  width: 70vw;
  padding: 30px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  background: #20202049;
 }
 .edu_trasa p{
  padding: 10px 60px;
  font-size: 1.2rem;
  line-height: 1.4;
 }
.edu_item {
  cursor: pointer;
  background: #202020;
  border-radius: 12px;
  border: 6px solid #202020;
  overflow: hidden;
  transition: 0.2s ease-in-out;
}
.edu_item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  cursor: pointer;
  background: #202020;
  }

.edu_item h2 {
  font-size: 1.1rem;
  margin: 10px 0;
  padding: 0 8px;
  color: #fff;
  background: #202020;
}

.edu_item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.229);
}
.dictonary {
   background: #20202049;
   width: 70vw;
  padding: 20px 120px;
  border-radius: 16px;
  margin-bottom: 20px;
}
.dictonary h3 {
  font-size: 1.5rem;
  padding: 6px 0;
}
.dictonary p {
  font-size: 1.2rem;
  padding: 2px 0 0 40px;
}
.edu {
  height: 91vh;
  width: 100vw;
  display: flex;
  justify-content: center;
   align-items: center;
  gap: 30px;
  flex-direction: row;
  background: #20202049;
 
}
.edu a {
  width: 400px;
  height: 400px;
}
.edu a img{
   background-repeat: no-repeat; 
    background-position: center center; 
    background-size: cover;  
     filter: brightness(0.8);
}
.edu a h3{
  position: fixed;
  display: flex;
  justify-content: center;
  filter: drop-shadow(6px 6px 6px #790537);
  z-index: 100;
}
.lesson{
  height: 60vh;
  width: 50%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  border: 8px solid #fff;
  border-radius: 16px;
  color: #fff;
  font-size: 2rem;
  filter: drop-shadow(6px 6px 6px #202020);
  transition: 0.5s ease-in-out;
  cursor: pointer;
  overflow: hidden;
}
.lesson:hover {
  transform: scale(1.03);
  }

.pdf-buttons {
  display: flex;
  flex-direction: row;
}
.pdf-buttons a {
  width: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    padding: 12px 20px;
    background-color: #202020;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1rem;
}
.pdf-buttons a:hover {
    background-color: #790537;
}

.tytul_index {
   position: absolute;
   top: 60vh;
   left: 0;
   width: 100%;
   font-size: 10vh;
   color: #fff;
   padding: 20px 40px 30px 120px;
   text-shadow: 5px 5px 5px #430313;
   font-family: "Limelight", sans-serif;
   
  font-weight: 400;
  font-style: normal;
   
   animation-duration: 3s;
   animation-name: tytulindex;
   z-index: 1002;
   
  }
  @keyframes tytulindex {
    0%{
      width: 0%;
      opacity: 0;
    }
    100%{
      width: 100%;
      opacity: 1;
    }
  }
.content ul li p{
  margin: 10px;
}
.indexfoto{
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #202020;
  
}
.article {
  padding: 40px 120px;
  display: flex;
  flex-direction: row;
  font-family: 'Lato', sans-serif; 
}
.article img {
  width: 50%;
  height: auto;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.208);
  }

.article_text {
  max-width: 50%;
  padding: 40px;
  background: #202020;
color: #fff;
display: flex;
flex-direction: column;
border-radius: 10px;
margin-left: 16px;
box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.208);
border: 2px solid rgb(167, 2, 64);
}  

.article_text h2 {
  margin-bottom: 14px;
  font-size: 1.8rem;
}
.article_text p {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 300;
}
.o_projekcie {
  padding: 0 160px;
}
.o_projekcie h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}
.o_projekcie p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.indexopis{
  background: #202020;
  color: #999;
  padding: 20px 120px;

}
.panelmapy {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  
}
 /* Kontener boczny */
.sidebar {
  background: #202020;
  padding: 3vh 1.5rem;
  min-width: 220px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar .top-section {
  margin-top: 9vh;
}

/* Kontener wyszukiwarki */
.search-container {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-input {
  width: 100%;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #333;
  background: #151515;
  color: #f5f5f5;
  font-size: 1.4rem;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.search-input::placeholder {
  color: #777;
}

.search-input:focus {
  border-color: rgb(167, 2, 64);
  box-shadow: 0 0 8px rgba(167, 2, 64, 0.5);
  background: #1a1a1a;
}

.search-icon {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: #777;
  pointer-events: none;
}
.sidebar button {
  width: 100%;
  display: flex;   
  justify-content: center;        
  align-items: center;              
   
  padding: 0.65rem 0.9rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #ddd;
  background: #2b2b2b;
  color: #f5f5f5;
  border: 1px solid #333;

  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.1s ease,
    border-color 0.25s ease,
    text-shadow 0.25s ease;
}

.sidebar button:hover {
  background: #343434;
  border-color: rgb(167, 2, 64);
  color: rgb(167, 2, 64);
  text-shadow: 0 0 6px rgba(167, 2, 64, 0.9);
  box-shadow: 0 0 10px rgba(167, 2, 64, 0.3);
}
.sidebar button.active {
  background: #151515;
  border-color: rgb(101, 3, 40);
  color: rgb(167, 2, 64);
  text-shadow: 0 0 8px rgba(167, 2, 64, 1);

  transform: translateY(2px);
  box-shadow:
    inset 0 4px 10px rgba(0,0,0,0.85),
    inset 0 -2px 3px rgba(255,255,255,0.08),
    0 0 12px rgba(167, 2, 64, 0.45);
}


  #map {
    width: 100%;
    height: 93vh;
    margin-top: 9vh;
    background-color: #2020206e;
}


.flashes li{
  margin-top: 10vh;
  background: lightgreen;
  padding: 10px 30px;
  text-align: center;
}
.formularz {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
  }
.formularz form {
  width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ddd;
  border-radius: 10px;
  padding: 20px;
  margin: 10px 0;
}
.formularz label {
 width: 100%;
}
textarea {
  width: 100%;
  background: #eee;
}
.formularz input[type=submit] {
  width: 50%;
  padding: 5px;
  background: lightgreen;
  align-self: center;
}
input[type=text] {
  width: 100%;
  background: #eee;
  padding: 5px;
}

#details {
  display: none;
  position: fixed;
  justify-content: center;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #202020;
 
  color: #fff;
  z-index: 9999;
  overflow: scroll;
}
#details button{
  position: absolute;
  top: 15px;
  right: 60px;
  width: 56px;
  height: 56px;
  text-align: center;
  align-content: center;
  border-radius: 50%;
  font-size: 2rem;
  border: 3px solid rgb(167, 2, 64);
  border-radius: 50%;
  background: #202020;
  color: #fff;
  z-index: 10000;
  cursor: pointer;
}
#content {
  margin-top: 40px;
  height: 96vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 20px;
}
.parcela_tytul {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
   background: rgb(10, 10, 10);
   padding: 15px 120px;
   color: #ccc;
   font-size: 1.8rem;
   font-family: 'Limelight', cursive;
}
.zdjecia {
  padding: 10px;
  margin: 10px 100px;
  justify-content: center;
  display: flex;
  flex-direction: row;
  max-height: 86vh;
}
.zdjecia img{
  width: 62%;
  height: 100%;
  object-fit: contain; 
   
}
.zdjecia .opisy  {
   width: 38%;
  background: rgba(255, 255, 255, 0.9);
  padding: 40px 40px 20px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #222;
  border-radius: 16px;
  margin-left: 16px;
}
.zdjecia .opisy h3 {
  color: #202020;
   font-family: 'Limelight', cursive;
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.zoomable-img {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border-radius: 6px;
}
.zoomable-img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* === MODAL (pełnoekranowy podgląd zdjęcia) === */
.image-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.image-modal {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-modal img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  cursor: zoom-in; /* pierwszy stan */
  transition: transform 0.15s ease-out;
}

/* po powiększeniu */
.image-modal img.zoomed {
  max-width: none;
  max-height: none;
  cursor: grab;
}

.image-modal .close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  z-index: 2;
}


.opisy {
 flex-direction: column;
 
}

.obiekt, .parcela, .ulica{
 border: 1px solid #ccc;
 padding: 12px 40px;
 margin-bottom: 15px;
 display: flex;
 align-items: center;
 gap: 20px;
 }
.obiekt-info, .parcela-info, .ulica_info{
flex-direction: row;
}
.obiekt img {
max-width: 140px;
max-height: 160px;
object-fit: cover;
border: 1px solid #999;
}

hr {
  margin-top: 5px;
}
.footer {
  background: #202020;
  border-top: 2px solid rgb(167, 2, 64);
  padding: 30px 20px 10px;
 font-family: 'Lato', sans-serif; 
  color: #333;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  text-decoration: none;
  color: #dddcdc;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: rgb(167, 2, 64);
}

.footer-logos {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin: 0;
  padding: 10px 0;
  
}

.footer-logos img {
  height: 50px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.footer-logos img:hover {
  transform: scale(1.05);
}

.footer-bottom {
  text-align: center;
  font-size: 0.9em;
  color: #666;
  margin-top: 20px;
  border-top: 1px solid rgb(167, 2, 64);
  padding-top: 10px;
}

@media (max-width: 600px) {
  .footer-logos img {
    height: 40px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }

}

.slider{
	position: relative;
	width: 100vw;
  height: 100vh;
	background: #202020;
  z-index: 10;
  overflow: hidden;
  border-bottom: 3px solid rgb(167, 2, 64);
}
.myslide{
  width: 100vw;
	height:  auto;
	display: none;
}

.prev, .next{
	position: absolute;
	top: 50%;
	transform: translate(0, -50%);
	font-size: 50px;
	padding: 15px;
	cursor: pointer;
	color: #fff;
	transition: 0.2s;   
	user-select: none;
}
.prev:hover, .next:hover{
	color: rgb(167, 2, 64);
}
.next{
	right: 0; 
}
.dotsbox{
	position: absolute;
	left: 50%;
	transform: translate(-50%);
	bottom: 20px;
	cursor: pointer;
  
}
.dot{
	display: inline-block;
	width: 15px;
	height: 15px;
	border: 3px solid #fff;
	border-radius: 50%;
	margin: 0 10px;
	cursor: pointer;
}
.active, .dot:hover{
	border-color: rgb(167, 2, 64);
  filter: drop-shadow(2px 2px 2px black);
}
/* /javascript */

/* muslide add fade */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: 0.8}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: 0.8}
  to {opacity: 1}
}
/* /muslide add fade */

/* 3 */
.txt{
	position: absolute;
	color: #fff;
	letter-spacing: 2px;
	line-height: 1.6;
	top: 15vh;
	left: 8%;
	-webkit-animation-name: posi;
  	-webkit-animation-duration: 2s;
  	animation-name: posi;
  	animation-duration: 2s;
	z-index: 20;
 text-shadow: 5px 5px 5px #430313;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@-webkit-keyframes posi {
  from {left: 25%;}
  to {left: 8%;}
}


@keyframes posi {
  from {left: 25%;}
  to {left: 8%;}
}

.txt h1{
	color: #fff;
	font-size: 50px;
	margin-bottom: 20px;
}
.txt p{
	font-weight: 500;
	font-size: 1.3rem;
}
/* /3 */

/* 4 */
#img{
	transform: scale(1.5, 1.5);
	-webkit-animation-name: zoomin;
  	-webkit-animation-duration: 40s;
  	animation-name: zoomin;
  	animation-duration: 40s;
    filter: brightness(0.6);
}
@-webkit-keyframes zoomin {
  from {transform: scale(1, 1);}
  to {transform: scale(1.5, 1.5);}
}


@keyframes zoomin {
  from {transform: scale(1, 1);}
  to {transform: scale(1.5, 1.5);}
}
/* /4 */



/* 5 */



#edu_slider {
  position: relative;      
  padding: 10px;
  margin: 40px 100px;
  max-height: 88vh;
  overflow: hidden;
}
.edu_slide {
  display: none;   
  width: 100%;
  max-height: 88vh;
  background: #202020;
  padding: 10px;
  gap: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}
.edu_slide.active {
  display: flex;
  flex-direction: row;
}
.edu_slide img {
  width: 62%;
  height: 80vh;
  object-fit: contain;
  border-radius: 10px;
}
.edu_slide p {
  width: 38%;
  height: 80vh;
  background: #ddd;
  padding: 30px 60px;
  color: #222;
  border-radius: 16px;
 font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  line-height: 1.6;
  margin: 0;
}

/* Przyciski slidera */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 15px;
  font-size: 42px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 16px;
  z-index: 10;
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
 
}

.dots button {
 width: 18px;
	height: 18px;
	border: 3px solid #aaa;
	border-radius: 50%;
  cursor: pointer;
   background: #202020;
}
.dots button:hover {
  background:  rgb(167, 2, 64);
}
.dots button.active {
  background:  rgb(167, 2, 64);
}

.popup-content {
  background: #202020;
  color: #ddd;
}

.popup-content:hover {
  opacity: 0.9;
  transition: 0.35s;
}

/* Ramka dymka Leafleta */
.leaflet-popup-content-wrapper {
  background: #202020 !important;
  border-radius: 10px !important;
}

/* Trójkącik pod popupem */
.leaflet-popup-tip {
  background: #202020 !important;
  margin-bottom: 3px;
}

/* MARKER – jasny, z jasnym środkiem */
.leaflet-marker-icon {
  filter: grayscale(1) brightness(0.85) contrast(1.6)
          drop-shadow(0 1px 2px rgba(0,0,0,0.4));
  position: relative;
}

/* środek bardzo jasny */
.leaflet-marker-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 33%;
  width: 12px;
  height: 12px;
  background: #ffffff; /* jasny środek */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0,0,0,0.45);
  pointer-events: none;
}

/* === ANIMACJA POPUPA – poprawiona === */

/* .leaflet-popup – tylko fade, BEZ transform! */
.leaflet-popup {
  animation: popup-fade 0.18s ease-out;
}

/* Skala i „wyskakiwanie” dajemy na wrapper + tip,
   to nie rozwala pozycjonowania Leafleta */
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  transform-origin: bottom center;
  animation: popup-scale 0.18s ease-out;
}

@keyframes popup-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes popup-scale {
  from { transform: scale(0.9); }
  to   { transform: scale(1); }
}

.accessibility{
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: var(--green);
    padding: 10px;
     border-radius: 10px;
  cursor: pointer;
  }
  .accessibility i {
    font-size: 40px;
    color: #fff;
    background: #202020;
    padding: 10px;
   
  }
  .accessibility span{
     font-family: 'Lato', sans-serif; 
    font-size: 22px;
    margin-left: 15px;
    text-align: center;
    align-items: center;
  }
  .accessibility .icons{
    display: flex;
    flex-direction: column;
     
  }
a.accessibility-underline {
    font-weight: 700;             
    position: relative;
    text-decoration: none !important; 
}

a.accessibility-underline::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;              
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: currentColor;   
    border-radius: 2px;
}

a.accessibility-underline:hover::after {
    height: 3px;
}

a.accessibility-underline {
    font-weight: 700;             
    position: relative;
    text-decoration: none !important; 
}

a.accessibility-underline::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;              
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: currentColor;   
    border-radius: 2px;
}


a.accessibility-underline:hover::after {
    height: 3px;
}
/* === TRYB WYSOKIEGO KONTRASTU === */
/* === TRYB WYSOKIEGO KONTRASTU === */
body.high-contrast {
    background: #000;
    color: #fff !important;
}

/* Menu */
body.high-contrast nav {
    background: #000;
    border-bottom: 2px solid #fff;
}

/* Linki w menu */
body.high-contrast nav ul li a {
    color: #FFEB3B !important;
    opacity: 1 !important;
}

body.high-contrast nav ul li a::after {
    background: #FFEB3B !important;
}

/* Ikony dostępności */
body.high-contrast .accessibility i {
    color: #fff !important;
}

/* Panel dostępności */
body.high-contrast #accessibilityPanel {
    background: #000;
    border: 1px solid #fff;
}

/* Wszystkie linki na stronie */
body.high-contrast a {
    color: #FFFF00 !important;
    font-weight: 700;
}

/* Podkreślenie linków (tam gdzie używany ::after) */
body.high-contrast a::after {
    background: #FFFF00 !important;
}

/* Hiperlinki z klasą – linia biała (dobrze widoczna na żółtym tekście) */
body.high-contrast a.accessibility-underline::after {
    background: #fff !important;
}

/* Ogólny tekst na stronie */
body.high-contrast p,
body.high-contrast span,
body.high-contrast li,
body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast h4,
body.high-contrast h5,
body.high-contrast h6 {
    color: #FFFF00 !important;
}

/* Słowniczek – tu nadpisujemy na żółty */
body.high-contrast .dictonary h1,
body.high-contrast .dictonary h3,
body.high-contrast .dictonary p {
    color: #FFFF00 !important;
}

/* Obrazki lekko przyciemnione */
body.high-contrast img {
    filter: brightness(0.85) contrast(1.2);
}

/* Formularze, pola */
body.high-contrast input,
body.high-contrast textarea,
body.high-contrast select {
    background: #000;
    color: #FFFF00;
    border: 2px solid #fff;
}
.danger {
    background-color: #c0392b;
    color: #fff;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
}
.danger:hover {
    background-color: #e74c3c;
}
.btn_back {
  display: inline-block;
  margin-top: 10px;
  padding: 14px;
  background: #202020;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  position: absolute;
  top: 20px;
  right: 20px;
}
.btn_back:hover {
  background: #1e6305;
}
.leaflet-control-zoom.leaflet-bar a.leaflet-control-zoom-in,
.leaflet-control-zoom.leaflet-bar a.leaflet-control-zoom-out {
  background: #202020 !important;
  color: #ffffff !important;
  border: none !important;
   width: 40px !important;
  height: 40px !important;
  line-height: 40px !important;
  font-size: 28px !important;
}

.leaflet-control-zoom.leaflet-bar a.leaflet-control-zoom-in:hover,
.leaflet-control-zoom.leaflet-bar a.leaflet-control-zoom-out:hover {
  background: #333333 !important;
}

.leaflet-control-zoom.leaflet-bar {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.map-thumbs {
  display: none; 
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  padding: 8px 10px;
  background: rgba(0,0,0,0.7);
  border-radius: 10px;
  backdrop-filter: blur(4px);
  display: flex;
  gap: 8px;
  z-index: 1000;
  
}


.map-thumb img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.map-thumb span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 0.65rem;
  padding: 2px 3px;
  text-align: center;
  background: rgba(0,0,0,0.6);
  color: #f5f5f5;
}

.map-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 8px rgba(167, 2, 64, 0.7);
}
.map-thumb.active {
  border-color: rgb(167, 2, 64);
  box-shadow: 0 0 12px rgba(167, 2, 64, 0.9);
}

img {
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}


@media screen and (max-width: 1200px){
   nav {
     padding: 15px 40px;
  }
  .txt h1{
		font-size: 30px;
		margin-bottom: 20px;
	}
  .content {
    padding: 0 60px;
  }
  .o_projekcie {
    padding: 0;
  }
  .logo_projekt {
    flex-direction: row;
  }
  .logo_projekt img {
    margin: 20px 0;
   height: 80px;
  }
	.sign{
		margin-right: 20px;
	}
	.sign a{
		font-size: 12px;
	}

	.myslide{
		height: 100vh;
    overflow: hidden;
	}
  .myslide img{
    height: 100vh;
    width: auto;
  }
	.txt{
		letter-spacing: 2px;
		line-height: 25px;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		-webkit-animation-name: posi2;
		-webkit-animation-duration: 2s;
		animation-name: posi2;
		animation-duration: 2s;
	}


	.txt h1{
		font-size: 40px;
	}
	.txt p{
		font-size: 13px;
	}

}
@media screen and (max-width: 620px){
	.txt h1{
		font-size: 30px;
		margin-bottom: 20px;
	}
  .content {
    padding: 0 40px;
  }
  .o_projekcie {
    padding: 0;
  }
  .logo_projekt {
    flex-direction: column;
  }
  .logo_projekt img {
    margin: 20px 0;
   width: 70vw;
   height: auto;
  }
	.sign{
		margin-right: 20px;
	}
	.sign a{
		font-size: 12px;
	}
 
}
