body {
  font-family: "Mulish", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
  font-style: normal;
  background-color: #fff;
  color: #333;
}

.container {
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

.title {
  position: relative;
  margin-bottom: 60px;
  display: inline-block;
  font-size: 48px;
  font-weight: 700;
  z-index: 1;
}

.title::after {
  content: "";
  position: absolute;
  left: 0;
  top: 70%;
  width: 100%;
  height: 15px;
  background-color: #0A663A;
  opacity: 0.2;
  z-index: -1;
}

.section {
  padding: 140px 0;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #0A663A;
  color: #fff;
  border-radius: 4px;
  transition: background-color 0.6s, outline 0.6s, color 0.6s, box-shadow 0.6s;
}

.btn:hover {
  background-color: #fff;
  color: #0A663A;
  outline: 2px solid #0A663A;
}

.btn:focus {
  outline: 3px solid rgba(10, 102, 58, 0.5);
}

.btn:active {
  background-color: #0A663A;
  color: #fff;
  box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.5);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.header {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  z-index: 0;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 102, 58, 0.6);
  z-index: -1;
}

.header__nav {
  display: flex;
  padding-top: 78px;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: block;
  transition: opacity 0.6s, outline 0.6s;
}

.logo:focus {
  outline: 2px solid #fff;
}

.logo:hover {
  opacity: 0.7;
}

.logo:active {
  opacity: 0.5;
}

.header__menu {
  display: flex;
}

.header__item:not(:last-child) {
  margin-right: 31px;
}

.header__link {
  border-radius: 3px;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.6s, opacity 0.6s, outline 0.6s;
}

.header__link:hover {
  text-decoration-color: currentColor;
}

.header__link:focus {
  outline: 2px solid #fff;
}

.header__link:active {
  opacity: 0.5;
}

.header__content {
  height: calc(100vh - 122px);
  display: flex;
  align-items: center;
}

.header__title {
  font-size: 90px;
  font-weight: 700;
  max-width: 900px;
}

.header__subtitle {
  display: block;
  font-size: 48px;
  font-weight: 400;
}

.header__button {
  gap: 5px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  border-radius: 3px;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: underline transparent;
  transition: text-decoration-color 0.6s, outline 0.6s, opacity 0.6s;
}

.header__button::after {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('../images/arrow.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.header__button:hover {
  text-decoration-color: currentColor;
}

.header__button:focus {
  outline: 2px solid #fff;
}

.header__button:active {
  opacity: 0.5;
}

.about__text {
  line-height: 1.6;
}

.about__text p:not(:last-child) {
  margin-bottom: 20px;
}

.skills {
  background-color: rgba(10, 102, 58, 0.05);
}

.skills__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skills__img {
  margin-right: 90px;
}

.skills__list {
  max-width: 665px;
  width: 100%;
}

.skills__item {
  font-weight: 600;
  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: 15px;
}

.skills__line {
  background-color: #0A663A;
  height: 100%;
}

.services__content {
  display: flex;
  justify-content: space-between;
}

.services__item {
  max-width: 330px;
  width: 100%;
}

.services__item:not(:last-child) {
  margin-right: 90px;
}

.services__subtitle {
  font-size: 28px;
  margin-bottom: 25px;
}

.services__text {
  font-size: 16px;
  line-height: 1.6;
}

.services__item::before {
  content: '';
  display: block;
  width: 60px;
  height: 60px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin-bottom: 30px;
}

.services__item--design::before {
  background-image: url('../images/color.svg');
}

.services__item--layout::before {
  background-image: url('../images/arroww.svg');
}

.services__item--cms::before {
  background-image: url('../images/charging.svg');
}

.portfolio {
  padding-top: 0;
  text-align: center;
}

.portfolio__list {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.portfolio__item:not(:last-child) {
  margin-right: 50px;
}

.portfolio__button {
  line-height: 1.6;
  font-size: 24px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.6s, color 0.6s, outline 0.6s, border-radius 0.6s;
}

.portfolio__button:hover {
  color: #0A663A;
  text-decoration-color: currentColor;
}

.portfolio__button:focus {
  outline: solid 2px #0A663A;
  border-radius: 3px;
}

.portfolio__button:active {
  color: #0A663A;
}

.portfolio__button.mixitup-control-active {
  color: #0A663A;
}

.portfolio__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 45px;
  margin-bottom: 60px;
}

.testimonials {
  text-align: center;
  background-color: rgba(10, 102, 58, 0.05);
}

.testimonials__content {
  display: flex;
  justify-content: center;
  font-size: 24px;
  align-items: center;
}

.testimonials__quotes {
  max-width: 400px;
  width: 100%;
  margin-right: 100px;
}

.testimonials__avatar {
  margin: 0 auto 20px;
  border-radius: 50%;
}

.testimonials__name {
  display: block;
  color: #0A663A;
  font-weight: 700;
  font-style: normal;
  margin-bottom: 20px;
}

.testimonials__text {
  font-style: italic;
}

.testimonials__video {
  max-width: 570px;
  width: 100%;
  height: 400px;
  position: relative;
  display: block;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: outline 0.6s;
}

.testimonials__video::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
  transition: background-color 0.6s;
}

