body {
  margin: 0;
  font-family: "Montserrat", sans-serif;

  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

hr {
  display: block;
  width: 100%;
  height: 1px;
  border: 0;
  margin: 40px 0;

  background-color: #e5e5e5;
}

/* Container */
.container {
  width: 100%;
  max-width: 1230px;
  padding: 0 15px;
  margin: 0 auto;
}

/* Intro */

.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: url("../img/intro.jpg") center no-repeat;
  background-size: cover;
}

.intro__inner {
  width: 100%;
  min-width: 880px;
  margin: 0 auto;

  text-align: center;
}

.intro__title {
  color: #fff;
  font-size: 120px;
  font-weight: 700;
  text-transform: uppercase;

  line-height: 1;

  opacity: 0.5;
}

.intro__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #fff;

  margin: 60px auto;
}

.intro__suptitle {
  margin-bottom: 15px;

  font-size: 70px;
  color: #fff;
  font-family: "Kaushan Script", cursive;

  opacity: 0.5;
}

/* Header */
.header {
  padding-top: 30px;
  position: absolute;
  width: 100%;

  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  font-size: 50px;
  font-weight: 700;
  color: #fff;
}

/* Nav */
.nav {
  font-size: 20px;
  text-transform: uppercase;
}

.nav__link {
  display: inline-block;
  vertical-align: top;
  margin: 0 15px;
  position: relative;

  color: #fff;

  text-decoration: none;
  transition: color 0.2s linear;
}

.nav__link::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  display: none;

  background-color: #fce38a;

  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
}

.nav__link:hover {
  color: #fce38a;
}

.nav__link:hover::after,
.nav__link.active::after {
  display: block;
}

.nav__link.active {
  color: #fce38a;
}

/* Button */
.btn {
  display: inline-block;
  vertical-align: top;
  padding: 8px 30px;

  border: 3px solid #fff;

  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;

  transition: background 0.1s linear, color 0.1s linear;
}

.btn:hover {
  background-color: #fff;
  color: #333;
}

/* Section */

.section {
  padding: 80px 0;
}

.section--devices {
  padding-bottom: 0;
  margin-bottom: 40px;

  background: url("../img/vague.jpg") center no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
}

.section--gray {
  background-color: #f8f8f8;
}

.section--clients {
  background: #f5f5f5 url("../img/fon.png") center no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
}

.section--map {
  background: #e6e6e6 url("../img/map/clients-bg.png");
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  height: 100%;
}

.section__header {
  width: 100%;
  min-width: 950px;
  margin: 0 auto 50px;

  text-align: center;
}

.section__suptitle {
  font-family: "Kaushan Script", cursive;

  font-size: 24px;
  color: #333;
}

.sectiont__title {
  font-size: 30px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
}

.sectiont__title:after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 30px auto;

  background-color: #f38181;
}

.section_text {
  color: #999;
  font-size: 15px;
}

/* -------- card ------------- */

.card {
  margin-top: 80px;
  display: flex;
  justify-content: space-between;
}

.card__item {
  width: 380px;
}

.card__inner {
  position: relative;

  background-color: #95e1d3;
}

.card__item:hover .card__img {
  transform: translate3d(-10px, -10px, 0);
}

.card__item:hover .card__img img {
  opacity: 0.3;
}

.card__item:hover .card__text {
  opacity: 1;
}

