body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  color: #6c7279;

  background-color: #fff;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  margin: 0 0 10px;
}

/*Container=========
=======================*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/*Header===========
=======================*/

.header {
  height: 100px;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  position: absolute;
}

.header.fixed {
  position: fixed;
  background-color: #31344e;
  height: auto;
}

.header.fixed .header__inner {
  padding: 10px 0;
  border-bottom: 0;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  padding: 35px 0;
  border-bottom: 1px solid #50546a;
  align-items: center;
}

/*Nav===========
=======================*/

.nav {
  display: flex;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.nav__link {
  margin-left: 45px;
  color: #fff;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s linear;
}

.nav__link:first-child {
  margin-left: 0px;
}

.nav__link:hover {
  opacity: 1;
}

/*Intro===========
=======================*/

.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 750px;
  padding-top: 100px;
  background: #31344e url("../img/intro-bg.jpg") no-repeat center;
  background-size: cover;
}

.intro__inner {
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
  text-align: center;
}

.intro__title {
  margin: 0 0 30px;
  font-family: "Open Sans", sans-serif;
  font-size: 65px;
  line-height: 1.1;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.intro__subtitle {
  font-size: 22px;
  color: #fff;
  line-height: 1, 5;
  font-weight: 400;
  margin-bottom: 60px;
}

/*Button===========
=======================*/

.btn {
  display: inline-block;
  vertical-align: top;
  padding: 14px 40px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s linear;
}

.btn--red {
  background-color: #e84545;
}

.btn--red:hover {
  background-color: #dd3434;
}

/*Features===========
=======================*/

.features {
  display: flex;
  flex-wrap: wrap;
  margin: 90px 0;
}

.features__item {
  margin: 30px 0;
  width: 33.33333%;
  padding: 0 40px;
  text-align: center;
}

.features__icon {
  margin-bottom: 30px;
}

.features__title {
  margin-bottom: 20px;
  font-size: 14px;
  color: #2d3033;
  font-weight: 700;
  text-transform: uppercase;
}

.features_text {
  font-size: 14px;
  line-height: 1.5;
  color: #6c7279;
}

/* Works============= */

.works {
  display: flex;
  flex-wrap: wrap;
}

.works__item {
  width: 25%;
  position: relative;
  overflow: hidden;
  height: 350px;
}

.works__item:hover .works__content {
  opacity: 1;
}

.works__icon {
  min-width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  border-bottom: 3px solid #fff;
  transform: translate3d(-50%, -50%, 0);
}

.works__content {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  width: 100%;
  height: 100%;

  background-color: rgba(232, 69, 69, 0.9);
  transition: opacity 0.3s linear;

  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
}

.works__title {
  margin-bottom: 5px;
  font-size: 14px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.works__text {
  font-size: 14px;
  color: #fff;
  font-weight: 400;
}

/* TEAM===============================================================================================*/

.team {
  margin: 100px 0 70px;
}

.team__inner {
  display: flex;
  flex-wrap: wrap;
}

.team__item {
  width: 25%;
  padding: 0 15px;
  margin-bottom: 30px;
}

.team__photo {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 30px;
}

.team__name {
  margin-bottom: 10px;
  font-size: 22px;
  color: #2d3033;
}

.team__prof {
  margin-bottom: 30px;
  font-size: 13px;
  color: #e84545;
  text-transform: uppercase;
}

.team__text {
  font-size: 14px;
  color: #6c7279;
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.5;
}

.team__content {
  text-align: center;
}

/* Social==============================================================================================*/

.social {
  display: flex;
}

.social__link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e8ecee;
  margin-right: 4px;
  background-color: #fff;
  transition: background-color 0.2s linear;
}

.social__link--blue {
  border: 2px solid #fff;
  border-radius: 1px;
  background-color: #3a3e64;
}

.social__link--blue .social__icon {
  fill: #fff;
}

.social__link:hover {
  background-color: #e8ecee;
}

.social__link:hover .social__icon {
  fill: #000;
}

.social__icon {
  fill: #c6cacc;
  height: 18px;
  transition: fill 0.2s linear;
}

/* testimonials */

.reviews {
  background-color: #53354a;
  overflow: hidden;
  margin-bottom: 90px;
}

.reviews__slider {
  height: 500px;
  overflow: hidden;
}

.reviews__item {
  display: flex;
  flex-wrap: wrap;
}
.reviews__photo {
  width: 50%;
  height: 500px;
  position: relative;
}

.reviews__img {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 1;
  transform: translateY(-50%);
}

.reviews__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
  padding-left: 80px;
}