.testimonials__video::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 85px;
  height: 100px;
  transform: translate(-50%, -50%);
  background-image: url('../images/play.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 2;
  transition: transform 0.6s;
}

.testimonials__video:hover::before {
  background-color: rgba(0, 0, 0, 0.6);
}

.testimonials__video:hover::after {
  transform: translate(-50%, -50%) scale(1.3);
}

.testimonials__video:focus {
  outline: 4px solid rgba(10, 102, 58, 0.7);
}

.testimonials__video:active::before {
  background-color: rgba(0, 0, 0, 0.7);
}

.testimonials__video:active::after {
  transform: translate(-50%, -50%) scale(0.75);
}

.stats__list {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.stats__item {
  background-color: rgba(10, 102, 58, 0.05);
  width: 255px;
  border: 1px solid #d0e5da;
  border-radius: 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 8px;
}

.stats__item::before {
  content: '';
  display: block;
  width: 80px;
  height: 80px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin-bottom: 20px;
}

.stats__item--projects::before {
  background-image: url('../images/color_palette.svg');
}

.stats__item--customers::before {
  background-image: url('../images/users.svg');
}

.stats__item--designs::before {
  background-image: url('../images/share_picture.svg');
}

.stats__item--reviews::before {
  background-image: url('../images/chat.svg');
}

.stats__text {
  margin-bottom: 20px;
}

.stats__number {
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
}

.contact {
  padding-top: 0;
}

.contact__wrapper {
  display: flex;
}

.contact__info {
  max-width: 532px;
  width: 100%;
  margin-right: 100px;
  font-size: 16px;
}

.contact__text {
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact__list {
  margin-bottom: 30px;
}

.contact__item:not(:last-child) {
  margin-bottom: 15px;
}

.contact__link {
  color: #0A663A;
  text-decoration: underline;
  border-radius: 3px;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.6s, opacity 0.6s, outline 0.6s;
}

.contact__link:hover {
  text-decoration-color: currentColor;
}

.contact__link:focus {
  outline: 1px solid #0A663A;
}

.contact__link:active {
  opacity: 0.7;
}

.social {
  display: flex;
  gap: 20px;
}

.social__link {
  display: inline-block;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 0.6s, box-shadow 0.6s, outline 0.6s;
}

.social__link:hover {
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
}

.social__link:focus {
  outline: 2px solid #0A663A;
}

.social__link:active {
  opacity: 0.5;
}

.form {
  max-width: 540px;
  width: 100%;
  
}

.form__top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.form__label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
  width: 47%;
  font-size: 14px;
}

.form__label--big {
  width: 100%;
}

.form__input {
  display: block;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: rgba(10, 102, 58, 0.08);
  transition: border-color 0.6s;
}

.form__input::placeholder {
  transition: color 0.6s;
}

.form__input:hover::placeholder {
  color: #000;
}

.form__input:focus {
  border-color: rgba(10, 102, 58, 0.5);
}

.form__input--textarea {
  min-height: 115px;
  max-height: 350px;
  resize: vertical;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 0;
  background-color: #063A21;
}