@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400&family=Outfit:wght@100..900&display=swap");

:root {
  --bg-color: hsl(0, 0%, 100%);
  --link-color: hsl(228, 45%, 44%);
  --slate300: hsl(212, 45%, 89%);
  --slate500: hsl(216, 15%, 48%);
  --slate900: hsl(218, 44%, 22%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--slate900);
  background-color: var(--slate300);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
}

.container {
  width: 320px;
  max-width: 100%;
  background-color: var(--bg-color);
  border-radius: 20px;
  padding: 16px 16px 40px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

img {
  display: block;
  border-radius: 10px;
  width: 288px;
  height: 288px;
}

.text {
    margin-top: 24px;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

h1 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
}

p {
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.2px;
  color: var(--slate500);
}

/* footer */
.attribution {
  position: fixed;
  bottom: 0;
  padding: 20px;
  font-size: 12px;
}
.attribution a {
  color: var(--link-color);
}
