* {
  box-sizing: inherit;
}

html {
  height: 100%;
  box-sizing: border-box;
}

p, h1, h2, h3, h4, h5, h6 {
   margin: 0;
}

h1 {
   margin-bottom: 6px;
}

body {
  background-color: antiquewhite;
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  margin: 0;
}

header {
   padding-bottom: 8px;
}

header a {
   display: flex;
   align-items: flex-end;
}

header div {
   display: flex;
   align-items: start;
   flex-direction: column;
}

@media (max-width: 600px) {
   header {
      display: flex;
      justify-content: center;
   }
   header div {
      align-items: center;
   }
   .cat {
      display: none;
   }
}

main {
   justify-self: center;
   max-width: 900px;
   padding: 8px
}

footer {
   padding: 8px;
   border-top: 1px solid black;
}

.image-link {
  text-decoration: none;
}

.index-post {
   padding: 8px 0;
   border-block: 1px solid black;
}

.index-post h3 {
   margin-top: 2px;
   margin-bottom: 4px;
}

.post-header {
   display: flex;
   justify-content: space-between;
}