/* Basic reset */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #111;
  color: #eee;
  line-height: 1.6;
}

/* Links */
a {
  color: #eeeeee;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Headings */
h1 {
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
}

h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: .5rem;
  letter-spacing: .1rem;
  text-transform: uppercase;
  color: #888888;
}

ul {
  list-style: none;
  padding-left: 0;
}

li {
  margin-bottom: 0.6rem;
}

code {
  background: #222;
  padding: 0.2rem 0.4rem;
}

li a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 100%;
  vertical-align: bottom;
}

.row {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  /* Prevent wrapping to next line */
  white-space: nowrap;
}

.row code {
  flex-shrink: 0;
}

.row .arrow {
  flex-shrink: 0;
}

.row .url {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  /* This is the key: URL takes all leftover space */
  flex: 1;
}
