*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  border: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

a:focus,
a:active {
  outline: none;
}

ul {
  list-style: none;
}

img,
svg {
  vertical-align: top;
  max-width: 100%;
  height: auto;
}

button,
input[type='submit'] {
  display: inline-block;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

label {
  cursor: pointer;
}

img {
  pointer-events: none;
}

html,
body {
  overflow-x: hidden;
}

body {
  color: #323232;
  font-family: Roboto, Arial, sans-serif;
  font-style: normal;
  background: #f8f8f8;
}

p {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
}

.logo {
  display: inline-block;
  max-height: 34px;
  max-width: 29px;
}

/* HEADER */
.header {
  background-color: #fff;
  padding: 15px 0;
}

.header__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

/* HERO */
.hero {
  padding-top: 60px;
  padding-bottom: 135px;
  background-color: #ffe14c;
}

.hero__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  height: 100%;
}

.hero-description {
  width: 50%;
  max-width: 307px;
  padding-right: 20px;
  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: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.hero-description__details {
  margin-bottom: 32px;
}

.hero-description__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 36px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-description-subtitle {
  color: rgba(0, 0, 0, 0.8);
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}

.hero-pictures {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 537px;
}

.hero-pictures__img {
  position: absolute;
  height: 100%;
}

.circle {
  position: relative;
  width: 497px;
  height: 497px;
  border-radius: 50%;
  background: #fff;
}

.circle img {
  position: absolute;
  -webkit-transition: -webkit-transform 0.4s ease-out;
  transition: -webkit-transform 0.4s ease-out;
  -o-transition: transform 0.4s ease-out;
  transition: transform 0.4s ease-out;
  transition: transform 0.4s ease-out, -webkit-transform 0.4s ease-out;
}

.circle img:nth-child(1) {
  position: absolute;
  left: 5%;
  top: 30%;
  width: 110px;
  z-index: 2;
}

.circle img:nth-child(2) {
  position: absolute;
  right: -7%;
  bottom: 0;
  width: 182px;
  z-index: 2;
}

.circle img:nth-child(3) {
  position: absolute;
  top: 0;
  right: 10%;
  width: 60px;
}

/* INSTRUCTION */
.instruction {
  padding: 60px 0;
}
.instruction__container {
  display: block;
}

.instruction__details {
  display: block;
  margin-bottom: 192px;
}
.instruction__details:last-child {
  margin-bottom: 0;
}

.instruction__title-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.instruction__title-wrapper img {
  margin-right: 16px;
}
.instruction__title {
  font-size: 28px;
  line-height: 32px;
  font-weight: 700;
  text-align: center;
}

.instruction__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: -16px;
}

.instruction__item {
  width: calc(33.333% - 32px);
  margin: 16px;
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  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: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.instruction__item-details {
  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: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 32px;
}

.instruction__item-title {
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  margin-bottom: 16px;
}

/* FOOTER */
.footer {
  background-color: #292929;
  padding: 15px 0;
}

.footer__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

/* BTN */
.btn__install {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  padding: 16px 28px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 12px;
  background: #323232;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-transform: uppercase;
  border: none;
  -webkit-transition: background-color 0.2s ease-in-out,
    -webkit-box-shadow 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out,
    -webkit-box-shadow 0.2s ease-in-out;
  -o-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out,
    -webkit-box-shadow 0.2s ease-in-out;
  cursor: pointer;
}

.btn__install:hover {
  background: #4a4a4a;
  -webkit-box-shadow: 4px 6px 25px rgba(0, 0, 0, 0.15);
  box-shadow: 4px 6px 25px rgba(0, 0, 0, 0.15);
}

.btn__install:active {
  -webkit-transform: translateY(1px);
  -ms-transform: translateY(1px);
  transform: translateY(1px);
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* МЕДИА-ЗАПРОСЫ */
@media (max-width: 1170px) {
  .container {
    padding: 0 15px;
  }
}

@media (min-width: 501px) and (max-width: 1170px) {
  .hero {
    padding-top: 80px;
  }
  .hero-description__title {
    font-size: 38px;
    line-height: 42px;
  }

  .circle {
    width: 550px;
    height: 550px;
  }
  .circle img:nth-child(1) {
    width: 150px;
  }
  .circle img:nth-child(2) {
    width: 220px;
  }
  .circle img:nth-child(3) {
    width: 80px;
  }
  .instruction {
    padding: 80px 0;
  }
  .instruction__title {
    font-size: 34px;
    line-height: 38px;
  }
}

@media (min-width: 1171px) {
  .hero {
    padding-top: 135px;
  }
  .hero-description__title {
    font-size: 44px;
    line-height: 48px;
  }
  .hero-pictures {
    height: 740px;
  }
  .circle {
    width: 711px;
    height: 711px;
  }
  .circle img:nth-child(1) {
    width: 210px;
  }
  .circle img:nth-child(2) {
    width: 282px;
  }
  .circle img:nth-child(3) {
    width: 108px;
  }
  .instruction {
    padding: 100px 0;
  }
  .instruction__title {
    font-size: 44px;
    line-height: 48px;
  }
}

@media (max-width: 860px) {
  .hero {
    height: 593px;
    padding-bottom: 0;
    overflow: hidden;
  }
  .hero__container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
  }
  .hero-description {
    max-width: 100%;
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    padding: 0 50px;
    margin-bottom: 40px;
  }
}

@media (max-width: 750px) {
  .hero-pictures__img {
    max-width: 280px;
  }
  .instruction__list {
    display: block;
    margin: 0;
  }
  .instruction__item {
    width: 100%;
    margin: 0 0 32px 0;
  }
  .instruction__item:last-child {
    margin-bottom: 0;
  }
  .instruction__item-img {
    max-width: 280px;
    margin: 0 auto;
  }

  .instruction__title {
    margin-top: 16px;
  }

  .instruction__details {
    margin-bottom: 92px;
  }
}

@media (max-width: 530px) {
  .hero {
    position: relative;
  }
  .hero-description {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
  .hero-pictures {
    position: absolute;
    bottom: -50%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .circle {
    margin-top: 200px;
  }
  .circle img:nth-child(1) {
    top: -1%;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    left: 9%;
    width: 100px;
  }
  .circle img:nth-child(2) {
    top: 11%;
    right: 9%;
    width: 130px;
  }
  .circle img:nth-child(3) {
    top: -27%;
    right: 15%;
    width: 50px;
  }
}

@media (max-width: 400px) {
  .hero-pictures__img {
    max-width: 200px;
  }
  .hero-pictures {
    bottom: -45%;
  }
  .circle img:nth-child(1) {
    top: -4%;
    left: 19%;
    width: 80px;
  }
  .circle img:nth-child(2) {
    top: 17%;
    right: 18%;
    width: 110px;
  }
  .circle img:nth-child(3) {
    top: -28%;
    right: 21%;
    width: 50px;
  }
  .instruction__item-img {
    max-width: 200px;
  }
}
