.section-0 {
    width: 100%;
    z-index: 1000;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    position: relative;
}

.header-logo {
    width: 100px;
    z-index: 2;
}

.hamburger-menu {
    width: 32px;
    cursor: pointer;
    z-index: 2;
}

.line {
    fill: #000;
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-box: fill-box;
    transform-origin: center;
}

.hamburger-menu.active .line1 {
    transform: translateY(5px) rotate(45deg);
}

.hamburger-menu.active .line2 {
    opacity: 0;
}

.hamburger-menu.active .line3 {
    transform: translateY(-5px) rotate(-45deg);
}

.nav-links {
    position: absolute;
    top: 100%;
    right: 20px;

    display: flex;
    flex-direction: column;
    gap: 15px;

    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);

    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: 0.25s ease;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: #000;
}

.nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .main-header {
        justify-content: center;
        padding: 40px 0;
        padding-top: 60px;
    }

    .nav-links {
        position: relative;
        top: auto;
        right: auto;
        transform: none;

        flex-direction: row;
        align-items: center;
        gap: 60px;

        padding-block: 25px;
        padding-inline: 180px 100px;
        border-radius: 80px;
        background: rgba(255, 255, 255, 0.05); /* needed for backdrop blur */
        backdrop-filter: blur(69.93px);
        -webkit-backdrop-filter: blur(69.93px);

        box-shadow:
                inset -34.97px 34.97px 34.97px 0 rgba(255, 255, 255, 0.027),
                inset 34.97px -34.97px 34.97px 0 rgba(70, 128, 182, 0.027);

        opacity: 1;
        pointer-events: auto;
    }

    .header-logo {
        position: absolute;
        left: 0;
        translate: -50%;
        width: 126px;
        background: #f4f4f4;
        padding: 25px;
        border-radius: 50%;
    }

    .hamburger-menu {
        display: none;
    }
}