:root {
  --highlight: #da2129;
}

html,
body {
  font-size: 20px;
  line-height: 1.4rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
}

main {
  margin: 0.25em;
  background: #fff;
  max-width: 1200px;
  padding: 1.5em 1.5em;
}

a {
  font-weight: 600;
  text-decoration: underline;
}

a:hover {
  color: rgba(0, 0, 0, 0.5);
  text-decoration: underline;
}

h1 {
  font-family: "Fruktur";
  line-height: 1.4em;
}

h1 em {
  font-style: normal;
  font-weight: 700;
  color: var(--highlight);
}

h2 {
  font-weight: 800;
  margin: 1em 0;
  letter-spacing: 0.03rem;
  font-family: "Fruktur";
}

.container {
  background-image: url(images/bg-pattern.jpg);
  background-size: 500px 500px;
}

.image {
  width: 100%;
  width: 80px;
  height: 80px;
  border: 0.25rem solid #eee;
}

.list-section {
  display: flex;
  flex-wrap: wrap;
}

.list-section > li {
  width: 100%;
  padding: 0 2rem 2rem 0;
  min-width: 10rem;
}

.time {
  color: rgba(0, 0, 0, 0.3);
  font-size: 0.8333em;
}

/* Large mobile devices */
@media only screen and (min-width: 481px) {
  main {
    margin: 0.5em;
  }

  .list-section > li {
    width: 50%;
  }
}

/* Tablets */
@media only screen and (min-width: 768px) {
  main {
    margin: 1.5em;
  }

  .list-section > li {
    width: 33%;
  }

  h1 {
    font-size: 2.5em;
  }
}

/* Full screen desktop */
@media only screen and (min-width: 1240px) {
  .list-section > li {
    width: 25%;
  }
}
