:root {
  --theme-hue: 197;

  --text-color: hsl(var(--theme-hue), 100%, 90%);
  --bg-color: hsl(var(--theme-hue), 24%, 10%);
}

body {
  margin: 0;
  padding: 0;
  background-color: hsl(var(--theme-hue), 24%, 10%);
  color: var(--text-color);
  font-family: "Kanit", sans-serif;
  font-weight: 200;
  font-size: 1.1em;
  line-height: 1.45em;
}

h1 {
  display: flex;
  font-size: 2.5em;
  margin-top: 0;
  padding-top: 0.8em;
  margin-bottom: 0.6em;
  font-weight: 100;
  letter-spacing: -1px;
}

h1 .logo {
  height: 0.64em;
  width: auto;
  margin-right: 0.2em;
}

h1 > .pdp1 {
  white-space: nowrap;
}

h1 > .music {
  font-size: 0.9em;
  margin-left: 0.01em;
}

.content-wrapper {
  max-width: 784px; /* 700px content + 64px max SVG + 20px gap */
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  background-color: rgba(255, 255, 255, 0.025);
}

/* Container for SVG - positioned absolutely */
.svg-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 8.2vw;
  min-width: 32px;
  max-width: 64px;
  height: 100%;
  overflow: hidden;
  background-color: var(--text-color);
}

/* SVG styling */
.svg-container svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Updated page content with margin for SVG */
.page-content {
  max-width: 700px;
  padding: 0 20px 0.5em 0;
  margin-left: min(84px, max(52px, calc(8.2vw + 20px))); /* SVG width + 20px gap */
}

::selection {
  background: var(--link-color);
  color: var(--bg-color);
}

@media (min-width: 784px) {
  .svg-container {
    width: 64px;
}  
  .page-content {
    margin-left: 84px;
}}


@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  src: local('Kanit Regular'), url('/fonts/kanit/Kanit-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 100;
  src: local('Kanit Thin'), url('/fonts/kanit/Kanit-Thin.woff') format('woff');
}

@font-face {
  font-family: 'Kanit';
  font-style: italic;
  font-weight: 400;
  src: local('Kanit Italic'), url('/fonts/kanit/Kanit-Italic.woff') format('woff');
}

@font-face {
  font-family: 'Kanit';
  font-style: italic;
  font-weight: 100;
  src: local('Kanit Thin Italic'), url('/fonts/kanit/Kanit-ThinItalic.woff') format('woff');
}

@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 200;
  src: local('Kanit ExtraLight'), url('/fonts/kanit/Kanit-ExtraLight.woff') format('woff');
}

@font-face {
  font-family: 'Kanit';
  font-style: italic;
  font-weight: 200;
  src: local('Kanit ExtraLight Italic'), url('/fonts/kanit/Kanit-ExtraLightItalic.woff') format('woff');
}

@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 300;
  src: local('Kanit Light'), url('/fonts/kanit/Kanit-Light.woff') format('woff');
}

@font-face {
  font-family: 'Kanit';
  font-style: italic;
  font-weight: 300;
  src: local('Kanit Light Italic'), url('/fonts/kanit/Kanit-LightItalic.woff') format('woff');
}

@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 500;
  src: local('Kanit Medium'), url('/fonts/kanit/Kanit-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Kanit';
  font-style: italic;
  font-weight: 500;
  src: local('Kanit Medium Italic'), url('/fonts/kanit/Kanit-MediumItalic.woff') format('woff');
}

@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 600;
  src: local('Kanit SemiBold'), url('/fonts/kanit/Kanit-SemiBold.woff') format('woff');
}

@font-face {
  font-family: 'Kanit';
  font-style: italic;
  font-weight: 600;
  src: local('Kanit SemiBold Italic'), url('/fonts/kanit/Kanit-SemiBoldItalic.woff') format('woff');
}

@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 700;
  src: local('Kanit Bold'), url('/fonts/kanit/Kanit-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Kanit';
  font-style: italic;
  font-weight: 700;
  src: local('Kanit Bold Italic'), url('/fonts/kanit/Kanit-BoldItalic.woff') format('woff');
}

@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 800;
  src: local('Kanit ExtraBold'), url('/fonts/kanit/Kanit-ExtraBold.woff') format('woff');
}

@font-face {
  font-family: 'Kanit';
  font-style: italic;
  font-weight: 800;
  src: local('Kanit ExtraBold Italic'), url('/fonts/kanit/Kanit-ExtraBoldItalic.woff') format('woff');
}

@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 900;
  src: local('Kanit Black'), url('/fonts/kanit/Kanit-Black.woff') format('woff');
}

@font-face {
  font-family: 'Kanit';
  font-style: italic;
  font-weight: 900;
  src: local('Kanit Black Italic'), url('/fonts/kanit/Kanit-BlackItalic.woff') format('woff');
}