* {
  margin: 0;
  padding: 0;
  font-family: "Gilroy", sans-serif;
  font-size: 16px;
  box-sizing: border-box;
}

.container {
  max-width: 1170px;
}

.header__border {
  background-image: url(../img/header_border.png);
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  position: absolute;
  top: 9px;
  left: 0;
  width: 100%;
  display: none;
}

header {
  background-image: url(../img/header_fon.png);
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding-bottom: 200px;
}

#video {
  position: absolute;
  top: 100px;
  left: 0;
  width: 150%;
  height: 150%;
  transform: scaleY(1.2);
  object-fit: fill;
}

.header__headings {
  padding-top: 170px;
  text-align: center;
  color: #fff;
  position: relative;
}

.header__headings .header__main-logo {
  height: 210px;
  width: 210px;
  position: relative;
  z-index: 5;
  box-shadow: inset 0 0 150px black;
  border-radius: 50%;
}

.header__headings .main-button {
  margin-top: 60px;
  z-index: 5;
  position: relative;
}

.header__headings .header__shadow {
  background-color: rgba(18, 5, 57, 0.7);
  position: absolute;
  height: 300px;
  width: 830px;
  bottom: 40px;
  left: 145px;
  z-index: 2;
  border-radius: 20px;
}

.header__title {
  font-family: "PlayfairDisplay";
  font-size: 60px;
  font-weight: bolder;
  font-style: italic;
  color: #fffefe;
  padding-top: 20px;
  position: relative;
  z-index: 5;
}

.header__subtitle {
  font-size: 36px;
  position: relative;
  z-index: 5;
}

.main-button {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #fffffe;
  text-transform: uppercase;
  padding: 20px 15px;
  max-width: 430px;
  border-radius: 10px;
  border: none;
  position: relative;
  border-bottom: 5px solid #68125B;
  background: linear-gradient(to bottom, #CD61C7, #B2219B);
  transition: all 0.2s ease-in-out;
  overflow: hidden;
}

.main-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  transform: translateX(-100px) skewX(-45deg);
  animation: btn-shine 8s infinite 1s;
}

.main-button:hover {
  opacity: 0.95;
}

@keyframes btn-shine {
  0% {
    transform: translateX(-100px) skewX(-45deg);
  }
  2% {
    transform: translateX(400px) skewX(-45deg);
  }
  100% {
    transform: translateX(400px) skewX(-45deg);
  }
}

.first-div {
  transform: translate(8px, 2px) rotate(45deg);
  transform-origin: left top;
  background-color: #CECED1 !important;
  z-index: 20;
}

.second-div {
  transform: scale(0);
}

.third-div {
  transform: translate(-4px, -19px) rotate(-45deg);
  transform-origin: right bottom;
  background-color: #CECED1 !important;
  z-index: 20;
}

.black-color {
  color: #000 !important;
  margin-top: 0 !important;
}

.header-bar {
  display: flex;
  justify-content: space-between;
  position: relative;
  align-items: center;
  margin-top: 130px;
  transition: all 0.1s ease-in-out;
}

.header-bar .header-bar__logo img {
  height: 100px;
  width: 100px;
}

.header-bar .header-bar__btn-menu {
  width: 40px;
  display: none;
}

.header-bar .header-bar__btn-menu div {
  height: 3px;
  background-color: #fff;
  margin-bottom: 7px;
  transition: all 0.2s ease-in-out;
}

.header-bar .header-bar__menu ul {
  list-style: none;
  margin: 0;
}

.header-bar .header-bar__menu ul li {
  display: inline;
  padding: 0 15px;
}

.header-bar .header-bar__menu ul li a {
  color: #fff;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
}

.header-bar .header-bar__menu ul li a:hover {
  text-decoration: none;
  color: #B2219B;
}

.header-bar .header-bar__social a {
  color: #fff;
  padding: 0 15px;
  transition: all 0.2s ease-in-out;
}

.header-bar .header-bar__social a:hover {
  text-decoration: none;
  color: #B2219B;
}

.header-bar .header-bar__social a i {
  font-size: 24px;
}

