* {
  font-family: 'Manrope', sans-serif;
}

a {
  text-decoration: none;
}

.header {
  width: 100%;
  background: linear-gradient(
      180deg,
      rgba(31, 31, 31, 0.125) 0%,
      rgba(31, 31, 31, 0.425) 100%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.12) 29%, rgba(0, 0, 0, 0.68) 100%),
    url('../img/les2.png') no-repeat;
  background-size: cover;
}

.navbar {
  padding: 24px 140px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  &-logo {
    margin-right: 61px;
  }
  &-burger {
    margin-right: 40px;
  }
}

.menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  list-style: none;
  margin-left: 0;
  padding: 0;
  &-item {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 26px;
    margin-right: 50px;
    &__link {
      color: #ffffff;
      text-decoration: none;
    }
  }
  &-item:last-child {
    margin-right: 0;
  }
}

.second-menu {
  display: flex;
  flex-direction: row;
  height: 20px;
  list-style: none;
  margin-left: auto;
  padding: 0;
  &-item {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    margin-right: 41px;
    &__link {
      color: #ffffff;
      text-decoration: none;
      &__login {
        display: flex;
        flex-direction: row;
        align-items: center;
        img {
          margin-right: 10px;
        }
        span {
          font-size: 14px;
          line-height: 19px;
          letter-spacing: 0.02em;
        }
      }
      &__lang {
        font-weight: bold;
      }
    }
  }
  &-item:last-child {
    margin-right: 0;
  }
}

.separator {
  box-sizing: border-box;
  width: 100%;
  height: 1px;
  background: #ffffff;
  opacity: 0.1;
}

.header-section {
  display: flex;
  flex-direction: row;
}

