body{
  min-width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background-color: var(--yellow);
  font-family: 'Figtree';
  time, h1, h2, h3, h4, h5, h6, p, a {
    padding: 6px 0px;
  }
}

.attribution{
  display: none;
}

.blog-card{
  display: grid;
  gap: 24px;
  padding: 24px;
  border-radius: 20px;
  background-color: white;
  max-width: 375px;
  border: 1px solid var(--dark-grey);
  box-shadow: 8px 8px #000;
  transition: transform 0.5s ease-in-out;
  animation-duration: 0.5s; 
  animation-timing-function: ease-in-out; 
  animation-fill-mode: forwards;
  position: relative;
  z-index: 1;
  .all-caps{
    text-transform: uppercase;
  }
  .blog-image > img{
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
}

@keyframes expand-shadow {
  0% {box-shadow: 8px 8px #000;}
  25% {box-shadow: 10px 10px 0px rgba(0, 0, 0, 0);}
  50% {box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.25);}
  75% {box-shadow: 14px 14px 0px rgba(0, 0, 0, 0.5);}
  100% {box-shadow: 16px 16px 0px rgba(0, 0, 0, 1);}
}


.blog-card:hover {
  animation-name: expand-shadow;
  .content-section h1 a{ 
    color: var(--yellow);
  }
}

.content-section{
  display: grid;
  gap: 12px;
  color: var(--dark-grey);
  font-weight: 800;
  transition: all 0.5s ease-in-out;
  h1{
    font-size: var(--text-preset-1);
    font-weight: 800;
    a{
      color: inherit;
      text-decoration: none; 
      transition: color 0.5s ease-in-out;
    }
  }
  time {
    font-size: var(--text-preset-3);
    font-weight: 500;
  }
  p{
    color: var(--light-grey);
    font-size: var(--text-preset-2);
    font-weight: 500;
    line-height: 1.5;
  }
  .cta{
    justify-self: start;
    background-color: var(--yellow);
    align-self: center;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: var(--text-preset-3);
    font-weight: 800;
  }
}

.author-info{
  display: flex;
  align-items: center;
  gap: 12px;
  img {
    width: 32px;
    height: 32px;
  }
  h3 {
    color: var(--dark-grey);
    font-weight: 800;
  }
}