@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@500;800");
/**************COLORS**************/
/**************FONT PRESET MIXINS**************/
* {
  box-sizing: border-box;
  font-family: "Figtree", Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #f4d04e;
  min-height: 100vh;
}

main {
  background: #fff;
  border: #111111 1px solid;
  border-radius: 20px;
  box-shadow: 8px 8px 0px black;
  padding: 24px;
  height: 522px;
  width: 384px;
}
main header img {
  border-radius: 10px;
}
main .tag,
main .publish-date,
main h1,
main .author {
  color: #111111;
}
main section,
main footer {
  margin-top: 24px;
}
main section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 194px;
}
main section .tag {
  font-weight: 800;
  line-height: 150%;
  letter-spacing: 0px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #f4d04e;
  border-radius: 4px;
  height: 29px;
  width: 82px;
}
main section .publish-date {
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 0px;
  font-size: 14px;
}
main section h1 {
  font-weight: 800;
  line-height: 150%;
  letter-spacing: 0px;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}
main section h1:hover {
  color: #f4d04e;
}
main section .text {
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 0px;
  font-size: 16px;
  color: #6b6b6b;
}
main footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 129px;
}
main footer img {
  height: 32px;
  width: 32px;
}
main footer p {
  font-weight: 800;
  line-height: 150%;
  letter-spacing: 0px;
  font-size: 14px;
}

.credits {
  margin-top: 36px;
  max-width: 80%;
  text-align: center;
}

@media screen and (max-width: 416px) {
  main {
    height: 501px;
    width: 327px;
  }
  main header img {
    width: 100%;
  }
  main .tag {
    font-size: 12px;
  }
  main .publish-date {
    font-size: 12px;
  }
  main h1 {
    font-size: 20px !important;
  }
  main .text {
    font-size: 14px;
  }
}/*# sourceMappingURL=styles.css.map */