.card__img {
  background: linear-gradient(to bottom, #f38181, #fce38a);

  transition: transform 0.2s linear;
}

.card__img img {
  transition: opasity 0.1s linear;
  display: block;
}

.card__text {
  width: 100%;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;

  opacity: 0;

  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  transform: translate3d(0, -50%, 0);

  transition: opacity 0.2 linear;
}

.card__info {
  margin-top: 15px;
  text-align: center;
}

.card__name {
  margin-bottom: 5px;
  color: #333;
  font-size: 14px;
  text-transform: uppercase;
}

.card__prof {
  color: #999;
  font-size: 15px;
  font-style: italic;
  font-weight: 300;
}

/* Statistics */

.statistics {
  background-color: #333;
}

.stat {
  display: flex;
}

.stat__item {
  flex: 1 1 0;
  padding: 70px 25px;

  border-left: 1px solid #b5eae8;

  text-align: center;
  color: #fff;
}

.stat__item:last-child {
  border-right: 1px solid #b5eae8;
}

.stat__count {
  margin-bottom: 10px;

  font-size: 72px;
  font-weight: 700;
  line-height: 1;
}

.stat__text {
  font-size: 18px;
  text-transform: uppercase;
}

/* Services */

.services {
  display: flex;
}

.services__item {
  flex: 1 1 0;

  padding-left: 85px;
  padding-right: 35px;
  position: relative;
}

.services__icon {
  position: absolute;
  top: 0;
  left: 28px;
  z-index: 1;
}

.services__title {
  margin-bottom: 10px;

  font-size: 14px;
  color: #333;
  text-transform: uppercase;
}

.services__text {
  font-size: 15px;
  color: #999;
}

/* ------- new ----------- */
.new__suptitle {
  font-family: "Kaushan Script", cursive;

  font-size: 24px;
  color: #fff;
}

.new__title {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

/* Devisec */

.devices {
  display: flex;
  justify-content: center;
  position: relative;
}

.devices__item:first-child {
  width: 500px;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.devices__item--iphone:last-child {
  width: 180px;
  transform: translateX(180px);
  position: absolute;
  z-index: 2;
  bottom: -40px;
}

/* ---------- We do ------------ */
.wedo {
  display: flex;
}

.wedo__item {
  width: 50%;
}

/* ---- Accordion ------- */

.accordion__item {
  margin-bottom: 10px;
  border: 1px solid #e5e5e5;
}

.accordion__item.active .accordion__content {
  display: block;
}

.accordion__item.active .accordion__header {
  border-bottom-color: #e5e5e5;
}

.accordion__item.active .accordion__header:after {
  transform: translateY(-50%) rotate(-45deg);
  margin-top: 5px;
}

.accordion__header {
  padding: 15px 20px 15px 60px;
  position: relative;

  border-bottom: 1px solid #e5e5e5;
  cursor: pointer;
}

.accordion__header::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;

  border-top: 2px solid #ccc;
  border-right: 2px solid #ccc;

  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 1;

  transform: translateY(-50%) rotate(135deg);
}

.accordion__icon {
  position: absolute;
  top: 50%;
  left: 4%;
  z-index: 1;

  transform: translateY(-50%);
}

.accordion__content {
  display: none;

  padding: 15px 20px;

  font-size: 12px;
  color: #999;
  font-style: italic;
  font-weight: 300;
}

.accordion__title {
  font-size: 14px;
  color: #333;
  text-transform: uppercase;
}

/* ------- Reviews ------- */
.reviews {
  padding: 0 110px;
  position: relative;
}

.reviews__item {
  padding-left: 205px;
  position: relative;
}

.reviews__photo {
  border: 2px solid #333;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.reviews__photo__new {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;

  border: 2px solid #333;
  border-radius: 50%;
}

.reviews__text {
  margin-bottom: 15px;

  font-size: 24px;
  font-style: italic;
  font-weight: 300;
  color: #999;
}

.reviews__autor {
  font-family: "Kaushan Script", cursive;
  font-size: 24px;
  color: #333;
}

.reviews__autor::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 60px;
  height: 3px;
  margin-right: 10px;

  background-color: #f38181;
}

.reviews__btn {
  font-size: 0;
  color: transparent;

  position: absolute;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
}

.reviews__btn::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;

  border-top: 2px solid #ccc;
  border-left: 2px solid #ccc;

  top: 50%;
  right: 20px;
  z-index: 2;
}

.reviews__btn--prev {
  left: 0;
  transform: rotate(-45deg);
}

.reviews__btn--next {
  right: 0;
  transform: rotate(135deg);
}

/* -------- logos-------- */
.logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ---------Works----------- */

.works {
  display: flex;
}

.works__col {
  flex: 1 1 0;
}

.works__item {
  position: relative;

  background: linear-gradient(to bottom, #f38181, #fce38a);
}

.works__item:hover .works__image {
  opacity: 0.1;
}

.works__item:hover .works__info {
  opacity: 1;
}

.works__image {
  display: block;
  transition: opacity 0.2s linear;

  max-width: 100%;
  height: auto;
}

.works__info {
  width: 100%;
  padding: 0 15px;

  text-align: center;
  color: #fff;

  opacity: 0;

  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;

  transform: translate3d(0, -50%, 0);

  transition: opacity 0.2s linear;
}

.works__title {
  margin-bottom: 5px;

  font-size: 14px;
  text-transform: uppercase;
}

.works__text {
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
}

/* -------Clients------------ */

.clients {
  display: flex;
  flex-wrap: wrap;
  margin-top: 70px;
}

.clients__item {
  width: 50%;
  padding: 0 45px 0 175px;
  position: relative;
  margin-bottom: 60px;
}

.clients__photo {
  width: 150px;
  height: 150px;

  position: absolute;
  top: 0;
  left: 0px;
  z-index: 1;
}

.clients__name {
  margin-bottom: 5px;

  font-size: 14px;
  color: rgb(0, 0, 0);
  text-transform: uppercase;
}

.clients__prof {
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  color: rgb(0, 0, 0);
}

.clients__text {
  font-size: 15px;
  color: rgb(0, 0, 0);
}

.clients__text::before {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 15px 0;

  background-color: #f38181;
}

/* ------------blog---------- */
.blog {
  display: flex;
  justify-content: space-between;
}

.blog__item {
  width: 31%;
}

.blog__header {
  position: relative;
  margin-bottom: 12px;
}

.blog__photo {
  display: block;
  max-width: 100%;
  height: auto;
}

.blog__date {
  padding: 10px;
  background-color: #f38181;

  font-style: italic;
  font-size: 15px;
  color: #fff;

  font-weight: 300;
  text-align: center;

  position: absolute;
  bottom: 10px;
  left: -10px;
  z-index: 1;
}

.blog__date-day {
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  font-style: normal;
}

.blog__content {
  margin-bottom: 14px;
}

.blog__title {
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
  text-transform: uppercase;
}

.blog__text {
  font-size: 15px;
  color: #999;
}

.blog__footer {
  padding-top: 14px;
  border-top: 1px solid #e5e5e5;

  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  color: #999;
}

.blog-stat__item {
  display: inline-block;
  vertical-align: top;
  margin-right: 10px;
}

/* ---------Map------------- */
.map {
  padding: 40px 0;
  text-align: center;
}

.map__title {
  font-size: 24px;
  color: #141413;
  font-weight: 700;
  text-transform: uppercase;
}

.map__title:after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 15px auto 0;

  background-color: #141413;
}

