body {
  font-family: "Mulish", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 140px 0;
}

.title {
  font-weight: 700;
  font-size: 48px;
  position: relative;
  margin-bottom: 60px;
  display: inline-block;
}

.title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 15px;
  background-color: rgba(10, 102, 58, 0.2);
  z-index: -1;
}

.button {
  border-radius: 4px;
  color: #fff;
  background-color: #0a663a;
  padding: 12px 27px;
  transition: outline 0.5s, color 0.5s, background-color 0.5s, box-shadow 0.5s;
}

.button:focus {
  outline: 2px solid rgba(10, 102, 58, 0.5);
}

.button:hover {
  outline: 1px solid #0a663a;
  color: #0a663a;
  background-color: transparent;
}

.button:active {
  box-shadow: inset 0 7px 4px 0 rgba(0, 0, 0, 0.25);
  color: #fff;
  background-color: #0a663a;
}

.header {
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.header::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 100%;
  background-color: #0A663A;
  opacity: 0.6;
  z-index: -1;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 76px;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1170px;
  width: 100%;
  z-index: 1;
  transition: padding 0.5s;
}

.menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  z-index: -1;
  background-color: transparent;
  transition: background-color 0.5s, backdrop-filter 0.5s;
}

.menu__scrolled {
  padding-top: 15px;
  padding-bottom: 15px;
}

.menu__scrolled::before {
  backdrop-filter: blur(3px);
  background-color: rgba(10, 102, 58, 0.9);
}

.menu-is-open {
  overflow: hidden;
}

.logo {
  display: block;
  transition: outline 0.5s, opacity 0.5s;
}

.logo:focus {
  outline: 2px solid rgba(255, 255, 255, 0.6);
}

.logo:hover {
  opacity: 0.7;
}

.logo:active {
  opacity: 0.5;
}

.menu__button {
  display: none;
}

.menu__list {
  display: flex;
  gap: 30px;
}

.menu__link {
  display: block;
  border-radius: 3px;
  text-decoration: underline transparent;
  transition: outline 0.5s, opacity 0.5s, text-decoration-color 0.5s;
}

.menu__link:focus {
  outline: 2px solid rgba(255, 255, 255, 0.6);
}

.menu__link:hover {
  text-decoration-color: #fff;
}

.menu__link:active {
  opacity: 0.5;
}

.header__content {
  padding-top: 122px;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.header__title {
  max-width: 900px;
  width: 100%;
  font-weight: 700;
  font-size: 90px;
}

.header__subtitle {
  display: block;
  font-weight: 400;
  font-size: 48px;
}

.header__link {
  font-weight: 700;
  text-transform: uppercase;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px;
  text-decoration: underline transparent;
  transition: outline 0.5s, opacity 0.5s, text-decoration-color 0.5s;
}

.header__link::after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  background-size: auto;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../images/arrow.svg');
  margin: 5px auto 0;
}

.header__link:focus {
  outline: 2px solid rgba(255, 255, 255, 0.6);
}

.header__link:hover {
  text-decoration-color: #fff;
}

.header__link:active {
  opacity: 0.5;
}

.about__text p {
  line-height: 1.6;
}

.about__text p:not(:last-child) {
  margin-bottom: 20px;
}

.skills {
  background-color: rgba(10, 102, 58, 0.05);
}

.skills__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 90px;
  align-items: center;
}

.skills__list {
  max-width: 665px;
  width: 100%;
}

.skills__item {
  line-height: 1.6;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skills__item:not(:last-child) {
  margin-bottom: 86px;
}

.skills__bar {
  background-color: #c5c5c5;
  height: 32px;
  width: 90%;
  margin-left: 14px;
}

.skills__progress {
  background-color: #0a663a;
  height: 100%;
}

.services__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px 90px;
}

.services__item {
  max-width: 330px;
  width: 100%;
}

.services__item::before {
  content: '';
  display: block;
  width: 60px;
  height: 60px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 30px;
}

.services__item--design::before {
  background-image: url('../images/services-1.svg');
}

.services__item--layout::before {
  background-image: url('../images/services-2.svg');
}

.services__item--connection::before {
  background-image: url('../images/services-3.svg');
}

.services__heading {
  font-size: 28px;
  margin-bottom: 25px;
}

.services__text {
  font-size: 16px;
  line-height: 1.6;
}

.projects {
  text-align: center;
  padding-top: 0;
}

.projects__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
}

.projects__button {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.6;
  border-radius: 3px;
  text-decoration: underline transparent;
  transition: outline 0.5s, color 0.5s, text-decoration-color 0.5s;
}

