body {
    background-color: #f5f7fa;
}

.portfolio-nav {
    background: linear-gradient(110deg, #0c223b, #071525);
    border-bottom: 2px solid #27e0ed;
}

.portfolio-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.portfolio-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
}

.portfolio-brand span {
    font-family: "Oxanium", sans-serif;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 300;
    letter-spacing: 0.4px;
    color: #eef5ff;
}

.portfolio-brand,
.portfolio-brand:hover,
.portfolio-brand:focus {
    text-decoration: none;
}

.portfolio-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.portfolio-links {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.portfolio-links a {
    font-family: "Oxanium", sans-serif;
    font-weight: 300;
    position: relative;
    z-index: 1;
    padding: 10px 16px;
    color: #eef5ff;
    text-decoration: none;
    white-space: nowrap;
}

.portfolio-links a:hover {
    color: #27e0ed;
}

.menu-frame {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border: 1px solid #27e0ed;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transition: transform 0.3s ease, width 0.3s ease;
}

.portfolio-links .github-button {
    padding: 9px 20px;
    border: 2px solid #27e0ed;
    border-radius: 10px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.portfolio-links .github-button:hover {
    background-color: #27e0ed;
    color: #071525;
}

.portfolio-nav a:focus-visible {
    outline: 2px solid #27e0ed;
    outline-offset: 5px;
}

@media (max-width: 600px) {
    .portfolio-nav-inner {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .portfolio-links {
        gap: 20px;
    }

    .portfolio-brand {
        font-size: 1.1rem;
    }
}