Change the ELEMENTS COLOR in the HEADER when scrolling

Hi,

I tried what was mentioned in the video, and I can change my logo color without any issue.
but I tried to then add the hamburger menu but this doesn’t work.

here is the code just for the logo, and it works fine:

const menuItems = {
    color: {
        black: '#000000',
        white: '#ffffff'
 },
    setItemsColor: (color) => {
 return `<svg preserveAspectRatio="xMidYMid meet" data-bbox="0 0.01 826.9 502.74" viewBox="0 0.01 826.9 502.74" xmlns="http://www.w3.org/2000/svg" data-type="color" role="presentation" aria-hidden="true" aria-label=""><defs><style>#comp-kbgakxea_r_comp-lgyas5ji svg [data-color="1"] {fill: ${color};}</style></defs>
                <g>
                    <path d="m94.26 150.45.02-13.76c-2.26 2.56-4.94 4.91-8.02 7.1s-6.4 4.05-9.94 5.63a56.067 56.067 0 0 1-10.94 3.6c-3.76.82-7.3 1.22-10.61 1.22-8.58-.01-16.24-1.66-23.01-4.98-6.76-3.32-12.51-7.8-17.24-13.45-4.74-5.64-8.34-12.15-10.81-19.52C1.22 108.91-.01 101.24 0 93.27c0-8.12 1.37-15.8 4.08-23.02 2.72-7.22 6.56-13.53 11.53-18.94 4.97-5.41 10.91-9.68 17.84-12.85 6.92-3.15 14.59-4.72 23.02-4.72 7.07.01 14.06 1.64 20.98 4.88 6.91 3.24 12.55 7.65 16.91 13.21l.02-14.21 24.82.03-.12 112.81-24.82-.02Zm-.62-56.86c0-4.81-.79-9.37-2.36-13.65-1.58-4.3-3.83-8.02-6.76-11.18-2.93-3.16-6.42-5.64-10.48-7.46-4.06-1.8-8.57-2.71-13.54-2.71-4.96-.01-9.52.97-13.65 2.91-4.15 1.96-7.68 4.58-10.62 7.89-2.94 3.32-5.19 7.14-6.78 11.5-1.59 4.36-2.38 8.96-2.38 13.76 0 4.67.82 9.11 2.46 13.32 1.65 4.21 3.98 7.9 6.99 11.06 3 3.16 6.54 5.69 10.6 7.57 4.05 1.88 8.49 2.83 13.31 2.83 5.11.01 9.7-.93 13.77-2.81 4.07-1.87 7.52-4.46 10.38-7.77 2.86-3.31 5.08-7.14 6.67-11.5 1.58-4.36 2.38-8.95 2.39-13.76Z" fill="#231f20" data-color="1"></path>
                    <path d="m173.77 62.53-.09 88-27.08-.02.09-88-13.31-.02.02-24.81h13.31l.04-37.67 27.08.02-.04 37.69h16.25l-.02 24.83-16.25-.02Z" fill="#231f20" data-color="1"></path>
                    <path d="M316.79 92.69c0 2.25-.15 4.51-.46 6.75-.31 2.26-.68 4.52-1.13 6.78l-87.55-.09c1.8 6.76 5.48 12.37 11.04 16.82 5.55 4.44 11.87 6.67 18.95 6.68 5.72 0 10.6-1.23 14.67-3.71s7.6-6.11 10.62-10.94l29.78.03a53.713 53.713 0 0 1-8.14 15.9c-3.62 4.89-7.84 9.06-12.65 12.52-4.82 3.46-10.09 6.16-15.81 8.11-5.72 1.94-11.59 2.92-17.61 2.91-8.43-.01-16.24-1.59-23.46-4.76-7.21-3.16-13.49-7.46-18.82-12.88-5.33-5.42-9.54-11.78-12.62-19.08-3.07-7.29-4.61-15.08-4.59-23.36 0-8.26 1.51-16.09 4.53-23.47 3.01-7.36 7.2-13.82 12.54-19.38 5.34-5.56 11.63-9.99 18.85-13.3 7.23-3.29 15.04-4.95 23.47-4.94 8.12 0 15.72 1.6 22.78 4.76 7.07 3.16 13.27 7.46 18.6 12.88 5.33 5.42 9.5 11.75 12.5 18.97 3 7.22 4.5 14.82 4.49 22.8Zm-26.39-8.15c-1.8-7.68-5.48-13.99-11.03-18.97-5.56-4.97-12.41-7.46-20.53-7.46-8.13-.01-15.08 2.42-20.88 7.3-5.8 4.89-9.52 11.24-11.19 19.06l63.63.07Z" fill="#231f20" data-color="1"></path>
                    <path d="m335.91 150.69.15-150.5 27.08.03-.15 150.5-27.08-.03Z" fill="#231f20" data-color="1"></path>
                    <path d="m387.58 150.75.12-112.81 27.08.02-.12 112.82-27.08-.03Zm.13-125.68.02-24.82 27.08.03-.02 24.82-27.08-.03Z" fill="#231f20" data-color="1"></path>
                    <path d="M551.45 92.92c0 2.26-.15 4.52-.46 6.76-.31 2.26-.68 4.52-1.13 6.78l-87.55-.09c1.8 6.76 5.48 12.37 11.04 16.82 5.55 4.44 11.87 6.67 18.95 6.67 5.72.01 10.6-1.22 14.67-3.7 4.07-2.48 7.6-6.13 10.62-10.94l29.78.03a53.713 53.713 0 0 1-8.14 15.9c-3.62 4.89-7.84 9.06-12.65 12.52-4.82 3.46-10.09 6.16-15.81 8.11a54.467 54.467 0 0 1-17.61 2.91c-8.43-.01-16.24-1.6-23.46-4.76-7.21-3.16-13.49-7.46-18.82-12.88-5.33-5.43-9.54-11.78-12.62-19.08-3.07-7.29-4.61-15.08-4.59-23.36 0-8.27 1.51-16.09 4.53-23.47 3.01-7.36 7.2-13.83 12.54-19.39 5.34-5.55 11.63-9.98 18.85-13.29 7.23-3.31 15.04-4.95 23.47-4.95 8.12.01 15.72 1.6 22.78 4.77 7.07 3.16 13.27 7.46 18.6 12.88 5.33 5.42 9.5 11.75 12.5 18.96 3 7.23 4.5 14.83 4.49 22.8Zm-26.39-8.15c-1.8-7.67-5.48-13.99-11.03-18.96-5.56-4.97-12.41-7.46-20.53-7.47-8.13 0-15.08 2.43-20.88 7.32-5.8 4.88-9.52 11.24-11.19 19.05l63.63.07Z" fill="#231f20" data-color="1"></path>
                    <path d="M622.11 60.73c-8.73.3-14.97 2.69-18.73 7.21-3.77 4.51-5.65 11.05-5.66 19.62l-.07 63.41-27.08-.03.12-112.81 24.82.02V48.3c3.45-4.65 6.92-8.14 10.38-10.48 3.47-2.32 8.2-3.49 14.22-3.48.9 0 1.58.08 2.03.22l-.03 26.18Z" fill="#231f20" data-color="1"></path>
                    <path d="M123.71 247.12c0 7.98-1.41 15.65-4.2 23.01-2.79 7.37-6.71 13.84-11.75 19.4-5.05 5.55-11.03 9.99-17.95 13.29-6.92 3.31-14.52 4.95-22.79 4.94-3.76 0-7.19-.26-10.27-.79-3.09-.53-5.98-1.37-8.68-2.49a34.504 34.504 0 0 1-7.78-4.53c-2.48-1.87-5.07-4.1-7.77-6.65l-.05 48.28-27.08-.02.15-150.5 24.82.02-.02 13.31c4.67-5.86 10.13-10.17 16.38-12.96 6.24-2.78 13.12-4.15 20.64-4.15 8.27.01 15.87 1.64 22.78 4.88 6.92 3.24 12.86 7.57 17.82 12.99 4.96 5.42 8.83 11.75 11.6 18.97 2.78 7.22 4.16 14.9 4.15 23.02Zm-27.08.42c0-4.51-.78-8.91-2.35-13.2-1.58-4.29-3.83-8.09-6.76-11.4a33.324 33.324 0 0 0-10.37-7.91c-3.98-1.95-8.38-2.94-13.19-2.94s-9.25.97-13.32 2.92-7.57 4.54-10.5 7.77c-2.94 3.24-5.24 7-6.89 11.28-1.66 4.27-2.5 8.76-2.5 13.42s.78 9.13 2.36 13.43c1.58 4.29 3.83 8.04 6.76 11.28 2.93 3.25 6.42 5.84 10.48 7.8 4.06 1.96 8.49 2.94 13.31 2.94 4.81.01 9.21-.96 13.2-2.92 3.98-1.94 7.45-4.54 10.39-7.77 2.94-3.24 5.23-6.99 6.9-11.28 1.65-4.29 2.48-8.75 2.49-13.42Z" fill="#231f20" data-color="1"></path>
                    <path d="M255.04 246.13c0 2.25-.15 4.51-.46 6.76-.3 2.26-.68 4.51-1.13 6.76l-87.55-.09c1.8 6.78 5.48 12.38 11.04 16.82 5.55 4.44 11.87 6.67 18.95 6.68 5.72 0 10.6-1.23 14.66-3.71 4.07-2.48 7.6-6.11 10.62-10.93l29.78.02c-1.81 5.73-4.52 11.02-8.14 15.91-3.62 4.88-7.83 9.05-12.65 12.51-4.82 3.46-10.09 6.16-15.81 8.11-5.72 1.94-11.59 2.92-17.6 2.91-8.43 0-16.25-1.59-23.46-4.76-7.22-3.16-13.5-7.46-18.83-12.88-5.33-5.42-9.54-11.78-12.62-19.08-3.08-7.29-4.61-15.08-4.6-23.36.01-8.26 1.51-16.09 4.53-23.46 3.02-7.36 7.2-13.83 12.54-19.39 5.34-5.56 11.63-9.99 18.86-13.3 7.22-3.29 15.04-4.95 23.47-4.94 8.12.01 15.72 1.6 22.79 4.76 7.06 3.17 13.26 7.46 18.6 12.88 5.33 5.42 9.5 11.75 12.51 18.97 3 7.22 4.5 14.82 4.48 22.8Zm-26.39-8.15c-1.8-7.68-5.48-13.99-11.04-18.97-5.56-4.97-12.4-7.45-20.52-7.46-8.13-.01-15.09 2.42-20.88 7.3-5.79 4.89-9.52 11.25-11.18 19.06l63.63.07Z" fill="#231f20" data-color="1"></path>
                    <path d="M325.69 213.92c-8.73.3-14.97 2.7-18.73 7.21-3.77 4.51-5.65 11.05-5.66 19.63l-.06 63.4-27.08-.02.12-112.82 24.82.02v10.16c3.45-4.66 6.91-8.15 10.38-10.49 3.46-2.32 8.2-3.48 14.22-3.48.9 0 1.58.08 2.03.23l-.03 26.17Z" fill="#231f20" data-color="1"></path>
                    <path d="M448.63 246.33c0 2.25-.15 4.51-.46 6.76-.3 2.26-.68 4.51-1.13 6.76l-87.55-.09c1.8 6.78 5.48 12.38 11.04 16.82 5.55 4.44 11.87 6.67 18.95 6.68 5.72 0 10.6-1.23 14.66-3.71 4.07-2.48 7.6-6.11 10.62-10.93l29.78.02c-1.81 5.73-4.52 11.02-8.14 15.91-3.62 4.88-7.83 9.05-12.65 12.51-4.82 3.46-10.09 6.16-15.81 8.11-5.72 1.94-11.59 2.92-17.6 2.91-8.43 0-16.25-1.59-23.46-4.76-7.22-3.16-13.5-7.46-18.83-12.88-5.33-5.42-9.54-11.78-12.62-19.08-3.08-7.29-4.61-15.08-4.6-23.36.01-8.26 1.51-16.09 4.53-23.46 3.02-7.36 7.2-13.83 12.54-19.39 5.34-5.56 11.63-9.99 18.86-13.3 7.22-3.29 15.04-4.95 23.47-4.94 8.12.01 15.72 1.6 22.79 4.76 7.06 3.17 13.26 7.46 18.6 12.88 5.33 5.42 9.5 11.75 12.51 18.97 3 7.22 4.5 14.82 4.48 22.8Zm-26.39-8.15c-1.8-7.68-5.48-13.99-11.04-18.97-5.56-4.97-12.4-7.45-20.52-7.46-8.13-.01-15.09 2.42-20.88 7.3-5.79 4.89-9.52 11.25-11.18 19.06l63.63.07Z" fill="#231f20" data-color="1"></path>
                    <path d="m459.18 304.33.02-24.37 49.93-63.58-44-.04.03-24.81 76.72.08-.03 24.36-49.93 63.58 53.25.06-.02 24.82-85.97-.09Z" fill="#231f20" data-color="1"></path>
                    <path d="M123.55 408.29c0 7.98-1.41 15.65-4.2 23.01-2.79 7.37-6.71 13.84-11.75 19.4-5.05 5.55-11.03 9.99-17.95 13.29-6.92 3.31-14.52 4.95-22.79 4.94-3.76 0-7.19-.26-10.27-.79-3.09-.53-5.98-1.37-8.68-2.49a34.504 34.504 0 0 1-7.78-4.53c-2.48-1.87-5.07-4.1-7.77-6.65l-.05 48.28-27.08-.02.15-150.5 24.82.02-.02 13.31c4.67-5.86 10.13-10.17 16.38-12.96 6.24-2.78 13.12-4.15 20.64-4.15 8.27.01 15.87 1.64 22.78 4.88 6.92 3.24 12.86 7.57 17.82 12.99 4.96 5.42 8.83 11.75 11.6 18.97 2.77 7.22 4.16 14.9 4.15 23.02Zm-27.08.42c0-4.51-.78-8.91-2.35-13.2-1.58-4.29-3.83-8.09-6.76-11.4a33.324 33.324 0 0 0-10.37-7.91c-3.98-1.95-8.38-2.94-13.19-2.94s-9.25.97-13.32 2.92-7.57 4.54-10.5 7.77c-2.94 3.24-5.24 7-6.89 11.28-1.66 4.27-2.5 8.76-2.5 13.42s.78 9.13 2.36 13.43c1.58 4.29 3.83 8.04 6.76 11.28 2.93 3.25 6.42 5.84 10.48 7.8 4.06 1.96 8.49 2.94 13.31 2.94 4.81.01 9.21-.96 13.2-2.92 3.98-1.94 7.45-4.54 10.39-7.77 2.94-3.24 5.23-6.99 6.9-11.28 1.65-4.29 2.48-8.75 2.49-13.42Z" fill="#231f20" data-color="1"></path>
                    <path d="M194.21 374.96c-8.73.3-14.97 2.7-18.73 7.21-3.77 4.51-5.65 11.05-5.66 19.62l-.06 63.41-27.08-.03.12-112.81 24.82.02v10.16c3.45-4.66 6.91-8.15 10.38-10.49 3.46-2.32 8.2-3.49 14.22-3.48.9 0 1.58.08 2.03.23l-.03 26.17Z" fill="#231f20" data-color="1"></path>
                    <path d="M294.08 465.32v-13.76c-2.25 2.56-4.92 4.92-8 7.11-3.09 2.17-6.4 4.05-9.94 5.63-3.54 1.56-7.19 2.78-10.95 3.59-3.76.83-7.3 1.23-10.6 1.23-8.58-.01-16.25-1.67-23.01-4.99-6.77-3.32-12.52-7.8-17.25-13.44-4.74-5.64-8.34-12.15-10.81-19.52-2.48-7.37-3.71-15.05-3.7-23.03.01-8.12 1.37-15.79 4.09-23.01 2.72-7.22 6.56-13.53 11.52-18.94s10.91-9.7 17.84-12.85c6.92-3.15 14.59-4.73 23.02-4.72 7.07.01 14.06 1.63 20.98 4.87 6.91 3.24 12.55 7.66 16.91 13.22l.02-14.21 24.82.02-.12 112.82-24.82-.03Zm-.62-56.86c0-4.8-.78-9.35-2.35-13.65-1.58-4.29-3.83-8.01-6.76-11.17-2.94-3.16-6.42-5.65-10.49-7.46-4.05-1.81-8.57-2.71-13.53-2.72-4.96 0-9.52.97-13.66 2.92-4.14 1.95-7.68 4.58-10.61 7.89-2.94 3.31-5.2 7.14-6.78 11.5-1.59 4.36-2.38 8.95-2.39 13.76 0 4.66.82 9.1 2.47 13.31 1.65 4.22 3.98 7.9 6.98 11.07 3.01 3.15 6.54 5.69 10.6 7.57s8.5 2.82 13.32 2.83c5.11 0 9.7-.93 13.76-2.81 4.07-1.87 7.53-4.46 10.39-7.77 2.86-3.32 5.08-7.15 6.67-11.5 1.58-4.36 2.37-8.95 2.38-13.77Z" fill="#231f20" data-color="1"></path>
                    <path d="M432.17 465.46V451.7c-4.51 5.41-10.27 9.7-17.27 12.85-7 3.15-14.11 4.72-21.33 4.72-7.98-.01-15.35-1.71-22.11-5.1-6.76-3.39-12.63-7.88-17.59-13.44-4.96-5.56-8.83-11.97-11.6-19.19-2.78-7.23-4.16-14.66-4.15-22.34.01-7.81 1.44-15.37 4.31-22.67 2.86-7.28 6.82-13.72 11.87-19.27 5.05-5.56 11.03-10.04 17.95-13.41 6.92-3.38 14.44-5.07 22.56-5.06 6.32 0 12.64 1.25 18.96 3.75 6.31 2.49 11.73 5.92 16.23 10.28l.05-47.84 27.08.03-.15 150.5-24.82-.03Zm-.4-56.41c0-4.66-.82-9.13-2.47-13.43-1.66-4.29-3.98-8.04-6.99-11.28-3.01-3.24-6.53-5.84-10.6-7.8-4.05-1.95-8.49-2.93-13.3-2.94-4.51 0-8.8.97-12.87 2.92-4.06 1.95-7.6 4.54-10.61 7.77a37.26 37.26 0 0 0-7.12 11.05 33.146 33.146 0 0 0-2.61 12.98c0 4.66.82 9.18 2.47 13.54 1.65 4.36 3.94 8.21 6.88 11.51 2.93 3.32 6.42 5.98 10.48 8.02 4.06 2.04 8.58 3.05 13.54 3.06 4.81 0 9.25-.97 13.31-2.93 4.07-1.94 7.56-4.53 10.51-7.77 2.93-3.23 5.23-6.99 6.89-11.28 1.65-4.27 2.49-8.75 2.5-13.42Z" fill="#231f20" data-color="1"></path>
                    <path d="M596.03 409.22c0 8.43-1.6 16.28-4.76 23.58-3.17 7.29-7.46 13.64-12.89 19.06-5.42 5.41-11.78 9.68-19.08 12.84-7.3 3.15-15.09 4.73-23.36 4.72-8.27-.01-16.06-1.6-23.35-4.76-7.3-3.16-13.65-7.5-19.06-13-5.41-5.49-9.7-11.89-12.84-19.18-3.16-7.3-4.72-15.09-4.72-23.37.01-8.26 1.59-16.09 4.76-23.46 3.17-7.36 7.5-13.76 13-19.17 5.5-5.41 11.93-9.68 19.3-12.84 7.38-3.15 15.2-4.73 23.47-4.72 8.27.01 16.02 1.6 23.24 4.76 7.22 3.17 13.53 7.5 18.94 12.99 5.41 5.51 9.65 11.9 12.73 19.2 3.08 7.29 4.62 15.08 4.61 23.35Zm-27.08.43c0-4.52-.78-8.95-2.35-13.31-1.58-4.36-3.83-8.21-6.76-11.51-2.93-3.32-6.39-5.99-10.37-8.02-3.98-2.04-8.38-3.06-13.19-3.06-4.81-.01-9.22.97-13.2 2.92a34.623 34.623 0 0 0-10.5 7.89c-3.01 3.31-5.35 7.1-7.01 11.38s-2.49 8.68-2.5 13.2c0 4.81.78 9.33 2.36 13.54 1.58 4.22 3.82 7.98 6.76 11.29a31.54 31.54 0 0 0 10.48 7.79c4.07 1.9 8.58 2.83 13.54 2.83 4.81.01 9.21-.93 13.2-2.8 3.98-1.87 7.45-4.43 10.39-7.67 2.93-3.23 5.19-6.94 6.78-11.16 1.58-4.21 2.37-8.65 2.38-13.31Z" fill="#231f20" data-color="1"></path>
                    <g opacity=".5">
                    <path d="m586.9 216.13-2.63-6.37h-8.74l-2.74 6.37h-5.04l10.26-24.71h3.59l10.37 24.71h-5.08Zm-7.08-18.23-2.67 7.6h5.3l-2.63-7.6Z" fill="#231f20" data-color="1"></path>
                    <path d="m610.46 216.13-6.59-9.45v9.45h-4.59v-24.71h7.56c1.41 0 2.71.17 3.91.5s2.26 1.07 3.2 2.21c1.21 1.43 1.82 3.09 1.82 4.96 0 .86-.14 1.74-.43 2.63-.28.89-.67 1.68-1.17 2.37-.62.86-1.33 1.51-2.13 1.93-.8.42-1.71.75-2.72 1l6.67 9.12h-5.52Zm.74-16.71c0-.64-.12-1.2-.37-1.67s-.57-.85-.98-1.15-.88-.52-1.41-.66c-.53-.15-1.08-.22-1.65-.22h-2.93v7.52h2.93c.62 0 1.19-.07 1.72-.22s.99-.38 1.39-.7c.39-.32.71-.72.94-1.18.23-.47.35-1.04.35-1.7Z" fill="#231f20" data-color="1"></path>
                    <path d="M642.36 198.5c-.86-1.01-1.85-1.82-2.94-2.41-1.1-.59-2.33-.89-3.69-.89-1.14 0-2.19.24-3.17.72s-1.83 1.12-2.55 1.93-1.3 1.72-1.7 2.74a8.548 8.548 0 0 0 .02 6.39c.42 1.04 1 1.96 1.74 2.76.74.8 1.61 1.44 2.61 1.91 1 .47 2.08.7 3.24.7 1.33 0 2.48-.28 3.43-.83.95-.56 1.87-1.3 2.76-2.24h5.3c-.47 1.14-1.1 2.16-1.89 3.06-.79.9-1.69 1.67-2.71 2.29-1.01.63-2.1 1.12-3.26 1.46s-2.35.52-3.56.52c-1.78 0-3.45-.35-5-1.04s-2.92-1.62-4.09-2.8c-1.17-1.17-2.1-2.54-2.78-4.11s-1.02-3.23-1.02-4.98.34-3.4 1.02-4.95c.68-1.54 1.6-2.9 2.76-4.06s2.51-2.08 4.06-2.74c1.55-.67 3.19-1 4.95-1s3.45.34 5.02 1.02c1.57.68 2.98 1.65 4.24 2.91.3.3.56.58.8.85.23.27.45.55.63.83.19.28.35.58.5.89.15.31.31.66.48 1.06h-5.19Z" fill="#231f20" data-color="1"></path>
                    <path d="M669.34 216.13v-10.37h-8.82v10.37h-4.59v-24.71h4.59v10.08h8.82v-10.08h4.59v24.71h-4.59Z" fill="#231f20" data-color="1"></path>
                    <path d="M683.57 216.13v-24.71h4.59v24.71h-4.59Z" fill="#231f20" data-color="1"></path>
                    <path d="M705.02 195.72v20.41h-4.56v-20.41h-4.59v-4.3h13.71v4.3h-4.56Z" fill="#231f20" data-color="1"></path>
                    <path d="M717.32 216.13v-24.71h13.3v4.3h-8.71v6h8.34v4.3h-8.34v5.85h8.71v4.26h-13.3Z" fill="#231f20" data-color="1"></path>
                    <path d="M757.63 198.5c-.86-1.01-1.85-1.82-2.94-2.41-1.1-.59-2.33-.89-3.69-.89-1.14 0-2.19.24-3.17.72s-1.83 1.12-2.55 1.93-1.3 1.72-1.7 2.74a8.548 8.548 0 0 0 .02 6.39c.42 1.04 1 1.96 1.74 2.76.74.8 1.61 1.44 2.61 1.91 1 .47 2.08.7 3.24.7 1.33 0 2.48-.28 3.43-.83.95-.56 1.87-1.3 2.76-2.24h5.3c-.47 1.14-1.1 2.16-1.89 3.06-.79.9-1.69 1.67-2.71 2.29-1.01.63-2.1 1.12-3.26 1.46s-2.35.52-3.56.52c-1.78 0-3.45-.35-5-1.04s-2.92-1.62-4.09-2.8c-1.17-1.17-2.1-2.54-2.78-4.11s-1.02-3.23-1.02-4.98.34-3.4 1.02-4.95c.68-1.54 1.6-2.9 2.76-4.06s2.51-2.08 4.06-2.74c1.55-.67 3.19-1 4.95-1s3.45.34 5.02 1.02c1.57.68 2.98 1.65 4.24 2.91.3.3.56.58.8.85.23.27.45.55.63.83.19.28.35.58.5.89.15.31.31.66.48 1.06h-5.19Z" fill="#231f20" data-color="1"></path>
                    <path d="M778.01 195.72v20.41h-4.56v-20.41h-4.59v-4.3h13.71v4.3h-4.56Z" fill="#231f20" data-color="1"></path>
                    <path d="M790.31 216.13v-24.71h13.3v4.3h-8.71v6h8.34v4.3h-8.34v5.85h8.71v4.26h-13.3Z" fill="#231f20" data-color="1"></path>
                    <path d="M826.88 208.61c0 1.11-.21 2.16-.63 3.13-.42.98-.99 1.82-1.7 2.54-.72.72-1.56 1.29-2.54 1.7s-2.02.63-3.13.63-2.11-.19-3.07-.56c-.97-.37-1.81-.89-2.52-1.56s-1.29-1.46-1.72-2.39c-.43-.93-.67-1.95-.72-3.06h4.78c.02 1.01.34 1.82.94 2.41.6.59 1.41.89 2.43.89.94 0 1.73-.28 2.37-.83.64-.56.96-1.32.96-2.28 0-.67-.15-1.23-.45-1.69-.29-.46-.69-.84-1.16-1.15a8.83 8.83 0 0 0-1.63-.8c-.6-.22-1.22-.45-1.85-.69-.63-.24-1.25-.5-1.85-.8a5.54 5.54 0 0 1-1.58-1.15c-.64-.66-1.15-1.43-1.52-2.29s-.56-1.77-.56-2.71.19-1.91.57-2.76c.38-.85.91-1.59 1.58-2.22.67-.63 1.44-1.13 2.32-1.5s1.8-.56 2.76-.56c1.01 0 1.95.18 2.81.54.87.36 1.63.85 2.28 1.48.65.63 1.18 1.38 1.57 2.24s.62 1.79.67 2.78h-4.74c-.05-.79-.3-1.45-.76-1.98s-1.1-.8-1.94-.8c-.77 0-1.38.22-1.85.67-.47.44-.7 1.06-.7 1.85 0 .5.08.91.26 1.26.15.27.38.52.71.74s.67.43 1.06.61c.38.18.77.34 1.15.48.38.14.71.25.98.35.79.27 1.54.57 2.24.89.71.32 1.37.78 1.98 1.37.74.72 1.3 1.5 1.67 2.35.37.85.55 1.8.55 2.83Z" fill="#231f20" data-color="1"></path>
                    <path d="M587.45 253.45c0 1.38-.16 2.67-.48 3.85s-1 2.26-2.04 3.22c-.86.79-1.83 1.39-2.89 1.8-1.06.4-2.19.61-3.37.61-.79 0-1.59-.1-2.39-.32-.8-.21-1.56-.51-2.28-.91-.72-.39-1.36-.88-1.94-1.46s-1.04-1.24-1.39-1.98c-.34-.74-.57-1.53-.69-2.37s-.17-1.66-.17-2.45v-15.71h4.56v15.71c0 .74.07 1.43.21 2.06.13.63.37 1.18.7 1.65s.77.84 1.32 1.11c.54.27 1.22.41 2.04.41s1.5-.13 2.06-.41c.56-.27 1-.64 1.32-1.11s.55-1.02.69-1.65c.13-.63.2-1.31.2-2.06v-15.71h4.56v15.71Z" fill="#231f20" data-color="1"></path>
                    <path d="m608.05 262.45-6.59-9.45v9.45h-4.59v-24.71h7.56c1.41 0 2.71.17 3.91.5s2.26 1.07 3.2 2.21c1.21 1.43 1.82 3.09 1.82 4.96 0 .86-.14 1.74-.43 2.63-.28.89-.67 1.68-1.17 2.37-.62.86-1.33 1.51-2.13 1.93-.8.42-1.71.75-2.72 1l6.67 9.12h-5.52Zm.74-16.71c0-.64-.12-1.2-.37-1.67s-.57-.85-.98-1.15-.88-.52-1.41-.66c-.53-.15-1.08-.22-1.65-.22h-2.93v7.52h2.93c.62 0 1.19-.07 1.72-.22s.99-.38 1.39-.7c.39-.32.71-.72.94-1.18.23-.47.35-1.04.35-1.7Z" fill="#231f20" data-color="1"></path>
                    <path d="M638.03 255.11c0 1.46-.38 2.76-1.13 3.91-.76 1.15-1.8 2.01-3.13 2.58-.77.35-1.62.58-2.56.69-.94.11-1.83.17-2.67.17h-6.59v-24.71h4.89c.67 0 1.34.01 2.02.04s1.34.09 1.98.2c.64.11 1.27.3 1.89.56.61.26 1.18.62 1.7 1.09a6.49 6.49 0 0 1 1.54 2.09c.38.83.57 1.67.57 2.54 0 1.09-.22 2.01-.66 2.76-.45.76-1.14 1.4-2.08 1.95 2.81 1.09 4.23 3.14 4.23 6.15Zm-6.04-10.41c0-.52-.1-.94-.31-1.28-.21-.33-.48-.6-.82-.81s-.71-.36-1.13-.45c-.42-.08-.85-.13-1.3-.13h-1.89v5.34h1.48c.47 0 .94-.03 1.41-.09s.9-.19 1.28-.37c.38-.19.69-.46.93-.81.23-.36.35-.82.35-1.39Zm1.44 10.26c0-.64-.13-1.17-.39-1.59-.26-.42-.61-.76-1.04-1.02s-.91-.44-1.44-.55c-.53-.11-1.07-.17-1.61-.17h-2.41v6.56h2.3c.54 0 1.09-.04 1.63-.13s1.04-.25 1.48-.5.8-.57 1.07-.98c.27-.41.41-.94.41-1.61Z" fill="#231f20" data-color="1"></path>
                    <path d="m662.86 262.45-2.63-6.37h-8.74l-2.74 6.37h-5.04l10.26-24.71h3.59l10.37 24.71h-5.08Zm-7.08-18.23-2.67 7.6h5.3l-2.63-7.6Z" fill="#231f20" data-color="1"></path>
                    <path d="m690.2 262.45-10.37-17.93v17.93h-4.59v-24.71h5.22l10.26 17.97v-17.97h4.59v24.71h-5.11Z" fill="#231f20" data-color="1"></path>
                    <path d="M704.95 262.45v-24.71h4.59v24.71h-4.59Z" fill="#231f20" data-color="1"></path>
                    <path d="M733.58 254.93c0 1.11-.21 2.16-.63 3.13-.42.98-.99 1.82-1.7 2.54-.72.72-1.56 1.29-2.54 1.7s-2.02.63-3.13.63-2.11-.19-3.07-.56c-.97-.37-1.81-.89-2.52-1.56s-1.29-1.46-1.72-2.39c-.43-.93-.67-1.95-.72-3.06h4.78c.02 1.01.34 1.82.94 2.41.6.59 1.41.89 2.43.89.94 0 1.73-.28 2.37-.83.64-.56.96-1.32.96-2.28 0-.67-.15-1.23-.45-1.69-.29-.46-.69-.84-1.16-1.15a8.83 8.83 0 0 0-1.63-.8c-.6-.22-1.22-.45-1.85-.69-.63-.24-1.25-.5-1.85-.8a5.54 5.54 0 0 1-1.58-1.15c-.64-.66-1.15-1.43-1.52-2.29s-.56-1.77-.56-2.71.19-1.91.57-2.76c.38-.85.91-1.59 1.58-2.22.67-.63 1.44-1.13 2.32-1.5s1.8-.56 2.76-.56c1.01 0 1.95.18 2.81.54.87.36 1.63.85 2.28 1.48.65.63 1.18 1.38 1.57 2.24s.62 1.79.67 2.78h-4.74c-.05-.79-.3-1.45-.76-1.98s-1.1-.8-1.94-.8c-.77 0-1.38.22-1.85.67-.47.44-.7 1.06-.7 1.85 0 .5.08.91.26 1.26.15.27.38.52.71.74s.67.43 1.06.61c.38.18.77.34 1.15.48.38.14.71.25.98.35.79.27 1.54.57 2.24.89.71.32 1.37.78 1.98 1.37.74.72 1.3 1.5 1.67 2.35.37.85.55 1.8.55 2.83Z" fill="#231f20" data-color="1"></path>
                    <path d="M749.34 242.04v20.41h-4.56v-20.41h-4.59v-4.3h13.71v4.3h-4.56Z" fill="#231f20" data-color="1"></path>
                    <path d="M761.64 262.45v-24.71h13.3v4.3h-8.71v6h8.34v4.3h-8.34v5.85h8.71v4.26h-13.3Z" fill="#231f20" data-color="1"></path>
                    <path d="M798.2 254.93c0 1.11-.21 2.16-.63 3.13-.42.98-.99 1.82-1.7 2.54-.72.72-1.56 1.29-2.54 1.7s-2.02.63-3.13.63-2.11-.19-3.07-.56c-.97-.37-1.81-.89-2.52-1.56s-1.29-1.46-1.72-2.39c-.43-.93-.67-1.95-.72-3.06h4.78c.02 1.01.34 1.82.94 2.41.6.59 1.41.89 2.43.89.94 0 1.73-.28 2.37-.83.64-.56.96-1.32.96-2.28 0-.67-.15-1.23-.45-1.69-.29-.46-.69-.84-1.16-1.15a8.83 8.83 0 0 0-1.63-.8c-.6-.22-1.22-.45-1.85-.69-.63-.24-1.25-.5-1.85-.8a5.54 5.54 0 0 1-1.58-1.15c-.64-.66-1.15-1.43-1.52-2.29s-.56-1.77-.56-2.71.19-1.91.57-2.76c.38-.85.91-1.59 1.58-2.22.67-.63 1.44-1.13 2.32-1.5s1.8-.56 2.76-.56c1.01 0 1.95.18 2.81.54.87.36 1.63.85 2.28 1.48.65.63 1.18 1.38 1.57 2.24s.62 1.79.67 2.78h-4.74c-.05-.79-.3-1.45-.76-1.98s-1.1-.8-1.94-.8c-.77 0-1.38.22-1.85.67-.47.44-.7 1.06-.7 1.85 0 .5.08.91.26 1.26.15.27.38.52.71.74s.67.43 1.06.61c.38.18.77.34 1.15.48.38.14.71.25.98.35.79.27 1.54.57 2.24.89.71.32 1.37.78 1.98 1.37.74.72 1.3 1.5 1.67 2.35.37.85.55 1.8.55 2.83Z" fill="#231f20" data-color="1"></path>
                </g>
         </g>
</svg>`
}
}


