.content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* 카드 UI */
.card {
    background-color: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card img {
    margin-top: 20px;
    width: 100%;
    height: 200px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111827;
}

.card-date {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 16px;
}

.card-description {
    font-size: 1rem;
    line-height: 1.5;
    color: #374151;
    margin-bottom: 20px;
}

/* 기술 스택 뱃지 */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech {
    background-color: #e0f2fe;
    color: #0369a1;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    padding: 40px 0;
}

.modal-content {
    background: white;
    margin: auto;
    padding: 30px;
    border-radius: 12px;
    max-width: 720px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modal-content .close {
    float: right;
    font-size: 24px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
}

.modal-images img {
    width: 100%;
    margin: 16px 0;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        background-color: rgba(0, 0, 0, 0);
    }
    to {
        background-color: rgba(0, 0, 0, 0.6);
    }
}

.image-wrapper {
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.image-wrapper img {
    width: 100%;
    display: block;
    border-radius: 6px;
}

.image-button {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #3b82f6;
    color: white;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 15px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
}

.image-button:hover {
    background-color: #2563eb;
}