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

  /* Variables */
  /* Colors */
  --green: #c5f82a;
  --white: #fff;
  --grey-700: #333333;
  --grey-800: #1f1f1f;
  --grey-900: #141414;

  /* Sizes */
  --sz-xsm: 8px;
  --sz-sm: 16px;
  --sz-md: 20px;
  --sz-lg: 24px;
  --sz-xl: 32px;

  /* Typography */
  font-size: 14px;
  font-family: "Inter", sans-serif;
  --text-preset-1-weight: 400;

  --text-preset-2-weight: 700;
  --text-preset-2-size: var(--sz-sm);

  --text-preset-3-weight: 500;
  --text-preset-3-size: var(--sz-lg);
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--grey-900);
  color: var(--white);
  height: 100vh;
}

.card {
  display: inherit;
  flex-direction: inherit;
  gap: var(--sz-lg);
  padding: var(--sz-xl);
  border-radius: var(--sz-sm);
  width: 388px;
  background-color: var(--grey-800);
  height: fit-content;
}

.profile-img {
  border-radius: 100%;
  max-width: 88px;
  width: 100%;
}

.info {
  display: inherit;
  flex-direction: inherit;
  gap: var(--sz-xsm);
}

h1 {
  font-size: var(--text-preset-3-size);
  font-weight: var(--text-preset-3-weight);
  color: var(--white);
}
h2 {
  font-size: var(--text-preset-2-size);
  font-weight: var(--text-preset-2-weight);
  color: var(--green);
}

.links {
  display: flex;
  flex-direction: column;
  gap: var(--sz-sm);
  width: 100%;
}

a {
  width: 100%;
  padding: var(--sz-sm);
  border-radius: var(--sz-xsm);
  text-align: center;
  text-decoration: none;
  color: var(--white);
  background-color: var(--grey-700);
  font-weight: var(--text-preset-2-weight);
  transition: 300ms;
}

a:hover {
  background-color: var(--green);
  color: var(--grey-800);
}

@media screen and (height <= 700px) {
  body {
    height: auto;
    margin: var(--sz-sm);
  }
}

@media screen and (width <= 500px){
  body {
    margin: var(--sz-xsm);
  }
  .card {
  width: auto;
  margin: var(--sz-sm);
  }
}

