.projects .boxed .project-categories {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.projects .boxed .project-categories .project-category {
    font-size: 15px;
    padding: 9px 20px;
    background-color: #F0ECE1;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
}

.projects .boxed .items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
    align-items: stretch;
}

.projects .boxed .items .column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.projects .boxed .items .column .image img {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 8px;
}

.projects .boxed .items .column .info {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 20px 0 100px 0;
}

.projects .boxed .items .column .info h3 {
    margin-bottom: 20px;
    color: var(--espresso);
}

.projects .boxed .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.projects a {
    text-decoration: none;
}

.projects .boxed .pagination a,
.projects .boxed .pagination span {
    padding: 7px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

.projects .boxed .pagination .current {
    border-radius: 8px;
    background: #F0ECE1;
}

.projects .boxed .pagination .prev::before {
    content: url("images/before.svg");
    padding-right: 10px;
}

.projects .boxed .pagination .next::after {
    content: url("images/after.svg");
    padding-left: 10px;
}

@media (max-width: 1600px) {
    .projects .boxed .items {
        grid-gap: 20px;
    }
    .projects .boxed .items .column .info {
        padding: 20px 20px 80px 20px;
    }
}

@media screen and (max-width: 900px) {
    .projects .boxed .items .column .image img {
        height: 250px;
    }
    .projects .boxed .items {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 900px) {
    .projects .boxed .items {
        grid-gap: 20px !important;
    }
    .projects .boxed .items .column .image img {
        height: 250px;
    }
}

@media screen and (max-width: 768px) {
    .projects .boxed .items {
        grid-template-columns: 1fr !important;
    }
    .projects .boxed .items .column .image img {
        height: 350px;
    }
    .projects .boxed h2 {
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 400px) {
    .projects .boxed {
        padding: 40px 20px;
    }
    .projects .boxed .items .column .image img {
        height: 250px;
    }
}