.heading {
  height: calc(45px + 3.6rem);
  padding: 0 3.6rem;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg-opaque);
  backdrop-filter: blur(12px);

  font-size: var(--text-md);
  font-weight: bold;

  @media (max-width: 768px) {
    padding: 0 2.4rem;
  }
  @media (max-width: 360px) {
    padding: 0 1.2rem;
  }
}

.headingButtons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  > a {
    height: 46px;
  }
}

.headingLeft {
  display: flex;
  align-items: center;
}

// Locale switcher
.switch {
  font-size: 1.5rem;
  font-weight: 500;

  z-index: 20;
  margin-left: 1.6rem;
  transition: 0.2s;
  
  color: var(--brand);
  &:hover {
    color: inherit;
  }
}

// Resume Button
.outlineButton {
  outline: none;
  border: none;
  cursor: pointer;
  
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;

  border: 1px solid var(--brand);
  background: transparent;
  color: var(--brand);
  font-size: var(--text-sm);
  border-radius: 4px;

  position: relative;
  z-index: 20;
  overflow: hidden;
  transition: 0.2s color;

  @media (max-width: 480px) {
    padding: 0.5rem;
    svg {
      display: none;
    }
  }
  @media (max-width: 360px) {
    // display: none; 
    font-size: var(--text-xs);
    padding: 0.3rem;
  }
}

.outlineButton::before {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--brand);

  height: 100%;
  width: 100%;

  left: -100%;
  top: -100%;

  transition: 0.2s left, 0.2s top;
}

.outlineButton:hover {
  color: var(--text);
}

.outlineButton:hover::before {
  left: 0;
  top: 0;
}
