@import url("https://fonts.googleapis.com/css2?family=Eczar&family=Lexend:wght@100..900&display=swap");

:root {
  --bg: var(--light-blue);
  --highlight: var(--lime-green);
  --fg: var(--font);

  /* green scheme */
  --light-blue: #f7fff7;
  --lime-green: #98ce00;
  --font: #1e352f;

  --header-font-family: 'Solway', 'Open Sans', 'Helvetica Neue', sans-serif;
  --body-font-family: 'Lexend', 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
  background-color: var(--bg);
  font-family: "Lexend", Helvetica, Arial, sans-serif;
  font-style: normal;
  color: var(--font);
  font-size: 15px;
  margin: 0 auto;
  padding: 0 1em;
}

h1,
h2,
h3 {
  font-family: "Eczar", mono;
  font-weight: 400;
  font-style: normal;
  line-height: 140%;
  color: var(--highlight);
}

table {
  margin: 3em 0;
  font-family: "Lexend", mono;
  font-weight: 300;
  font-size: 15px;
}

th,
td {
  vertical-align: top;
  border-top: 0.5px dashed var(--font);
  padding: 0.6em 0.2em;
  font-size: 1.1em;
  margin-right: 1em;
}

th {
  font-family: "Lexend", Helvetica, Arial, sans-serif;
  text-align: left;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/*column widths*/
th.title {
  width: 20%;
}

th.author {
  width: 13%;
}

th.type {
  width: 13%;
}


th.review {
  width: 40%;
}

td.title {
  padding-right: 0.6em;
}

td a {
  /*	color: #F118B4;*/
  color: var(--fg);
  text-decoration: none;
}

a,
header a {
  color: var(--highlight)
}

a:before {
  text-decoration: 🔗;
}

a:hover {
  text-decoration: underline;
}

/* mobile view --------------------- */
@media (max-width: 600px) {
  body {
    padding: 0 0.7em;
  }

  .main h1 {
    text-align: center;
  }

  .main p {
    width: 100%;
  }

  th {
    display: none;
  }

  td {
    display: block;
    clear: all;
    padding: 0;
    margin: 0;
    border-top: none;
    line-height: 140%;
  }

  td.title {
    border-top: 0.5px dashed var(--fg);
    margin: 0.8em 0 0.1em;
    padding-top: 0.6em;
  }

  td.author,
  td.date {
    font-size: 1em;
    padding-top: 0.3em;
  }

  td.type,
  td.review,
  td.year {
    display: none !important;
  }
}