.heading {
  padding: 68px 255px 59px 140px;
  width: 1040px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px rgba($color: #fff, $alpha: 0.1) solid;
  &__title {
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 110%;
    letter-spacing: 0.02em;
    color: #ffffff;
    margin: 0;
    margin-bottom: 40px;
  }
  &__slogan {
    font-weight: 800;
    font-size: 70px;
    line-height: 110%;
    letter-spacing: 0.02em;
    color: #ffffff;
    margin: 0;
    margin-bottom: 80px;
  }
  &__button {
    font-weight: bold;
    font-size: 15px;
    line-height: 120%;
    letter-spacing: 0.15em;
    color: #ffffff;
    padding: 21px 40px;
    background: #029745 url('../img/button_mask.svg') no-repeat;
    text-decoration: none;
  }
}

.heading-menu {
  list-style: url('../img/list.svg');
  &-item {
    margin-bottom: 35px;
    margin-left: 45px;
    margin-top: 35px;
    &__link {
      text-decoration: none;
      font-weight: normal;
      font-size: 14px;
      line-height: 26px;
      color: #ffffff;
      opacity: 0.8;
    }
  }
  &-item:last-child {
    margin-bottom: 0;
  }
}

.point {
  margin: 30px 132px 0 139px;
  display: flex;
  justify-content: space-between;
  &-item {
    padding-left: 45px;
    flex-direction: column;
    &__num {
      font-weight: 300;
      font-size: 30px;
      line-height: 120%;
      color: #ffffff;
      margin-bottom: 19px;
      margin-left: -7px;
    }
    &-wrapper {
      height: 94px;
      border-left: 1px rgba($color: #fff, $alpha: 0.5) solid;
      &__title {
        font-weight: normal;
        font-size: 22px;
        line-height: 160%;
        color: #ffffff;
        margin: 0;
        margin-left: 45px;
      }
    }
  }
}

.production {
  background: #f6f8fa url('../img/production_mask.svg') no-repeat right top;
  margin: 0;
  padding: 80px 140px 0;
  &-text {
    width: 680px;
    margin-bottom: 72px;
  }
  &__title {
    font-weight: 800;
    font-size: 50px;
    line-height: 110%;
    letter-spacing: 0.02em;
    color: #16291f;
    margin: 0;
    margin-bottom: 56px;
  }
  &__descr {
    font-weight: 300;
    font-size: 18px;
    line-height: 130%;
    color: #16291f;
    margin: 0;
    margin-bottom: 24px;
  }
  &__link {
    font-weight: bold;
    font-size: 16px;
    line-height: 140%;
    color: #029745;
    text-decoration: none;
    border-bottom: 1px #029745 solid;
    padding-bottom: 5px;
  }
  &-list {
    display: flex;
    &-link {
      margin-right: 20px;
    }
    &-link:last-child {
      margin-right: 0;
    }
    &-item {
      position: relative;
      width: 400px;
      background: #ffffff;
      padding: 66px 52px 75px;
      box-sizing: border-box;
      &__arrow {
        stroke: #029745;
        width: 67px;
        height: 67px;
      }
      &__image {
        position: absolute;
        top: 0;
        right: 0;
        clip-path: polygon(50% 0, 100% 0, 100% 50%, 75% 75%, 25% 25%);
      }
      &__title {
        font-weight: bold;
        font-size: 20px;
        line-height: 130%;
        color: #16291f;
        margin: 40px 0;
        width: 190px;
        height: 52px;
      }
      &__descr {
        font-weight: 300;
        font-size: 18px;
        line-height: 130%;
        color: #16291f;
      }
    }
    &-item:hover {
      background: #029745;
      cursor: pointer;
      transition: 0.4s;
    }
    &-item:hover &-item__title,
    &-item:hover &-item__descr {
      color: #ffffff;
      transition: 0.4s;
    }
    &-item:hover &-item__arrow {
      stroke: #ffffff;
      transition: 0.4s;
    }
  }
  &-separator {
    margin-top: 56px;
    height: 3px;
    background: #029745;
  }
}

.company {
  background: #f6f8fa;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  &-text {
    width: 50%;
    box-sizing: border-box;
    padding: 85px 160px 85px 140px;
  }
  &__title {
    font-weight: 800;
    font-size: 50px;
    line-height: 110%;
    letter-spacing: 0.02em;
    color: #16291f;
    margin: 0;
    margin-bottom: 56px;
  }
  &__descr {
    font-weight: 300;
    font-size: 18px;
    line-height: 130%;
    color: #16291f;
    margin: 0;
    margin-bottom: 23px;
  }
  &__descr:last-child {
    margin-bottom: 0;
  }
  &-fact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 50%;
    box-sizing: border-box;
    &-item {
      display: flex;
      flex-direction: column;
      width: 50%;
      height: 50%;
      padding: 80px 97px;
      box-sizing: border-box;
      border-bottom: 1px solid #e6e9f0;
      border-left: 1px solid #e6e9f0;
      &__num {
        font-weight: 800;
        font-size: 40px;
        line-height: 130%;
        color: #029745;
        margin-bottom: 8px;
      }
      &__descr {
        font-weight: 300;
        font-size: 18px;
        line-height: 130%;
        color: #16291f;
      }
    }
  }
  &-video {
    content: url('../img/video.png');
    box-sizing: border-box;
    width: 50%;
    object-fit: cover;
  }
  &-button {
    position: absolute;
    left: 50%;
    bottom: 410px;
    transform: translate(-50%, 50%);
  }
  &-tour {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    width: 50%;
    padding: 0 120px 0 140px;
    &__text {
      font-weight: 300;
      font-size: 18px;
      line-height: 130%;
      color: #555e59;
      margin: 0;
    }
    &-wrapper {
      margin-top: 85px;
      margin-bottom: 21px;
    }
    &__button {
      font-weight: bold;
      font-size: 15px;
      line-height: 120%;
      letter-spacing: 0.15em;
      color: #ffffff;
      padding: 21px 40px;
      background: #029745 url('../img/button_mask.svg') no-repeat;
      text-decoration: none;
      margin-right: 56px;
    }
    &__link {
      font-weight: bold;
      font-size: 16px;
      line-height: 140%;
      color: #029745;
      text-decoration: none;
      border-bottom: 1px #029745 solid;
      padding-bottom: 5px;
    }
  }
  &-top {
    display: flex;
    width: 100%;
    &-item {
      width: 25%;
      padding: 112px 120px 112px 80px;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      &__num {
        font-weight: 800;
        font-size: 40px;
        line-height: 110%;
        color: #029745;
        margin-bottom: 16px;
      }
      &__descr {
        font-weight: 300;
        font-size: 18px;
        line-height: 130%;
        color: #16291f;
        margin-bottom: 40px;
        max-width: 280px;
      }
      &__image {
        width: 90px;
      }
    }
    &-item:nth-child(2n + 1) {
      background: #ffffff;
    }
    &-item:last-child {
      width: 50%;
      background: #ffffff url('../img/top_mask.svg') no-repeat bottom right;
    }
  }
}

