:root {
  --profile-container-max-width: 580px;
  --page-border-radius: 0;
}

html {
  font-size: 0.625rem;
}

@media (width >= 580px) {
  :root {
    --page-border-radius: 1.5rem;
  }
}

body {
  background-color: #857f72;
  font-family: "Tahoma", sans-serif;
  font-size: calc(1.2rem + 0.4vmin);
  margin: 0;
}

h1 {
  font-family: verdana;
  font-size: 4rem;
  font-weight: 700;
  color: #f5f5f5;
  /* text-shadow:
    1px 1px 1px #919191,
    1px 2px 1px #919191,
    1px 3px 1px #919191,
    1px 4px 1px #919191,
    1px 5px 1px #919191,
    1px 6px 1px #919191,
    1px 7px 1px #919191,
    1px 8px 1px #919191,
    1px 9px 1px #919191,
    1px 10px 1px #919191,
    1px 18px 6px rgba(16, 16, 16, 0.4),
    1px 22px 10px rgba(16, 16, 16, 0.2),
    1px 25px 35px rgba(16, 16, 16, 0.2),
    1px 30px 60px rgba(16, 16, 16, 0.4); */
  text-shadow:
    0 2px 4px rgba(45, 35, 66, 0.4),
    0 7px 13px rgba(45, 35, 66, 0.3),
    0 4px 0 #d6d6e7;
  text-align: center;
}

.page {
  background-color: #979082;
  border-radius: var(--page-border-radius);
  margin: 0 auto;
  max-width: var(--profile-container-max-width);
  overflow: hidden;
  padding: 0;
  height: 100vh;
}

.profile-header {
  background-color: rgb(151, 144, 130);
  mask: radial-gradient(
    110.26% 96% at 50% 0%,
    rgb(0, 0, 0) 50%,
    rgba(0, 0, 0, 0.99) 54.68%,
    rgba(0, 0, 0, 0.97) 58.79%,
    rgba(0, 0, 0, 0.94) 62.4%,
    rgba(0, 0, 0, 0.9) 65.61%,
    rgba(0, 0, 0, 0.85) 68.52%,
    rgba(0, 0, 0, 0.79) 71.2%,
    rgba(0, 0, 0, 0.72) 73.75%,
    rgba(0, 0, 0, 0.65) 76.25%,
    rgba(0, 0, 0, 0.57) 78.8%,
    rgba(0, 0, 0, 0.48) 81.48%,
    rgba(0, 0, 0, 0.39) 84.39%,
    rgba(0, 0, 0, 0.3) 87.6%,
    rgba(0, 0, 0, 0.2) 91.21%,
    rgba(0, 0, 0, 0.1) 95.32%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-size: auto;
  mask-composite: add;
  mask-mode: match-source;
  -webkit-mask-source-type: auto;
  -webkit-mask: radial-gradient(
    110.26% 96% at 50% 0%,
    rgb(0, 0, 0) 50%,
    rgba(0, 0, 0, 0.99) 54.68%,
    rgba(0, 0, 0, 0.97) 58.79%,
    rgba(0, 0, 0, 0.94) 62.4%,
    rgba(0, 0, 0, 0.9) 65.61%,
    rgba(0, 0, 0, 0.85) 68.52%,
    rgba(0, 0, 0, 0.79) 71.2%,
    rgba(0, 0, 0, 0.72) 73.75%,
    rgba(0, 0, 0, 0.65) 76.25%,
    rgba(0, 0, 0, 0.57) 78.8%,
    rgba(0, 0, 0, 0.48) 81.48%,
    rgba(0, 0, 0, 0.39) 84.39%,
    rgba(0, 0, 0, 0.3) 87.6%,
    rgba(0, 0, 0, 0.2) 91.21%,
    rgba(0, 0, 0, 0.1) 95.32%,
    rgba(0, 0, 0, 0) 100%
  );
  margin: 0 0 -50px;
}

.profile-header__avatar {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.links-list li {
  /* background-color: #ffffff;
  border-radius: 0.75rem;
  list-style: none;
  padding: 1rem;
  text-align: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 1;
  transition-duration: 0.2s;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); */
  list-style: none;
  display: flex;
  flex-direction: row;
}

.link-button {
  /* color: #3a281e;
  font-weight: var(--link-font-weight, 500);
  text-decoration: none; */

  align-items: center;
  appearance: none;
  background-color: #fcfcfd;
  border-radius: 4px;
  border-width: 0;
  box-shadow:
    rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px,
    #d6d6e7 0 -3px 0 inset;
  box-sizing: border-box;
  color: #36395a;
  cursor: pointer;
  display: flex;
  font-family: "JetBrains Mono", monospace;
  height: 48px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow, transform;
  font-size: 18px;
  flex-grow: 1;
}

.link-button:focus {
  box-shadow:
    #d6d6e7 0 0 0 1.5px inset,
    rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px,
    #d6d6e7 0 -3px 0 inset;
}

.link-button:hover {
  box-shadow:
    rgba(45, 35, 66, 0.4) 0 4px 8px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px,
    #d6d6e7 0 -3px 0 inset;
  transform: translateY(-2px);
}

.link-button:active {
  box-shadow: #d6d6e7 0 3px 7px inset;
  transform: translateY(2px);
}
