body {
  padding-bottom: 40px;
  margin: 0;
  font-family: sans-serif;
  background: #efefef;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 10px;
  margin-bottom: 40px;
  background-color: white;
}

header h1 {
  font-family: Pacifico, cursive;
  font-size: 1.5em;
  font-weight: normal;
}

.search {
  height: 30px;
  width: 300px;
  padding: 0 10px;
  outline: none;
}

.current-hashtag {
  display: flex;
  align-items: flex-end;
  padding-left: 10px;
  margin-bottom: 8px;
  font-weight: 100;
  font-size: 2em;
  line-height: 1.3;
}

.remove {
  margin-left: 8px;
}

.remove:hover {
  cursor: pointer;
}

.current-hashtag-count {
  padding-left: 10px;
  margin-top: 0;
  margin-bottom: 40px;
}

.posts {
  padding: 0 10px;
}

@media screen and (min-width: 640px) {
  .posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 20px;
  }
}

.post {
  height: max-content;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  background: white;
}

.post > *:not(.post-image) {
  padding: 10px;
}

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

.user-icon {
  height: 32px;
  width: 32px;
  margin-right: 8px;
  border-radius: 50%;
}

.user-name {
  font-weight: bold;
}

.post-image img {
  width: 100%;
}

.icon {
  height: 24px;
  width: 24px;
  margin-right: 12px;
  margin-bottom: 6px;
}

.icon-like:hover, .icon-comment:hover {
  cursor: pointer;
}

.likes-count {
  font-weight: bold;
}

.post .post-body {
  padding-top: 0;
}

.post-body-user {
  display: flex;
}

.post-body-user p {
  margin-top: 0;
}

.more {
  color: #999999;
}

.more:hover {
  cursor: pointer;
}

.hashtag {
  margin-right: 6px;
  color: #00376b;
}

.hashtag:hover {
  cursor: pointer;
}

.post-date {
  font-size: 80%;
  text-transform: uppercase;
  color: #8c8c8c;
}

.post .post-add-comment {
  display: flex;
  padding: 20px 10px;
  border-top: 1px solid #d4d4d4;
}

.comment-value {
  flex-grow: 1;
  border: none;
  outline: none;
}

.comment-submit {
  background-color: white;
  text-align: right;
  color: #0095f6;
  border: none;
  outline: none;
}

.comment-submit:hover {
  cursor: pointer;
}

.comment {
  margin-top: 0;
  margin-bottom: 6px;
}