@font-face {
  font-family: "NotoSansTC";
  font-style: normal;
  font-weight: 700;
  src: local("NotoSansTC"),
    url("/static/font/NotoSansTC-VariableFont_wght.ttf") format("truetype");
}

@font-face {
  font-family: "NotoSansTC Medium";
  font-style: normal;
  font-weight: 500;
  src: local("NotoSansTC Medium"),
    url("/static/font/NotoSansTC-VariableFont_wght.ttf") format("truetype");
}

@font-face {
  font-family: "NotoSansTC Light";
  font-style: normal;
  font-weight: 300;
  src: local("NotoSansTC Light"),
    url("/static/font/NotoSansTC-VariableFont_wght.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}
body {
  font-family: "NotoSansTC Light", sans-serif;
  margin: auto;
  max-width: 95%;
  height: 100%;
}
@media (min-width: 1366px) {
  body {
    max-width: 70%;
  }
}
.app-icon-container,
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: min-content;
}
.container {
  width: 70%;
  margin: auto;
  padding: 1rem 0;
}
.apps,
.bookmarks,
.title {
  font-family: "NotoSansTC", sans-serif;
  padding: 1rem 0;
  margin: 0;
}
.apps,
.bookmarks {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.app-icon {
  width: auto;
  display: block;
  padding: 10px;
  font-family: "Material Icons";
  font-feature-settings: "liga";
  font-weight: normal;
  font-style: normal;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-transform: none;
  text-rendering: optimizeLegibility;
}
.app-container {
  display: flex;
}
.app-link {
  font-size: 0.65rem;
}
.app-title,
.group-title {
  font-size: 1rem;
  font-family: "NotoSansTC Medium", sans-serif;
}
.app-title,
.app-link,
.bookmark-link {
  display: block;
  text-decoration: none;
}
.app-link:hover,
.bookmark-link:hover {
  text-decoration: underline;
}
@media (prefers-color-scheme: dark) {
  body {
    color: #e3e5dc;
    background: #191f24;
  }

  .app-link,
  .bookmark-link {
    color: #e58b2c;
  }
}
@media (prefers-color-scheme: light) {
  body {
    color: #021627;
    background: #f0eee5;
  }
  .app-link,
  .bookmark-link {
    color: #8b85c1;
  }
}