:root {
  --radius: 10px;
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

html, body{
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

.panel {
  display: flex;
  flex-wrap: wrap;
}

.panel div {
  height: 21rem;
  width: 12rem;
  margin: 1rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.panel img {
  width: 100%;
  border-radius: var(--radius) var(--radius) 0 0;
}

.panel header {
  padding-inline: 0.5rem;
  width: 100%;
  min-height: 4rem;
  border-radius: 0 0 var(--radius) var(--radius);
}

a {
  text-decoration: none;
}

.panel h2 {
  margin: 0;
  font-size: 1rem;
  color: black;
  text-decoration: none;
}

h2:visited {
  text-decoration: none;
}

.links {
  padding: 1em;
}

.links a {
  display: flex;
}

.links .number {
  width: 2rem;
  flex-grow: 0;
  flex-shrink: 0;
}
