/* @import url("./reset.css"); */
/* альтернативный способ подключения файла сброса стилей */
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

html {
  /*   scroll-behavior: smooth; */
}

body {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #000000;
}

.container {
  max-width: 1230px;
  padding: 0 30px;
  margin: 0 auto;
}

/* Header */
.header {
  padding-top: 46px;
  background: #F1F1F1;
}

.header__nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.logo {
  position: relative;
  padding-right: 12px;
  padding-bottom: 3px;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: #000000;
}

.logo::after {
  position: absolute;
  right: 0;
  bottom: 0;
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background: #FDA300;
  border-radius: 50%;
}

/* Navigation */
.header__nav {
  margin-bottom: 76px;
}

.nav__list {
  display: flex;
  column-gap: 50px;
  font-weight: 500;
  font-size: 14px;
}

.nav__link {
  color: #000000;
}

.nav__link:hover {
  color: #606060;
}

.nav__open {
  display: none;
}

.header__row {
  display: flex;
  justify-content: space-between;
  column-gap: 30px;
}

.header__content {
  max-width: 500px;
  margin-top: 124px;
}

.header__heading {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 44px;
  line-height: 66px;
}

.header__text {
  line-height: 2;
}

/* Services */
.services {
  padding: 90px 0;
}

.services__row {
  display: flex;
  column-gap: 30px;
  flex-wrap: wrap;
  row-gap: 60px;
}

.services__card {
  flex: 1 1 0;
  min-width: 315px;

}

.services__img {
  margin-bottom: 30px;
}

.services__title {
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.services__text {
  line-height: 2;
}

/* Portfolio */
.portfolio {
  padding: 90px 0;
  background: #F1F1F1;
}

.portfolio__title {
  margin-bottom: 70px;
  font-weight: 600;
  font-size: 34px;
  line-height: 51px;
  text-align: center;
}

.portfolio__project {
  text-align: center;
  margin-bottom: 90px;
  text-decoration: underline;
}

.portfolio__project:last-child {
  margin-bottom: 0;
}

.portfolio__img {
  margin-bottom: 40px;
}

.portfolio__link {
  font-size: 18px;
  line-height: 27px;
  display: block;
  color: #070707;
}

.portfolio__link:hover {
  color: #606060;
}

/* Footer */
.footer {
  padding: 90px 0;
}

.footer__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer__title {
  margin-bottom: 40px;
  font-weight: 600;
  font-size: 34px;
  line-height: 51px;
}

.footer__content {
  max-width: 296px;
  margin-bottom: 40px;
  font-size: 18px;
}

.footer__button {
  margin-bottom: 80px;
}

.button {
  display: inline-block;
  padding: 7px 22px;
  border-radius: 25px;
  font-size: 18px;
  line-height: 27px;
  background: #070707;
  color: #FFFFFF;
  transition: background-color 0.2s ease-in, top 0.2s ease-in;
}

.button:hover,
.button:focus {
  background-color: #3b3b3b;
}

.button:active {
  position: relative;
  top: 1px;
  background-color: #000000;
}

.footer__social {
  margin-bottom: 40px;
}

.footer__list {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 60px;
}

.footer__text {
  line-height: 21px;
  color: #828282;
}