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%;
}
.Articles{
height:100%;
background-color:#048546a9;
Display:flex;
flex-direction:column;
flex-wrap: wrap;
}
.Articles-header{
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  text-align:center;
}
.Article{
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto auto auto;
  gap: 1rem;

  padding: 1rem;
  margin: 0.5rem;

  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);
}
.article-header{
  grid-column-start: 2;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 1;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0b7a4a;
  padding-bottom: 0.4rem;
  border-bottom: 0.1rem solid #cfe5d9;
}

.article-img>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-img{
  grid-row: 1 / 4;
  max-height: 180px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 0.1rem solid #cfe5d9;
}
.article-description{
  grid-column-start: 2;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 2;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-button{
  grid-column-start: 2;
  grid-column-end: 2;
  grid-row-start: 3;
  grid-row-end: 3;
  align-self: start;

  padding: 0.5rem 0.9rem;
  background-color: #0b7a4a;
  color: white;
  font-weight: 600;

  border-radius: 0.5rem;
  text-align: center;
  cursor: pointer;

  width: fit-content;
  text-decoration:none;
    
}

.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;
  }
}