.buildingPlot {
  position: relative;
}

@media screen and (min-width: 768px) {
  .buildingPlot {
    margin: 0 -40px;
  }
}

.buildingPlot__note {
  border: 1px solid #afadad;
  letter-spacing: .08em;
  line-height: 1.5;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

@media screen and (min-width: 768px) {
  .buildingPlot__note {
    font-size: 14px;
    margin-left: auto;
    padding: 20px;
  }
}

@media screen and (max-width: 768px) {
  .buildingPlot__note {
    font-size: 11px;
    margin: 0 auto;
    padding: 10px;
  }
}

.buildingPlot__figure {
  position: relative;
}

@media screen and (min-width: 768px) {
  .buildingPlot__figure {
    margin-top: 28px;
  }
}

@media screen and (max-width: 768px) {
  .buildingPlot__figure {
    margin: 28px -40px 0;
  }
}

.buildingPlot__list {
  height: 100%;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
}

.buildingPlot__item {
  aspect-ratio: 1 / 1;
  pointer-events: auto;
  position: absolute;
}

@media screen and (min-width: 768px) {
  .buildingPlot__item {
    width: 54px;
  }
}

@media screen and (max-width: 768px) {
  .buildingPlot__item {
    width: calc(54 / 1200 * 100%);
  }
}

.buildingPlot__item:nth-child(1):after, .buildingPlot__item:nth-child(2):after, .buildingPlot__item:nth-child(3):after {
  aspect-ratio: 1 / 1;
  background-color: #ebe5db;
  -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
          clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  content: '';
  position: absolute;
}

@media screen and (min-width: 768px) {
  .buildingPlot__item:nth-child(1):after, .buildingPlot__item:nth-child(2):after, .buildingPlot__item:nth-child(3):after {
    width: 29px;
  }
}

@media screen and (max-width: 768px) {
  .buildingPlot__item:nth-child(1):after, .buildingPlot__item:nth-child(2):after, .buildingPlot__item:nth-child(3):after {
    width: calc(29 / 54 * 100%);
  }
}

@media screen and (min-width: 768px) {
  .buildingPlot__item:nth-child(1) {
    left: .92%;
    top: 91.14%;
  }
}

@media screen and (max-width: 768px) {
  .buildingPlot__item:nth-child(1) {
    left: 2.82%;
    top: 93.14%;
  }
}

@media screen and (min-width: 768px) {
  .buildingPlot__item:nth-child(1):after {
    right: -24px;
    top: -18px;
    -webkit-transform: rotate(50.4deg);
            transform: rotate(50.4deg);
  }
}

@media screen and (max-width: 768px) {
  .buildingPlot__item:nth-child(1):after {
    right: calc(-9 / 54 * 100%);
    top: calc(-29 / 54 * 100%);
    -webkit-transform: rotate(24deg);
            transform: rotate(24deg);
  }
}

.buildingPlot__item:nth-child(2) {
  left: 19.25%;
  top: 97.6%;
}

.buildingPlot__item:nth-child(2):after {
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

@media screen and (min-width: 768px) {
  .buildingPlot__item:nth-child(2):after {
    bottom: calc(100% + 10px);
  }
}

@media screen and (max-width: 768px) {
  .buildingPlot__item:nth-child(2):after {
    bottom: calc(100% + 8px);
  }
}

.buildingPlot__item:nth-child(3) {
  left: 93.42%;
  top: 97.6%;
}

.buildingPlot__item:nth-child(3):after {
  -webkit-transform: rotate(-38.433deg);
          transform: rotate(-38.433deg);
}

@media screen and (min-width: 768px) {
  .buildingPlot__item:nth-child(3):after {
    left: -24px;
    top: -28px;
  }
}

@media screen and (max-width: 768px) {
  .buildingPlot__item:nth-child(3):after {
    left: calc(-24 / 54 * 100%);
    top: calc(-28 / 54 * 100%);
  }
}

.buildingPlot__item:nth-child(4) {
  left: 47.25%;
  top: 74.52%;
}

.buildingPlot__item:nth-child(5) {
  left: 11.67%;
  top: 16.34%;
}

.buildingPlot__item:nth-child(6) {
  left: 64.67%;
  top: 87.72%;
}

.buildingPlot__item:nth-child(7) {
  left: 74.33%;
  top: 87.72%;
}

.buildingPlot__item:nth-child(8) {
  left: 69.5%;
  top: 87.72%;
}

.buildingPlot__btn {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #ebe5db;
  border: none;
  border-radius: 50%;
  color: #000000;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0;
  position: relative;
  -webkit-transition: background-color .3s ease, -webkit-transform .3s ease;
  transition: background-color .3s ease, -webkit-transform .3s ease;
  transition: background-color .3s ease, transform .3s ease;
  transition: background-color .3s ease, transform .3s ease, -webkit-transform .3s ease;
  width: 100%;
  z-index: 0;
}

.buildingPlot__btn:after {
  -webkit-animation: buildingPlotPulse 2.4s linear infinite;
          animation: buildingPlotPulse 2.4s linear infinite;
  background-color: #c2b5a1;
  border-radius: 50%;
  content: '';
  height: 130%;
  left: 50%;
  opacity: .45;
  pointer-events: none;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%) scale(0.6);
          transform: translate(-50%, -50%) scale(0.6);
  width: 130%;
  z-index: -1;
}

@media screen and (min-width: 768px) {
  .buildingPlot__btn:hover {
    background-color: #beb098;
    -webkit-transform: scale(1.08);
            transform: scale(1.08);
  }
}

@media (hover: hover) and (pointer: fine) {
  .buildingPlot__btn:hover {
    background-color: #beb098;
    -webkit-transform: scale(1.08);
            transform: scale(1.08);
  }
}

.buildingPlot__btn:focus-visible {
  outline: 2px solid #91765d;
  outline-offset: 2px;
}

.buildingPlot__num {
  line-height: 1;
}

@media screen and (min-width: 768px) {
  .buildingPlot__num {
    font-size: 28px;
  }
}

@media screen and (max-width: 768px) {
  .buildingPlot__num {
    font-size: 11px;
  }
}

@-webkit-keyframes buildingPlotPulse {
  0% {
    opacity: 0;
    -webkit-transform: translate(-50%, -50%) scale(0);
            transform: translate(-50%, -50%) scale(0);
  }
  25% {
    opacity: .14;
    -webkit-transform: translate(-50%, -50%) scale(0.4);
            transform: translate(-50%, -50%) scale(0.4);
  }
  50% {
    opacity: .26;
    -webkit-transform: translate(-50%, -50%) scale(0.8);
            transform: translate(-50%, -50%) scale(0.8);
  }
  75% {
    opacity: .34;
    -webkit-transform: translate(-50%, -50%) scale(1.1);
            transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    opacity: 0;
    -webkit-transform: translate(-50%, -50%) scale(1.4);
            transform: translate(-50%, -50%) scale(1.4);
  }
}

@keyframes buildingPlotPulse {
  0% {
    opacity: 0;
    -webkit-transform: translate(-50%, -50%) scale(0);
            transform: translate(-50%, -50%) scale(0);
  }
  25% {
    opacity: .14;
    -webkit-transform: translate(-50%, -50%) scale(0.4);
            transform: translate(-50%, -50%) scale(0.4);
  }
  50% {
    opacity: .26;
    -webkit-transform: translate(-50%, -50%) scale(0.8);
            transform: translate(-50%, -50%) scale(0.8);
  }
  75% {
    opacity: .34;
    -webkit-transform: translate(-50%, -50%) scale(1.1);
            transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    opacity: 0;
    -webkit-transform: translate(-50%, -50%) scale(1.4);
            transform: translate(-50%, -50%) scale(1.4);
  }
}

.movieGallery {
  display: grid;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .movieGallery {
    gap: 20px 24px;
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .movieGallery {
    gap: 20px 16px;
    grid-template-columns: repeat(2, 1fr);
  }
}

.movieGallery__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.movieGallery__card .movieModal__btn {
  -webkit-box-shadow: 0 10px 20px rgba(18, 15, 4, 0.08);
          box-shadow: 0 10px 20px rgba(18, 15, 4, 0.08);
  position: relative;
  width: 100%;
  z-index: 1;
}

.movieGallery__card .movieModal__btn:after {
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5)));
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
  content: '';
  inset: 0;
  position: absolute;
}

