#block-views-block-projects-array-block {
    background-color: #f6f6f6;
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: center;
}

#block-views-block-projects-array-block h2 {
    margin-bottom: 44px;
}

.view-projects-array .view-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.view-projects-array .views-row {
    background-color: #f6f6f6;
    height: 256px;
    width: 256px;
    position: relative;
    text-align: center;
    margin-top: 30px;
}
.view-projects-array .views-row:first-child {
    margin-top: 0;
}

.view-projects-array .views-field-title {
    font-size: 22px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: ease-in-out 0.1s;
}
.view-projects-array .views-field-title:hover,
.view-projects-array .views-field-title:focus {
    background: rgba(0, 0, 0, 0.2);
}

.view-projects-array .views-field-title a,
.view-projects-array .views-field-title a:hover,
.view-projects-array .views-field-title a:focus,
.view-projects-array .views-field-title a:active {
    align-items: flex-end;
    color: transparent;
    display: flex;
    font-weight: bold;
    height: 100%;
    justify-content: center;
    padding-bottom: 15px;
    text-decoration: none;
    transition: ease-in-out 0.1s;
    width: 100%;
}

.view-projects-array .views-field-title:hover a,
.view-projects-array .views-field-title:focus a,
.view-projects-array .views-field-title:hover a:hover,
.view-projects-array .views-field-title:focus a:hover,
.view-projects-array .views-field-title:hover a:focus,
.view-projects-array .views-field-title:focus a:focus,
.view-projects-array .views-field-title:hover a:active,
.view-projects-array .views-field-title:focus a:active {
    color: #fff;
}

@media (min-width: 920px) {
    .view-projects-array .view-content {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .view-projects-array .views-row {
        margin-top: 0;
    }
    .view-projects-array .views-row:nth-child(2) {
        margin: 0 50px 50px;
    }
    .view-projects-array .views-row:nth-child(4) {
        margin-right: 50px;
    }
}

@media (min-width: 1170px) {
    .view-projects-array .view-content {
        max-width: 1170px;
    }
}

@media (min-width: 1560px) {
    .view-projects-array .view-content {
        max-width: 1465px;
    }
    .view-projects-array .views-row {
        flex-basis: 455px;
        height: 455px;
    }
}