* {
  box-sizing: border-box;
  /* размеры будут как на дизайн проекте */
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: black;
}
img {
  max-width: 100%;
}
footer {
  padding-top: 45px;
  padding-bottom: 130px;
  background-color: #1e4776;
  color: white;
}
.conteiner {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}
.none {
  display: none !important;
}
/* Header */
.header {
  position: relative;
  width: 100%;
  height: 100vh;
  /* background-color: #556983; */
  background-image: url('./../Image/header/home-office.jpg');
  background-size: cover;
  background-position: center;
  display: flex; /* определяем модель flex-box для блока .header*/
  flex-direction: column; /* Вістраивае флекс бокс в колонку. Основная ось - У */

  align-items: center; /* выравнивание по оставшейся оси Х*/
}
.header-title {
  margin: 0;
  margin-bottom: 25px;
  font-weight: 700;
  font-size: 56px;
  line-height: 130%;

  text-align: center;
  color: #fff;
}
.header-subtitle {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  letter-spacing: 0.2em;
  color: #ffffffff;
}
.header-arrow {
  width: 48px;
  height: 48px;
  /* background-color: red; */
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translate(50%, 0);
}
/* Portfolio */
.portfolio {
  padding-top: 80px;
  padding-bottom: 115px;
}
.portfolio-title {
  text-align: center;
  margin-bottom: 10px;
}
.portfolio-progress {
  background-color: rgb(90, 90, 90);
  padding: 20px 15px;
}
.portfolio-progress-text {
  color: #fff;
}
.progress {
  background-color: rgb(255, 255, 255);
  height: 6px;
  border-radius: 16px;
  overflow: hidden;
  margin: 1em;
}

.progress::before {
  content: '';
  width: var(--progress);
  height: 100%;
  display: block;
  background-image: linear-gradient(
    to right,
    rgb(35, 95, 103),
    rgb(62, 155, 170)
  );
}
.portfolio-header {
  margin: 0;
  margin-bottom: 70px;
  font-weight: 700;
  font-size: 46px;
  line-height: 130%;
  text-align: center;
  color: black;
}
.portfolio-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.card {
  margin-bottom: 30px;

  max-width: 540px;
  background-color: white;
  box-shadow: 0px 10px 40px rgba(126, 155, 189, 0.35);
  /* Плавный переход при активации */
  transition: transform 0.2s ease-in;
}
.card:hover {
  transform: translateY(-15px);
}
.card-link {
  /* padding отступы от рамки */
  padding: 20px;
  display: block;
  color: black;
  text-decoration: none;
  transition: color 0.2s ease-in;
}
.card-link:hover {
  color: rgb(39, 91, 236);
}
/* псевдосилектор для выбора последней карты в флексе */
.card:last-child {
  /* background-color: aqua; */
  margin-bottom: 0;
}
/* предпоследняя карта */
.card:nth-last-child(2) {
  /* background-color: aqua; */
  margin-bottom: 0;
}
.card-img {
  margin-bottom: 20px;
}
.card-title {
  margin: 0;
  margin-bottom: 13;
  font-weight: 600;
  font-size: 24px;
  line-height: 130%;
}
.card p {
  margin: 0;
  font-size: 16px;
  line-height: 130%;
  color: black;
}
/* footer */
.footer-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.footer-copyright {
  color: #7e9ec9;
  flex-grow: 1;
  line-height: 1.3;
  max-width: 350px;
}
.footer-copyright-name {
  font-weight: 700;
  font-size: 28px;
  line-height: 130%;
  margin-bottom: 15px;
}
.footer-copyright-name p {
  margin: 0;
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 16px;
  line-height: 130%;
}
.footer-icons {
  flex-grow: 1;
  max-width: 350px;
}
.footer-icons p {
  font-weight: 600;
  font-size: 16px;
  line-height: 130%;
}
.footer-icons-row {
  display: flex;
  align-items: center;
}
/* селектор для выравнивания икогок > значит первый уровень т е ссылки */
.footer-icons-row > * {
  margin-left: 80px;
}
.footer-contacts {
  max-width: 350px;
}
/* применение инлайн блока - чтобы кнопка стала по размеру контента в ней */
.footer-botton {
  display: inline-block;
  height: 50px;
  padding-left: 30px;
  padding-right: 30px;
  line-height: 44px;
  border: 3px solid white;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease-in;
}
.footer-botton:hover {
  background-color: white;
  color: #184776;
}
.footer-contacts p {
  margin: 15px 0;
  font-size: 16px;
  line-height: 1.3;
  color: #7e9ec9;
}
/* Project */
.project {
  /* размеры отступа по часовой стрелке верх-право-низ-лево */
  padding: 80px 0 120px 0;
  text-align: center;
}
.progect-header {
  margin: 0;
  margin-bottom: 40px;
  font-weight: 700;
  font-size: 46px;
  line-height: 1.3;
}
.progect-img {
  margin-bottom: 70px;
}
.project-discription {
  /* отступ значения верх-бока-низ */
  margin: 0 auto 60px;
  max-width: 730px;
}
.project-discription p {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.5;
}
.project-btn-back {
  display: inline-block;
  height: 60px;
  padding-left: 30px;
  padding-right: 30px;
  line-height: 54px;
  border: 3px solid #275bec;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  color: #275bec;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease-in;
}
.project-btn-back:hover {
  background-color: #275bec;
  color: white;
}
