
*{
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    margin:0;
    font-family: 'Montserrat', sans-serif;
    color: #000000;
}
img{
    max-width:100%;
}
.conteiner{
    max-width:1140px;
    margin-left:auto;
    margin-right:auto;
    padding:0 15px 0;
}
.header {
    /*flex*/
    display:flex;
    flex-direction: column;/*выстраиваем флекс в колонку, основная ось Y*/
    justify-content: center; /*выравнивание по основной оси*/
    align-items: center; /*выравнивание по поперечной оси*/
    width:100%;
    height:100vh;
    /*background-color:darksalmon;
    background-color:#1E4776;
    background-image: url("./../image/header/header-bg.jpg");
    background-size:cover;
    background-position: center;*/
    position:relative;
}
.none{
    display:none!important;
}
.header-title{
    margin:0 0 25px 0;
    font-weight: 700;
    font-size: 56px;
    line-height: 130%;
    /* identical to box height, or 73px */
    text-align: center;
    color: #FFFFFF;
}
.header-subtitle{
    margin:0;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    /* or 24px */
    text-align: center;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #FFFFFF;
}
.header-arrow{
    width:48px;
    height:48px;
    /* background-color: red; */
    position:absolute;
    bottom:30px;
    left:50%;
    transform: translate(-50% 0);
}
/*portfolio*/
.portfolio{
    padding-top:70px;
    padding-bottom:70px;
}
.portfolio-header{
    font-weight: 700;
    font-size: 46px;
    line-height: 130%;
    /* identical to box height, or 60px */
    text-align: center;
    margin: 0;
    margin-bottom: 70px;
}
.portfolio-cards-wrapper{
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.card{
    background-color:#FFFFFF;
    width:540px;
    margin-bottom: 30px;
    background: #FFFFFF;
/* card-shadow */
    box-shadow: 0px 10px 40px rgba(126, 155, 189, 0.35);
    padding:20px;
    transition: transform 0.2s ease-in;
}
.card:hover{
    transform: translateY(-15px);
}
.card-link{
    text-decoration: none;
    display: block;
    color:black;
    transition: color 0.2s ease-in;
}
.card-link:hover{
   color: rgb(39,91,236);
}
.card:last-child, .card:nth-last-child(2){
    margin-bottom: 0;
}
.card p{
    margin:0;
    font-size: 16px;
    line-height: 130%;
    /* identical to box height, or 21px */
}
.card-img{
    margin-bottom: 20px;
}
.card-title{
    font-weight: 600;
    font-size: 24px;
    line-height: 130%;
    /* or 31px */
    margin-bottom:13px;
    margin: 0;
}
/*footer*/
.footer{
    background: #1E4776;
    padding-top:45px;
    padding-bottom:130px;
    color:white;
}
.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;
}
.name-footer-copyright{
    font-weight: 700;
    font-size: 28px;
    margin-bottom:15px;
}
.name-footer-copyright p{
    font-weight:600;
    font-size:16px;
    margin:0;
    margin-bottom:15px;
    color: #7E9EC9;
}

.footer-icons-row{
    display: flex;
    align-items: center;
}
.footer-icons-row p{
    font-weight: 600;
    font-size: 16px;
    line-height:1.3;
}
.footer-icons-row > * + *{
    margin-left:30px;
}
.footer-button{
    display:inline-block;
    border: 3px solid #FFFFFF;
    box-sizing: border-box;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    /* identical to box height, or 21px */
    text-transform: uppercase;
    color: #FFFFFF;
    padding:0 30px;
    height:50px;
    line-height: 44px;
    text-decoration: none;
    transition:0.2s ease-in;
}
.footer-button:hover{
    background-color:white;
    color:#1E4776;;
}
.footer-contact p{
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    color: #7E9EC9;
    margin:15px 0;
}
/*project*/
.project{
    padding:80px 0 120px 0;
    text-align: center;
}
.project-header{
    font-weight: 700;
    font-size: 46px;
    line-height: 1.3;
    /* identical to box height, or 60px */
    margin:0 0 40px 0;
}
.project-image{
    margin-bottom:70px;
}
.project-description{
    max-width:730px;
    margin:0 auto 60px;
}

.project-description p{
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    margin:0 0 15px 0;
}
.project-batton-back{
    display:inline-block;
    border: 3px solid #275BEC;
    box-sizing: border-box;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    /* identical to box height, or 21px */
    text-transform: uppercase;
    color: #275BEC;
    padding:0 30px;
    height:60px;
    line-height: 54px;
    text-decoration: none;
    transition: 0.2s ease-in;
}
.project-batton-back:hover{
    background-color: #275BEC;
    color: white;
}