downContent = getElementsByClassName("dropdown-content");
        for (let i = 0; i < dropdownContent.length; i++) {
            let openDropdown = dropdownContent[i];
            if (openDropdown.classList.contains('show')) {
                openDropdown.classList.remove('show');
            }
        }
    }

    function changeTheme(isDark) {
        isDarkTheme = isDark;

        if (isDarkTheme) {
            showElement(lightTheme);
            hideElement(darkTheme);
            setDarkTheme();
     