@charset "UTF-8";
body {
  background-color: #efebdc;
}

.general-title {
  font-weight: 700;
  font-size: 130px;
  line-height: 1.2em;
  color: #333;
  text-align: center;
  margin-top: 75px;
}

.gallery {
  margin-top: 55px;
  position: relative;
  width: 100%;
  padding: 0 15px;
}
.gallery__body {
  position: relative;
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 35px;
}
.gallery__container {
  min-height: 562.1px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
}
.gallery__item {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
.gallery__selector-list {
  position: absolute;
  bottom: 37px;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.gallery__selector {
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background-color: rgba(128, 128, 128, 0.75);
  border: 1px solid rgba(128, 128, 128, 0.75);
  -webkit-transition-duration: 0.5s;
       -o-transition-duration: 0.5s;
          transition-duration: 0.5s;
}
.gallery__selector:not(:last-child) {
  margin-right: 10px;
}
.gallery__selector.active {
  background-color: #fff;
}
.gallery__buttoms {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.gallery__buttom {
  height: 64px;
  width: 64px;
  cursor: pointer;
  border-radius: 32px;
  -webkit-transition-duration: 0.2s;
       -o-transition-duration: 0.2s;
          transition-duration: 0.2s;
  position: absolute;
  top: calc(50% - 32px);
}
.gallery__buttom:hover {
  background-color: rgba(146, 146, 146, 0.479);
}
.gallery__buttom:last-child {
  margin-right: 0;
}
.gallery__buttom::before, .gallery__buttom::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 18px;
  background-color: #fff;
  opacity: 1;
  border-radius: 2px;
}
.gallery__buttom::before {
  -webkit-transform-origin: center top;
      -ms-transform-origin: center top;
          transform-origin: center top;
  top: calc(50% - 1px);
}
.gallery__buttom::after {
  -webkit-transform-origin: center bottom;
      -ms-transform-origin: center bottom;
          transform-origin: center bottom;
  bottom: calc(50% - 1px);
}
.gallery__buttom_left {
  left: 22px;
}
.gallery__buttom_left::before, .gallery__buttom_left::after {
  left: 22px;
}
.gallery__buttom_left::before {
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.gallery__buttom_left::after {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
.gallery__buttom_right {
  right: 22px;
}
.gallery__buttom_right::before, .gallery__buttom_right::after {
  right: 22px;
}
.gallery__buttom_right::before {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
.gallery__buttom_right::after {
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.galery-item {
  padding: 0 120px;
  color: #fff;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.galery-item__background {
  background-color: #000;
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.galery-item__background img {
  opacity: 0.5;
  width: inherit;
  height: inherit;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
.galery-item__title {
  font-size: 40px;
  font-weight: bold;
}
.galery-item__tags-list {
  margin-top: 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.galery-item__tag {
  font-family: Open Sans, Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
}
.galery-item__tag:not(:last-child)::after {
  content: "|";
  margin: 0 0.5em;
}
.galery-item__description {
  margin-top: 4px;
  line-height: 1.55em;
  font-family: "Open Sans";
  font-size: 19px;
  font-weight: normal;
}
.galery-item__description p:not(:last-child) {
  margin-bottom: 0.4em;
}
.galery-item__button {
  /*
  Для Аллы 
  32px высота текста в кнопке
  15px отступы с верху и снизу
  */
  border-radius: 62px;
  padding: 15px 40px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1em;
  margin: 0 auto;
  min-width: 180px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  background-color: #ee6a5b;
  margin-top: 20px;
  color: #fff;
  position: relative;
}
.galery-item__button::before, .galery-item__button::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 40px;
  background-color: #fff;
  right: calc(100% - 60px);
  opacity: 0;
  -webkit-transition: right 0.2s 0.2s, height 0s 0.2s, opacity 0.4s, -webkit-transform 0.2s 0s;
  transition: right 0.2s 0.2s, height 0s 0.2s, opacity 0.4s, -webkit-transform 0.2s 0s;
  -o-transition: right 0.2s 0.2s, transform 0.2s 0s, height 0s 0.2s, opacity 0.4s;
  transition: right 0.2s 0.2s, transform 0.2s 0s, height 0s 0.2s, opacity 0.4s;
  transition: right 0.2s 0.2s, transform 0.2s 0s, height 0s 0.2s, opacity 0.4s, -webkit-transform 0.2s 0s;
}
.galery-item__button::before {
  top: 50%;
  -webkit-transform-origin: top;
      -ms-transform-origin: top;
          transform-origin: top;
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
}
.galery-item__button::after {
  bottom: 50%;
  -webkit-transform-origin: bottom;
      -ms-transform-origin: bottom;
          transform-origin: bottom;
  -webkit-transform: rotate(-90deg);
      -ms-transform: rotate(-90deg);
          transform: rotate(-90deg);
}
.galery-item__button:hover::before, .galery-item__button:hover::after {
  opacity: 1;
  right: 20px;
  height: 10px;
  -webkit-transition: right 0.2s, height 0.1s 0.15s, opacity 0.4s 0s, -webkit-transform 0.2s 0.15s;
  transition: right 0.2s, height 0.1s 0.15s, opacity 0.4s 0s, -webkit-transform 0.2s 0.15s;
  -o-transition: right 0.2s, transform 0.2s 0.15s, height 0.1s 0.15s, opacity 0.4s 0s;
  transition: right 0.2s, transform 0.2s 0.15s, height 0.1s 0.15s, opacity 0.4s 0s;
  transition: right 0.2s, transform 0.2s 0.15s, height 0.1s 0.15s, opacity 0.4s 0s, -webkit-transform 0.2s 0.15s;
}
.galery-item__button:hover::before {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
.galery-item__button:hover::after {
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.cards {
  width: 100%;
  padding: 0 15px;
  margin-top: 32px;
}
.cards__body {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.cards__column {
  position: relative;
  width: calc((100% - 120px) / 3);
}
.cards__item {
  width: 100%;
  overflow: hidden;
  border-radius: 35px;
  margin-bottom: 50px;
  -webkit-box-shadow: 16px 16px 48px -8px rgba(0, 0, 0, 0.19);
          box-shadow: 16px 16px 48px -8px rgba(0, 0, 0, 0.19);
}

.card-item__preview {
  height: 200px;
}
.card-item__preview img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
.card-item__content {
  padding: 29px 19px 19px 19px;
  background-color: #fff;
}
.card-item__title {
  font-weight: 700;
  font-size: 24px;
}
.card-item__tag-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.card-item__tag {
  margin-top: 10px;
  font-family: Open Sans, Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 1.8em;
  color: #494949;
}
.card-item__tag:not(:last-child)::after {
  content: "|";
  margin: 0 5px;
}
.card-item__tag a {
  color: #2ea3f2;
}
.card-item__description {
  margin-top: 6px;
  line-height: 1.8em;
  font-size: 14px;
  font-family: Open Sans, Arial, sans-serif;
}