Opens in a new tab
function updateHeaderHeight() {
        // Get the height of #brx-header
        const headerHeight = document.querySelector('#brx-header').offsetHeight;
          
        // Store the height in the CSS custom property --header-height
        document.documentElement.style.setProperty('--brxw-header-height', headerHeight + 'px');
    }

    // Execute the function as soon as the document is ready
    document.addEventListener('DOMContentLoaded', function() {
        updateHeaderHeight();  // Initial update of header height when the document is ready

        // Update the header height on window resize and orientation change
        window.addEventListener('resize', updateHeaderHeight);
        window.addEventListener('orientationchange', updateHeaderHeight);
});

Formentera

Formentera is the smallest and southernmost island of the Balearic Islands group, known for its clear waters, long stretches of beach, and serene landscapes. It offers a quiet, laid-back atmosphere, making it a perfect retreat for those seeking peace and natural beauty. The island is particularly famous for its beaches, such as Ses Illetes and Llevant, which are often ranked among the best in the world. Also its charming villages like Sant Francesc or Sant Ferran are worth visit. Formentera is accessible by ferry from Ibiza, and its compact size makes it ideal for exploration by bicycle or scooter.