/* Медиа запрос: для экранов шириной до 1140px */
@media (max-width:1140px){
    .card{
        width: calc(50% - 15px);
    }
    /* .card-img{
        max-width: 100%;
    } */
    .footer{
        padding-top: 40px;
        padding-bottom: 60px;
    }
    .footer-row{
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }
    .footer-contacts{
        margin-bottom: 30px;
    }
    .footer-icons{
        margin-bottom: 50px;
    }
    .footer-icons-row{
        padding: 0;
    }
}

/* Медиа запрос: для экранов шириной до 760px */
@media (max-width:760px){
    .header-title{
        font-size: 32px;
    }
    .header-subtitle{
        font-size: 14px;
    }
    .portfolio{
        padding-top: 40px;
        padding-bottom: 60px;
    }
    .portfolio-header{
        font-size: 32px;
        margin-bottom: 30px;
    }
    .portfolio-cards-wrapper{
        justify-content: center;
    }
    .card{        
        width: 100%;
        max-width: 530px;
    }
    /* .card-img{
        display: block;
        width: 250px;
    } */
    .card:nth-last-child(2){
        margin-bottom: 30px;
    }
    .card-link{
        padding: 15px;
    }
    .card-img{
        margin-bottom: 10px;
    }
    .card-title{
        font-size: 18px;
        margin-bottom: 10px;
    }
    .card p{
        font-size: 14px;
    }
    .footer-copyright-name{
        font-size: 18px;
        margin-bottom: 5px;
    }
    .footer-copyright p{
        font-size: 14px;
    }
    .footer-icons p{
        font-size: 14px;
    }
    .footer-contacts p{
        font-size: 14px;
        margin: 0;
        margin-top: 15px;
    }
}