header {
    background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
    color: white;
    padding: 5px 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo > img {
    max-height: 4rem;
}

.menu {
    display: flex;
    gap: 25px;
    list-style: none;
}

.menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.menu a:hover {
    color: var(--alt-color);
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1200;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 3px;
}

/* SIDEBAR MOBILE */
.sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100vh;
    background: var(--secondary-color);
    padding: 80px 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: 0.3s;
    z-index: 2000;
}

.sidebar a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

.sidebar.open {
    right: 0;
}


@media (max-width: 768px) {
    .menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}