.header-bar .header-bar__phone-number {
  color: #fff;
  font-size: 24px;
  transition: all 0.2s ease-in-out;
}

.header-bar__fixed {
  position: fixed !important;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.6);
  margin: 0;
  padding: 10px 50px;
}

.header-bar__fixed .header-bar__logo img {
  height: 80px;
  width: 80px;
}

.heading {
  font-family: "PlayfairDisplay";
  font-size: 36px;
  font-weight: bold;
  font-style: italic;
  color: #120062;
  padding-bottom: 40px;
  text-align: center;
}

.events {
  padding: 130px 0 0;
  position: relative;
}

.events .heading {
  padding: 15px 0 40px;
  text-align: left;
}

.events:before {
  content: url(../img/TWO_HEADER.png);
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 30;
  max-width: 100%;
  height: 120px;
  overflow: hidden;
}

.events__item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 105px;
}

.events__item .events__price-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.events__item .events__price-block .main-button {
  max-width: 300px;
  font-size: 16px;
}

.events__item .events__price-block .events__price {
  font-size: 24px;
  color: #120062;
}

.events__item:nth-child(even) {
  flex-direction: row-reverse;
}

.events__item:nth-child(even) .events__price-block {
  flex-direction: row-reverse;
}

.events__images {
  width: 53%;
}

.events__images .events__main-image {
  max-width: 100%;
  height: auto;
}

.events__images .events__main-image img {
  width: 100%;
  height: auto;
}

.events__thumbs {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 15px;
}

.events__thumbs img {
  margin: 5px;
}

.events__text-block {
  width: 42%;
  padding-top: 15px;
  line-height: 22px;
}

