.cover-background-image {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: top;
  object-position: top;
  opacity: 0.8;
  filter: blur(104px);
  z-index: -1;
}

.avatar-large {
  /* Using shape-circle class from theme */
  width: 118px;
  height: 118px;
}

.avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.socials {
  gap: var(--space-sm);
}

.socials a {
  display: inline-flex;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--color-background-main);
  border: 1px solid var(--color-primary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* box-shadow: 0 2px 8px var(--color-primary); */
  position: relative;
  overflow: hidden;
  border-color: var(--color-primary);
}

.socials a::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.socials a:hover {
  transform: scale(1.05);
}

.socials a:hover::before {
  opacity: 1;
}

/* .socials a:active {
   transform: translateY(-1px);
 } */

.socials svg {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  color: var(--color-primary)
}

.profile-wrap {
  /* We moved the container-main class to this element in the HTML
       so it handles width, center, and padding automatically on desktop */
  position: relative;
  z-index: 2;
  transition: padding 0.3s;
}

.hero {
  height: 100vh;
  max-height: 55vh;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100%;
  background: linear-gradient(to bottom,
      transparent 20%,
      var(--color-background-main) 95%,
      var(--color-background-main) 100%);
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 99%;
  -o-object-fit: cover;
  object-fit: cover;
  display: inline-block;
  transition: opacity 1s ease-in-out;
  opacity: 0;
}

.hero-video {
  width: 100%;
  height: 99%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-video iframe {
  width: 100%;
  height: 100%;
  transform: scale(2);
  transform-origin: center;
}

.active {
  opacity: 1 !important;
}

.inactive {
  opacity: 0 !important;
}

.partial-view {
  display: contents;
}

#header-media {
  min-height: 30vh;
}

#header-media:empty {
  min-height: 12vh;
}

@media (max-width: 768px) {

  #header-media {
    min-height: 20vh;
  }

  .hero {
    max-height: 45vh;
  }
}