.projects .main-title {
    margin-bottom: 24px;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 60px 0;
}

.projects-list .item {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.projects-list .item .image {
    height: 100vh;
    position: relative;
    margin-bottom: 16px;
}

.projects-list .item .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.projects-list .item .image span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #26252599;
    border-radius: 24px;
    opacity: 0;
    transition: .3s;
}

.projects-list .item:hover .image span {
    opacity: 1;
    transition: .3s;
}

.projects-list .item .category {
    color: #48788c;
}

.projects-list .item .name {
    font-weight: 500;
    font-size: 32px;
}


.projects-list .projects-top {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.projects-list .projects-top.projects-top-toRight {
    flex-direction: row-reverse;
}

.projects-list .projects-top .item:first-of-type {
    max-width: 800px;
}

.projects-list .projects-top .item:first-of-type .image {
    max-height: 700px;
}

.projects-list .projects-top .item:last-of-type {
    max-width: 496px;
}

.projects-list .projects-top .item:last-of-type .image {
    max-height: 550px;
}

.projects-list .projects-bottom {
    display: flex;
    gap: 24px;
}

.projects-list .projects-bottom .item:nth-child(odd) .image {
    max-height: 424px;
}

.projects-list .projects-bottom .item:nth-child(even) .image {
    max-height: 524px;
}

.projects .main-btn {
    margin: 60px auto 0;
}

@media screen and (max-width: 992px) {
    .projects-list .projects-top,
    .projects-list .projects-bottom {
        flex-direction: column;
    }

    .projects-list .projects-top.projects-top-toRight {
        flex-direction: column-reverse;
    }

    .projects-list .projects-top .item:first-of-type,
    .projects-list .projects-top .item:last-of-type {
        max-width: 100%;
    }

    .projects-list .projects-top .item:first-of-type .image {
        max-height: 274px;
    }

    .projects-list .projects-top .item:last-of-type .image {
        max-height: 346px;
    }

    .projects-list .projects-bottom .item:nth-child(odd) .image {
        max-height: 312px;
    }

    .projects-list .projects-bottom .item:nth-child(even) .image {
        max-height: 386px;
    }

    .projects-list .item .name {
        font-size: 24px;
    }
}

@media screen and (max-width: 767px) {

    .projects-list,
    .projects-list .projects-top,
    .projects-list .projects-bottom {
        gap: 40px;
    }

    .projects .main-btn {
        margin: 40px auto 0;
    }
}

@media screen and (max-width: 478px) {
    .projects-list .item .category,
    .projects-list .item .description {
        font-size: 12px;
    }

    .projects-list .item .name {
        font-size: 18px;
    }
}