  body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
  }
  #blobContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: url(#goo);
  }
  .blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
  }
  #blurOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(100px);
    z-index: 5;
    pointer-events: none;
  }
  #noiseOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: 6;
    pointer-events: none;
    filter: url(#noise);
  }
  .controls-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: rgb(0 0 0 / 35%);
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    margin: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
  .controls-container.hidden {
    transform: translateY(100%);
    bottom: -20px;
  }
  .control-group {
    display: inline-block;
    margin-right: 20px;
    vertical-align: top;
  }
  .control-group h3 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: normal;
  }
  input[type="color"] {
    width: 30px;
    height: 30px;
    border: none;
    padding: 0;
    background: none;
    border-radius: 5px;
  }
  input[type="range"] {
    width: 100px;
    background: rgba(255, 255, 255, 0.2);
    -webkit-appearance: none;
    height: 4px;
    border-radius: 2px;
  }
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: #fff;
    cursor: pointer;
    border-radius: 50%;
  }
  button {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-family: 'Arial', sans-serif;
    margin-top: 5px;
    border-radius: 5px;
    transition: background 0.3s ease;
  }
  button:hover {
    background: rgba(255, 255, 255, 0.3);
  }
  #toggleUI {
    position: absolute;
    top: -50px;
    right: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    z-index: 11;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: 'Arial', sans-serif;
    border-radius: 5px;
    transition: background 0.3s ease;
    background: rgb(0 0 0 / 35%);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    transition-duration: 0.3s;
}
#toggleUI:hover {
    background: rgb(0 0 0 / 57%);
    opacity: 1;
}

#toggleUI span {
    display: block;
    transform: rotate(90deg) scaleY(1.7);
    transition-duration: 0.3s;
}

.hidden #toggleUI span {
    transform: rotate(270deg) scaleY(1.7);
}

.hidden #toggleUI {
    opacity: 0.3;
    padding: 5px 10px;
}
  #codePopup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    height: 90%;
    max-height: 800px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
  }
  .codeContainer {
    display: flex;
    height: calc(100% - 40px);
    gap: 20px;
  }
  .codeSection {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .codeHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }
  .codeBox {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    padding: 10px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    resize: none;
    border-radius: 5px;
    overflow-y: auto;
  }
  #popupButtons {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
  }
  #popupButtons button {
    margin-left: 10px;
  }
  h2 {
    color: #fff;
    margin: 0;
  }

  .title-text {
    position: fixed;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgb(29, 29, 29);
    left: 0;
    right: 0;
    top: 12vh;
    transition-duration: 0.3s;
    opacity: 1;
}
.title-text>* {
    margin-top: 0px;
    margin-bottom: 10px;
    text-align: center;
    font-family: math;
}

.title-text.hidden {
    top: -100%;
    opacity: 0;
}

  @media (max-width: 768px) {
    .controls-container {
        flex-direction: column;
        gap: 20px;
    }
    .control-group {
        width: 100%;
    }
    input[type="range"] {
        width: 100%;
    }
    input[type="color"] {
        width: 100%;
        height: 50px;
    }
    .colour-swatch-gp {
        display: flex;
        gap: 10px;
    }
  }
