.project-section {
    padding: 6rem 2rem;
}

.project-content {
    max-width: 80rem;
    margin: 0 auto;
}

.project-paragraph {
    font-size: 1.8rem;
    line-height: 1.7;
    margin-bottom: 3.2rem;
    color: var(--gray-color-medium);
}

.project-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 4.8rem;
}

.project-list li {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 1.6rem;
    color: var(--gray-color-medium);
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.gallery-item {
    flex: 1 1 100%;
    max-width: 100%;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 384px;
    border-radius: 1rem;
    object-fit: cover;
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.1);
}

/* For desktop: two items per row */
@media screen and (min-width: 768px) {
    .gallery-item {
        flex: 1 1 48%;
        max-width: 48%;
    }
}
