@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400");

:root {
  color-scheme: dark;
  --black: #000;
  --white: #fff;
  --cell: #444;
  --panel: #666;
  --pink: #ec008c;
  --yellow: #ffee00;
  --cyan: #00abec;
}

html {
  background: var(--black);
}

body {
  margin: 8px;
  color: var(--white);
  background: var(--black);
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
  line-height: normal;
}

button {
  font: inherit;
  touch-action: manipulation;
}

h1 {
  display: none;
  font-size: 32px;
}

.site-shell {
  display: flow-root;
  width: 600px;
  margin: auto;
}

.hero {
  float: left;
  width: 568px;
  margin: 20px 0;
}

.hero img {
  width: 560px;
  max-width: calc(100% - 8px);
  height: auto;
  margin: 4px;
}

.content-grid {
  display: grid;
  width: 600px;
  clear: both;
  grid-template-columns: 300px 300px;
}

.primary-column,
.secondary-column {
  display: flow-root;
  min-width: 0;
}

.section {
  position: relative;
  float: left;
  width: 100%;
  margin: 20px 0;
}

.section h2 {
  position: absolute;
  z-index: 1;
  top: -45px;
  left: -4px;
  display: inline;
  margin: 0.83em 0;
  padding: 4px;
  color: var(--white);
  background: var(--pink);
  font-size: 1.5em;
  line-height: normal;
}

.cell {
  position: relative;
  width: calc(100% - 8px);
  margin: 4px;
  padding: 8px;
  box-sizing: border-box;
  color: var(--white);
  background: var(--cell);
}

.panel {
  padding: 4px;
  color: var(--white);
  background: var(--panel);
  overflow-wrap: anywhere;
}

.panel h3 {
  display: inline;
  margin: 0;
  font-size: 1em;
}

.panel a {
  padding: 0 2px;
  text-decoration: none;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.panel a:link {
  color: var(--black);
  background: var(--yellow);
}

.panel a:visited {
  color: var(--white);
  background: var(--cyan);
}

.panel a:hover,
.panel a:focus-visible {
  color: var(--white);
  background: var(--pink);
  outline: 0;
}

.radio-controls button {
  margin: 0 4px 4px 0;
  padding: 0 2px;
  color: var(--black);
  background: var(--yellow);
  border: 0;
  border-radius: 0;
  cursor: pointer;
  line-height: normal;
}

.radio-controls button:hover,
.radio-controls button:focus-visible {
  color: var(--white);
  background: var(--pink);
  outline: 0;
}

.radio-controls button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.play-icon {
  margin-right: 2px;
}

.license {
  text-align: center;
}

.link-list a {
  display: inline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 616px) {
  .site-shell,
  .content-grid {
    width: 100%;
  }

  .hero {
    width: 100%;
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section h2 {
    left: -4px;
  }
}
