@font-face {
  font-family: Inter;
  src: url(./assets/fonts/Inter.ttf);
}

:root {
  --Green: hsl(75, 94%, 57%);
  --Grey-700: hsl(0, 0%, 20%);
  --Grey-800: hsl(0, 0%, 12%);
  --Grey-900: hsl(0, 0%, 8%);
}

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

html,
body {
  width: 100%;
  height: 100%;
  font-family: Inter;
}

a {
  text-decoration: none;
  display: block;
}

.container {
  background-color: var(--Grey-900);
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-card {
  width: 100%;
  max-width: 348px;
  background-color: var(--Grey-800);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  gap: 1.5rem;
}

.profile-card figure {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
}
.profile-card figure img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.profile-card .name h1 {
  font-size: 1.5rem;
  color: #fff;
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.profile-card .name h2 {
  font-size: 0.9rem;
  color: var(--Green);
  font-weight: 500;
}

.profile-card p {
  font-size: 0.875rem;
  color: #fff;
}

.profile-card .social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-card .social-links a {
  color: #fff;
  width: 100%;
  height: 100%;
  display: block;
}
.profile-card .social-links a {
  width: 100%;
  display: inline-block;
  background-color: var(--Grey-700);
  padding: 1rem 5rem;
  border: none;
  outline: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  white-space: nowrap;
  color: #fff;
}

.profile-card .social-links a:active {
  background-color: var(--Green);
  color: var(--Grey-900);
}