.projects__button.mixitup-control-active {
  color: #0a663a;
}

.projects__button:focus {
  outline: 2px solid #0a663a;
}

.projects__button:hover {
  color: #0a663a;
  text-decoration-color: #0a663a;
}

.projects__button:active {
  color: #0a663a;
}

.projects__items {
  display: flex;
  flex-wrap: wrap;
  gap: 45px;
  margin-bottom: 60px;
}

.reviews {
  background-color: rgba(10, 102, 58, 0.05);
  text-align: center;
}

.reviews__wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 65px 100px;
}

.blockquote {
  max-width: 400px;
  width: 100%;
  font-size: 24px;
  font-style: italic;
  display: flex;
  flex-direction: column;
}

.reviews__img {
  border-radius: 50%;
  margin: 0 auto 20px;
}

.blockquote--author {
  font-style: normal;
  font-weight: 700;
  color: #0a663a;
  margin-bottom: 20px;
}

.reviews__video {
  position: relative;
  display: block;
  max-width: 570px;
  width: 100%;
  height: 400px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: border 0.5s;
}

.reviews__video:focus {
  border: 4px solid rgba(10, 102, 58, 0.7);
}

.reviews__video::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  transition: background-color 0.5s;
}

.reviews__video:hover::before {
  background-color: rgba(0, 0, 0, 0.6);
}

.reviews__video:active::before {
  background-color: rgba(0, 0, 0, 0.7);
}

.reviews__video::after {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 81px;
  height: 93px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../images/play.svg');
  transition: transform 0.5s;
}

.reviews__video:hover::after {
  transform: translate(-50%, -50%) scale(1.2);
}

.reviews__video:active::after {
  transform: translate(-50%, -50%) scale(0.8);
}

.stats__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

.stats__item {
  text-align: center;
  max-width: 255px;
  width: 100%;
  background-color: rgba(10, 102, 58, 0.05);
  border: 1px solid rgba(10, 102, 58, 0.2);
  border-radius: 4px;
  padding: 50px 10px;
}

.stats__item::before {
  content: '';
  display: block;
  width: 80px;
  height: 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 auto 20px;
}

.stats__item--projects::before {
  background-image: url('../images/item--projects.svg');
}

.stats__item--customers::before {
  background-image: url('../images/item--customers.svg');
}

.stats__item--designs::before {
  background-image: url('../images/item--designs.svg');
}

.stats__item--reviews::before {
  background-image: url('../images/item--reviews.svg');
}

.stats__text {
  margin-bottom: 20px;
}

.stats__num {
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
}

.contacts {
  padding-top: 0;
}

.contacts__wrapper {
  display: flex;
  justify-content: space-between;
  gap: 30px 0;
}

.contacts__inner {
  max-width: 530px;
  width: 100%;
}

.contacts__text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.contacts__list {
  margin-bottom: 30px;
}

.contacts__item:not(:last-child) {
  margin-bottom: 12px;
}

.contacts__link {
  font-size: 16px;
  color: #0a663a;
  border-radius: 3px;
  text-decoration: underline transparent;
  transition: outline 0.5s, opacity 0.5s, text-decoration-color 0.5s;
}

.contacts__link:focus {
  outline: 1px solid currentColor;
}

.contacts__link:hover {
  text-decoration-color: currentColor;
}

.contacts__link:active {
  opacity: 0.5;
}

.social__list {
  display: flex;
  gap: 20px;
}

.social__link {
  display: block;
  width: 44px;
  height: 44px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80%;
  border-radius: 8px;
  transition: outline 0.5s, box-shadow 0.5s, opacity 0.5s;
}

.social__link:focus {
  outline: 2px solid #0a663a;
}

.social__link:hover {
  box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, 0.25);
}

.social__link:active {
  opacity: 0.7;
}

.form {
  max-width: 540px;
  width: 100%;
}

.form__top {
  display: flex;
  justify-content: space-between;
}

.form__label {
  display: block;
  width: 47%;
  margin-bottom: 30px;
  font-size: 14px;
}

.form__label:nth-child(1) {
  margin-right: 15px;
}

.form__label--big {
  width: 100%;
}

.form__input {
  background-color: rgba(10, 102, 58, 0.08);
  display: block;
  width: 100%;
  padding: 13px 15px;
  border-radius: 4px;
  margin-top: 10px;
  transition: outline 0.5s;
}

.form__input:focus {
  outline: 1px solid rgba(10, 102, 58, 0.5);
}

