.homepage-navigation {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8px 24px;
    min-height: 70px;
    position: relative;
    z-index: 100;
}

.homepage-navigation * {
    flex-shrink: 0;
}

.logotype {
    width: 60px;
    height: 60px;
}

.main-links {
    display: flex;
    gap: 16px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.link {
    color: black;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 12px;
}

.link:hover {
    color: #4ECDC4;
}

.buttons {
    display: flex;
    gap: 8px;
}

.buttons a {
    padding: 8px 16px;
    color: white;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

.buttons .sign-up {
    background-color: #FF6B6B;
}

.buttons .log-in {
    background-color: #4ECDC4;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hamburger {
    display: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: black;
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .homepage-navigation {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .main-links {
        position: static;
        transform: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background-color: black;
        border-radius: 2px;
        transition: 0.3s;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .main-links {
        flex-direction: column;
        align-items: center;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
        margin-top: 16px;
    }
}