/* Global Styles */

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: sans-serif;
}

body {
  min-height: 100vh;
  background-color: rgb(234, 203, 77);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Main (Container) Styles*/

.container {
  display: flex;
  justify-content: center;
}

/* Card Styles */

.blog__card {
  background-color: rgb(255, 253, 253);
  padding: 1rem;
  border-radius: 0.7rem;
  max-width: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-style: solid;
  border-width: 0.1rem;
  border-color: black;
  box-shadow: 0.35rem 0.35rem rgb(14, 14, 14);
}

.card__image {
  max-width: 18rem;
  border-radius: 0.8rem;
}

.card__text {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card__text-label {
  background-color: rgb(234, 203, 77);
  width: fit-content;
  padding: 0.4rem 0.6rem 0.4rem 0.6rem;
  border-radius: 0.2rem;
  font-size: 0.8rem;
}

.card__text-publish {
  font-size: 0.8rem;
  font-weight: 500;
}

.card__text-heading {
  font-size: 1.2rem;
}

.card__text-heading:hover {
  color: rgb(234, 203, 77);
  cursor: pointer;
}

.card__text-desc {
  font-size: 0.8rem;
  line-height: 1.3rem;
  color: rgb(70, 68, 68);
}

.card__text-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.card__text-author-avatar {
  margin-top: 0.4rem;
  border-radius: 100%;
  max-height: 2rem;
}

/* Footer Styles */

.attribution {
  font-size: 11px;
  text-align: center;
}

.attribution a {
  color: hsl(211, 86%, 31%);
}
