:root {
  --bg: #b4d3d9;
  --text: #000000;
  --piano-white: #f2eae0;
  --piano-black: #000000;
  --active-white: #d9b8a7;
  --active-black: #555555;
  --border: solid 2px #000000;
}
/* I chose to keep the background soft and light since I wanted the interactive elements to stand out clearly without making the page feel visually heavy.  */

/* The colour palettle I have used here is from Colourhunt, I have aimed to use a clean colours to corresspond to my future assignment thoughts. Which is to also use calm and chilling colours instead of vibrant ones.  */
/* This is the reference to the colour palette website: Colorhunt.co. (2026). Color Palette: #F2EAE0 #B4D3D9 #BDA6CE #9B8EC7 - Color Hunt. [online] Available at: https://colorhunt.co/palette/f2eae0b4d3d9bda6ce9b8ec7 [Accessed 20 Mar. 2026].

‌ */
body {
  font-family: "Dosis", sans-serif;
  /* Here, I have used the same font family as my main index.html, this is to make the overall look corresspond, and match, to have a nice feeling overall  */
  background-color: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1280px;
  padding: 0 3rem;
  margin: 0 auto;
  line-height: 1.5;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding-top: 2rem;
}

h1 {
  width: 100%;
  text-align: center;
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
}

.contentRow {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
}

.controlsPanel {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sliderContainer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.iconContainer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.iconContainer input[type="range"] {
  flex: 1;
}

label,
p,
span,
button,
h1 {
  color: var(--text);
}

dialog[open] {
  margin: auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border: var(--border);
  background-color: #ffffff;
  color: var(--text);
}

#dialog-close-button {
  font-family: "Dosis", sans-serif;
  border: var(--border);
  background-color: var(--piano-white);
  color: var(--text);
  padding: 0.5rem 1rem;
  cursor: pointer;
}
