.rounded-avatar {
  display: block;
  margin: 0 auto;
  width: clamp(110px, 38vw, 170px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  background-color: #fff !important;
  box-shadow: 0 0 0 3px #fff, 0 8px 24px rgba(0, 0, 0, .35);
  pointer-events: none;
}

.social-icon-div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem;
  padding-bottom: 1.25rem;
}
.social-icon {
  font-size: 28px;
  padding: 10px;
  color: #fff;
}

.button {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 56px;
  margin: 0 0 .9rem !important;
  padding: .85rem 1.25rem;
  border: 1.5px solid rgba(255, 255, 255, .40);
  border-radius: 14px;
  background: linear-gradient(120deg,
              rgba(255, 255, 255, .10),
              rgba(255, 255, 255, .045));
  box-shadow:
    0 2px 10px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .14);
  color: var(--accentColor);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s ease, color .2s ease, transform .15s ease,
              border-color .2s ease, box-shadow .2s ease;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .button {
    border-color: transparent;
    background:
      linear-gradient(120deg,
        rgba(255, 255, 255, .13),
        rgba(255, 255, 255, .05)) padding-box,
      linear-gradient(135deg,
        rgba(255, 255, 255, .55),
        rgba(255, 255, 255, .10) 40%,
        rgba(255, 255, 255, .10) 60%,
        rgba(255, 255, 255, .30)) border-box;
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    backdrop-filter: blur(10px) saturate(150%);
    box-shadow:
      0 2px 12px rgba(0, 0, 0, .20),
      inset 0 1px 0 rgba(255, 255, 255, .22),
      inset 0 -1px 0 rgba(0, 0, 0, .10);
  }
  @media (hover: hover) and (pointer: fine) {
    .button:hover {
      background: var(--accentColor);
      border-color: #fff;
    }
  }
  .button:active {
    background: var(--accentColor);
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .button {
    background: linear-gradient(120deg, rgba(48, 78, 133, .88), rgba(30, 52, 96, .92));
    border-color: rgba(255, 255, 255, .28);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .button {
    background: #274a85;
    border-color: rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

:root {
  --sg-icon-hover-filter: brightness(0) invert(10.1%) sepia(100%) saturate(1979.5%)
                          hue-rotate(-148.6deg) brightness(106.2%) contrast(81.5%);
}

.button .icon {
  transition: filter .2s ease, transform .15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover > .icon {
    filter: var(--sg-icon-hover-filter, brightness(0));
  }
  .button:hover {
    background-color: var(--accentColor);
    color: var(--bgColor);
    border-color: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .35),
                inset 0 1px 0 rgba(255, 255, 255, .6);
  }
}

.button:focus-visible > .icon,
.button:active > .icon {
  filter: var(--sg-icon-hover-filter, brightness(0));
}

.button:active {
  background-color: var(--accentColor);
  color: var(--bgColor);
  transform: scale(.98);
}

.button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.icon {
  position: static;
  flex: none;
  width: 22px;
  height: 22px;
  object-fit: contain;
  pointer-events: none;
}

.button-custom_website .icon {
  --sg-icon-rest: brightness(0) invert(1);
  filter: var(--sg-icon-rest, none);
}

svg { color: #fff !important; }

@media (max-width: 360px) {
  .button { font-size: 1rem; padding: .75rem 1rem; min-height: 52px; }
}