.reviews__text {
  font-family: "Cardo", sans-serif;
  font-size: 36px;
  font-style: italic;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 40px;
}

.reviews__author {
  font-size: 13px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 60px;
}

.slick-dots {
  margin: 0;
  padding: 0 0 10px;
  right: 0;
  z-index: 2;
  list-style: none;
  bottom: 0;
  width: 50%;
  position: absolute;
  display: flex;
  justify-content: center;
}

.slick-dots li {
  margin: 7px;
}

.slick-dots button {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  border: 0;
  padding: 0;
  font-size: 0;
  color: transparent;
  opacity: 0.5;
  transition: opacity 0.2s linear;
  cursor: pointer;
}

.reviews__slider.slick-initialized {
  height: auto;
}

.slick-dots button:focus {
  outline: 0;
}

.slick-dots .slick-active button {
  opacity: 1;
}

/* Download====================================== */
.download {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

.download__content {
  text-align: center;
}

.download__title {
  font-size: 28px;
  font-weight: 300;
  color: #2d3033;
  margin-bottom: 20px;
}

.download__text {
  font-size: 13px;
  font-weight: 700;
  color: #2d3033;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.btn__d {
  display: inline-block;
  vertical-align: top;
  padding: 20px 150px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s linear;
  margin-bottom: 100px;
}

.btn--red__d {
  background-color: #e84545;
}

.btn--red__d:hover {
  background-color: #dd3434;
}

/* About========================================================================= */

.about {
  background-color: #3a3e64;
}

.about__content {
  display: flex;
  flex-wrap: wrap;
  padding-top: 60px;
}

.about__item {
  width: 33.3333%;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  margin-bottom: 50px;
  padding: 0 15px;
}

.about__title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.about__text {
  font-size: 14px;
  color: #fff;
  opacity: 0.5;
  font-style: normal;
  line-height: 1.5;
}

/* End========================================================================== */

.end {
  padding: 20px;
  background-color: #313454;
}

.end__content {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.end__text {
  font-size: 14px;
  line-height: 1.5;
  color: #808080;
}

.end__text--name {
  color: rgb(241, 75, 111);
}

/* Burger======================================================================== */

.burger {
  display: none;
  padding: 12px 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.burger__item {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  position: relative;
  font-size: 0px;
  color: transparent;
}

.burger__item:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 100%;
  right: 0;
  z-index: 1;
  background-color: #fff;
  top: -8px;
}

.burger__item:after {
  content: "";
  position: absolute;
  width: 30px;
  height: 100%;
  right: 0;
  z-index: 1;
  background-color: #fff;
  bottom: -8px;
}

/* Media============================================== */

@media (max-width: 1300px) {
  /* Works */

  .works__item {
    width: 50%;
  }
}

@media (max-width: 991px) {
  /* Team */

  .team__item {
    width: 50%;
  }

  .team__photo {
    margin-right: auto;
    margin-left: auto;
  }

  /* Social */
  .social {
    justify-content: center;
  }

  /* Intro */
  .intro__title {
    font-size: 40px;
  }

  /* Navigation */
  .nav {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    flex-direction: column;
    text-align: right;
    width: 100%;
    background-color: #31344e;
  }

  .nav__link {
    padding: 9px 15px;
  }

  .nav.show {
    display: flex;
  }

  /* Burger */

  .burger {
    display: block;
  }

  /* Features */

  .features__item {
    width: 50%;
  }

  /* Reviews */

  .reviews__photo {
    width: 100%;
    overflow: hidden;
    margin: 15px 0;
  }

  .reviews__content {
    width: 100%;
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  /* Team */
  .team {
    margin: 60px 0 30px;
  }
  .team__item {
    width: 100%;
  }

  /* Intro */

  .intro {
    height: auto;
    padding-top: 130px;
    padding-bottom: 30px;
  }

  .intro__title {
    font-size: 30px;
  }

  .intro__subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Works */

  .works__item {
    width: 100%;
    height: 300px;
  }

  /* Features */
  .features {
    margin: 40px 0;
  }

  /* Reviews */

  .reviews__text {
    font-size: 25px;
  }

  .reviews {
    margin-bottom: 50;
  }

  .btn__d {
    padding: 20px 100px;
    margin-bottom: 50px;
  }

  .download__title {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  /* Features */

  .features__item {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  /* About */

  .about__item {
    width: 100%;
  }
}

@media (max-width: 414px) {
  .reviews__img {
    right: -150px;
  }
}
