*,
*::before,
*::after {
  box-sizing: border-box;
}

p {
  margin: 0px;
}

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

  /* Typography */
  --letter-spacing: 0px;
  --line-height: 150%;
  --text-size-large: 24px;
  --text-size-medium: 14px;
  --font-weight-400: 400;
  --font-weight-600: 600;
  --font-weight-700: 700;
}

@font-face {
  font-family: Inter;
  src: url("./assets/fonts/Inter-VariableFont_slnt\,wght.ttf");
}

body {
  display: flex;
  justify-content: center;
  height: 100vh;
  width: 100vw;

  background-color: var(--grey-900);

  color: var(--white);

  font-family: "Inter", sans-serif;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.attribution {
  margin-top: 10px;
  font-size: var(--text-size-medium);
}

.card {
  height: 611px;
  width: 384px;
  padding: 40px;

  border-radius: 12px;
  background-color: var(--grey-800);
  color: var(--white);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.profile-pic {
  height: 88px;
  width: 88px;

  border-radius: 50%;
}

.social-media-button {
  width: 100%;
  height: 45px;

  background-color: var(--grey-700);
  color: var(--white);

  display: flex;
  justify-content: center;
  align-items: center;

  border: none; /* Need this to remove the default button border */
  border-radius: 8px;

  transition: 1000ms;

  font-size: var(--text-size-medium);
  font-weight: var(--font-weight-600);
}

.social-media-button:hover {
  background-color: var(--green);
  color: var(--grey-900);
  transition: 300ms;
}

.text {
  line-height: var(--line-height);
  letter-spacing: var(--letter-spacing);
}

.name-location {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.name {
  font-size: var(--text-size-large);
  font-weight: var(--font-weight-600);
}

.description {
  font-size: var(--text-size-medium);
  font-weight: var(--font-weight-400);
}

.location {
  color: var(--green);
  font-size: var(--text-size-medium);
  font-weight: var(--font-weight-600);
}

.button-group {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  height: 289px;
  width: 100%;
}

@media only screen and (max-width: 768px) {
  /* For tablet: */

  .card {
    width: 456px;
  }
}

@media only screen and (max-width: 375px) {
  /* For mobile: */
  .card {
    width: 327px;
    padding: 24px;
  }
}
