header{
  background-color: var(--biały);
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
}

header > a > img{
  width: 10vw;
  margin: 1em;
}

header > a{
  font-size: 1.5em;
  color: var(--brązowy);
  text-transform: uppercase;
}

body {
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
  font-family: "Manuale", serif;
  font-style: normal;
  color: var(--brązowy);
}

.galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}
.blokzdjęć {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  width: 100%;
}
.blokzdjęć div {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}
.blokzdjęć div:hover {
  transform: scale(1.05);
}
.blokzdjęć img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 800px;

}
.modal-content img {
  width: 100%;
  height: auto;
}

.close {
  position: absolute;
  top: 10px;
  right: 25px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  transition: 0.3s;
}
.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}


@media (max-width: 1024px) {
    
  header > a {
      font-size: 1.1em;
      justify-content: center;
      align-items: center;
  }

  header > a > img {
      width: 5em;
      justify-content: center;
  }   
}