:root {
  /* PSF Brand Colors */
  --psf-blue: 0, 109, 184;
  --psf-yellow: 253, 185, 39;
  --psf-grey: 100, 100, 100;

  /* Background Colors */
  --body-bg: rgb(43, 91, 132);
  --code-bg: rgb(40, 44, 52);
  --header-bg: rgb(255, 255, 255);

  /* Text Colors */
  --text-color: rgb(255, 255, 255);
  --code-color: rgb(171, 214, 76);
  --link-color: rgb(255, 255, 255);

  /* Shadow Colors */
  --shadow-color: 0, 0, 0;
  --shadow-opacity: 0.5;
  --shadow-inset: inset 5px 0 10px -5px rgba(var(--shadow-color), var(--shadow-opacity)),
                  inset -5px 0 10px -5px rgba(var(--shadow-color), var(--shadow-opacity));

  /* Font Families */
  --font-serif: "Liberation Serif", Georgia, "Times New Roman", Times, serif;
  --font-sans: "Liberation Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Source Code Pro", "Courier New", Courier, monospace;

  /* Font Sizes */
  --font-size-base: 1.1rem;
  --font-size-code: 0.8em;
  --font-size-h1: clamp(1.8rem, 5vw, 2.5rem);
  --font-size-h2: clamp(1.5rem, 4vw, 2rem);

  /* Line Heights */
  --line-height-base: 1.25;
  --line-height-heading: 1.2;
  --line-height-code: 1.5;

  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}

body {
  width: 100%;
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-color);
  background-color: var(--body-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  line-height: var(--line-height-heading);
  font-weight: var(--font-weight-bold);
}

header {
  width: 100%;
  margin: 0 0 1em 0;
  display: flex;
  align-items: flex-start;
  background-color: var(--header-bg);
}

#logo {
  width: 601px;
  height: 203px;
  margin-right: 25px;
}

header h1 {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-h1);
  padding-top: 50px;
  color: rgb(var(--psf-blue));
}

article {
  display: grid;
  grid-template-columns: 4fr 1fr;
  grid-auto-rows: auto;
  gap: 1rem;
  margin: 0 100px;
}

section {
  grid-column: 1;
  margin: 0;
  padding: 0;
}

.code {
  grid-row: 1;
  place-self: center;
  width: 350px;
  margin-bottom: 2rem;
  border-radius: 5px;
  padding: 10px;
  color: var(--code-color);
  background-color: var(--code-bg);
  box-shadow: var(--shadow-inset);
  font-family: var(--font-mono);
  font-size: var(--font-size-code);
  line-height: var(--line-height-code);
}

.text {
  grid-row: 2;
  grid-column: 1;
}

aside {
  grid-column: 2;
  margin-left: 2rem;
  margin-bottom: 1rem;
  border-radius: 5px;
}

aside:first-of-type {
  grid-row: 2;
  grid-column: 2;
  margin: 0 0 2rem 0;
}

aside:nth-of-type(2) {
  grid-row: 2;
  grid-column: 2;
}

aside span {
  display: block;
  padding: 0.5rem;
  background-color: rgb(var(--psf-yellow));
}

a {
  color: var(--link-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  line-height: 1.5;
}

p em {
  font-style: italic;
}

p strong {
  font-weight: bold;
}

li {
  margin-bottom: 10px;
}

li:last-child {
  margin-bottom: 0;
}

blockquote {
  display: block;
  margin: 0;
  padding: 1rem 25px 0 25px;
  color: rgb(var(--psf-yellow));
  font-style: italic;
}
