/* Root Variables for Theming */
:root {
    --primary-color: #9122e0;
    --secondary-color: #0CE6DF;
    --background-color: #F7F7F7;
    --header-background: #FFFFFF;
    --header-text-color: #000000;
    --button-hover-color: #089B94;
    --text-color: #333333;
    --font-family: 'Arial', 'Helvetica', sans-serif;
  }
  
  /* General Reset */
  html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Body Styling */
  body {
    background-color: var(--background-color);
    color: var(--text-color);
    text-align: center;
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
  }
  
  /* Header Styling */
  header {
    background-color: var(--header-background);
    padding: 2em 0;
    color: var(--header-text-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2em;
  }
  
  #title {
    background-color: var(--primary-color);
    color: var(--background-color);
    font-size: 2em;
    border: none;
    border-radius: 5px;
    padding: 0.5em 1em;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 1em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Input and Label Styling */
  label {
    font-size: 1.1em;
    margin: 0.5em 0;
    display: block;
  }
  
  input[type="text"] {
    font-size: 1.1em;
    padding: 0.5em;
    margin: 0.5em 0;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    width: 80%;
    max-width: 400px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* Button Styling */
  button {
    background-color: var(--secondary-color);
    color: var(--background-color);
    font-size: 1.1em;
    padding: 0.5em 1em;
    margin: 0.5em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
  button:hover {
    background-color: var(--button-hover-color);
    transform: translateY(-2px);
  }
  
  button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(12, 230, 223, 0.3);
  }
  
  /* Blurb and Content Container Styling */
  #blurb {
    background-color: rgba(255, 255, 255, 0.9);
    margin: 1em auto;
    width: 80%;
    max-width: 600px;
    padding: 1.5em;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  #visual-title {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 0.5em;
  }
  
  /* Binary Tree and Array Visual Styling */
  #binary-tree, #array-visual {
    margin: 1em auto;
    width: 80%;
    max-width: 600px;
    padding: 1em;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    background-color: var(--background-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* SVG Container Styling */
  .svg-container {
    display: inline-block;
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    vertical-align: top;
    overflow: hidden;
  }
  
  .svg-content-responsive {
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 0;
  }
  
  /* Additional Classes for Subtext */
  .subtext {
    font-size: 0.9em;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
  }
  