:root {
  --bg: #f8f8f8;
  --bg-under: rgba(248, 248, 248, 0.5);
  --accent-bg: rgba(170, 59, 255, 0.1);
  --link: #aa3bff;
  --bg-hover: #f4f3ec;
  --shadow:
    rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;

  --border-r-soft: 10px;
  --border-r-default: 20px;
}

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

body {
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "GRAD" 0;

  min-height: 100vh;
  max-width: 100vw;
}

.link-in-bio {
  display: flex;
  height: 100vh;
  width: 100vw;
  background-color: var(--bg-under);
}

.link-in-bio__container {
  display: flex;
  flex-direction: column;
  margin: auto;
  width: max-content;
  height: max-content;
  background-color: var(--bg);
  padding: 1em;
  border-radius: var(--border-r-default);
  box-shadow: var(--shadow);
}

.link-in-bio__container__header {
  display: flex;
  position: relative;
}

.link-in-bio__container__header > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.link-in-bio__container__header > button {
  all: unset;
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  height: max-content;
  cursor: pointer;
  width: 2.5em;
  border-radius: var(--border-r-soft);
}

.link-in-bio__container__header > button:hover {
  background-color: var(--accent-bg);
}

.link-in-bio__container__header > button > img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.link-in-bio__container__header__img-wrapper {
  width: 15%;
  border-radius: 50%;
}

.link-in-bio__container__header__img-wrapper img {
  object-fit: cover;
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.link-in-bio__container__body__nav {
  margin-top: 0.7em;
}

.link-in-bio__container__body__nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  row-gap: 0.5em;
}

.link-in-bio__container__body__nav__list-item {
  background-color: var(--accent-bg);
  padding: 1em 0.7em;
  border-radius: var(--border-r-soft);
  cursor: pointer;
}

.link-in-bio__container__body__nav__list-item:hover {
  background-color: var(--bg-hover);
}

.link-in-bio__container__body__nav__list-item > a {
  color: var(--link);
}
