        :root {
            --primary-color: hsl(235, 100%, 35%);
            --secondary-color: hsl(270, 100%, 35%);
            --menu-width: 15%;
        }

        body, html {
            font-family: 'Roboto', sans-serif;
            font-size: 16px;
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            background-color: #f9fafb;
            color: #000000;
        }

        .skip-link {
            position: absolute;
            left: -10000px;
            top: auto;
            width: 1px;
            height: 1px;
            overflow: hidden;
        }

        .skip-link:focus {
            position: static;
            width: auto;
            height: auto;
        }
        
        h1 {
            font-size: 2rem; 
            color: var(--primary-color);
        }

        h2 {
            font-size: 1.5rem; 
            color: var(--primary-color);
            text-align: left;
        }

        h3 {
            font-size: 1.25rem; 
            color: var(--primary-color);
            text-align: left;
        }

        #main-container {
            position: absolute;
            width: calc(100% - var(--menu-width));
            height: 100%;
            left: var(--menu-width);
            z-index: 1;
            background-size: cover;
            overflow-y: auto; /* Enables vertical scrolling */
        } 

        #tutorialBox, #usageBox, #contactBox {
            position: absolute;
            width: calc(100% - var(--menu-width));
            height: 90%;
            left: var(--menu-width);
            z-index: 1;
            border: 0px solid  var(--primary-color);
            padding: 1%;
            margin: 1%;
            background-size: cover;
            background-color: #f9fafb;
        }

        a {
            color:  var(--primary-color);
            text-decoration: none;
        }

        .menu {
            position: absolute;
            z-index: 2;
            width: var(--menu-width);
            height: 99%;
            left: 0;
            top: 0;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            text-align: left;
            padding: 0px;
            margin-left: 5px;
            margin-top: 5px;
        }

        .menu h1 {
            margin: 0 5px;
            color:  var(--primary-color);
        }

        .menu p {
            margin: 0 5px;
            justify-content: center;
            line-height: 1.2;
        }

        .button {
            background-color: var(--primary-color);
            font-size: 1rem;
            border: none;
            color: white;
            padding: 10px 10px;
            text-decoration: none;
            text-align: left;
            display: inline-block;
            margin: 4px 2px;
            cursor: pointer;
            border-radius: 12px;
            transition: background-color 0.3s;
            width: 85%; 
            box-sizing: border-box; /* Include padding and border in the element's total width and height */
        }

        .button:hover {
            background-color: var(--secondary-color);
        }

        .button .button-text {
            display: inline;
        }
        
        .button .button-icon {
            display: none;
        }

        select {
            padding: 10px;
            border: 2px solid #ddd;
            border-radius: 8px;
            background-color: #fff;
            outline: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        select:hover {
            border-color: #888;
        }
        select:focus {
            border-color: #555;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
        }
        
        #menu-icon {
            display: none;
        }
        /* Handle smaller screens */
        @media (max-width: 800px) {
            :root {
                --menu-width: 8%;
            }
            body, html {
                font-size: 10px;
            }
            .button {
                text-align: center;
            }
            .button .button-text {
                display: inline;
            }
            .button .button-icon {
                display: none;
            }
            #gallery img {
                width: 40%; /* Larger percentage for smaller screens */
            }
            .menu {
                display: none; /* Initially hidden */
                position: fixed;
                width: 100%;
                height: 100%;
                left: 0;
                top: 3rem;
                background-color: rgba(255, 255, 255, 0.95); /* Slight transparency */
                box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
                z-index: 10;
                padding: 20px;
            }
            #menu-icon {
                display: block;
                position: fixed;
                width: var(--menu-width);
                top: 0px;
                left: 0px;
                font-size: 3rem;
                color: var(--primary-color);
                cursor: pointer;
                z-index: 20;
            }
            #main-container {
                width: calc(100% - var(--menu-width));
                left: var(--menu-width);
            }
        }
        @media (min-width: 801px) and (max-width: 1000px) {
            body, html {
                font-size: 14px;
            }
        }

        .tooltip {
            position: relative;
            display: inline-block;
            cursor: pointer;
            text-decoration: underline;
            text-decoration-style: dashed;
            text-decoration-color:  var(--primary-color);
        }

        .tooltip .tooltiptext {
            visibility: hidden;
            width: 400px;
            background-color: black;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 5px;
            position: absolute;
            z-index: 1;
            top: 125%; /* Position the tooltip below the text */
            left: 50%;
            margin-left: -200px; /* Use half of the tooltip width to center it */
            opacity: 0;
            transition: opacity 0.3s;
        }

        .tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
        }

        .highlight {
            font-weight: 700; /* Bold weight */
        }

        .note-box {
            border: 1px solid  var(--primary-color);
            background-color: #f9fafb;
            padding: 5px; /* Padding inside the box */
            margin: 5px 0; /* Margin around the box */
            border-radius: 5px; /* Rounded corners */
            color: #333; /* Text color */
            font-family: Arial, sans-serif; /* Font style */
        }
        .note-box b {
            color:  var(--primary-color);
        }

        .responsive-image {
            width: 97%; 
            max-width: 97%; /* Ensures the image does not exceed the container's width */
            height: auto; /* Maintains the aspect ratio */
            margin: 20px 0; /* Space above and below the image */
            border: 2px solid  var(--primary-color);
            padding: 10px; /* Space between the image and the border */
            display: block; /* Ensures the image is displayed as a block element */
            background-color: #f9f9f9; /* Light background color to further distinguish */
        }

        .image-row {
            display: flex;
            flex-wrap: wrap; /* Allows wrapping to next line if there's not enough space */
            justify-content: space-between; /* Adjust the spacing between images */
            gap: 10px; /* Adds spacing between images */
        }
        .image-row img {
            max-width: 100%; /* Ensures the image does not overflow its container */
            height: auto;
            flex: 1 1 auto; /* Allows images to grow and shrink based on available space */
        }
        /* SVG Container */
        .svg-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            margin-top: 10px;
        }
        .svg-item {
            margin: 5px;
            border: 1px solid #ddd;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, border 0.3s;
        }
        .svg-item:hover {
            transform: scale(1.05);
            cursor: pointer;
        }
        .svg-actions {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            display: none;
            gap: 5px;
            background: rgba(0, 0, 0, 0.0); /* Transparent background */
            padding: 5px 10px;
            border-radius: 5px;
            transition: opacity 0.3s;
        }
        .svg-item:hover .svg-actions,
        .svg-item.active .svg-actions {
            display: flex;
        }
        .svg-actions button {
            color: white;
            background: var(--primary-color);
            border: none;
            padding: 5px 10px;
            cursor: pointer;
            border-radius: 3px;
        }
        .svg-actions button:hover {
            background: var(--secondary-color);
        }
        #loadingIndicator {
            display: none;
            font-size: 2rem;
            margin-top: 10px;
        }
        /* Bookmark Panel */
        .bookmark-panel {
            position: fixed;
            z-index: 10;
            bottom: 0;
            left: var(--menu-width);
            width: calc(100% - var(--menu-width));
            max-height: 30%;
            overflow-y: auto;
            background-color: #fff;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }
        .minimized {
            transform: translateY(calc(100% - 35px));
        }
        .panel-header {
            background: var(--primary-color);
            color: #fff;
            padding: 10px;
            cursor: pointer;
            text-align: center;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .panel-content {
            display: flex;
            flex-wrap: wrap;
            padding: 10px;
        }
        .bookmark-item {
            margin: 5px;
            border: 1px solid #ddd;
            border-radius: 5px;
            overflow: hidden;
            display: flex;
            align-items: center;
            cursor: pointer;
        }
        .bookmark-item img {
            height: 75px;
        }
        .bookmark-actions {
            display: flex;
            flex-direction: column;
            background: rgba(0, 0, 0, 0.0);
        }
        .bookmark-actions button {
            position: relative;
            color: white;
            background: var(--primary-color);
            cursor: pointer;
            margin-top: 2px;
            font-size: .75rem;
            border-radius: 3px;
        }
        .bookmark-actions button:hover {
            background: var(--secondary-color);
        }
        /* Input panel */
        .input-panel {
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            width: 95%;
            padding: 10px;
            display: inline-block;
            margin: 10px auto;
        }
        #prompt {
            width: 65%;
            padding: 10px;
            margin-top: 10px;
            margin-bottom: 5px;
        }
        .slider-container {
            margin: 10px 0;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            align-items: center;
        }
