#header-projects:checked+label[for="header-projects"]::before {
    font-family: "fontawesome";
    content: "\f104";
}

#projects {
    width: 100vw;
    min-height: calc(100vh - 80px);
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 22px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(12px);
    animation: projectsFadeIn 0.5s ease forwards 0.1s;
    background-color: #f8f9fa;
    font-family: "maple";
}

.projects-content-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

#projects-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@keyframes projectsFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.projects-loading {
    text-align: center;
    color: #999;
    padding: 60px 0;
    font-size: 15px;
}

.project-item {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 180, 170, 0.08);
}

.project-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0;
    transition: color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-item:hover h3 {
    color: #00b4aa;
}

.project-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #555;
}

.project-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    #projects-list {
        grid-template-columns: 1fr;
    }
}