/* General Styles */
html, body {
  height: 100%;
  width: 100%;
  background-color: #191919;
  color: white;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  transition: background-color 0.5s ease, color 0.5s ease;
  user-select: none;
  overflow: hidden;
}

header {
  width: 100%;
  height: 100px;
  padding: 10px 0;
  background-color: #323232;
  position: fixed;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.5s ease, color 0.5s ease;
}
.header-divider {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  position: fixed;
  top: 100px;
  z-index: 9;
}
.link {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
}

.Canvas {
  z-index: 0;
  background-color: black;
  position: fixed;
  align-self: center;
  top: 70px;
  user-select: none;
  width: 100vw;
  height: calc(100vh + 102px);
}

.container {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.5s ease, color 0.5s ease;
}
main {
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
main .content {
  width: 100%;
  max-width: 800px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.5s ease, color 0.5s ease;
}



/* Common & Simple Styles */
.orbitron {
  font-family: 'Orbitron', sans-serif;
}
.press-start {
  font-family: 'Press Start 2P', cursive;
}
.hidden {
  display: none;
}
.center {
  align-self: center;
  text-align: center;
  align-items: center;
  vertical-align: middle;
  justify-content: center;
  position: relative;
}
.scrollable {
  overflow-y: auto;
}



/* floating selector/toggle panel */
#ui {
  position: fixed;
  top: 120px;              /* clears the 100‑px header + 20px breathing room  */
  left: 20px;
  z-index: 20;             /* above the canvas, below the header */
  background: rgba(50, 50, 50, 0.85);
  padding: 14px 18px;
  border-radius: 8px;
  backdrop-filter: blur(2px);
}

/* match button to palette */
#fillToggle {
  margin-top: 12px;
  display: block;
}

/* shape select */
#shapeSelect {
  all: unset;
  display: block;
  width: 100%;
  box-sizing: border-box;

  font-size: 16px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  color: black;
  appearance: menulist; /* Force native look */
}

.selectContainer {
  display: block;
  margin-bottom: 1rem;
}
