* {
  padding: 0;
  margin: 0;
  border: 0;
}

*, *:before, *:after {
  box-sizing: border-box;
}

:focus, :active {
  outline: none;
}

a:focus, a:active {
  outline: none;
}

nav, footer, header, aside {
  display: block;
}

html, body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input, button, textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

a, *::before, *::after {
  display: inline-block;
}

body {
  font-family: "Figtree", sans-serif;
  background-color: #F4D04E;
  color: #111;
  font-weight: 500;
  line-height: 21px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  min-width: 100%;
  min-height: 100vh;
}

a {
  color: hsl(228, 45%, 44%);
}

.wrapper {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding: 16px;
  max-width: 100%;
}

.card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  max-width: 384px;
  width: 100%;
  border-radius: 20px;
  border: #000000 1px solid;
  box-shadow: 8px 8px 0 0 #000;
}
.card__container {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 24px;
}
.card__image {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.15);
  aspect-ratio: 42/25;
}
.card__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card__button {
  background-color: #F4D04E;
  width: -moz-fit-content;
  width: fit-content;
  padding: 4px 12px;
  border-radius: 4px;
  transition: 0.1s ease-in-out;
}
@media (max-width: 426px) {
  .card__button {
    padding: 10px 18px;
  }
}
.card__button a {
  color: #000000;
  font-weight: 800;
}
@media (max-width: 426px) {
  .card__button a {
    font-size: 16px;
  }
}
.card__button:hover {
  cursor: pointer;
}
.card__button:active {
  transform: scale(0.98);
  background-color: #dbb93f;
}
.card__title {
  font-size: 24px;
  font-weight: 800;
  line-height: 36px;
  transition: 0.1s ease-in-out;
}
.card__title:hover {
  cursor: pointer;
  color: #dbb012;
}
.card__title:active {
  transform: scale(0.98);
  color: #967d23;
}
@media (max-width: 426px) {
  .card__title {
    font-size: 20px;
    line-height: 30px;
  }
}
.card__text {
  line-height: 24px;
  font-size: 16px;
  color: #6b6b6b;
}
.card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.card__author-image {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  border: #000 1px solid;
}
.card__author-name {
  font-weight: 800;
}

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