@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap');

body {
  background-color: #121212;
  color: #fafafa;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.NotSelectable {
  user-select: none;
  caret-color: transparent;
}

.Container {
  max-width: 320px;
  margin: 0 auto;
  padding: 40px 32px;
}

.Name {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;

  figure {
    margin-bottom: 16px;
  }

  figcaption {
    display: none;
  }

  img {
    width: 120px;
    height: 120px;
  }

  h1 {
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 21px;
  }

  p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
  }
}

.Links {
  margin: 0 auto 40px;

  li {
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;

    &:not(:last-of-type) {
      margin-bottom: 16px;
    }

    &:hover {
      box-shadow: rgba(0, 0, 0, 0.5) 0 8px 15px;
      transform: translateY(-2px);
    }
  }

  a {
    display: block;
    padding: 8px 16px;

    .LinkName {
      font-size: 16px;
      margin-bottom: 4px;
    }

    .Url {
      font-size: 14px;
      color: rgba(255, 255, 255, 0.4);
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow-x: clip;
    }
  }
}

.Info {
  margin-bottom: 40px;

  li {
    &:not(:last-of-type) {
      margin-bottom: 24px;
    }
  }

  h2 {
    display: inline-block;
    margin-bottom: 8px;
    padding-bottom: 4px;
    font-size: 18px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  }

  p {
    display: flex;
    align-items: center;
    font-size: 16px;

    &:not(:last-of-type) {
      margin-bottom: 8px;
    }
  }

  button {
    margin-left: 8px;
    padding: 8px;
    font-size: 14px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);

    &:hover {
      background-color: rgba(255, 255, 255, 0.1);
    }

    &[disabled] {
      background-color: #63af65;
    }
  }
}
