.c-header {
  z-index: 100;
  position: fixed;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-header);
  padding: 15px;
  width: fit-content;
  backdrop-filter: blur(var(--cfg-blur));
  box-shadow: 0px 2px 4px var(--clr-box-shadow);
  border-radius: var(--cfg-border-radius);
  transition-property: background, width, top, padding;
  transition-duration: 700ms;
}

#c-header__menu {
  translate: 0;
  text-align: center;
}

.c-header__links {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 10px;
}

.c-header__links a {
  position: relative;
  text-decoration: none;
}

.c-header__links a::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -5px;
  width: 0;
  border-bottom: 2px solid;
  transition: width 500ms;
}

.c-header__links a:hover::after {
  width: 100%;
}

.c-header__expand-mode {
  font-size: 25px;
  margin-left: 20px;
  transition: opacity 500ms;
}

.c-header__expand-mode:hover::after {
  content: none;
}

.c-header__expand-mode:hover {
  cursor: pointer;
  animation: jumpy-animation 2000ms infinite;
}

.c-header__select {
  max-width: 3rem;
}
