body {
font-family: 'Roboto', sans-serif;
font-size: 20px;
animation-iteration-count: infinite;
}


.top * {
line-height: 18px;
font-weight: 500;
margin-left: 35px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  color: #fff;
  padding: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-size: 18px;
}

nav a:hover {
  text-decoration: underline;
}

.page-title {
margin-left: 35px;
margin-bottom: 0px;
}

.page-title-text {
margin-bottom: 0px;
}

.content {
background-color: rgb(255, 255, 255);
border-bottom-right-radius: 12px;
border-bottom-left-radius: 12px;
}

.content-main {
background-color: rgb(255, 255, 255);
display: flex;
align-items: center;
border-bottom-right-radius: 12px;
border-bottom-left-radius: 12px;
}

.text {
margin-left: 35px;
margin-right: 500px;
}

.text-main {
margin-left: 35px;
width: 75%;
}

.side-img {
width: 35%;
}

/* blok stopki */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px;
}

/* tekst stopki */
footer p {
  margin: 0;
  font-weight: 300;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 10px;
}

.gallery img {
  max-width: 85%;
  height: auto;
}

.test {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.gallery-item {
  cursor: pointer;
  margin: 5px;
  border: 1px solid black;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: calc(20% - 10px); /* 20% szerokości + 2 odstępy (20px) */
  height: calc(20% - 10px);
  aspect-ratio: 1 / 1;
}

.gallery-img {
  width: 250%;
  height: 250%;
}

.gallery-caption {
  text-align: center;
font-weight: 300;
}

/* ogólne */

.bolden {
font-weight: 500;
}

.kursywa {
font-family: serif;
font-style: italic;
}

a {
  color: #000;
}

@keyframes pociag {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-4px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 6px) rotate(-1deg); }
  60% { transform: translate(-7px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -4px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(7px, -2px) rotate(-1deg); }
}