@font-face {
  font-family: "IBM Plex Sans";
  src: url("/font/IBMPlexSans-Regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/font/IBMPlexSans-SemiBold.ttf");
  font-weight: 600;
}

@font-face {
  font-family: "Space Mono";
  src: url("/font/SpaceMono-Regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: "Space Mono";
  src: url("/font/SpaceMono-Bold.ttf");
  font-weight: 600;
}

* {
  margin: 0;
  padding: 0;
}

:root {
  --text-primary: #fff;
  --text-secondary: hsl(215, 15%, 75%);
  --primary-200: hsl(210, 100%, 80%);
  --primary-300: hsl(210, 100%, 70%);
  --secondary-200: hsl(215, 15%, 89%);
  --grey-50: hsl(215, 15%, 97%);
  --grey-300: hsl(215, 15%, 82%);
  --grey-500: hsl(215, 15%, 65%);
  --radius-sm: 4px;
  --radius-xl: 12px;
}

.page {
  color: var(--text-primary);
  font-family: "IBM Plex Sans";
  background: linear-gradient(
    180deg,
    hsla(210, 100%, 23%, 0.2) 0%,
    hsl(210, 14%, 7%) 100%
  );
  background-color: hsl(210, 14%, 7%);
  background-repeat: no-repeat;
}

.app-bar {
  position: fixed;
  width: 100%;
  height: 4rem;
  background-color: rgba(15, 18, 20, 0.8);
  border-bottom: 1px solid rgba(61, 71, 81, 0.3);
  backdrop-filter: blur(4px);
  background-repeat: no-repeat;
}

.app-bar__layout {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 1rem;
  box-sizing: border-box;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
}

.logo__version {
  font-size: 0.75rem;
  align-self: flex-end;
  font-weight: 400;
  margin: 0 0 0 0.25rem;
}

.app-bar__logo {
  padding: 0.5rem;
  margin: 0 1rem 0 0;
}

.navigation {
  display: none;
  align-items: center;
}

.navigation__link {
  color: inherit;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.navigation__link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.app-bar__toggler {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  margin-left: auto;
}

.app-bar__toggler:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.app-bar__toggler-icon {
  fill: white;
  width: 1.25rem;
  height: 1.25rem;
}

.mobile-navigation {
  display: none;
  background-color: rgba(15, 18, 20, 0.8);
  backdrop-filter: blur(4px);
  flex-direction: column;
  width: 100%;
  position: fixed;
  top: 4rem;
}

.mobile-navigation__link {
  display: flex;
  color: inherit;
  text-decoration: none;
  padding: 0.5rem;
  justify-content: center;
  border-radius: 0;
}

.mobile-navigation__link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.main {
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 4rem 1rem 0 1rem;
}

.main__layout {
  width: 100%;
}

.main__title {
  margin: 4rem 0 2rem 0;
}

.footer {
  width: 100%;
}

.footer__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1.5rem;
  text-align: center;
}

.footer__account-list {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  list-style-type: none;
}

.footer__message {
  text-decoration: none;
  font-style: italic;
  color: var(--text-primary) !important;
}

.footer__message:hover {
  color: var(--text-primary);
}

.footer__message:visited {
  color: var(--text-primary);
}

/* https: //mui.com/material-ui/getting-started/ */

.heading-1 {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--grey-50);
}

.heading-2 {
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--grey-50);
}

.heading-3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--grey-50);
}

.heading-4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--grey-50);
}

.paragraph {
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--text-secondary);
}

.list {
  padding: 0 0 0 2rem;
}

.list__item {
  color: var(--text-secondary);
}

.strong {
  color: var(--grey-300);
}

/* error-200 */
.highlight_color_red {
  background-color: hsla(355, 98%, 66%, 25%);
}

/* warning-500 */
.highlight_color_yellow {
  background-color: hsla(48, 100%, 44%, 25%);
}

/* success-600 */
.highlight_color_green {
  background-color: hsla(144, 72%, 41%, 25%);
}

/* primary-400 */
.highlight_color_blue {
  background-color: hsla(210, 100%, 60%, 25%);
}

.link {
  text-decoration: none;
  color: var(--primary-300);
}

.link:visited {
  color: var(--primary-300);
}

.link:hover {
  color: var(--primary-200);
}

.code {
  font-family: "Space Mono";
  font-size: 0.925rem;
  color: var(--text-primary);
  overflow-wrap: break-word;
}

.code-block {
  font-family: "Space Mono";
  font-size: 0.925rem;
  padding: 1rem 1rem 1rem 1rem;
  color: var(--text-primary);
  background-color: hsla(210, 14%, 13%, 0.4);
  border-radius: 12px 12px 0 0;
  overflow-wrap: break-word;
}

.tag-list {
  display: flex;
  list-style-type: none;
  gap: 0.25rem;
}

.tag-list__item {
  border: 0.05rem solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 0.1rem 0.5rem 0.1rem 0.5rem;
  font-size: 0.9rem;
}

.post-list {
  display: flex;
  flex-direction: column;
}

.post-list__item {
  color: inherit;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 1rem 1rem 1rem;
  text-decoration: none;
}

.post-list__item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.post-list__title {
  font-size: 1.25rem;
  margin: 0 0 0.25rem 0;
}

.post-list__author-name {
  color: var(--text-primary);
  font-size: 0.9rem;
  margin: 0 0 0.1rem 0;
}

.post-list__creation-date {
  color: var(--grey-500);
  font-size: 0.8rem;
  margin: 0 0 0.1rem 0;
}

.post-list__excerpt {
  margin: 0 0 0.25rem 0;
}

.main__post-list {
  margin: 0 0 4rem 0;
}

.table {
  width: 100%;
  text-align: center;
  table-layout: fixed;
  background-color: hsla(210, 14%, 13%, 0.4);
  border-radius: 12px 12px 0 0;
  color: var(--text-primary);
  border-collapse: collapse;
}

.table__data_align_left {
  text-align: left;
}

.table__heading {
  padding: 1rem 1rem 1rem 1rem;
  border-bottom: 1px solid rgba(81, 81, 81, 1);
}

.table__data {
  padding: 1rem 1rem 1rem 1rem;
  border-bottom: 1px solid rgba(81, 81, 81, 1);
}

@media screen and (min-width: 600px) {
  .main {
    padding: 4rem 4rem 0 4rem;
  }

  .main__layout {
    max-width: 600px;
  }

  .navigation {
    display: flex;
    gap: 1rem;
  }

  .app-bar__toggler {
    display: none;
  }
}

@media screen and (min-width: 900px) {
  .footer__layout {
    flex-direction: row;
    justify-content: space-between;
  }

  .main__layout {
    max-width: 900px;
  }
}

/* utility */

.display_block {
  display: block !important;
}

.display_flex {
  display: flex !important;
}
