/* ==============================
   VARIABLES & DESIGN SYSTEM
================================= */
:root {
  /* Colors */
  --Green: hsl(75, 94%, 57%);
  --White: hsl(0, 0%, 100%);
  --Grey-700: hsl(0, 0%, 20%);
  --Grey-800: hsl(0, 0%, 12%);
  --Grey-900: hsl(0, 0%, 8%);

  /* Typography */
  --ff: "Young Serif", serif;
  --fs-main: 14px;
  --fw-400: 400;
  --fw-600: 600;
  --fw-700: 700;
}

/* ==============================
     RESET & GENERAL STYLES
  ================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

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

button {
  font: inherit;
  cursor: pointer;
}

/* Text Wrapping */
p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/* ==============================
     BASE STYLES
  ================================= */
body {
  color: var(--White);
  font-family: sans-serif;
  font-size: var(--fs-main);
  font-weight: var(--fw-400);
  background-color: var(--Grey-900);
}

/* ==============================
     LAYOUT & CONTAINER
  ================================= */
.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100dvh;
  background-color: var(--Grey-900);
}

/* ==============================
     CARD COMPONENT
  ================================= */
.card {
  max-width: 350px;
  width: 100%;
  background-color: var(--Grey-800);
  border-radius: 1rem;
  padding: 1rem;
}

/* ==============================
     USER INFORMATION
  ================================= */
.user-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 1rem;
}

/* User Name */
.user-name {
  font-size: 1.4rem;
  font-weight: var(--fw-400);
}

/* User Job */
.user-job {
  margin-block: 10px;
}

/* User Address */
.user-address {
  color: var(--Green);
  margin-block: 8px;
}

/* ==============================
     IMAGE STYLES
  ================================= */
.image-container {
  width: 100px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* ==============================
     SOCIAL LINKS
  ================================= */
.social-links {
  display: flex;
  flex-direction: column;
  margin-inline: 1rem;
  gap: 1rem;
}

/* Buttons */
.btn {
  background-color: var(--Grey-700);
  border: none;
  border-radius: 6px;
  color: var(--White);
  padding: 8px 12px;
}

.btn:hover {
  background-color: var(--Green);
}

/* ==============================
     FOOTER & ATTRIBUTION
  ================================= */
.attribution {
  position: absolute;
  bottom: 10px;
  width: 100%;
  font-size: 11px;
  text-align: center;
}

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