body {
  background-color: #373a3f;
  padding: 0;
  margin: 0;
  color: #eeeeee;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.3rem;
}

.logo a {
  color: inherit;
  text-decoration: none;
}

a.link-back {
  text-decoration: none;
}

content img {
  width: 100%;
  object-fit: cover;
}

@media (hover: hover) and (pointer: fine) {
  content .element {
    transition: transform .4s;
  }

  content .element:hover {
    transform: scale(1.02);
  }  
}

content .element a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 960px){
  h1 {
    font-size: 2rem;
  }
}

@media (max-width: 540px){
  h1 {
    font-size: 1.5rem;
  }
}

footer .footerText a, footer .footerText a:hover {
  text-decoration: underline;
  color: #6c757d;
}

/** Lightbox **/
.sl-overlay {
  background: #333333;
  opacity: 1;
}

.sl-wrapper .sl-close,
.sl-wrapper .sl-navigation button,
.sl-wrapper .sl-counter { 
  color: #eee; opacity: 1; 
}
.podpis {
  font-size: 1.1rem;
  color: #555;
  text-align: center;
  margin-top: 0.5rem;
}
/* Upewnij się, że link otaczający miniaturę jest pozycjonowany relatywnie */
.element a {
  position: relative; /* Dzięki temu możemy absolutnie pozycjonować elementy wewnątrz */
  display: block;     /* Umożliwia pozycjonowanie z pełną szerokością */
}

.element a img {
  display: block;
  width: 100%;
  height: auto;
	margin-bottom: -25px;
}

.element a .podpis {
  position: absolute;
  bottom: 0;        /* Przyklejony do dolnej krawędzi kontenera */
  left: 0;
  width: 100%;
  background: rgba(6, 13, 18, 0.8); /* Szare tło z przezroczystością */
  color: #fff;
  text-align: center;
  padding: 5px 1px;   /* Możesz dostosować tę wartość w zależności od potrzeb */
  margin: 0;
  box-sizing: border-box;
  z-index: 10;      /* Aby napis był widoczny nad obrazem */
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
	border-top: solid 1px #ffc800b0;
	height: 70px;
    align-content: space-around;
	
	
}
/* Styl dla "datecatalog" – data, pozycjonowany nieco wyżej */
.element a .datecatalog {
  position: absolute;
  top: 0px; /* 30px od dołu – dostosuj w zależności od wysokości napisu "podpis" */
  left: 0;
  background:   rgb(255 255 255 / 78%);
    color: #393939;
    text-align: left;
    padding: 5px 10px 5px 10px;
    margin: 2px;
    box-sizing: border-box;
    font-size: 17px;
    border-top-left-radius: 15px;
    width: 60%;
    font-weight: bold;
    border-bottom-right-radius: 35px;
}
