* {
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
  box-sizing: border-box;
  text-decoration: none;
}

li {
  list-style: none;
}

body {
  font-family: "Plus Jakarta Sans";
  font-size: 0.875rem;
}

.container {
  width: 90%;
  margin: 0 auto;
  padding: 1em 0;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

h1 {
  font-size: 1.25rem;
}

.notification-count {
  font-size: 1rem;
  background-color: #0a327b;
  color: white;
  padding: 0.25em 0.75em;
  margin-left: 0.25em;
  border-radius: 0.5em;
}

.mark-all-as-read {
  color: #5e6778;
}

.notifications {
  margin-top: 1.5em;
}

.notification {
  color: #5e6778;
  margin-bottom: 0.75em;
  display: flex;
  padding: 1em;
  border-radius: 0.5rem;
}

.notification.unread {
  background-color: #f7fafd;
}

.notification-mark {
  background-color: #f65552;
  width: 0.5rem;
  height: 0.5rem;
  display: inline-block;
  border-radius: 100%;
  margin-left: 0.25em;
  margin-bottom: 0.05em;
}

.notification img {
  width: 2.5rem;
  height: 2.5rem;
}

.avatar {
  margin-right: 0.75em;
}

.notification-age {
  color: #939cad;
  margin-top: 0.125em;
}

.display-name {
  font-weight: 800;
  color: #1c202b;
  margin-right: 0.25em;
}

.post-name {
  font-weight: 800;
  color: #5e6778;
}

.post-image {
  margin-left: 1em;
}

.group-name {
  color: #0a327b;
  font-weight: 800;
}

.mark-all-as-read:hover,
.display-name:hover,
.post-name:hover,
.group-name:hover {
  color: #0a327b;
}

.private-message {
  border: 1px solid #dde7ee;
  border-radius: 0.5rem;
  padding: 1em 1.25em;
  margin-top: 1em;
}

.private-message:hover {
  cursor: pointer;
  background-color: #e5effa;
}

@media (min-width: 650px) {
  body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9fafd;
    font-size: 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .notification img {
    height: 2.75rem;
    width: 2.75rem;
  }

  .container {
    max-width: 730px;
    background-color: white;
    padding: 2em 2em 0;
    border-radius: 0.75em;
  }

  .post-image {
    margin-left: auto;
  }
}
