@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;800&display=swap');

:root {
  --red: hsl(1, 90%, 64%);
  --blue: hsl(219, 85%, 26%);

  --white: hsl(0, 0%, 100%);
  --very-light-grayish-blue: hsl(210, 60%, 98%);
  --light-grayish-blue-1: hsl(211, 68%, 94%);
  --light-grayish-blue-2: hsl(205, 33%, 90%);
  --grayish-blue: hsl(219, 14%, 63%);
  --dark-grayish-blue: hsl(219, 12%, 42%);
  --very-dark-blue: hsl(224, 21%, 14%);
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--very-light-grayish-blue);
}

main {
  margin: 60px auto;
  padding: 0 32px 0 32px;
  background-color: var(--white);
  max-width: 700px;
}

p {
  font-size: 16px;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: var(--blue);
}

.head {
  display: flex;
  padding-top: 35px;
  padding-bottom: 35px;
}

.head__title {
  margin: 0;
  font-size: 25px;
  color: var(--very-dark-blue);
}

.head__title--number {
  color: var(--white);
  background-color: var(--blue);
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 5px;
}

.head__mark {
  margin: auto 0 auto auto;
  color: var(--dark-grayish-blue);
}

.notification {
  display: flex;
  margin-bottom: 10px;
  padding: 16px;
}

.notification>* {
  margin-bottom: auto;
}

.notification--unread {
  background-color: var(--very-light-grayish-blue);
}

.notification__head {
  position: relative;
}

.notification--unread .notification__head::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
}

.notification__avatar {
  height: 45px;
}

.notification__container {
  margin-left: 16px;
}

.notification__name {
  margin-right: 8px;
  color: var(--very-dark-blue);
  font-weight: 800;
}

.notification__activity-category {
  margin-right: 8px;
  color: var(--grayish-blue);
}

.notification__activity {
  margin-right: 8px;
  color: var(--dark-grayish-blue);
  font-weight: 800;
}

.notification__activity.notification__activity--group {
  margin-right: 8px;
  color: var(--blue);
  font-weight: 800;
}

.notification__time {
  color: var(--grayish-blue);
}

.notification__message {
  margin-top: 10px;
  padding: 20px;
  border: 1px solid var(--grayish-blue);
  color: var(--dark-grayish-blue);
}

.notification__message:hover {
  cursor: pointer;
  border: 1px solid transparent;
  background-color: var(--very-light-grayish-blue);
}

.notification__picture {
  margin-left: auto;
  height: 45px;
}

.attribution {
  font-size: 11px;
  text-align: center;
}

.attribution a {
  color: hsl(228, 45%, 44%);
}

@media (max-width:600px) {
  main {
    padding: 0 16px 0 16px;
  }
}