.gallery-section {
  width: 100%;
  padding-top: 35px;
}
.gallery-section h1 {
  text-align: center;
  text-transform: uppercase;
  color: #333;
}
.border {
  width: 180px;
  height: 4px;
  background: #333;
  margin: 60px auto;
}

.gallery-section .gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.gallery-section .zdjontka {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.gallery-section .image {
  flex: 25%;
  overflow: hidden;
  cursor: pointer;
  width: 100%;
  margin: 0;
  background-color: black;
}
.image2-pr {
  overflow: hidden;
  cursor: pointer;
  margin: 20px;
  background-color: black;
  flex-direction: column;
}
.gallery-section .image img {
  width: 100%;
  height: 100%;
  transition: 0.4s;
  opacity: 0.8;
  transition-duration: 1.3s;
}
.image2-pr img {
  width: 100%;
  padding: 0 0;
  height: 100%;
  transition: 0.4s;
  transition-duration: 1.3s;
  opacity: 0.8;
}
.nasi-prac {
  overflow: hidden;
  flex-direction: column;
  margin-left: inherit;
  margin-right: inherit;
  text-align: match-parent;
}

.gallery-section .image:hover img {
  transform: scale(1.2);
  z-index: 0;
  opacity: 1;
}
.image2-pr:hover img {
  transform: scale(1.2);
  z-index: 0;
  opacity: 1;
}
.cos {
  flex: 25%;
  display: inline-flex;
  overflow: hidden;
  margin: 20px;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
}
@media screen and (max-width: 960px) {
  .gallery-section .image {
    flex: 33.33%;
  }
  .gallery-section .cos {
    flex: 33.33%;
  }
}

@media screen and (max-width: 768px) {
  .gallery-section .image {
    flex: 50%;
  }
  .gallery-section .cos {
    flex: 50%;
  }
}

@media screen and (max-width: 480px) {
  .gallery-section .image {
    flex: 100%;
  }
  .gallery-section .cos {
    flex: 100%;
  }
}

.icon-doc {
  font-size: 180%;
  color: #1d5a81;
  margin-left: inherit;
  margin-right: inherit;
  text-align: match-parent;
  margin-bottom: 10px;
}
.icon-doc2 {
  color: #fff;
}
.icon-doc-next {
  margin-left: 30px;
  margin-bottom: 10px;
}

.icon-doc-leg {
  font-size: 150%;
  color: #1d5a81;
  margin-top: inherit;
  margin-left: inherit;
  margin-right: inherit;
  text-align: match-parent;
}
