body {
  font-family: monospace;
  color: #ffe6ea;
  margin: auto;
  padding: 20px;
  background: #131626;
  text-align: center;
  max-width: 600px;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #ffe6ea;
}

h2 {
  color: #131626;
}

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

.background-ascii {
  font-size: 15px;
  line-height: 1.25;
  text-align: center;
  white-space: pre;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  gap: 20px;
  justify-content: center;
}

@media (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(2, 300px);
  }
}

@media (max-width: 700px) {
  .grid {
    grid-template-columns: 300px;
    gap: 50px;
  }
}

.card {
  background: #e6a1cf;
  box-shadow: #4d4d80 5px 5px;
  overflow: hidden;
}

.card:hover {
  transform: rotate(3deg);
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
}

.card-content h2 {
  font-size: 18px;
  margin: 0 0 10px;
  text-align: left;
}

.card-content p {
  font-size: 14px;
  color: #131626;
  text-align: left;
}

.card-content a:hover {
  text-decoration: underline;
}

.tags {
  margin-top: -5px;
  margin-bottom: 10px;
}

.tag {
  display: block;
  background-color: #000;
  color: #ffe6ea;
  font-size: 11px;
  text-align: right;
  padding: 2px 8px;
  border-radius: 0px;
  margin-right: 5px;
}
