/* font-family: 'Montserrat', sans-serif; */

*{
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    margin: 0;
    font-family: 'Montserrat', sans-serif;    
}

img{
    max-width: 100%;
}

.container{
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.none{
    display: none !important;
}

/* header */

.header{
    position: relative;

    /* Определяем модель flex-box для блока .header */
    display: flex;
    flex-direction: column; /* Выстраиваем flex-элементы в колонку, основная ось - Y */
    justify-content: center; /* Выравнивание по основной оси */
    align-items: center; /* Выравнивание по поперечной оси */

    width: 100%;
    height: 100vh;

    /* background-color: #1E4776;
    background-image: url("./../img/header/header-bg.jpg"); */
    background-size: cover;
    background-position: center;
}

.header-title{
    margin: 0;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.3;
    text-align: center;

    color: #1E4776;
}

.header-subtitle{
    margin: 0;
    font-weight: bold;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #1e4776;
}

.header-arrow{
    width: 48px;
    height: 48px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%,0);
    transition: all 0.2s ease-in;
}
.header-arrow:hover{
    transform: translate(-50%,15px);
}
.header-arrow img{
    border-color: white;
    border-radius: 30%;
    border-style: solid;
    border-width: 1.5px;
    transition: all 0.2s ease-in;
}
.header-arrow img:hover{
    background-color: rgba(30, 71, 118, 0.8);;
}

/* 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: 0px 10px 40px rgba(126, 155, 189, 0.35);
    transition: transform 0.2s ease-in;
}

.card:hover{
    transform: translateY(-15px);
}

.card-link{
    display: block;
    padding: 20px;
    color: black;
    text-decoration: none;
    transition: color 0.5s ease-in;
}

.card-link:hover{
    color: rgb(39, 91, 236);
    
}

.card:last-child, .card:nth-last-child(2){
    margin-bottom: 0;
}

.card-img{
    margin-bottom: 20px;
}

.card-title{
    margin: 0;
    margin-bottom: 13px;
    font-weight: 600;
    font-size: 24px;
    line-height: 130%;
}

.card p{
    margin: 0;
    /* font-weight: normal; */
    font-size: 16px;
    line-height: 130%;
}

/* .portfolio-link{
    margin-top: 35px;
    text-align: center;
    font-weight: 600;
} */

/* footer */

.footer{
    padding-top: 45px;
    padding-bottom: 130px;
    background: #1E4776;
    color: white;
}

.footer-row{
    display: flex;
    /* flex-direction: row; */
    justify-content: space-between;
}

.footer-copyright{
    max-width: 350px;
    flex-grow: 1;
    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: 700;
    line-height: 1.8;
}

.footer-icons{
    max-width: 350px;
    flex-grow: 1;
}

.footer-icons p{
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
}

.footer-icons-row{
    padding-right: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-contacts{
    max-width: 350px;
    flex-grow: 1;
}

.footer-button{
    height: 50px;
    display: inline-block;
    padding-left: 30px;
    padding-right: 30px;

    border: 3px solid #FFFFFF;
    border-radius: 50px;

    color: white;
    line-height: 44px;

    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;

    transition: all 0.2s ease-in;
}
.footer-button:hover{
    background-color: white;
    color:#1E4776;
}

.footer-contacts p{
    margin: 15px 0;
    font-size: 16px;
    line-height: 1.3;
    color: #7E9EC9;
}