.spectrum {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 20px auto;
            max-width: 900px;
        }
        .bar {
            display: flex;
            width: 100%;
            height: 50px;
            margin: 10px 0;
        }
        .section {
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-size: 12px;
            flex-grow: 1;
            padding: 5px;
            position: relative;
        }
        .section span {
            position: absolute;
            bottom: -25px;
            font-size: 10px;
            color: black;
        }
        .gamma {
            background: purple;
        }
        .xray {
            background: indigo;
        }
        .uv {
            background: blue;
        }
        .visible {
            background: linear-gradient(to right, violet, indigo, blue, green, yellow, orange, red);
            color: black;
        }
        .infrared {
            background: darkred;
        }
        .microwave {
            background: brown;
        }
        .radio {
            background: darkgreen;
        }
        .labels {
            display: flex;
            justify-content: space-between;
            width: 100%;
            font-size: 14px;
            margin-top: 10px;
        }