$w.onReady(function () {
});





/**
*	Adds an event handler that runs when an element is no longer
 displayed in the viewable part of the current window.
	[Read more](https://www.wix.com/corvid/reference/$w.ViewportMixin.html#onViewportLeave)
*	 @param {$w.Event} event
*/
export function section1_viewportLeave(event) {
         $w('#vectorlogo').src = menuItems.setItemsColor(menuItems.color.black);
         

	// This function was added from the Properties & Events panel. To learn more, visit http://wix.to/UcBnC-4
	// Add your code for this event here: 
}


/**
*	Adds an event handler that runs when an element is displayed
 in the viewable part of the current window.
	[Read more](https://www.wix.com/corvid/reference/$w.ViewportMixin.html#onViewportEnter)
*	 @param {$w.Event} event
*/
export function section1_viewportEnter(event) {
        $w('#vectorlogo').src = menuItems.setItemsColor(menuItems.color.white);


	// This function was added from the Properties & Events panel. To learn more, visit http://wix.to/UcBnC-4
	// Add your code for this event here: 
}




/**
*	Adds an event handler that runs when an element is no longer
 displayed in the viewable part of the current window.
	[Read more](https://www.wix.com/corvid/reference/$w.ViewportMixin.html#onViewportLeave)
*	 @param {$w.Event} event
*/
export function line1_viewportLeave(event) {
            $w('#vectorlogo').src = menuItems.setItemsColor(menuItems.color.white);

	// This function was added from the Properties & Events panel. To learn more, visit http://wix.to/UcBnC-4
	// Add your code for this event here: 
}




/**
*	Adds an event handler that runs when an element is displayed
 in the viewable part of the current window.
	[Read more](https://www.wix.com/corvid/reference/$w.ViewportMixin.html#onViewportEnter)
*	 @param {$w.Event} event
*/
export function line1_viewportEnter(event) {
                $w('#vectorlogo').src = menuItems.setItemsColor(menuItems.color.black);

	// This function was added from the Properties & Events panel. To learn more, visit http://wix.to/UcBnC-4
	// Add your code for this event here: 
}

the link to the page is here:

when trying to change the code to add the hamburger menu, I come to a few issues:

  1. no color data in the code of the hamburger menu, so no way to make it dynamic.
  2. the asyncfunc animateMenuElements is not recognized.

can you help?