:root {
  --font-family: 'Trebuchet MS', sans-serif;
  --dk-blue: #0a1f43;
}

body {
  margin: 0;
  font-family: var(--font-family);
}

.container {
  display: flex;
  height: 100vh;
}

/* LEFT PANE */
.left-pane {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  padding: 15px;
  border-right: 1px solid #ccc;
  background-color: var(--dk-blue);
  overflow-y: auto;
}

.left-pane h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 18px;
  color: #f9f9f9;
}

.left-pane h3 {
  margin-top: 0;
  color: #f9f9f9;
}

.left-pane label {
  display: block;
  margin-top: 10px;
  color: #f9f9f9;
}

.left-pane select {
  width: 100%;
  margin-top: 5px;
}

/* Algorithm parameters text */
#algoParams p {
  color: #f9f9f9;
}

/* RIGHT PANE */
.right-pane {
  margin-left: 250px;
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.15em;
}

/* Instructions */
.instructions {
  margin-bottom: 10px;
  text-align: center;
}

/* Controls */
.controls {
  margin-bottom: 10px;
}

.controls button {
  margin: 0 5px;
  border-radius: 8px;
  padding: 6px 12px;
  /* font-size: 12px; */
  background-color: var(--dk-blue);
  color: #ffffff;
  border: 1px solid var(--dk-blue);
  font-family: var(--font-family);
}

/* Stats */
.stats {
  margin-bottom: 10px;
  font-size: 1.2em;
  display: flex;
  justify-content: space-around;
}

.stats p {
  margin: 0 15px;
}

/* Canvas */
canvas {
  border: 1px solid black;
}

/* Footer */
.footer {
  margin-top: 30px;
  text-align: center;
  padding: 20px 0;
}

.footer a {
  color: #1976d2;
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 14px;
}

.footer a:hover {
  text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  .left-pane {
    position: static;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #ccc;
  }
  .right-pane {
    margin-left: 0;
  }
}
