@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');
body {
  margin: 0;
  font-family: 'Figtree', 'sans-serif';
  background-color: hsl(47, 88%, 63%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.container {
    background-color: hsl(0, 0%, 100%);
    max-width: 340px;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 1);
    margin: 20px;
    display: flex;
    flex-direction: column;
    color: hsl(0, 0%, 7%);
    border-top: 2px solid hsl(0, 0%, 0%);
    border-left: 2px solid hsl(0, 0%, 0%);
}

.container p.date {
  margin: 10px 0;
  align-self: flex-start;
  color: hsl(0, 0%, 7%);
  font-weight: 800;
}
.container p{
  color: hsl(0, 0%, 42%);
  margin: 8px 0;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
}
.container h2 {
  margin: 10px 0;
  color: hsl(0, 0%, 7%);
}
.author {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 800;
    color: #000000;
}
.container img.avatar {
  max-width: 32px;
}
.container p.name {
  margin: 10px 10px;
  color: hsl(0, 0%, 7%);
  font-weight: 800;
}
a{
  text-decoration: none;
  color: #000;
}
.container img.image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 5px;
}

.container .button {
    background-color: hsl(47, 88%, 63%);
    color: hsl(0, 0%, 7%);
    padding: 10px 20px;
    border-radius: 5px;
    cursor:default;
    align-self: flex-start;
    font-weight: 800;
    font-size: 15px;
    border: none;
}

.attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

h2:hover, h2:active {
  color: #F4D04E;
  cursor: pointer;
}

.avatar{
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}