body {
  font-family: "Muli", sans-serif;
  margin: 0;
  padding: 2em;
  font-size: 1.1em;
  /* color: #4a4a4a; */
  color: #2a2a2a;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "liga" on;

  padding-bottom: 50vh;
}

h1 {
  margin-top: 0em;
  margin-bottom: 0.3em;
}
h1 a,
h1 a:visited,
h1 a:link {
  color: #4a4a4a;
}

h3 {
  color: #989483;
  margin-top: 0;
  margin-bottom: 1.4em;
}

/* a {
  color: #6e6e6e;
}

a:hover {
  color: #9f9f9f;
} */

ul {
  padding: 0 1em;
}

li {
  list-style: none;
  margin-bottom: 1.2em;
}

.feather {
  stroke: #6e6e6e;
}

.feather:hover {
  stroke: #9f9f9f;
  cursor: pointer;
}

.divider {
  margin: 2em;
  border-bottom: 1px solid #ccc;
}

.center {
  text-align: center;
}

img {
  padding: 2em 0 2em 0;
  margin: 0 auto;
  max-width: 90%;
}

a {
  color: #6688ee;
  text-decoration: none;
}

h1 a {
  color: #6688ee;
  text-decoration: underline;
}

p.sub,
p.sub p {
  font-size: 0.6em;
}

p.date {
  color: #00000033;
}

div.container {
  border-radius: 1em;
  /* background-color: rosybrown; */
  border: 3px solid rgba(125, 125, 125, 0.1);
  display: flex;
  flex-direction: column;
  max-width: 720px;
}

div.container em {
  font-size: 1.2em;
  padding-top: 0.4em;
  padding-left: 0.4em;
}

br {
  line-height: 2em;
}

hr {
  background-color: #00000022;
  height: 2px;
  border: 0;
  margin: 2em 4em 2em 4em;
}

em {
  font-style: normal;
  font-weight: bold;
}

ul {
  padding-bottom: 1em;
}

ul.sub {
  font-size: 0.75em;
  color: #00000099;
}

table {
  font-size: 0.9em;
  color: #00000099;
  padding: 1em 0;
  border-collapse:collapse;
  border:none;
}
table td {
  padding: 4px 16px;
}

.table {
  display:flex;
  flex-direction: column;
  flex: 0 0 100%;
  font-size: 0.9em;
  color: #00000099;
  padding: 1em 0;
}

.table .row {
  display:flex;
  flex-direction: row;
  flex: 0 0 100%;
}

.table .row div {
  text-align: left;
  padding: 4px 2em;
  text-overflow: ellipsis;
  overflow-wrap: normal;
}

.table .row div span {
  display: inline-block;
  width: 2em;
  text-align: center;
}

.table .row:nth-child(2n):not(.unoccupied) {
  background-color: rgba(0, 0, 0, 0.04);
}

.table .row.unoccupied {
  display: block !important;
  flex: unset !important;
  width: 100%;
  height: 2em !important;
}

.table .row div:first-child {
  flex: 0 0 25%;
}

.table .row div:nth-child(2) {
  flex: 1 1 auto;
}

/* .table .row:hover:not(.unoccupied) {
  outline-offset: 0px;
  outline: 4px solid #4ab3ff7c;
} */

/* Row */
ul a span,
td a span {
  width: 2em;
  display: inline-block;
  text-align: center;
}

@media screen and (min-width: 980px) /* Desktop */ {
  body {
    margin: 0 auto;
    max-width: 980px;
  }
}

@media screen and (max-width: 540px) /* Mobile/Portrait */ {
  body {
    padding: 2em;
  }
  table td {
    padding: 8px 16px;
  }
  table td:nth-child(2) {
    text-align: left;
  }

  .table {
    font-size: 0.8em;
  }

  .table .row div span {
    /* display: none; */
    width: 1.4em;
  }

  div.container {
    margin: -1em -1em 1em -1em;
  }
  
    
  .table .row div:first-child {
    flex: 0 0 33%;
  }

  .table .row div {
    padding: 2px 1.2em;
  }
}

input[type=text] {
  width: 72px;
}

#future {
  cursor: pointer;
}

#future-checkbox-form {
  display: none;
}

#future-checkbox:before {
  color: #6688ee;
  content: "← ";
}
#future-checkbox:after {
  color: #6688ee;
  content: "";
}
#future-checkbox.checked:before {
  content: "→ ";
}
#future-checkbox.checked:after {
  content: "";
}

#future-text {
  text-decoration: underline;
  color: #6688ee;
}

.hint {
  color: #ccc;
}


.input-form {
  width: 72px;
}

.hint {
    color: #ccc;
}


span.good {
    color: green;
    font-weight: bold;
}

span.close {
    color: rgba(120, 160, 120);
}

span.neutral {
    color: gray;
}

span.bad {
    color: rgb(200, 120, 120);
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
  /* grid-template-columns: repeat(3, 1fr); */
  grid-auto-rows: 1fr;
  gap: 2em;
  padding: 0 1em 1em;
}

.card {
  min-width: 10em;
  max-width: 24em;
  padding: 1em;
  min-height: 10em;
  max-height: 20vh;
  overflow-wrap: break-word;
  background: #fff;
  box-shadow: 0 0.3em 0.8em rgba(0, 0, 0, 0.1);
  border: 2px solid #fff;
  border-radius: 16px;
  transition-duration: 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

a .card {
  color: #333;
}

.card:hover {
  box-shadow: 0.5em 0.5em 1.2em rgba(0, 0, 0, 0.2);
  transform: translate(-4px, -4px);
  border: 2px solid #9cb0eb;
}


.card .emoji {
  font-size: 1.5em;
  padding: 0.2em 0;
}

.card h1 {
  font-size: 1.5em;
  font-weight: 900;
  padding: 0.2em 0 0 0;
  margin: 0;
}

.card .text {
  font-size: 0.9em;
  opacity: 0.7;
  padding: 0.2em 0;
}

.tags {
  padding: 0.4em 0 0.6em 0;
  opacity: 0.5;
}

.tags span {
  color: #fff;
  padding: 0.4em 0.8em;
  font-size: 0.72em;
  text-transform: uppercase;
  border-radius: 1em;
}

.tags span.games {
  background-color: #679a62;
}

.tags span.sites { 
  background-color: #93629a; 
}

.tags span.tools {
  background-color: #627f9a;
}

.tags span.apps {
  background-color: #9a8362;
}

.small {
  font-size: 0.8em;
}

.fade {
  opacity: 0.5;
}