body {
  background-color: #fff;
  font-family: "EB Garamond";
  color: #111;
  margin: 0;
  padding: 2rem;
}

@font-face {
  font-family: "EB Garamond";
  src: url("/static/font/EBGaramond-Bold.woff2") format("woff2"),
    url("/static/font/EBGaramond-Bold.woff") format("woff"),
    url("/static/font/EBGaramond-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("/static/font/EBGaramond-Medium.woff2") format("woff2"),
    url("/static/font/EBGaramond-Medium.woff") format("woff"),
    url("/static/font/EBGaramond-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("/static/font/EBGaramond-Regular.woff2") format("woff2"),
    url("/static/font/EBGaramond-Regular.woff") format("woff"),
    url("/static/font/EBGaramond-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("/static/font/EBGaramond-SemiBoldItalic.woff2") format("woff2"),
    url("/static/font/EBGaramond-SemiBoldItalic.woff") format("woff"),
    url("/static/font/EBGaramond-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 600;
  color: #333;
}

hr {
  height: 1px;
  background-color: #111;
  margin: 1.5rem 0 1.5rem 0;
  border: 0;
}

#posts {
  margin: 0 1rem 1rem 0;
}

.post-wrapper {
  padding: 0 1rem 0 1rem;
  margin-bottom: 4rem;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

.post-title {
  font-size: 1.75rem;
  color: #111;
  font-weight: bold;
}

h1 {
  font-size: 1.5rem;
}

h2 {
  font-size: 1.3rem;
}

.footer {
    text-align: center;
    font-size: 1.05rem;
}

.post-content {
    margin: 1.25rem 0rem 1.25rem 0rem;
    font-size: 1.1rem;
    line-height: 1;
    word-wrap: break-word;
}

.post-content h1,h2{
    margin-top: 0.75rem;
}

.post-content p{
    margin: 0.5rem 0rem 0.5rem 0rem;
}

.post-date {
  font-size: 0.9rem;
  color: #555;
}

.post-bottom {
  display: flex;
  align-items: flex-end;
}

.post-comments {
  margin-left: auto;
  margin-right: 1.5rem;
  text-decoration: underline;
  cursor: pointer;
}

input {
  width: 100%;
  background-color: transparent;
  padding: 0rem 0.75rem 0rem 0.75rem;
  margin: 0.5rem 0 1rem 0;
  border: none;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  font-family: "EB Garamond";
}

.ql-editor {
  font-family: "EB Garamond";
  font-weight: 500;
  font-size: 1rem;
}

input:focus {
  outline: none;
}

.submit {
  padding: 0.75rem 0.5rem 0.75rem 0.5rem;
  margin-left: 1rem;
  margin-top: 1rem;
  width: 10rem;
  font: "Courier New", Courier, monospace;
}

.post-admin {
  display: flex;
}

#delete {
  margin-left: auto;
  margin-right: 2rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #111;
  text-decoration: underline;
}

@media only screen and (max-width: 600px) {
  body {
    padding: 2rem 1rem 2rem 1rem;
  }
}
