* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

header a {
  color: hsl(219, 12%, 42%);
  font-weight: 600;
}

header div:nth-child(1) {
  font-weight: 800;
}

#three {
  margin-left: 3px;
  color: white;
  padding: 2px 8px;
  background-color: hsl(219, 85%, 26%);
  border-radius: 5px;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  margin: 1.5rem 1rem;
}

main div {
  color: hsl(219, 12%, 42%);
  font-weight: 500;
}

main > div {
  margin: 0.5rem 0;
  padding: 1.1rem;
  display: flex;
  border-radius: 8px;
}

#chess-image {
  margin: 0 0 0 1.9rem;
}

.name {
  font-weight: 800;
  color: hsl(224, 21%, 14%);
}

.bold {
  font-weight: 700;
  color: hsl(219, 12%, 42%);
}

.timestamp {
  margin-top: 5px;
  color: hsl(219, 14%, 63%);
}

.blue {
  background-color: hsl(210, 60%, 98%);
}

img {
  width: 50px;
  height: 50px;
  margin-right: 15px;
}

svg {
  width: 10px;
  height: 10px;
  margin-left: 3px;
}

.attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

.hide {
  display: none;
}

.read {
  background-color: inherit;
}

@media screen and (min-width: 28rem) {
  body {
    font-size: 11px;
    /* margin: 1rem auto; */
    display: grid;
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
    background-color: hsl(210, 60%, 98%);
  }

  #pc {
    height: 520px;
    width: 550px;
    background-color: hsl(0, 0%, 100%);
    padding: 1.1rem 1.3rem;
    border-radius: 14px;
  }

  main > div {
    padding: 0.4rem;
    margin: 0.35rem 0;
  }

  .blue {
    padding: 0.75rem;
  }

  img {
    width: 30px;
    height: 30px;
  }

  #chess-image {
    margin-left: auto;
    cursor: pointer;
  }

  #message:hover, #message:active {
    background-color: hsl(211, 68%, 94%);
  }

  .name:hover, .name:active {
    cursor: pointer;
    color: hsl(219, 86%, 33%);
  }
}
