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

html, body {
  height: 100%;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
}

button,
input,
select,
option {
  border: none;
  padding: 0;
  color: currentColor;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  appearance: none;
}

ul,
ol {
  list-style: none;
}

button:focus {
  outline: none;
}

img {
  display: block;
  max-width: 100%;
}

/* Main styles */
.body {
  display: flex;
  flex-direction: column;
  font-family: var(--main-font);
}

.main {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  background-color: var(--slate-300);
}

.card {
  max-width: 320px;
  border-radius: 20px;
  padding: var(--spacing-200) var(--spacing-200) var(--spacing-500);
  box-shadow: 0 25px 25px 0 rgba(0, 0, 0, 0.04);
  background-color: var(--white);
}

.card__image-wrapper {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.card-image {
  object-fit: cover;
  object-position: center center;
}

.card__content {
  margin-top: var(--spacing-300);
  padding-inline: var(--spacing-200);
  text-align: center;
}

.card__title {
  color: var(--slate-900);
  font-weight: 700;
  font-size: 22px;
  line-height: 120%;
}

.card__text {
  margin-top: var(--spacing-200);
  color: var(--slate-500);
  font-weight: 400;
  font-size: var(--main-font-size);
  line-height: 140%;
  letter-spacing: 0.2px;
}

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

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