.gallery-wrap {
  position: relative;
  margin: 20px auto;
  width: 930px;
  height: 6500px;
}

.image-number {
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 5px;
  border-radius: 0px 8px 0px 8px;
  z-index: 10;
}

.gallery-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  position: absolute;
  z-index: 5;
}

.gallery-wrap a {
  width: 100%;
  height: 100%;
  z-index: 5;
}

#header {
  background: #000;
}

.top-wrapper {
  padding-top: 122px;
}

.back-link {
  margin: 30px 0px 20px 0;
}

@media screen and (max-width: 992px) {
  .image-number {
    font-size: 30px;
  }

  .top-wrapper {
    padding-top: 72px;
  }

  .back-link {
    margin: 10px 0px 20px 0;
  }

  .gallery-wrap {
    height: 1800px
  }
}

.fancybox-caption__body {
  width: fit-content;
  margin: 0 auto;
  padding: 12px 58px;
}

.fancybox-caption__body a {
  border-radius: 40px;
  color: #fff;
  transition: all 0.3s ease;
  padding: 12px 30px;
  text-transform: none;
  background: #5079F6;
  border: 0;
}

.fancybox-caption__body a:hover {
  text-decoration: none
}

.fancybox-image {
  border-radius: 20px;
}


.gallery-wrap .col:nth-of-type(1) {
  width: 450px;
  height: 550px;
  left: 480px;
  top: 0px;
  position: absolute;
  border-radius: 20px
}

.gallery-wrap .col:nth-of-type(2) {
  width: 210px;
  height: 258px;
  left: 0px;
  top: 37px;
  position: absolute;
  border-radius: 20px
}

.gallery-wrap .col:nth-of-type(3) {
  width: 210px;
  height: 260px;
  left: 240px;
  top: 102px;
  position: absolute;
  border-radius: 20px
}

.gallery-wrap .col:nth-of-type(4) {
  width: 157px;
  height: 198px;
  left: 53px;
  top: 341px;
  position: absolute;
  border-radius: 20px
}

.gallery-wrap .col:nth-of-type(5) {
  width: 172px;
  height: 213px;
  left: 278px;
  top: 402px;
  position: absolute;
  border-radius: 20px
}

.gallery-wrap .col:nth-of-type(6) {
  width: 210px;
  height: 260px;
  left: 0px;
  top: 604px;
  position: absolute;
  border-radius: 20px
}

.gallery-wrap .col:nth-of-type(7) {
  width: 450px;
  height: 600px;
  left: 240px;
  top: 655px;
  position: absolute;
  border-radius: 20px
}

.gallery-wrap .col:nth-of-type(8) {
  width: 210px;
  height: 270px;
  left: 720px;
  top: 742px;
  position: absolute;
  border-radius: 20px
}

.gallery-wrap .col:nth-of-type(9) {
  width: 164px;
  height: 203px;
  left: 46px;
  top: 910px;
  position: absolute;
  border-radius: 20px
}

.gallery-wrap .col:nth-of-type(10) {
  width: 171px;
  height: 228px;
  left: 720px;
  top: 1061px;
  position: absolute;
  border-radius: 20px
}

.gallery-wrap .col:nth-of-type(11) {
  width: 360px;
  height: 460px;
  left: 480px;
  top: 1340px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(12) {
  width: 210px;
  height: 258px;
  left: 0px;
  top: 1237px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(13) {
  width: 210px;
  height: 260px;
  left: 240px;
  top: 1302px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(14) {
  width: 157px;
  height: 198px;
  left: 53px;
  top: 1541px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(15) {
  width: 172px;
  height: 213px;
  left: 278px;
  top: 1602px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(16) {
  width: 210px;
  height: 260px;
  left: 0px;
  top: 1804px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(17) {
  width: 450px;
  height: 550px;
  left: 240px;
  top: 1855px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(18) {
  width: 210px;
  height: 270px;
  left: 720px;
  top: 1942px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(19) {
  width: 164px;
  height: 203px;
  left: 46px;
  top: 2110px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(20) {
  width: 171px;
  height: 228px;
  left: 720px;
  top: 2261px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(21) {
  width: 270px;
  height: 374px;
  left: 178px;
  top: 2445px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(22) {
  width: 210px;
  height: 260px;
  left: 480px;
  top: 2445px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(23) {
  width: 210px;
  height: 260px;
  left: 720px;
  top: 2560px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(24) {
  width: 210px;
  height: 260px;
  left: 480px;
  top: 2738px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(25) {
  width: 140px;
  height: 180px;
  left: 248px;
  top: 2847px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(26) {
  width: 156px;
  height: 142px;
  left: 720px;
  top: 2876px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(27) {
  width: 470px;
  height: 640px;
  left: 480px;
  top: 3055px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(28) {
  width: 220px;
  height: 258px;
  left: 0px;
  top: 2848px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(29) {
  width: 170px;
  height: 210px;
  left: 240px;
  top: 3057px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(30) {
  width: 157px;
  height: 198px;
  left: 53px;
  top: 3541px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(31) {
  width: 210px;
  height: 258px;
  left: 0px;
  top: 3237px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(32) {
  width: 210px;
  height: 260px;
  left: 240px;
  top: 3297px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(33) {
  width: 157px;
  height: 198px;
  left: 53px;
  top: 3541px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(34) {
  width: 172px;
  height: 213px;
  left: 278px;
  top: 3602px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(35) {
  width: 210px;
  height: 260px;
  left: 0px;
  top: 3844px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(36) {
  width: 450px;
  height: 550px;
  left: 240px;
  top: 3855px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(37) {
  width: 210px;
  height: 270px;
  left: 720px;
  top: 3942px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(38) {
  width: 164px;
  height: 203px;
  left: 46px;
  top: 4200px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(39) {
  width: 171px;
  height: 228px;
  left: 720px;
  top: 4261px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(40) {
  width: 270px;
  height: 374px;
  left: 178px;
  top: 4445px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(41) {
  width: 210px;
  height: 260px;
  left: 480px;
  top: 4445px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(42) {
  width: 210px;
  height: 260px;
  left: 720px;
  top: 4560px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(43) {
  width: 210px;
  height: 260px;
  left: 480px;
  top: 4758px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(44) {
  width: 450px;
  height: 550px;
  left: 0px;
  top: 4857px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(45) {
  width: 156px;
  height: 142px;
  left: 720px;
  top: 4876px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(46) {
  width: 164px;
  height: 203px;
  left: 480px;
  top: 5048px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(47) {
  width: 450px;
  height: 550px;
  left: 480px;
  top: 5285px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(48) {
  width: 210px;
  height: 260px;
  left: 240px;
  top: 5469px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(49) {
  width: 349px;
  height: 432px;
  left: 101px;
  top: 5776px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(50) {
  width: 197px;
  height: 244px;
  left: 480px;
  top: 5875px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(51) {
  width: 167px;
  height: 194px;
  left: 480px;
  top: 6151px;
  position: absolute;
  border-radius: 20px;
}

.gallery-wrap .col:nth-of-type(52) {
  width: 226px;
  height: 283px;
  left: 704px;
  top: 5873px;
  position: absolute;
  border-radius: 20px;
}