.movieGallery__card .movieModal__symbol {
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  background-color: transparent;
  border: 1px solid #ffffff;
}

@media screen and (min-width: 768px) {
  .movieGallery__card .movieModal__symbol {
    width: 56px;
  }
}

@media screen and (max-width: 768px) {
  .movieGallery__card .movieModal__symbol {
    width: 48px;
  }
}

@media screen and (min-width: 768px) {
  .movieGallery__card .movieModal__symbol .arrow {
    width: 10px;
  }
}

@media screen and (max-width: 768px) {
  .movieGallery__card .movieModal__symbol .arrow {
    width: 10px;
  }
}

.movieGallery__desc {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 4px;
}

@media screen and (min-width: 768px) {
  .movieGallery__desc {
    font-size: 15px;
    letter-spacing: .08em;
    margin-top: 10px;
  }
}

@media screen and (max-width: 768px) {
  .movieGallery__desc {
    font-size: 11px;
    letter-spacing: 0;
    margin-top: 8px;
  }
}

.movieGallery__num {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #ffffff;
  border-radius: 50%;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  line-height: 1;
}

@media screen and (min-width: 768px) {
  .movieGallery__num {
    font-size: 12px;
    height: 20px;
    width: 20px;
  }
}

@media screen and (max-width: 768px) {
  .movieGallery__num {
    font-size: 10px;
    height: 14px;
    margin-top: 1px;
    width: 14px;
  }
}

.movieGallery__label {
  line-height: 1.4;
}

.movieGallerySect__head {
  text-align: center;
}

@media screen and (min-width: 768px) {
  .movieGallerySect__cont {
    margin-top: 60px;
  }
}

@media screen and (max-width: 768px) {
  .movieGallerySect__cont {
    margin-top: 40px;
  }
}

@media screen and (min-width: 768px) {
  .gallery-intro {
    padding: 120px 0;
  }
}

@media screen and (max-width: 768px) {
  .gallery-intro {
    padding: 80px 0;
  }
}

@media screen and (min-width: 768px) {
  .gallery-movie {
    padding: 120px 0;
  }
}

@media screen and (max-width: 768px) {
  .gallery-movie {
    padding: 80px 0;
  }
}

@media screen and (min-width: 768px) {
  .gallery-plot {
    padding: 120px 0;
  }
}

@media screen and (max-width: 768px) {
  .gallery-plot {
    padding: 80px 0;
  }
}
