* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  font-family: 'Montserrat', sans-serif;
  font-size: 62.5%;

  --brand-primary: #B58E86;
  --brand-primary-hover: #d1a79e;
  --brand-secondary: #E5E6E5;

  --gray-300: #D9D9D9;
  --gray-700: #474545;

  --text-color: var(--gray-700);
}

.grid {
  display: grid;
}

body {
  background: var(--brand-secondary);
  color: var(--text-color);

  font-size: 1.6rem;
  line-height: 2.4rem;
}

a {
  all: unset;
  cursor: pointer;
}

header {
  display: grid;
  place-items: center;
  gap: 0.8rem;

  padding: 2.4rem 0;
}

header a:hover {
  filter: brightness(1.2);
}

ul {
  display: grid;
  gap: 1.6rem;

  list-style: none;
  padding: 2.4rem 0;
}

ul li a {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0.8rem;
  color: var(--brand-primary);
  outline: 0.1rem solid var(--brand-primary);

  display: grid;
  place-items: center;

  padding: 1.6rem 3.2rem;
  text-align: center;

  transition: background 200ms;
}

ul a:hover {
  background: var(--brand-primary);
  color: var(--brand-secondary);
}

#app {
  margin: auto;
  padding: 5.6rem 2.4rem;

  min-width: 36rem;
  max-width: 60rem;
}

#avatar-wrapper {
  --avatar-size: 11.5rem;
  border: 0.1rem dashed var(--brand-primary);
  border-radius: 50%;

  display: grid;
  place-items: center;

  height: var(--avatar-size);
  width: var(--avatar-size);
}

#avatar-wrapper .image {
  border-radius: 50%;
  border: 0.2rem solid var(--brand-primary);
  background: no-repeat center/contain url(./assets/avatar.jpg);

  height: 97%;
  width: 97%;
}

#logo {
  display: grid;
  place-items: center;
  padding: 2.4rem 0 0.8rem;
}

#logo img {
  width: 18.7rem;
}

#social-links {
  display: flex;
  justify-content: center;
  gap: 1.6rem;

  padding: 0.8rem 0 2.4rem;
}

#social-links a {
  border-radius: 50%;
  color: var(--brand-primary);

  display: grid;
  place-items: center;

  font-size: 2.4rem;

  height: 4rem;
  width: 4rem;
}

#social-links a:hover {
  background: var(--gray-300);
}

@media (min-width: 1200px) {
  #avatar-wrapper {
    --avatar-size: 12.8rem;
  }
}

/* scrollbar */
::-webkit-scrollbar {
  width: 0.5rem;
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: var(--brand-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-primary-hover);
}
