@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

:root {
  /* Colors */
  --color-green: hsl(75, 94%, 57%);
  --color-white: hsl(0, 0%, 100%);
  --color-grey-700: hsl(0, 0%, 20%);
  --color-grey-800: hsl(0, 0%, 12%);
  --color-grey-900: hsl(0, 0%, 8%);

  /* Typography */
  --font-family: "Inter", sans-serif;
  --font-size-body: 14px;
}

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

body {
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  background-color: var(--color-grey-900);
  color: var(--color-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.container {
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-grey-800);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
}

img {
  border-radius: 50%;
  width: 80px;
  margin-bottom: 0.8rem;
}

.name {
  font-size: 22px;
  margin-bottom: 0.45rem;
}

.name,
.address {
  font-weight: 600;
}

.address {
  font-size: 12px;
  margin-bottom: 16px;
  color: var(--color-green);
}

ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-top: 1.5rem;
}

a {
  text-decoration: none;
  display: block;
  width: 100%;
}

.btn-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 96%;
  margin-top: 0.9rem;
}

.btn-primary {
  background-color: var(--color-grey-700);
  color: var(--color-white);
  display: block;
  width: 100%;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--color-green);
  color: black;
}

/* Desktop Media Query */
@media (min-width: 1440px) {
  .container {
    max-width: 384px;
    padding: 40px;
  }
}