.company-logos {
  background-image: url(../img/smart_fon.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 220px 0 0;
  position: relative;
}

.company-logos__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.company-logos__top .heading {
  color: #fff;
  padding-bottom: 30px;
  line-height: 45px;
}

.company-logos__top .company-logos__logotips {
  width: 42%;
}

.company-logos__top .company-logos__logotips .company-logos__slider {
  background-color: rgba(18, 5, 57, 0.7);
  box-shadow: 0 8px 5px rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  width: 470px;
  height: 280px;
  display: flex;
  align-items: center;
  z-index: 20;
}

.company-logos__top .company-logos__logotips .company-logos__slider .company-logos__slider-item {
  width: 200px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-logos__top .company-logos__logotips .company-logos__slider .company-logos__slider-item img {
  object-fit: cover; 
  object-position: center; 
  height: 100%;
  max-width: 100%;
}

.company-logos__top .slick-dots li button:before {
  content: url(../img/dot.png);
}

.company-logos__top .slick-dots li.slick-active button:before {
  content: url(../img/dot-active.png);
}

.company-logos__top .company-logos__text-block {
  width: 53%;
  position: relative;
}

.company-logos__top .company-logos__text-block .company-logos__mask {
  text-align: center;
  top: -270px;
  left: 80px;
  position: absolute;
}

.company-logos__top .company-logos__text-block .company-logos__mask img {
  width: 300px;
}

.company-logos__top .company-logos__text-block .company-logos__about {
  color: #fff;
  margin-top: 110px;
}

.company-logos__top .company-logos__text-block .company-logos__about span {
  font-size: 24px;
}

.company-logos__bottom {
  display: flex;
  flex-direction: row;
  justify-content: center;
  position: relative;
  z-index: 5;
  margin-top: 200px;
}

.company-logos__number-box {
  background-color: #F6F6FF;
  margin: 0 10px;
  width: 235px;
  height: 148px;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  border-bottom: 5px solid #E5E0F0;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
  color: #120062;
}

.company-logos__number-box .company-logos__number-box-num {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  font-family: "PlayfairDisplay";
  font-style: italic;
  font-weight: bolder;
  margin-top: -20px;
}

.company-logos__number-box .company-logos__number-box-text {
  display: flex;
  align-items: center;
  justify-content: center;
}

.insta {
  position: relative;
  padding: 150px 0 50px;
}

.insta .heading {
  padding-bottom: 40px;
}

.insta__gallary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.insta__gallary img {
  max-width: 23%;
  max-height: 270px;
  margin: 10px;
}

.review {
  padding: 100px 0;
  background-image: url(../img/review/back.png);
  background-position-y: 85%;
  background-repeat: no-repeat;
}

.review .review__slider {
  max-width: 90%;
  margin: 0 auto;
}

.review .review__item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.review .review__item img {
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
  border-radius: 10px;
}

.review .slick-prev {
  left: -55px;
  top: 160px;
}

.review .slick-next {
  right: -40px;
  top: 160px;
}

.review__garanty {
  margin-top: 140px;
  color: #fff;
  background-image: url(../img/garanty/back-new.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  width: 100%;
  height: 380px;
  border-radius: 20px;
}

.review__garanty .heading {
  text-align: left;
  color: #fff;
  padding-bottom: 20px;
}

.review__garanty .review__text-block {
  padding-left: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review__garanty .review__text-block .review__text {
  padding-bottom: 50px;
}

.review__garanty .review__text-block .main-button {
  max-width: 300px;
  font-size: 16px;
}

.review__garanty .review__money-block {
  position: relative;
}

.review__garanty .review__money-block .garanty__girl {
  position: absolute;
  top: -5px;
  left: 220px;
  z-index: 5;
}

.review__garanty .review__money-block .garanty__arrow {
  position: absolute;
  top: 70px;
  left: 120px;
}

.review__garanty .review__money-block .garanty__money {
  position: absolute;
  top: -80px;
  z-index: 6;
}

.how_work {
  display: flex;
  justify-content: space-between;
  padding: 80px 0 150px;
}

.how_work__item {
  position: relative;
  text-align: center;
}

.how_work__item .how_work__number {
  position: absolute;
  top: -10px;
  right: -15px;
}

.how_work__item .how_work__text {
  margin-top: 20px;
}

.how_work__item .how_work__text span {
  color: #120062;
  font-weight: bold;
}

.how_work__item:nth-child(2) .how_work__number {
  top: -10px;
  right: -10px;
}

.how_work__item:nth-child(4) img {
  margin-top: -18px;
}

.how_work__item:nth-child(4) .how_work__number {
  top: 8px;
  right: -15px;
}

.team__block {
  display: flex;
  justify-content: space-between;
  text-align: center;
  padding-bottom: 150px;
}

.team__block .team__item {
  margin: 2px;
}

.team__block .team__item .team__image {
  position: relative;
  width: 288px;
  height: 388px;
  margin: 0 auto;
}
.team__block .team__item .team__image img {
  object-fit: cover; 
  object-position: center; 
  height: 100%;
  width: 100%;  
}

.team__block .team__item .team__image a {
  position: absolute;
  bottom: 10px;
  right: 135px;
  color: #CB5DC4;
}

.team__block .team__item .team__name {
  font-size: 24px;
  padding-top: 10px;
}

footer {
  position: relative;
  overflow: hidden;
}

footer .contacts {
  background-image: url(../img/contacts-back.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  height: 488px;
  width: 488px;
  position: absolute;
  top: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 80px;
}

footer .contacts .contacts__address {
  font-size: 20px;
  letter-spacing: 1px;
  padding: 60px 0 0;
}

footer .contacts .contacts__phone-numbers {
  font-size: 36px;
  font-weight: bold;
  padding: 20px 0 50px;
}

footer .contacts .contacts__social a {
  margin-right: 30px;
  transition: all 0.3s ease-in-out;
}

footer .contacts .contacts__social a:hover {
  opacity: 0.9;
}

footer .map {
  max-width: 100%;
}

footer .map iframe {
  max-width: 100%;
}

footer .map:before {
  content: url(../img/wave.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: -90px;
  left: 0;
  width: 100%;
  height: 130px;
  z-index: 10;
}

footer .copy {
  display: flex;
  justify-content: space-between;
  padding: 20px 10px;
  max-width: 1170px;
  margin: 0 auto;
}

footer .copy a {
  color: #9490B2;
  text-decoration: underline;
  transition: all 0.3s ease-in-out;
}

footer .copy a:hover {
  opacity: 0.9;
  color: #000;
}

.modal-dialog {
  max-width: 550px;
}

.modal-content {
  border-radius: 10px;
  padding-bottom: 100px;
}

.modal .close span {
  font-size: 50px;
  font-weight: 100;
  opacity: 0.3;
  padding: 0 15px;
}

.modal .heading {
  padding-top: 50px;
  padding-bottom: 20px;
}

.modal .modal__text {
  text-align: center;
  padding-bottom: 20px;
}

form {
  text-align: center;
  position: relative;
}

form input {
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  padding: 10px 5px 10px 50px;
  width: 300px;
  color: #3a3a3a;
  background-color: #FBFBFF !important;
  border: 1px solid #ECECF5;
  border-bottom: 2px solid #ECECF5;
  border-radius: 3px 3px 0 0;
}

form label[for="date"] {
  height: 30px;
  width: 2px;
  color: #ECECF5;
  background-color: #ECECF5;
  position: absolute;
  top: 7px;
  left: 29%;
}

form label[for="type"] {
  height: 30px;
  width: 2px;
  color: #ECECF5;
  background-color: #ECECF5;
  position: absolute;
  top: 71px;
  left: 29%;
}

form label[for="first_name"] {
  height: 30px;
  width: 2px;
  color: #ECECF5;
  background-color: #ECECF5;
  position: absolute;
  top: 135px;
  left: 29%;
}

form label[for="phone"] {
  height: 30px;
  width: 2px;
  color: #ECECF5;
  background-color: #ECECF5;
  position: absolute;
  top: 199px;
  left: 29%;
}

form .type-more {
  position: absolute;
  top: 82px;
  right: 125px;
}

form .main-button {
  max-width: 300px;
  font-size: 16px;
  display: block;
  margin: 0 auto;
}

form input[name="date"] {
  background: url(../img/modal/1.png) no-repeat 12px 9px;
}

form input[name="type"] {
  background: url(../img/modal/2.png) no-repeat 12px 9px;
}

form input[name="first_name"] {
  background: url(../img/modal/3.png) no-repeat 12px 9px;
}

form input[name="phone"] {
  background: url(../img/modal/4.png) no-repeat 12px 9px;
}

/*------------ media  -------------*/
@media (max-width: 1420px) {
  .review__garanty .review__money-block .garanty__money {
    top: -10px;
    left: -20px;
    width: 700px;
  }
}

@media (max-width: 1240px) {
  .header__headings {
    padding-top: 100px;
  }
  .header__headings .header__shadow {
    width: 100%;
    left: 0;
  }
  .header-bar {
    flex-direction: column;
    margin-top: 80px;
  }
  .header-bar .header-bar__logo {
    display: none;
  }
  .header-bar .header-bar__social {
    padding: 30px 0;
  }
  .header-bar__fixed {
    flex-direction: row;
    margin: 0;
    padding: 10px 50px;
  }
  .header-bar__fixed .header-bar__logo img {
    height: 80px;
    width: 80px;
  }
  .events__text-block {
    padding-top: 0;
  }
  .company-logos {
    background-position-x: 73%;
  }
  .company-logos__top {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .company-logos__top .heading {
    text-align: center !important;
  }
  .company-logos__top .company-logos__logotips {
    width: 70%;
  }
  .company-logos__top .company-logos__logotips .company-logos__slider {
    margin: 0 auto;
  }
  .company-logos__top .company-logos__logotips .company-logos__slider .company-logos__slider-item {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .company-logos__top .company-logos__text-block {
    width: 70%;
    position: relative;
  }
  .company-logos__top .company-logos__text-block .company-logos__mask {
    display: none;
  }
  .company-logos__top .company-logos__text-block .company-logos__about {
    color: #fff;
    margin-top: 110px;
  }
  .company-logos__top .company-logos__text-block .company-logos__about span {
    font-size: 24px;
  }
  .review .slick-prev {
    left: -30px;
    top: 160px;
  }
  .review .slick-next {
    right: -10px;
    top: 160px;
  }
  .review__garanty .review__money-block .garanty__girl {
    top: -5px;
    left: 100px;
  }
  .review__garanty .review__money-block .garanty__arrow {
    display: none;
  }
  .review__garanty .review__money-block .garanty__money {
    top: 158px;
    left: 40px;
    width: 400px;
  }
  .how_work {
    justify-content: space-evenly;
  }
  .how_work__item img {
    max-width: 180px;
  }
  .how_work__item .how_work__number {
    top: -10px;
    right: -35px;
  }
  .how_work__item:nth-child(2) .how_work__number {
    right: -30px;
  }
  .how_work__item:nth-child(4) img {
    margin-top: -8px;
  }
  .how_work__item:nth-child(4) .how_work__number {
    top: -5px;
    right: -35px;
  }
  .team {
    margin-bottom: 150px;
  }
  .team__block {
    justify-content: space-evenly;
    padding-bottom: 10px;
  }
  .team__block .team__item .team__image {
    position: relative;
    display: flex;
    justify-content: center;
  }
  .team__block .team__item .team__image a {
    position: absolute;
    bottom: 10px;
    right: 47%;
    color: #CB5DC4;
    z-index: 50;
  }
}

@media (max-width: 1070px) {
  .header-bar__fixed {
    position: relative !important;
  }
  .events__item {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .events__item:nth-child(even) {
    flex-direction: column;
  }
  .events__item:nth-child(even) .events__price-block {
    flex-direction: row;
  }
  .events__images {
    width: 70%;
  }
  .events__thumbs {
    margin-top: 20px;
  }
  .events__text-block {
    width: 70%;
    padding-top: 15px;
    line-height: 22px;
  }
  .insta__gallary img {
    max-width: 33%;
    max-height: 270px;
    margin: 10px;
  }
}

@media (max-width: 992px) {
  header {
    background-image: url(../img/header_fon.png);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    padding-bottom: 0;
    height: 900px;
  }
  header video {
    display: none;
  }
  .header__border {
    display: block;
    height: 900px;
  }
  .events:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 0;
    height: 0;
  }
  .company-logos__bottom {
    margin-top: 100px;
  }
  .insta__gallary img {
    max-width: 28%;
    max-height: 270px;
    margin: 10px;
  }
  .review {
    padding: 70px 0;
  }
  .review .review__slider {
    max-width: 90%;
  }
  .how_work__item img {
    max-width: 150px;
  }
  footer {
    display: flex;
    flex-direction: column;
    flex-flow: wrap;
  }
  footer .container {
    padding: 0;
    margin: 0;
    width: 100%;
    border-radius: 0 0 10px 10px;
  }
  footer .contacts {
    background-position: bottom;
    order: 0;
    height: 320px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
  }
  footer .contacts .contacts__address {
    font-size: 16px;
    letter-spacing: 1px;
    padding: 20px 0 0;
  }
  footer .contacts .contacts__phone-numbers {
    font-size: 30px;
    font-weight: bold;
    padding: 0 0 30px;
  }
  footer .contacts .contacts__social a {
    margin: 0 15px;
    transition: all 0.3s ease-in-out;
  }
  footer .contacts .contacts__social a:hover {
    opacity: 0.9;
  }
  footer .map {
    order: 1;
    width: 100%;
    height: 400px;
    overflow: hidden;
  }
  footer .map iframe {
    max-width: 100%;
  }
  footer .map:before {
    content: none;
  }
  footer .copy {
    flex-direction: column;
    text-align: center;
    order: 2;
    padding: 30px 10px;
  }
  footer .copy .copy__company-name {
    margin-bottom: 15px;
  }
}

@media (max-width: 940px) {
  .review__garanty {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .review__garanty:before {
    content: url(../img/garanty/money-main.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: -63px;
    left: 0;
    width: 400px;
    height: 130px;
    z-index: 10;
  }
  .review__garanty:after {
    content: url(../img/garanty/money-1.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    left: 300px;
    width: 400px;
    height: 130px;
    z-index: 10;
  }
  .review__garanty .main-button {
    position: relative;
    z-index: 20;
  }
  .review__garanty .review__text-block {
    padding-left: 0;
    text-align: center;
  }
  .review__garanty .review__money-block {
    display: none;
  }
  .team__block .team__item .team__image {
    position: relative;
    display: flex;
    justify-content: center;
  }
  .team__block .team__item .team__image a {
    position: absolute;
    bottom: 10px;
    right: 48%;
    color: #CB5DC4;
    z-index: 50;
  }
}

@media (max-width: 768px) {
  .header__border {
    height: 800px;
  }
  header {
    height: 800px;
    position: relative;
    overflow: hidden;
    z-index: 10;
  }
  header .container {
    padding: 0;
  }
  .header__headings .header__main-logo {
    height: 120px;
    width: 120px;
  }
  .header__headings .main-button {
    max-width: 290px;
  }
  .header__title {
    font-size: 50px;
  }
  .header-bar {
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    padding: 15px;
  }
  .header-bar .header-bar__menu {
    display: none;
    position: absolute;
    top: 50px;
    left: 0px;
    z-index: 15;
    background-color: #fff;
    width: 100%;
  }
  .header-bar .header-bar__menu ul {
    padding: 15px 5px 5px;
  }
  .header-bar .header-bar__menu ul li {
    display: block;
    padding: 10px;
  }
  .header-bar .header-bar__menu ul li a {
    color: #120062;
    text-transform: uppercase;
  }
  .header-bar .header-bar__menu ul li a:hover {
    text-decoration: none;
    color: #B2219B;
  }
  .header-bar .header-bar__social {
    display: none;
    position: absolute;
    top: 280px;
    left: 0px;
    width: 100%;
    z-index: 15;
    background-color: #fff;
    padding: 20px 15px 30px;
  }
  .header-bar .header-bar__social a {
    color: #fff;
    background: lightblue;
    border-radius: 50%;
    text-align: center;
    padding: 0;
    margin-right: 15px;
  }
  .header-bar .header-bar__social a i {
    font-size: 24px;
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    line-height: 40px;
    background: linear-gradient(to bottom, #CD61C7, #B2219B);
    border-radius: 50%;
    text-align: center;
    padding: 0;
  }
  .header-bar .header-bar__btn-menu {
    display: block;
  }
  .header-bar .header-bar__phone-number {
    font-weight: bold;
    margin-top: -5px;
  }
  .events__images {
    width: 100%;
  }
  .events__text-block {
    width: 100%;
    padding-top: 15px;
    line-height: 22px;
  }
  .company-logos {
    background-position-x: 68%;
    margin-top: -100px;
  }
  .company-logos__top .company-logos__logotips {
    width: 100%;
  }
  .company-logos__top .company-logos__logotips .company-logos__slider {
    width: 90%;
    height: 280px;
  }
  .company-logos__top .company-logos__text-block {
    width: 100%;
  }
  .insta__gallary img {
    max-width: 45%;
    max-height: 270px;
    margin: 10px;
  }
  .how_work {
    flex-direction: column;
    padding: 20px 0 80px;
  }
  .how_work__item img {
    max-width: 235px;
  }
  .how_work__item {
    margin-bottom: 40px;
  }
  .how_work__item .how_work__number {
    top: -10px;
    right: 25%;
  }
  .how_work__item .how_work__text {
    margin-top: 10px;
    font-size: 20px;
  }
  .how_work__item .how_work__text span {
    color: #120062;
    font-weight: bold;
    font-size: 20px;
  }
  .how_work__item:nth-child(2) .how_work__number {
    top: -10px;
    right: 25%;
  }
  .how_work__item:nth-child(4) img {
    margin-top: -18px;
  }
  .how_work__item:nth-child(4) .how_work__number {
    top: 8px;
    right: 25%;
  }
}

@media (max-width: 576px) {
  .header__border {
    height: 550px;
    background-position-x: 73%;
  }
  header {
    height: 550px;
    background-position-x: 73%;
  }
  .header__title {
    font-size: 30px;
  }
  .header__subtitle {
    font-size: 18px;
    margin-top: 15px;
  }
  .header__headings .main-button {
    margin-top: 30px;
  }
  .heading {
    font-size: 30px;
    line-height: 35px;
  }
  .events__item .events__price-block {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
  }
  .events__item .events__price-block .main-button {
    display: block;
  }
  .events__item .events__price-block .events__price {
    margin-bottom: 20px;
  }
  .events__item:nth-child(even) .events__price-block {
    flex-direction: column-reverse;
  }
  .events__thumbs {
    margin-top: 5px;
  }
  .company-logos {
    background-position-x: 64%;
  }
  .company-logos .slick-prev {
    left: 10px;
    top: 295px;
  }
  .company-logos .slick-prev:before {
    content: url(../img/arrow-left-mobile.png);
  }
  .company-logos .slick-next {
    right: 20px;
    top: 295px;
  }
  .company-logos .slick-next:before {
    content: url(../img/arrow-right-mobile.png);
  }
  .company-logos .slick-dots {
    bottom: -55px;
  }
  .company-logos__top .company-logos__logotips .company-logos__slider {
    width: 100%;
    height: 250px;
  }
  .insta {
    padding: 70px 0 50px;
  }
  .review .container {
    padding: 0;
  }
  .review__garanty {
    border-radius: 0;
    padding: -15px;
  }
  .review__garanty:before {
    top: -100px;
    left: -80px;
    width: 150px;
    height: 130px;
  }
  .review__garanty:after {
    bottom: 320px;
    left: 250px;
    width: 100px;
    height: 50px;
  }
  .review__garanty .review__text-block {
    position: relative;
    z-index: 30;
  }
  .review__garanty .review__text-block .review__text {
    padding-bottom: 10px;
  }
  .how_work__item .how_work__number {
    right: 15%;
  }
  .how_work__item:nth-child(2) .how_work__number {
    right: 15%;
  }
  .how_work__item:nth-child(4) .how_work__number {
    top: 8px;
    right: 15%;
  }
  form input {
    padding: 10px 5px 10px 60px;
    width: 95%;
  }
  form label[for="date"], form label[for="type"],
  form label[for="first_name"], form label[for="phone"] {
    left: 13%;
  }
  form .type-more {
    right: 5%;
  }
}

@media (max-width: 450px) {
  .insta__gallary img {
    max-width: 40%;
    max-height: 270px;
    margin: 10px;
  }
  .review__garanty:before {
    top: -60px;
    left: -80px;
    width: 80px;
    height: 130px;
  }
  .review__garanty:after {
    bottom: 320px;
    left: 190px;
    width: 100px;
    height: 50px;
  }
  .how_work__item .how_work__number {
    right: 5%;
  }
  .how_work__item:nth-child(2) .how_work__number {
    right: 5%;
  }
  .how_work__item:nth-child(4) .how_work__number {
    top: 8px;
    right: 5%;
  }
  form input {
    padding: 10px 5px 10px 55px;
  }
  form label[for="date"], form label[for="type"],
  form label[for="first_name"], form label[for="phone"] {
    left: 15%;
  }
  form .type-more {
    right: 5%;
  }
}

@media (max-width: 360px) {
  .header__border {
    height: 550px;
    background-position-x: 70%;
  }
  header {
    height: 550px;
    background-position-x: 70%;
  }
  form input {
    padding: 10px 5px 10px 50px;
    width: 99%;
  }
  form label[for="date"], form label[for="type"],
  form label[for="first_name"], form label[for="phone"] {
    left: 17%;
  }
  form .type-more {
    right: 5%;
  }
}

/*------- fonts --------*/
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Bold_0.ttf");
  font-style: normal;
  font-weight: bold;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-BoldItalic_0.ttf");
  font-style: italic;
  font-weight: bold;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Regular_0.ttf");
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-RegularItalic_0.ttf");
  font-style: italic;
  font-weight: normal;
}

@font-face {
  font-family: "PlayfairDisplay";
  src: url("../fonts/PlayfairDisplay-Black.ttf");
  font-style: italic;
  font-weight: normal;
}

@font-face {
  font-family: "PlayfairDisplay";
  src: url("../fonts/PlayfairDisplay-BlackItalic.ttf");
  font-style: italic;
  font-weight: bolder;
}

@font-face {
  font-family: "PlayfairDisplay";
  src: url("../fonts/PlayfairDisplay-BoldItalic.ttf");
  font-style: italic;
  font-weight: bold;
}
