:root {
  --color-bg: #F7F7F7;
  --color-text-main: #333333;
  --color-primary: #FBACA3;
  --wrapper-height: 85vh;
  --image-max-width: 320px;
  --font-family: -apple-system,BlinkMacSystemFont,Helvetica Neue,Arial,Segoe UI,PingFang SC,Microsoft Yahei,Hiragino Sans GB,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji!important;
}

* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}

/* Page structure */
body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text-main);
}
.wrapper {
  min-height: var(--wrapper-height);
  place-items: center;
}
.content,
.post {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
}

.header {
  padding: 1rem 0;
  text-align: right;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .links {
  display: flex;
  align-items: center;
}

.header .divider {
  margin: 0 16px;
  transform: rotate(30deg);
  width: 1px;
  height: 1.2rem;
  background-color: var(--color-text-main);
}

/* Typography */
p {
  margin: 0 0 1rem 0;
  line-height: 1.5 !important;
  font-size: 1rem;
}
h1,
h2,
h3,
h4,
h5 {
  margin: 2rem 0 .5rem;
  font-family: var(--font-family);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-text-main);
}
h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1rem;
}
small,
.text_small {
  font-size: 0.8rem;
}
ul > li,
ol > li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
  font-size: 1rem;
}
ul {
  padding: 0 0 0 18px;
  margin: 0;
}
ul.no-bullet {
  list-style-type: none;
}

/* Link styles */
a:link,
a:visited {
  text-decoration: none;
  border-bottom: 6px solid var(--color-primary);
  color: var(--foreground);
  transition: background 0.2s linear;
}
a:hover {
  background: var(--color-primary);
}


/* Layout: Home */
.home {
  justify-content: left;
}


/* Post */
.post {
  place-items: normal;
}
.postTitle {
  font-size: 2rem;
  color: #000;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.controls {
  margin: 2rem 0 1rem;
}

.avatar {
  width: 80px;
  border-radius: 50%;
  margin: 16px 0;
}
