body {
      font-family: sans-serif;
      margin: 0;
      background: black;
      color: white;
    }

    nav {
      background: #000;
      padding: 10px;
      text-align: center;
    }

    nav a {
      color: white;
      margin: 0 15px;
      text-decoration: none;
      font-weight: bold;
      font-size: 18px;
      transition: color 0.3s;
    }

    nav a:hover {
      color: #66ccff;
    }

    h1 {
      margin-bottom: 20px;
      font-weight: bold;
      font-size: 2.2em;
      text-align: center;
    }

    nav a.active {
      text-decoration: underline;
      color: #66ccff;
    }

    .container {
      padding: 20px;
      max-width: 1200px;
      margin: 0 auto;
    }

    label {
      font-weight: bold;
    }

      input[type="text"], input[type="number"] {
      padding: 10px;
      font-size: 16px;
      background: #222;
      color: white;
      border: 1px solid #555;
      border-radius: 4px;
      width: 100%;
      box-sizing: border-box;
    }

    input, button, select {
      padding: 10px;
      margin: 5px 10px 15px 0;
      font-size: 16px;
      background: #222;
      color: white;
      border: 1px solid #555;
      border-radius: 4px;
      width: 300px;
      max-width: 100%;
      box-sizing: border-box;
    }

    button {
      cursor: pointer;
      border: none;
      background: #007bff;
      transition: background 0.3s;
    }

    button:hover {
      background: #0056b3;
    }

    #plot-wrapper {
      width: 1920px;
      height: 1080px;
      overflow: hidden;
      margin: 20px auto;
      border: 1px solid #444;
      background: black;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    #plot {
      width: 1920px;
      height: 1080px;
    }

    .latex-preview {
      margin-left: 10px;
      font-size: 20px;
      color: #ccc;
      vertical-align: middle;
      display: inline-block;
      min-width: 150px;
      font-family: "Latin Modern Math", "STIX Math", "Cambria Math", serif;
    }

    .range-inputs {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      margin-bottom: 10px;
    }

    .range-inputs label {
      width: auto;
      margin-right: 5px;
    }

    .range-inputs input {
      width: 120px;
    }

    
    .faq-button {
      position: absolute;
      top: 20px;
      left: 20px;
      padding: 10px 15px;
      background-color: white;
      color: black;
      text-decoration: none;
      border-radius: 5px;
      font-weight: bold;
      transition: background-color 0.3s;
    }

    .faq-button:hover {
  background-color: #ccc;
}

.back-button{
  top: 20px;
  right: 20px;
  padding: 10px 15px;
  background-color: white;
  color: black;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.back-button:hover {
  background-color: #ccc;
}

.about-button {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px 15px;
  background-color: white;
  color: black;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.about-button:hover {
  background-color: #ccc;
}

 #plot3d {
      width: 100%;
      height: 600px;
      margin-top: 30px;
      border: 1px solid #444;
      background: black;
    }