:root {
  --theme-primary: rgb(245, 204, 0);
  --theme-secondary: rgb(0, 8, 20);
  --theme-tertiary: rgb(234,84,85);
  --cy-node-size: 30;
}

html {
  font-size: 10px;
}

body {
  display: flex;
  font-size: 1.4rem;
  margin: 0;
  padding: 0;
  background-color: var(--theme-secondary);
  font-family: 'Helvetica', sans-serif;
}

#header {
  color: #aabbcc;
  flex: 0 0 300px;
  padding: 2em;
  filter: drop-shadow(2px 0 4px rgba(0, 0, 0, 0.12));
  background: rgba(25,25,25,0.5);
  position: relative;
  display:flex;
  flex-direction: column;
}
#header::after {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  background: var(--theme-secondary);
}

#header > a {
  font-size: 1.24rem;
  color: var(--theme-primary);
  margin: 0 0 16px;
  text-decoration: none;
}

#cy {
  overflow: hidden;
  flex: 1 1 auto;
}

rgb-string-color-picker {
  width: 100%;
}
rgb-string-color-picker::part(saturation) {
  border-radius: 0;
}
rgb-string-color-picker::part(hue) {
  border-radius: 0;
}

.radio--opts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  gap: 4px;
  margin: 4px 0;
}

.radio--opts li {
  position: relative;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.radio--opts li input {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.radio--opts li label {
  color: var(--theme-primary);
  transition: all 0.2s cubic-bezier(0, 0, 0.175, 1);
  font-family: sans-serif;
  margin: 0;
  width: 100%;
  background-color: #ffffff;
  padding: 6px 12px;
  text-align: center;
}

.radio--opts li input:hover ~ label,
.radio--opts li input:checked ~ label {
  color: #ffffff;
  background-color: var(--theme-primary);
}

#size--slider {
  background-color: var(--theme-primary);
  appearance: none;
  width: 100%;
  height: 0.5rem;
  outline: none;
  border-radius: 0.25rem;
  margin: 24px 0;
}

#size--slider::-webkit-slider-thumb {
  appearance: none;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--theme-primary);
  border: 2px solid white;
  border-radius: 10rem;
  cursor: pointer;
}

.external--links {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.external--links li {
  margin: 8px 0 0;
  padding: 0;
  color: var(--theme-primary);
}
.external--links li a {
  margin: 0;
  padding: 0;
  color: inherit;
  text-decoration: none;
}
.external--links li a:hover {
  opacity: 0.85;
  text-decoration: underline;
}