body{
background-color:#048546a9;
height:100%;
font-family:  "Merriweather", serif;
margin:0;
}

.wrapper{
display:flex;
flex-direction: column;
justify-content:center;
height:100%;
width:100%;
margin:0;
}
header{
font-size:1rem;
text-align:center;
padding: 0.1rem;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 1rem;
gap: 0.1rem; 

}
.site-header{
  background-image: url("../Images/tloheader.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 2rem 1rem;
  color: white;
  position: relative;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.header-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.logo{
width:15rem;
height:auto;
}
.name{
font-size:2rem;
}
.logo>img {
max-width: 100%;
height: auto;
margin:0;
}

header h1,
header p {
  margin: 0;
}
header p{
  font-weight:600;

}

.menu {
  background-color: #0b7a4a;
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.menu-btn {
  background-color: rgba(255,255,255,0.15);
  color: white;
  text-decoration: none;

  padding: 0.9rem 1.2rem;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  white-space: nowrap;
}

.Content{
display: grid;
grid-template-columns: 70% 30%;
}

.Article{

}
.Article-header{
  font-size: 5rem;
  font-weight: 700;
  color: #ffffff;
  margin:1rem;
  padding-bottom: 0.4rem;
  border-bottom: 0.1rem solid #cfe5d9;
}
.Article-content{
color: #ffffff;
margin:1rem;
font-size:1.2rem;
padding-bottom: 0.4rem;
border-bottom: 0.1rem solid #cfe5d9; 
}


.Article-photo-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.8rem;
  margin: 1rem;
}
.Article-photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;

  border: 0.15rem solid #cfe5d9;
  border-radius: 0.6rem;
  box-shadow: 0 0.3rem 0.8rem rgba(0,0,0,0.25);

  background-color: #000;
}
.Article-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.Article-photo:hover  {
  transform: scale(1.5);
} 



.About{
height:100%;
background-color:#048546a9;
display:flex;
flex-direction:column; 
}

.text{
  font-size:1.3rem;
  padding: 0.2rem;
  margin: 0.3rem;
  background-color: rgba(255, 255, 255, 0.92);
  border: 0.15rem solid #0b7a4a;
  border-radius: 0.8rem;
  box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.15);

}

.text a {
    display: inline-block;
    margin: 8px 10px;
}

.text a img {
    max-width: 6rem;     /* maksymalny rozmiar ikon */
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.text a img:hover {
    transform: scale(1.1);
    opacity: 0.85;
}
.map{
  font-size:1.3rem;
  padding: 0.2rem;
  margin: 0.3rem;
  background-color: rgba(255, 255, 255, 0.92);
  border: 0.15rem solid #0b7a4a;
  border-radius: 0.8rem;
  box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.15);
}
.map>img {
max-width: 100%;
height: auto;
margin:0;
}

@media (max-width: 900px){
  .Content{
    grid-template-columns: 1fr;
  }

  .Articles{
    order: 1;
  }

  .About{
    order: 2;
  }
}

@media (max-width: 900px){
  .About{
    margin-top: 1rem;
  }

  .About .text{
    font-size: 1rem;
  }
}


.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 0.25s ease;
  z-index: 10000;
}

.lightbox:target {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox img {
  max-width: 95vw;
  max-height: 95vh;
  border-radius: 0.6rem;
  box-shadow: 0 1rem 3rem rgba(0,0,0,0.6);
}

.lightbox-close {
  position: absolute;
  inset: 0;
}