* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: #000;
}

img {
  max-width: 100%;

}

.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.container+.container {
  margin-top: 30px;
}


.none {
  display: none !important;
}

/* Header */

.header {

  position: relative;
  /* Определяем модель flex-box для блока .header */
  display: flex;

  /* Выстраиваем flex-элементы в колонку, основная ось Y */
  flex-direction: column;
  /* Выстраиваем по основной оси */
  justify-content: center;
  /* Выстраиваем по поперечной оси */
  align-items: center;

  width: 100%;
  height: 100vh;
  /* background-color: #556983; */
  /* background-image: url("./../img/header/header-bg.jpg"); */
  background-size: cover;
  background-position: center;
}

.header-title {
  margin: 0;
  margin-bottom: 34px;
  font-weight: 700;
  font-size: 74px;
  line-height: 130%;
  text-align: center;
  color: #FFFFFF;
}

.header-subtitle {
  margin: 0;
  font-weight: 700;
  font-size: 19px;
  line-height: 150%;
  text-align: center;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.header-arrow {
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 0);
}

/* Portfolio */

.portfolio {
  padding-top: 80px;
  padding-bottom: 115px;
}

.portfolio-header {
  margin: 0;
  margin-bottom: 70px;
  font-weight: 700;
  font-size: 46px;
  line-height: 130%;
  text-align: center;
  color: #000000;
}

.portfolio-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card {
  margin-bottom: 30px;
  max-width: 540px;
  background-color: #fff;
  box-shadow: 0 15px 20px rgba(126, 155, 189, 0.36);
  transition: transform 0.3s ease-in;
}

.card:hover {
  transform: translateY(-15px);
}

.card-link {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: #000;
  transition: color 0.3s ease-in;
}

.card-link:hover {
  color: rgb(39, 91, 236);
}

.card:last-child,
.card:nth-last-child(2) {
  margin-bottom: 0;
}

.card-img {
  height: 334px;
  margin-bottom: 20px;
}

.card-title {
  margin: 0;
  margin-bottom: 13px;
  font-weight: 600;
  font-size: 24px;
  line-height: 130%;
  text-align: center;
}

.card p {
  margin: 0;
  font-size: 16px;
  height: 21px;
  line-height: 130%;
  text-align: center;
}

/* Footer */

.footer {
  padding-top: 45px;
  padding-bottom: 130px;
  background-color: #1E4776;
  color: #fff;
}

.footer-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.footer-col {
  max-width: 350px;
  flex-grow: 1;
}

.footer-copyright {
  color: #7E9EC9;
  line-height: 1.3;
}

.footer-copyright-name {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 15px;
}

.footer-copyright p {
  margin: 0;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.footer-icons p {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
}

.footer-icons-row {
  display: flex;
  align-items: center;
}

.footer-icons-row>*+* {
  margin-left: 30px;
}

.footer-button {
  display: inline-block;
  height: 50px;
  padding-right: 30px;
  padding-left: 30px;
  border: 3px solid #fff;
  border-radius: 50px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 44px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease-in;
}

.footer-button:hover {
  background-color: #fff;
  color: #1E4776;
}

.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;
}

.project-header {
  margin: 0;
  margin-bottom: 40px;
  font-weight: 700;
  font-size: 46px;
  line-height: 1.3;
}

.project-img {
  margin-bottom: 70px;
}

.project-img:hover {
  box-shadow: 10px 10px 10px 2px rgba(39, 91, 236, 0.36);
  transform: translateY(-15px);
  transition: transform 0.3s linear;
}

.project-description {
  margin: 0 auto 60px;
  max-width: 730px;
}

.project-description p {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.5;
}

.project-btn-back {
  display: inline-block;
  height: 60px;
  padding-right: 30px;
  padding-left: 30px;
  border: 3px solid #275BEC;
  border-radius: 50px;
  color: #275BEC;
  font-weight: 700;
  font-size: 16px;
  line-height: 54px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease-in;
}

.project-btn-back:hover {
  background-color: #275BEC;
  color: #fff;
}

.liveinternet {
  display: block;
  text-align: center;
}

.metrica {
  display: block;
  text-align: center;
}