.team {
  width: 840px;
  height: 500px;
  margin: 0 auto 24px;
  position: relative;
}

.team-book {
  position: relative;
  transition: transform 1s;
  z-index: 1;
}

.team__arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0);
  border: none;
  padding: 0;
  z-index: 1;
  cursor: pointer;
}

.team__arrow-left {
  right: calc(100% + 60px);
}

.team__arrow-right {
  left: calc(100% + 60px);
  transform: rotate(180deg);
}

.team-pagin {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.team-pagin-item {
  margin: 0 7px;
  transition: margin .4s ease;
}

.team-pagin__btn {
  background: no-repeat;
  border: none;
  padding: 56px 0 0 0;
  -webkit-appearance: none;
  border-radius: 0;
  position: relative;
  cursor: pointer;
  min-width: 16px;
  min-height: 16px;
}

.team-pagin__btn:before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  top: 16px;
  left: 0;
  right: 0;
  margin: auto;
  box-shadow: 0 0 0 0 var(--black), 0px 0 0 1px rgb(33 45 58 / .5);
  transition: box-shadow .4s ease;
}

.team-pagin__btn:focus {
  outline: none;
}

.team-pagin__text {
  color: var(--black);
  font-size: 13px;
  line-height: 1.23;
  opacity: 0;
  position: absolute;
  transform: translateX(-50%);
  transition: opacity .4s ease;
  white-space: nowrap;
}

.team-pagin-item--active {
  margin: 0 34px;
}

.team-pagin-item--active .team-pagin__btn:before {
  box-shadow: 0px 0 0 15px var(--black), 0px 0 0 16px white;
  background: var(--blue);
}

.team-pagin-item--active .team-pagin__text {
  opacity: 1;
}

.team .img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.team-content-item {
  position: absolute;
  text-align: center;
  min-width: 150px;
  color: var(--black);
  cursor: pointer;
}

.team-content-item:hover .team-content-item__ava {
  filter: saturate(1);
}

.team-content-item__ava {
  width: 121px;
  height: 120px;
  display: block;
  margin: 0 auto;
  filter: saturate(0);
  transition: filter .4s ease;
}

