.main-preview {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  height: 250px;
  background-image: url(../../img/N/pages/competitionsList/preview.jpg);
  width: 100%;
}

.main-preview .main-preview__title {
  font-family: "Inter";
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
  color: white;
  width: 85%;
  max-width: 1240px;
  margin: 0 auto 56px;
}

.main-preview .main-preview__title::before {
  content: url(../../img/N/common/main-arrow-btn-white.svg);
  display: inline-block;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
  margin-right: 20px;
}

.project-info {
  max-width: 1240px;
  width: 85%;
  margin: 60px auto 120px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.project-info__project {
  max-width: 794px;
  width: calc(70% - 99px);
  margin-right: 99px;
}

.project-info__project .project__title {
  font-family: "Inter";
  font-weight: 600;
  font-size: 36px;
  line-height: 120.4%;
  margin-bottom: 39px;
}

.project__images {
  padding: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  list-style: none;
  position: relative;
  margin: 0 auto;
}

.project__images-list {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  -o-transition-property: transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

.project__images-list .images-list__item {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 100%;
  height: 546px;
  position: relative;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  -o-transition-property: transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
}

.next-image,
.prev-image {
  background-image: url(../../img/N/common/main-arrow-btn-white.svg);
  width: 36px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: absolute;
  top: calc(50% - 8px);
  z-index: 2;
  cursor: pointer;
}

.prev-image {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
  left: 40px;
}

.next-image {
  right: 40px;
}

.pagination-images {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.pagination-image {
  width: calc(100% / 6 - 16px * 5 / 6);
  height: 119px;
  margin-top: 16px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.pagination-image:not(:nth-child(6n)) {
  margin-right: 16px;
}

.project-info__about-project {
  width: 30%;
  max-width: 347px;
  border: 1px solid #CDDDE3;
  margin-top: 82px;
  font-weight: 600;
  font-size: 10px;
  line-height: 24px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-width: 270px;
}

.project-info__about-project .about-project__autor-name {
  padding: 19px 30px 7px;
  border-bottom: 1px solid #CDDDE3;
}

.project-info__about-project .about-project__project-images,
.project-info__about-project .about-project__project-views {
  margin: 26px 30px 21px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.project-info__about-project .about-project__project-views {
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 42.25px;
  border-bottom: 1px solid #CDDDE3;
}

.project-info__about-project .label-info {
  opacity: 0.7;
}

.project-info__about-project .count-info {
  font-weight: normal;
  font-size: 12px;
}

.project-info__about-project .about-project__votes {
  padding: 20px 30px;
}

.project-info__about-project .about-project__votes a {
  color: #697B87;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.project-info__about-project .about-project__votes a::before {
  content: '';
  display: inline-block;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  border-radius: 50%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #697B87;
  margin-right: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.project-info__about-project .about-project__votes a svg {
  position: absolute;
  left: 0;
  top: 12px;
}

.project-info__about-project .about-project__votes a:hover {
  color: #000;
}

.project-info__about-project .about-project__votes a:hover path {
  fill: #000;
}

.project-info__about-project .about-project__votes a:hover::before {
  border: 1px solid #000;
}

.project-info__about-project .about-project__votes .vote__fb {
  margin-bottom: 10px;
}

.project-info__about-project .about-project__votes .vote__vk svg {
  top: 16px;
}

@media screen and (max-width: 1100px) {
  .project-info {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 40px auto 80px;
  }
  .project-info__about-project {
    width: 100%;
    max-width: 100%;
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
  }
  .project-info__about-project .count-info {
    font-size: 14px;
  }
  .project-info__project {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
  }
  .main-preview__title {
    margin-bottom: 40px;
  }
  .project-info__about-project {
    margin-top: 0;
  }
  .project-info__project {
    margin-top: 41px;
  }
  .project-info__project .project__title {
    font-weight: 500;
    font-size: 28px;
    line-height: 48px;
    margin-bottom: 20px;
  }
  .project__images-list .images-list__item {
    height: 446px;
  }
  .pagination-image {
    height: 98px;
    width: calc(100% / 6 - 12px * 5 / 6);
    margin-top: 12px;
  }
  .pagination-image:not(:nth-child(6n)) {
    margin-right: 12px;
  }
}

@media screen and (max-width: 768px) {
  .project-info {
    max-width: 648px;
  }
  .main-preview .main-preview__title {
    max-width: 648px;
  }
}

@media screen and (max-width: 499px) {
  .project-info {
    margin-top: 20px;
  }
  .main-preview .main-preview__title {
    font-family: "Open Sans";
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 30px;
  }
  .project-info__project .project__title {
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
  }
  .project-info__about-project {
    font-weight: normal;
    font-size: 8px;
    line-height: 24px;
  }
  .project-info__about-project .count-info {
    font-size: 12px;
  }
  .project__images-list .images-list__item {
    height: 220px;
  }
  .project__images {
    position: relative;
    width: 100vw;
    left: calc((100vw - 100%) / -2);
  }
  .pagination-image {
    height: 36px;
    width: calc(100% / 6 - 8px * 5 / 6);
    margin-top: 8px;
  }
  .pagination-image:not(:nth-child(6n)) {
    margin-right: 8px;
  }
}

@media screen and (max-width: 320px) {
  .main-preview {
    background-image: url(../../img/N/pages/competitionsList/preview-mobile.jpg);
  }
  .main-preview .main-preview__title {
    max-width: 260px;
  }
}