.map__title a {
  color: #141413;
  text-decoration: none;
}

.map__title a:hover {
  text-decoration: underline;
}

/* ---------Footer----------- */

.footer {
  padding-top: 65px;

  background-color: #f8f8f8;
}

.footer__inner {
  display: flex;
  padding-bottom: 65px;

  justify-content: space-between;
}

.footer__col--first {
  width: 40%;
}

.footer__col--second {
  width: 29%;
}

.footer__col--third {
  width: 22%;
}

.footer__logo {
  margin-bottom: 30px;
  font-size: 46px;
  font-weight: 700;
  color: #999;
}

.footer__text {
  margin-bottom: 30px;

  font-size: 15px;
  color: #999;
}

.footer__social {
  margin-bottom: 25px;
}

.footer__social-header {
  padding-bottom: 15px;
  font-size: 14px;
  color: #333;

  border-bottom: 1px solid #e5e5e5;
}

.footer__social-header b {
  font-size: 18px;
}

.footer__social-content {
  padding-top: 15px;

  font-size: 15px;
  color: #999;
  font-style: italic;
  font-weight: 300;
}

.footer__social-content a {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;

  font-size: 18px;
  color: #751242;
}

.footer__title {
  text-transform: uppercase;
  color: #333;
  font-size: 14px;

  margin: 30px 0;
}

/* -------------Blogs------------ */

.blogs__item {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
}

.blogs__content {
  padding-left: 20px;
}

.blogs__title {
  display: block;
  color: #333;
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  text-decoration: none;
}

.blogs__title:hover {
  text-decoration: underline;
}

.blogs__date {
  font-size: 12px;
  color: #999;
  font-style: italic;
  font-weight: 300;
}

/* ----------instagram----------- */
.instagram {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.instagram__item {
  width: 32.33333%;
  flex: 1 1 0;
  border: 3px solid #fff;
}

.instagram__item img {
  display: block;
}

/* -----------Subscribe----------- */

.subscribe {
  width: 100%;
  max-width: 380px;
  display: flex;
}

.subscribe__input {
  width: 60%;
  height: 40px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e7e7e7;
  font-family: "Montserrat", sans-serif;

  border-right: 0;

  font-size: 15px;
  font-style: italic;
  font-weight: 300;
  color: #333;
  line-height: 1.1;
}

.subscribe__input::placeholder {
  color: #ccc;
}

.subscribe__input:focus {
  outline: 0;
  border-color: #95e1d3;
}

.subscribe__btn {
  width: 40%;
  padding: 12px 30px;
  height: 40px;

  background-color: #95e1d3;
  border: 0;
  cursor: pointer;

  font-family: "Montserrat", sans-serif;

  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;

  transition: background 0.2 linear;
}

.subscribe__btn:hover {
  background-color: rgb(101, 202, 53);
}

.subscribe__btn:focus {
  outline: 0;
}

/* --------Copyright------------ */
.copyright {
  padding: 20px 0;
  border-top: 1px solid #e5e5e5;

  font-size: 14px;
  color: #333;
  text-align: center;
}

.copyright span {
  color: #f38181;
}
/* --------media------- */
@media (max-width: 1200px) {
  .intro__suptitle {
    font-size: 70px;
  }

  .intro__title {
    font-size: 80px;
  }
}

@media (max-width: 990px) {
  .intro__suptitle {
    font-size: 55px;
  }

  .intro__title {
    font-size: 55px;
  }
}

@media (max-width: 770px) {
  .nav {
    display: none;
  }
}

@media (max-width: 575px) {
  .intro__suptitle {
    font-size: 65px;
  }

  .intro__title {
    font-size: 39px;
  }
}
