body {
  background: linear-gradient(30deg, rgb(77, 77, 77), rgb(58, 58, 58));
  color: rgb(68, 68, 68);
}

#page-logo a {
  color: rgb(183, 230, 235);
}

header a {
  color: rgb(183, 230, 235);
}

header {
  position: static;
}

header nav a:hover {
  background-color: rgb(183, 230, 235);
  color: rgb(59, 59, 59);
}

main ul {
  width: 80%;
  margin: 0 auto 48px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 20px;
}

main li {
  display: flex;
  background-color: white;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  overflow: hidden;
}

main li img {
  width: 198px;
  object-fit: cover;
}

.item-content {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.item-content h2 {
  margin-top: 0;
  font-weight: bold;
}

.actions {
  text-align: end;
}

.actions a {
  text-decoration: none;
  font-weight: bold;
  color: rgb(22, 211, 228);
  padding: 6px;
  border-radius: 5px;
}

.actions a:hover {
  background-color: rgb(235, 253, 255);
}

.item-content p {
  margin: 8px 0;
}

@media (max-width: 48rem) {
  main ul {
    width: 100%;
    grid-template-columns: none;
  }

  main li img {
    height: 100%;
    width: 40%;
    object-fit: fill;
  }

  .item-content {
    padding: 10px;
  }

  .item-content h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
}