.team-content--left .team-content-item:nth-child(1) .team-content-item__ava,
.team-content--right .team-content-item:nth-child(3) .team-content-item__ava {
  clip-path: url(#ava1);
}

.team-content--left .team-content-item:nth-child(2) .team-content-item__ava,
.team-content--right .team-content-item:nth-child(4) .team-content-item__ava {
  clip-path: url(#ava2);
}

.team-content--left .team-content-item:nth-child(3) .team-content-item__ava,
.team-content--right .team-content-item:nth-child(1) .team-content-item__ava {
  clip-path: url(#ava3);
}

.team-content--left .team-content-item:nth-child(4) .team-content-item__ava,
.team-content--right .team-content-item:nth-child(2) .team-content-item__ava {
  clip-path: url(#ava4);
}

.team-content-item__name {
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
  margin-top: 12px;
}

.team-content-item__position {
  font-size: 13px;
  line-height: 1.23;
  max-width: 150px;
  margin: 4px auto 0;
}

.team-content--left .team-content-item:nth-child(1) {
  top: 50px;
  left: 61px;
}

.team-content--left .team-content-item:nth-child(2) {
  top: 50px;
  left: 229px;
}

.team-content--left .team-content-item:nth-child(3) {
  top: 270px;
  left: 61px;
}

.team-content--left .team-content-item:nth-child(4) {
  top: 270px;
  left: 229px;
}

.sj-book .p4 .team-content--left .team-content-item:nth-child(1) {
  top: 40px;
  left: 42px;
}

.sj-book .p4 .team-content--left .team-content-item:nth-child(2) {
  top: 40px;
  left: 208px;
}

.sj-book .p4 .team-content--left .team-content-item:nth-child(3) {
  top: 260px;
  left: 42px;
}

.sj-book .p4 .team-content--left .team-content-item:nth-child(4) {
  top: 260px;
  left: 208px;
}

.team-content--right .team-content-item:nth-child(1) {
  top: 40px;
  left: 42px;
}

.team-content--right .team-content-item:nth-child(2) {
  top: 40px;
  left: 210px;
}

.team-content--right .team-content-item:nth-child(3) {
  top: 260px;
  left: 42px;
}

.team-content--right .team-content-item:nth-child(4) {
  top: 260px;
  left: 210px;
}

.team-content-item:hover {
  border-color: rgb(70, 173, 212);
  cursor: pointer;
}

.animated {
  transition: margin-left .2s ease-in-out;
}

.sj-book {
  width: 840px;
  height: 500px;
}

.book-content {
  padding: 40px;
  position: relative;
  z-index: 1;
}

.book-epilogue {
  height: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  background: white;
}

.structure {
  color: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.structure__title {
  font-size: 20px;
  letter-spacing: 0.83px;
  line-height: 30px;
  font-weight: 500;
  text-transform: uppercase;
}

.structure__list {
  margin-top: 32px;
  width: 100%;
}

.structure__item {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  line-height: 20px;
  font-weight: 500;
  display: flex;
  margin-bottom: 16px;
  cursor: pointer;
}

.structure__item::before {
  content: '';
  order: 1;
  flex: 1;
  border-bottom: 2px dotted var(--black);
  margin: 0 6px 6.6px;
}

.structure__item:after {
  content: attr(data-page);
  margin-left: auto;
  order: 2;
}

.structure__item:last-child {
  margin-bottom: 0;
}

.book-shadow {
  width: 32px;
  height: 100%;
  position: absolute;
  top: 0;
}

.book-shadow--right {
  right: -16px;
  background-image: linear-gradient(90deg, #45596C, var(--black));
  filter: blur(12px);
  opacity: .24;
}

.book-shadow--left {
  left: -20px;
  background: var(--black40);
  filter: blur(6px);
}

.cover-shadow {
  position: absolute;
  top: 10px;
  bottom: 10px;
  box-shadow: 0 6px 10px 0 rgb(33 45 58 / 50%);
  pointer-events: none;
}

.cover-shadow--left {
  right: 0;
  left: 26px;
  border-radius: 24px 0 0 24px;
}

.cover-shadow--right {
  right: 26px;
  left: 0;
  border-radius: 0 24px 24px 0;
}

.book-photo .img {
  display: block;
  max-width: 240px;
  max-height: 240px;
  margin: 0 auto;
  overflow: hidden;
}

.book-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 40px;
  background: white;
}

.book-cover__logo {
  background: url(../images/logo-text_color.svg) no-repeat center;
  width: 53px;
  height: 15px;
  margin-bottom: 14px;
}

.book-cover__cont {
  text-align: center;
  padding: 24px 0;
  border: 1px solid rgba(33 45 58 / .16);
  border-right: 0;
  border-left: 0;
}

.book-photo-desc {
  margin: 16px 0 0 0;
  color: var(--black);
}

.book-photo-desc__title {
  font-size: 18px;
  line-height: 1.11;
  letter-spacing: -.02em;
  font-weight: 500;
  text-align: center;
}

.book-photo-desc__text {
  font-size: 15px;
  line-height: 1.07;
  text-align: center;
  margin-top: 4px;
}

.book-content p {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -.02em;
  margin-bottom: 1.5em;
  color: var(--black);
}

.book-content p:last-of-type {
  margin-bottom: 0;
}

.sj-book .page {
  box-shadow: 0 0 20px rgba(0, 0, 0, .2);
}

.zoom-pic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .2);
  z-index: 999;
}

.zoom-pic img {
  box-shadow: 0 0 20px #999;
}

.sj-book .p1,
.sj-book .p2,
.sj-book .p3,
.sj-book .back-side,
.sj-book .last-page {
  background-color: white;
  background-image: url(../images/book-covers.jpg) !important;
  background-size: auto 100% !important;
}

.sj-book .p1 {
  background-position: 0 0;
  cursor: pointer;
  border-radius: 2px 24px 24px 2px;
}

.sj-book .last-page {
  cursor: pointer;
}

.sj-book .p1 .side {
  width: 5px;
  height: 600px;
  position: absolute;
  top: 0;
  left: 475px;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #bbb), color-stop(0.5, #ddd), color-stop(1, #bbb));
  background-image: linear-gradient(left, #bbb, #ddd, #bbb);
  transform: rotateY(-90deg);
  transform-origin: top right;
  z-index: 100000;

}

.sj-book-transform div[page="1"]>div,
.sj-book-transform div[page="2"]>div {
  overflow: visible !important;
}

.sj-book .depth {
  background-image: url(../images/pages-depth.png);
  background-size: 200% 100%;
  position: absolute;
  top: 10px;
  width: 35px;
  height: 480px;
}

.sj-book .front-side .depth {
  left: 10px;
  background-position: 0 0;
}

.sj-book .back-side .depth {
  right: 9px;
  background-position: right 0;
}

.sj-book .p2 {
  background: url(../images/cover-left@2x.jpg) no-repeat center !important;
  background-size: 100% !important;
  background-position: -420px;
}

.sj-book .p3 {
  background-position: -1680px -10px !important;
  background-size: auto calc(100% + 20px) !important;
}

.sj-book .back-side {
  background: url(../images/cover-right@2x.jpg) no-repeat center !important;
  background-size: 100% !important;
  background-position: -840px;
}

.sj-book .last-page {
  background-position: -1260px 0 !important;
}

.sj-book .hard {
  width: 420px;
  height: 500px;
  background-color: white;
  box-shadow: none;
}

.sj-book .page-wrapper {
  perspective: 2000px;
}

.sj-book .page-wrapper.page-wrapper--current {
  z-index: 1 !important;
}

.sj-book .own-size {
  width: 400px;
  height: 480px;
  overflow: hidden;
}

.sj-book .even {
  border-radius: 24px 0 0 24px;
}

.sj-book .own-size:not(.p3):before {
  content: '';
  display: block;
  position: absolute;
  width: 320px;
  height: 320px;
  top: 0;
  bottom: 0;
  margin: auto;
  background: url(../../images/logo-gray.svg) no-repeat center;
  background-size: 100%;
  pointer-events: none;
}

.sj-book .even.own-size:before {
  right: -160px;
}

.sj-book .odd.own-size:before {
  left: -160px;
}

.sj-book .odd {
  border-radius: 0 24px 24px 0;
}

.sj-book .loader {
  background-image: url(../images/loader.gif);
  width: 22px;
  height: 22px;
  position: absolute;
  top: 280px;
  left: 219px;
}

.ie8 .sj-book .even,
.ie9 .sj-book .even {
  background-image: url(../images/gradient-page-left.jpg);
  background-position: right top;
  background-repeat: repeat-y;
}

.ie8 .sj-book .odd,
.ie9 .sj-book .odd {
  background-image: url(../images/gradient-page-right.jpg);
  background-position: left top;
  background-repeat: repeat-y;
}

@media screen and (max-width: 1150px) {
  .team__arrow-left {
    right: calc(100% + 16px);
  }

  .team__arrow-right {
    left: calc(100% + 16px);
  }
}

@media screen and (max-width: 1000px) {
  .team-wrap {
    display: none;
  }
}