:root {
  /* gruvbox dark */
  --bg: #282828;
  --bg-hard: #1d2021;
  --bg-soft: #32302f;
  --bg1: #3c3836;
  --bg2: #504945;
  --bg3: #665c54;
  --bg4: #7c6f64;
  --fg: #ebdbb2;
  --fg1: #d5c4a1;
  --fg2: #bdae93;
  --fg3: #a89984;
  --red: #fb4934;
  --green: #b8bb26;
  --yellow: #fabd2f;
  --blue: #83a598;
  --purple: #d3869b;
  --aqua: #8ec07c;
  --orange: #fe8019;
  --gray: #928374;
  /* semantic */
  --color-bg: var(--gb-bg);
  --color-bg-card: var(--gb-bg-soft);
  --color-bg-subtle: var(--gb-bg1);
  --color-text: var(--gb-fg);
  --color-text-muted: var(--gb-fg3);
  --color-accent: var(--gb-aqua);
  --color-link: var(--gb-blue);
  --color-highlight: var(--gb-yellow);
  --color-border: var(--gb-bg2);
  /* spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  /* border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-full: 9999px;
  /* typography */
  --font-sans: "M PLUS Rounded 1c", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  /* font weight */
  --font-weight-thin: 100;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  /* transitions */
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 400ms;
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  /* layout */
  --container-max: 50rem;
  --header-height: 6rem;
}

main {
  display: flex;
  width: 1280px;
  margin: var(--space-4) auto;
  padding: var(--space-4);
  border-left: 1px solid var(--fg);
  border-right: 1px solid var(--fg);
}

.header {
  display: flex;
  align-items: center;
  height: 4rem;
  width: 100%;
  padding: 0 var(--space-4);
  background-color: var(--bg-hard);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-8);
  height: 100%;
}
.nav__el {
  width: auto;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--fg2);
  transition: all var(--ease-default) var(--duration-base);
}
.nav__el:not([disabled]):hover {
  color: var(--fg);
}
.nav__elements {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  width: auto;
  height: 100%;
}
.nav__tools {
  display: flex;
  align-items: center;
  width: auto;
}
.nav__settings {
  transform-origin: 50% 50%;
}
.nav__settings svg {
  fill: var(--fg2);
}
.nav__settings:hover {
  transform: rotateZ(360deg);
}
.nav__settings:hover svg {
  fill: var(--fg);
}
.nav__logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-shrink: 0;
  flex-grow: 0;
  width: 10rem;
}
.nav__logo img {
  width: 100%;
  height: auto;
}

.footer {
  display: flex;
  align-items: center;
  width: 100%;
  height: auto;
  margin-top: auto;
  padding: var(--space-4);
  background-color: var(--bg-hard);
}

.spotify-widget {
  width: 100%;
  height: 25rem;
}

*,
html,
body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  color: var(--fg);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--bg);
}

button {
  display: flex;
  align-items: center;
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  user-select: none;
}
button:disabled {
  color: var(--gray);
  cursor: not-allowed;
}
