:root {
  /* Colors */
  --Green: hsl(75, 94%, 57%);
  --White: hsl(0, 0%, 100%);
  --Grey700: hsl(0, 0%, 20%);
  --Grey800: hsl(0, 0%, 12%);
  --Grey900: hsl(0, 0%, 8%);

  /* Typography */
  --fontBody: 0.85rem;

  /* Inter Font Weights */
  --Weights4: 400;
  --Weights6: 600;
  --Weights7: 700;

  /* Design screens */
  --Mobile: 375px;
  --Desktop: 1440px;
}

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

body {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-content: center;
  font-family: "Inter", sans-serif;
  background-color: var(--Grey900);
}

/* Profile Main Card */
.profile-card {
  min-width: 26rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.5rem;
  padding: 2rem;
  color: var(--White);
  border-radius: 1rem;
  background-color: var(--Grey800);
}

/* Profile Photo */
.profile-photo {
  width: 6rem;
  height: 6rem;
  border-radius: 6rem;
}

/* Profile Info Section */
.profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.profile-name {
  font-size: 2rem;
  font-weight: var(--Weights4);
}

.profile-location {
  font-size: 1.1rem;
  font-weight: var(--Weights4);
  color: var(--Green);
}

/* Profile Description */
.profile-description {
  font-size: 1rem;
  text-align: center;
  font-weight: var(--Weights4);
}

/* Profile Buttons Section */
.profile-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: var(--fontBody);
}

.btn {
  width: 100%;
  padding: 1rem;
  text-decoration: none;
  text-align: center;
  color: var(--White);
  border-radius: 0.5rem;
  font-size: var(--fontBody);
  font-weight: var(--Weights6);
  background-color: var(--Grey700);
}

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

@media (max-width: 40em) {
  .profile-card {
    min-width: 20rem;
  }
}