.form__input::placeholder {
  transition: color 0.5s;
}

.form__input:hover::placeholder {
  color: #000;
}

.form__input--textarea {
  min-height: 115px;
  resize: vertical;
  max-height: 400px;
}

.footer {
  background-color: #063a21;
  padding: 50px 0;
  display: flex;
  justify-content: center;
}

@media (max-width: 1200px) {
  .menu {
    padding: 20px 15px;
  }

  .projects__items {
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .header__logo {
    position: relative;
    z-index: 2;
  }

  .menu__button {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    position: relative;
    z-index: 2;
    transition: outline 0.5s, background-color 0.5s;
  }

  .menu__button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.6);
  }

  .menu__button:active {
    background-color: rgba(255, 255, 255, 0.1);
  }

  .menu__button-line {
    width: 30px;
    height: 2px;
    border-radius: 1px;
    background-color: #fff;
    position: relative;
  }

  .menu__button-line::before,
  .menu__button-line::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    width: 30px;
    height: 2px;
    border-radius: 1px;
    background-color: #fff;
    transition: transform 0.5s;
  }

  .menu__button-line::before {
    top: 10px;
  }

  .menu__button-line::after {
    bottom: 10px;
  }

  .menu--open .menu__button-line {
    background-color: transparent;
  }

  .menu--open .menu__button-line::before {
    transform: rotate(45deg);
    top: 0;
  }

  .menu--open .menu__button-line::after {
    transform: rotate(-45deg);
    bottom: 0;
  }

  .menu__list {
    position: absolute;
    flex-direction: column;
    align-items: center;
    background-color: #063a21;
    z-index: 1;
    width: 100%;
    height: 100vh;
    top: 0;
    right: 0;
    transform: translateY(-100%);
    transition: transform 0.5s;
    padding-top: 150px;
    gap: 0;
    text-align: center;
  }

  .menu--open .menu__list {
    transform: translateY(0);
  }

  .menu__item {
    width: 100%;
  }

  .menu__link {
    padding: 11px;
    border-radius: 0;
    transition: background-color 0.5s, opacity 0.5s, outline 0.5s;
  }

  .menu__link:hover {
    text-decoration-color: transparent;
  }

  .menu__link:active {
    background-color: #535353;
    opacity: 1;
  }

  .skills__item:not(:last-child) {
    margin-bottom: 60px;
  }

  .projects {
    padding-top: 0;
  }

  .projects__items {
    gap: 30px;
  }

  .projects__item {
    max-width: 47%;
  }

  .projects__img {
    width: 100%;
    height: auto;
  }

  .menu-is-open .reviews__video {
    pointer-events: none;
  }

  .contacts__wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .title {
    margin-bottom: 50px;
  }

  .logo {
    max-width: 109px;
  }

  .logo__img {
    height: auto;
  }

  .menu__button {
    width: 44px;
    height: 44px;
  }

  .menu__button::before {
    top: 1px;
  }

  .menu--open .menu__button::before {
    top: 10px;
  }

  .menu__button::after {
    bottom: 1px;
  }

  .menu--open .menu__button::after {
    bottom: 10px;
  }

  .header__content {
    padding-top: 72px;
  }

  .header__title {
    font-size: 58px;
  }

  .header__subtitle {
    font-size: 31px;
  }

  .header__link {
    font-size: 14px;
  }

  .about__text {
    text-align: left;
  }

  .skills__inner {
    padding: 0 20px;
    gap: 30px;
  }

  .skills__img {
    height: auto;
  }

  .skills__item {
    flex-direction: column;
  }

  .skills__item:not(:last-child) {
    margin-bottom: 15px;
  }

  .skills__bar {
    margin-left: 0;
  }

  .projects {
    padding-top: 0;
  }

  .projects__list {
    flex-direction: column;
    gap: 0;
  }

  .projects__inner {
    width: 100%;
  }

  .projects__button {
    padding: 6px;
    width: 100%;
  }

  .projects__items {
    gap: 15px;
  }

  .stats__list {
    gap: 15px;
    width: 100%;
  }

  .stats__item {
    width: calc(50% - 7.5px);
  }

  .contacts {
    padding-top: 0;
  }
}

