* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: white;
  --text-color: rgba(0, 0, 0, 1);
  --stroke-color: hsl(51, 74%, 64%);
  --surface-color-hover: var(--stroke-color);
  /* --highlight-color: */
}

body {
  background:var(--background)
}

body * {
  font-family: "Inter", sans-serif;
  color: var(--text-color);
}

img {
  width: 100%;
  object-fit: contain;
}

.wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 588px;

  margin: 3em auto;
  padding-inline: 24px;
}

header {
  display: grid;
  width: 90%;
}

.header-image {
  height: 20em;
}
.header-profile {
  display: grid;
  justify-items: center;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--stroke-color);
  margin-top: -2em;
  margin-bottom: 1em;
  object-fit: cover;
}

h1 {
  font-size: 1.6rem;
  font-weight: 600;
}

p {
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 1px;
  padding: 1em;
}

.button {
  display: inline-block;
  background: var(--stroke-color);
  border: none;
  border-radius: 8px;
  
  margin-top: 32px;
  padding: 15px 32px;
  
  color: var(--text-color);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
}
.button:hover {
  filter: brightness(1.1);
}


/* Links */

#contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 90%;
}

#contacts li a {
  padding: 16px 24px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;

  background: var(--background);
  border: 1px solid var(--stroke-color);
  border-radius: 8px;

  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);

  font-weight: 500;

  text-decoration: none;

  transition: background 0.2s;
}

#contacts li a:hover {
  background: var(--surface-color-hover);
}


/* qrcode */
.qrcode {
  margin-top: 1em;
  text-align: center;
  width: 90%;
}

.qrcode > img {
  width: 180px;
  background-color: white;
  border-radius: .5em;
  padding: .4em;
  outline: 2px solid var(--text-color);
}