.press {
  background: #f6f8fa;
  margin: 0;
  padding: 80px 21px 56px 0;
  box-sizing: border-box;
  &__title {
    font-weight: 800;
    font-size: 50px;
    line-height: 120%;
    color: #16291f;
    margin: 0;
    margin-bottom: 56px;
    margin-left: 25%;
  }
  &-wrapper {
    margin-left: 25%;
    display: flex;
    align-items: center;
    &__button {
      height: 66px;
      background: #029745;
      font-weight: bold;
      font-size: 15px;
      line-height: 120%;
      letter-spacing: 0.03em;
      color: #ffffff;
      text-align: center;
      padding: 24px 56px;
      box-sizing: border-box;
      &--disabled {
        border: 1px solid rgba(214, 217, 229, 0.5);
        box-sizing: border-box;
        background: none;
        color: #8e9a93;
      }
    }
    &__link {
      font-weight: bold;
      font-size: 16px;
      line-height: 140%;
      color: #029745;
      border-bottom: 1px #029745 solid;
      padding-bottom: 3px;
      margin-left: 56px;
    }
  }
  &-content {
    display: flex;
    &-media {
      box-sizing: border-box;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      margin-top: 48px;
      padding-left: 140px;
      flex: 0 0 auto;
      width: 25%;
      &-wrapper {
        border: 1px solid #e6e9f0;
        height: 141px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        &__link {
          margin-right: 32px;
        }
        &__link:last-child {
          margin-right: 0;
        }
        &__icon {
          stroke: #029745;
        }
        &__social {
          fill: #029745;
        }
        &__text {
          margin-left: 16px;
          font-weight: bold;
          font-size: 15px;
          line-height: 120%;
          letter-spacing: 0.03em;
          color: #8e9a93;
        }
      }
      &-wrapper:nth-child(n + 2) {
        border-top: none;
      }
      &-wrapper:hover:nth-child(n + 2) {
        background: #029745;
        color: #fff;
        transition: 0.4s;
      }
      &-wrapper:hover &-wrapper__text {
        color: #fff;
        transition: 0.4s;
      }
      &-wrapper:hover &-wrapper__icon {
        stroke: #fff;
        transition: 0.4s;
      }
      &-wrapper__social:hover {
        fill: #c7c9cf;
        transition: 0.4s;
      }
    }
    &-news {
      margin-top: 48px;
      display: flex;
      box-sizing: content-box;
      flex: 0 0 auto;
      width: 75%;
      &-list {
        list-style: url('../img/news_list.svg');
        display: flex;
        margin: 0;
        width: 100%;
        padding-left: 0;
        &-item {
          width: 33%;
          margin-left: 40px;
          &__text {
            margin: 0;
            margin-bottom: 15px;
            font-weight: bold;
            font-size: 17px;
            line-height: 140%;
            color: #16291f;
            width: 350px;
          }
          &__date {
            font-weight: normal;
            font-size: 14px;
            line-height: 160%;
            color: #93969e;
          }
          &__img {
            margin-left: -40px;
            margin-top: 32px;
          }
        }
      }
    }
  }
}
