body {
    overflow-y: auto;
}

.nav-brand a {
    color: #fff;
    text-decoration: none;
}

.nav-links a.active {
    color: #888;
}

.portfolio-content {
    margin-top: 100px;
    padding: 40px;
    min-height: calc(100vh - 100px);
}

.portfolio-content h1 {
    font-size: 48px;
    margin-bottom: 40px;
    letter-spacing: 3px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.gallery-item img,
.gallery-item .project-video {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.02);
}

.project-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #fff;
    letter-spacing: 1px;
}

.project-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-title a:hover {
    color: #4a9eff;
}

.gallery-item > a {
    display: block;
}

.project-url {
    color: #4a9eff;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.project-url:hover {
    color: #6bb3ff;
    text-decoration: underline;
}

.project-description {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.gallery-item p {
    color: #888;
    font-style: italic;
}
