* {
  box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}
body {
  /* outline: 2px solid blue; */
  margin: 0 auto;
  font-family: "Raleway", "Poppins", sans-serif;
}
img {
  max-width: 100%;
}
/* ===== Container =====  */
.nav {
  padding: 20px 0;
  border-bottom: 1px solid #26292d;
  background-color: #1e4776;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 40px;
  row-gap: 20px;
  flex-wrap: wrap;
}
.nav-logo {
  font-size: 24px;
  font-weight: 400;
  line-height: 100%;
  /* identical to box height, or 24px */
  color: #ffffff;
  text-decoration: none;
}
.nav-logo strong {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
}
.nav-list {
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  column-gap: 14px;
  /* flex-wrap: wrap; */
  font-size: 16px;
  font-weight: 400;
}
.nav-list__item {
  list-style-type: none;
  /* text-transform: uppercase; */
}
.nav-list__link {
  color: #ffffff;
  text-decoration: none;
}
.nav-list__link--active {
  position: relative;
}
.nav-list__link--active::before {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  position: absolute;
  left: 0;
  top: 100%;
}
.burger{
  position: relative;
  width: 30px;
  height: 20px;
  display: none;
  border: none;
  padding: 0;
  background:transparent;
  cursor: pointer;
}
.burger__line{
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.3s ease-in-out;
  width: 100%;
  height: 2px;
  background-color: #fff;
}
.burger::before,
.burger::after{
 content:"";
 position: absolute;
 left: 0;
 width: 100%;
 height: 2px;
 background-color: #fff;
 transition:transform 0.3s ease-in-out, top 0.3s ease-in-out, bottom 0.3s ease-in-out;
}
.burger::before{
top: 0;
}
.burger::after{
  bottom: 0;
}
.burger--active .burger__line{
opacity: 0;
}
.burger--active::before{
  transform: rotate(45deg);
  top:50%;
}
.burger--active::after{
  transform: rotate(-45deg);
  top:50%;
  bottom: auto;
}
.stop-scroll{
  overflow: hidden;
}
.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}
.none {
  display: none !important;
}

/* ===== Header ===== */
.header {
  margin: 5px auto;

  width: 100%;
  height: 100vh;

  /* Определение flex-box модели для блока header */
  display: flex; /**/
  flex-direction: column; /* выстраиваем flex-элементы в колонку, основная ось Y*/
  justify-content: center; /*выстраивем элементы по горизонтали - центр, Y основная ось*/
  align-items: center; /*выстраивем элементы по вертикали - центр, поперечная ось X*/
  position: relative;

  /* background-color: #667b97; */
  /* background-image: url(../images/header/header-image.jpg); */
  background-size: cover;
  background-repeat: no-repeat;
}
.header-title {
  margin: 0;
  margin-bottom: 35px;
  font-weight: 700;
  font-size: 56px;
  line-height: 130%; /* 1,3*56px identical to box height, or 73px */

  text-align: center;
  color: #ffffff;
}
.header-subtitle p {
  margin: 0;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 16px;

  line-height: 150%; /* 1.5*16px or 24px */
  text-align: center;

  color: #ffffff;
}
.header-arrow {
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 0);
}
/* ===== // Header =====  */
/* ===== Portfolio ===== */

.portfolio {
  margin: 0 auto;
  padding-top: 80px;
  padding-bottom: 115px;
}
.portfolio-header {
  margin: 0;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
  font-weight: 700;
  font-size: 46px;
  line-height: 130%; /* identical to box height, or 60px */

  color: #1e4776;
}
.portfolio-card-wrapper {
  /* max-width: 1110px; */

  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.porfolio-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #fff;
  color: #1e4776;
  max-width: 540px;
  /* max-height: 100vh; */

  margin-bottom: 60px;
  box-shadow: 0px 10px 40px rgba(126, 155, 189, 0.35);
  transition: trasform 0.2s ease-in;
}
.porfolio-card:hover {
  transform: translateY(-15px);
}
.p-card-link {
  display: block;
  padding: 20px;
  text-decoration: none;
  transition: color 0.2s ease-in;
}
.p-card-link:hover {
  color: #275bec;
  font-weight: 700;
}
.p-card-link:visited {
  /* color: #1e4776; */
}
.porfolio-card:last-child,
.porfolio-card:nth-last-child(2) {
  margin-bottom: 0;
}
.card-image {
  /* max-width: 540px;
  max-height: 240px; */
  width: 540px;
  max-height: 100vh;
  margin-bottom: 20px;
  padding-left: 15px;
  padding-right: 15px;
}
.card-header {
  margin: 0;
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 24px;
  line-height: 130%; /* or 31px */
  /* color: #1e4776; */
}
.porfolio-card p {
  font-weight: 400;
  font-size: 16px;
  line-height: 130%; /* identical to box height, or 21px */
  margin: 0;
  /* color: #1e4776; */
}
.grow {
  min-height: 100vh;
}

/* ===== //Portfolio =====  */
/* ===== Footer ===== */
.footer {
  background-color: #1e4776;
  padding-top: 55px;
  padding-bottom: 55px;
  color: #fff;
  max-height: fit-content;
}
.footer-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.footer-copyright {
  max-width: 350px;
  color: #7e9ec9;
  line-height: 1.3;
  /* or 36px */
}
.footer-copyright-name {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 15px;
}
.footer-copyright p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}
.footer-icons {
  max-width: 350px;
}
.footer-icons p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}
.footer-icons-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}
.footer-icons-row > * + * {
  margin-left: 30px;
}
.footer-contact-me {
  max-width: 350px;
}
.footer-contact-me p {
  margin: 15px 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  /* or 21px */
  color: #7e9ec9;
}

.footer-button {
  display: inline-block;
  border: 3px solid #ffffff;
  border-radius: 50px;
  height: 50px;
  padding-left: 30px;
  padding-right: 30px;
  line-height: 47px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  transition: all ease 0.2s;
}
.footer-button:hover {
  background: white;
  color: #1e4776;
}

/* ===== // Footer =====  */
/* Project-description */
.project {
  padding: 80px 0 100px 0;
  text-align: center;
}
.project-justify {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.project-header {
  margin: 0;
  margin-bottom: 50px;
  font-weight: 700;
  font-size: 46px;
  line-height: 130%; /* identical to box height, or 60px */

  text-align: center;

  color: #1e4776;
}
.project-description {
  text-align: justify;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.project-justify p {
  max-width: 900px;
  margin: 0;
  margin-bottom: 10px;
  padding: 15px;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%; /* identical to box height, or 21px */
  color: #1e4776;
  font-family: "Raleway", sans-serif;
}
.git-hub--btn {
  display: block;
  margin-top: 10px;
  /* transition: all 0.2s ease-in;  */
  /* background-color:  #1e4776; */
}
/* .git-hub--btn:hover{
fill:#7a0c0c;
/* background:none; */
/* } */
.goback {
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  padding: 10px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  /* identical to box height, or 21px */

  text-transform: uppercase;

  color: #1e4776;
  border: 3px solid #1e4776;
  border-radius: 3px;
  transition: all 0.2s ease-in;
}
.goback:hover {
  background-color: #1e4776;
  color: white;
}
/* ===== // Project-description */
