body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212; /* Dark background */
    color: #e0e0e0; /* Light text */
    line-height: 1.6;
}

header {
    background: #1e1e1e; /* Slightly lighter dark */
    color: #e0e0e0;
    padding: 1.5rem 0;
    text-align: center;
    border-bottom: 1px solid #333; /* Darker border */
}

header h1 {
    margin: 0;
    font-weight: 400;
    font-size: 2rem;
}

main {
    padding: 1rem;
    max-width: 960px;
    margin: 2rem auto;
}

#projects {
    background: #1e1e1e; /* Slightly lighter dark */
    padding: 2rem;
    border-radius: 8px;
}

#projects h2 {
    text-align: center;
    color: #e0e0e0;
    font-weight: 700;
    padding-bottom: 1rem;
    margin-top: 0;
    margin-bottom: 2rem;
    border-bottom: 2px solid #333; /* Darker border */
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Updated styles for project items */
.project-item a {
    display: block;
    background-color: #2a2a2a;
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #444;
    transition: all 0.3s ease;
    overflow: hidden; /* To contain the image */
    text-align: center;
}

.project-item a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.2); /* Blue shadow */
    border-color: #007bff; /* Blue border */
}

.project-item img {
    width: 100%;
    height: 180px; /* Fixed height for thumbnails */
    object-fit: cover; /* Crop image to fit */
    display: block;
    background-color: #333; /* Placeholder background */
}

.project-item .title {
    padding: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.project-item a:hover .title {
    color: #007bff; /* Blue text on hover */
}

footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #888;
}