.project-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 10px;
}

.project-get__desc {
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
}

.project-card {
    transition: .3s;
    min-height: 350px;
    width: 100%;
    background: #F1F0F1;
    position: relative;
    box-sizing: border-box;
    text-decoration: none;
    /*grid-area: c;*/
}

.project-card__body {
    transition: ease .5s;
    padding: 28px 24px;
    box-sizing: border-box;
    position: relative;
    color: #12284B;
}

.project-card__title {
    font-weight: 500;
    font-size: 28px;
    line-height: 36px;
}

.project-card:before {
    transition: .5s;
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 4px;
    background-color: currentColor;
    bottom: 0;
}

.project-card .project-card-modal {
    display: none;
}

.project-card-modal {
    max-width: 1180px !important;
    width: 100%;
}

.project-card-modal__nav {
    display: flex;
    margin-top: 32px;
}

.project-card-modal__nav-button {
    color: #3366CC;
    border: none;
    height: 38px;
    width: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.project-card-modal__title {
    font-weight: 600;
    font-size: 32px;
    line-height: 40px;
}

.project-card-modal__body {
    margin-top: 32px;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
}

.project-card-modal__body ol, .project-card-modal__body ul {
    margin: 1em 0;
}

.project-card-modal__body li {
    margin-bottom: .8em;
}

.project-card-modal__body li:last-child {
    margin-bottom: 0;
}

[disabled].project-card-modal__nav-button {
    color: #AFAFAF;
}

@media (any-hover: hover) {
    .project-card:hover {
        background: #F2F5FC;
    }

    .project-card:hover:before {
        height: 100%;
    }

    .project-card:hover .project-card__body {
        z-index: 1;
        color: #fff;
    }
}

.project-card:hover {
    background: #F2F5FC;
}

.project-card:active:after {
    height: 100%;
}

.project-card:active .project-card__body {
    z-index: 1;
    color: #fff;
}

@media (max-width: 1919px) {
    .project-list {
        grid-template-areas: "a a a b b b";
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    }
    .project-card {
        grid-column: span 2;
        min-height: 300px;
    }
    .project-card:nth-child(1) {
        grid-area: a;
    }
    .project-card:nth-child(2) {
        grid-area: b;
    }
    .project-get__desc {
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 1023px) {
    .project-list {
        grid-template-areas: "a a";
        grid-template-columns: 1fr 1fr;
    }
    .project-card {
        grid-column: auto;
        min-height: 160px;
    }
    .project-card:nth-child(1) {
        grid-area: a;
    }
    .project-card:nth-child(2) {
        grid-area: auto;
    }
    .project-card__title {
        font-weight: 500;
        font-size: 22px;
        line-height: 28px;
    }
}

@media (max-width: 767px) {
    .project-list {
        grid-template-areas: none;
        grid-template-columns: 1fr;
    }
    .project-card {
        min-height: 140px;
    }
    .project-card:nth-child(1) {
        grid-area: auto;
    }
    .project-card:nth-child(2) {
        grid-area: auto;
    }
    .project-card__title {
        font-weight: 500;
        font-size: 20px;
        line-height: 28px;
    }
    .project-get__desc {
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
    }
}