@media (max-width: 576px) {
  .section {
    text-align: center;
    padding: 50px 0;
  }

  .title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .title::after {
    height: 10px;
  }

  .menu {
    padding: 13px 15px;
  }

  .menu__list {
    padding-top: 81px;
  }

  .header__content {
    padding-top: 57px;
  }

  .header__title {
    font-size: 30px;
    line-height: 1.6;
  }

  .header__subtitle {
    font-size: 21px;
    line-height: 1.6;
  }

  .header__link {
    bottom: 20px;
  }

  .header__link::after {
    width: 30px;
    height: 30px;
    background-size: cover;
  }

  .skills__bar {
    width: 100%;
  }

  .services__list {
    gap: 30px;
    text-align: left;
  }

  .services__item {
    max-width: 100%;
  }

  .services__item::before {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
  }

  .services__heading {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .projects {
    padding-top: 0;
  }

  .projects__list {
    margin-bottom: 30px;
  }

  .projects__button {
    font-weight: 400;
    font-size: 18px;
  }

  .projects__items {
    margin-bottom: 30px;
  }

  .reviews__wrapper {
    gap: 0;
    position: relative;
  }

  .blockquote {
    font-size: 16px;
    position: relative;
  }

  .blockquote--author {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .reviews__img {
    margin-bottom: 26px;
  }

  .reviews__video {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    top: 90px;
    left: calc(50% + 26px);
    overflow: hidden;
  }

  .reviews__video::after {
    max-width: 17px;
    height: 19px;
  }

  .stats__item {
    max-width: 165px;
    padding: 23px 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .stats__item::before {
    width: 40px;
    height: 40px;
    margin-bottom: 17px;
  }

  .stats__text {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .stats__num {
    font-size: 30px;
  }

  .contacts {
    padding-top: 0;
  }

  .contacts__wrapper {
    justify-content: left;
    text-align: left;
    gap: 40px;
  }

  .contacts__text {
    margin-bottom: 16px;
  }

  .contacts__list {
    margin-bottom: 13px;
  }

  .contacts__item {
    width: 100%;
  }

  .contacts__item:not(:last-child) {
    margin-bottom: 0;
  }

  .contacts__link {
    display: block;
    padding: 7px 1px;
    width: 100%;
  }

  .form {
    max-width: 468px;
  }

  .form__top {
    flex-direction: column;
  }

  .form__label {
    width: 100%;
  }

  .form__label:nth-child(1) {
    margin-right: 0;
  }

  .footer {
    padding: 38px 0 37px;
  }
}

@media (max-width: 992px) and (orientation: landscape) {
  .section {
    text-align: center;
    padding: 50px 0;
  }

  .title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .title::after {
    height: 10px;
  }

  .logo {
    max-width: 109px;
  }

  .logo__img {
    height: auto;
  }

  .menu {
    padding: 20px;
  }

  .menu__list {
    padding-top: 81px;
  }

  .header__content {
    padding-top: 72px;
  }

  .header__title {
    font-size: 30px;
    line-height: 1.6;
  }

  .header__subtitle {
    font-size: 21px;
    line-height: 1.6;
  }

  .header__link {
    font-size: 14px;
    bottom: 20px;
  }

  .header__link::after {
    width: 30px;
    height: 30px;
    background-size: cover;
  }

  .about__text {
    text-align: left;
  }

  .services__list {
    gap: 30px;
    text-align: left;
  }

  .services__item {
    max-width: 100%;
  }

  .services__item::before {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
  }

  .services__heading {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .projects {
    padding-top: 0;
  }

  .projects__list {
    margin-bottom: 22px;
    gap: 0;
  }

  .projects__inner {
    padding: 8px 15px;
  }

  .projects__button {
    font-weight: 400;
    font-size: 18px;
    width: 100%;
  }

  .projects__items {
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 30px;
  }

  .stats__list {
    gap: 15px;
  }

  .stats__item {
    max-width: 165px;
    padding: 23px 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .stats__item::before {
    width: 40px;
    height: 40px;
    margin-bottom: 17px;
  }

  .stats__text {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .stats__num {
    font-size: 30px;
  }

  .contacts {
    padding-top: 0;
  }

  .contacts__wrapper {
    text-align: left;
    justify-content: center;
    gap: 40px;
  }

  .contacts__text {
    margin-bottom: 16px;
  }

  .contacts__list {
    margin-bottom: 13px;
  }

  .contacts__item {
    width: 100%;
  }

  .contacts__item:not(:last-child) {
    margin-bottom: 0;
  }

  .contacts__link {
    display: block;
    padding: 7px 1px;
    width: 100%;
  }

  .form__top {
    flex-direction: column;
  }

  .form__label {
    width: 100%;
  }

  .form__label:nth-child(1) {
    margin-right: 0;
  }

  .footer {
    padding: 38px 0 37px;
  }
}