:root {
  --font-sans: "Google Sans", "Noto Sans", sans-serif;
  --surface-2: #f5f6f7;
}

body {
  margin: 0;
}

main {
  min-height: 100vh;
}

h2 {
  font-size: 1.2em;
}

body {
  font-family: var(--font-sans);
}

main,
header {
  max-inline-size: 80%;
  margin-inline: auto;
  margin-block: var(--size-fluid-2);
}

ul {
  list-style: none;
  margin-inline: 0;
  padding-inline: 0;
  width: 100%;
}

a {
  text-decoration: none;
}

a:hover h2 {
  text-decoration: underline;
}

#demos-list li {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  gap: 1em;
}

@media (max-width: 480px) {
  #demos-list li {
    flex-direction: column;
    align-items: start;
  }
}

#demos-list h2 {
  font-size: 1em;
}

.demo-tag {
  font-size: smaller;
  line-height: 2em;
  border-radius: 2em;
  border: 1px solid #dedede;
  padding: .2em .5em;
}

.demo-thumbnail {
  background-color: var(--surface-2);
  height: 120px;
  overflow: hidden;
}

.demo-thumbnail img {
  object-fit: cover;
  width: 100%;
}
