header {
  width: 100%;
  height: 170px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: var(--spaWhite);
  border-top: 30px solid var(--spaPrimary);
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
}
header > .logoContainer {
  position: absolute;
  height: 100%;
  max-height: 100px;
  width: fit-content;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%);
}
header > .logoContainer .logo {
  height: 100%;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  cursor: pointer;
}
#headerMenuButton {
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  width: 40px;
  overflow: hidden;
  z-index: 2001;
  position: absolute;
  left: 20px;
  bottom: 30px;
}
.headerLink {
  height: 100%;
  text-decoration: none;
  font-size: var(--header-font-size);
  color: var(--spaBlack);
  transition: all 0.3s ease;
  position: relative;
}

.headerLink::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--spaPrimary);
  transition: width 0.3s ease;
}

.headerLink:hover::after {
  width: 100%;
}
.headerLink:focus::after {
  width: 100%;
}

#svg-burger {
  width: 5rem;
  height: auto;
  cursor: pointer;
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.path-svg-burger {
  fill: none;
  stroke: var(--spaBlack);
  stroke-width: 20;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dashoffset: 0;
  -webkit-transition: stroke-dashoffset 0.5s
      cubic-bezier(0.25, -0.25, 0.75, 1.25),
    stroke-dasharray 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25);
  -o-transition: stroke-dashoffset 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25),
    stroke-dasharray 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25);
  transition: stroke-dashoffset 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25),
    stroke-dasharray 0.5s cubic-bezier(0.25, -0.25, 0.75, 1.25);
}

#svg-burger path#top,
#svg-burger path#bottom {
  stroke-dasharray: 240px 950px;
}

#svg-burger path#middle {
  stroke-dasharray: 240px 240px;
}

#svg-burger.cross path#top,
#svg-burger.cross path#bottom {
  stroke-dashoffset: -650px;
}

#svg-burger.cross path#middle {
  stroke-dashoffset: -240px;
}

header .desktopVersion {
  display: none;
}
.mobileMenu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--spaWhite);
  transition: right 0.3s ease-in-out;
  z-index: 2000;
  padding-top: 150px;
}

.mobileMenu.active {
  right: 0;
}

.mobileMenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
}

.mobileMenu ul li {
  padding: 15px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobileMenu ul li .headerLink {
  color: var(--spaBlack);
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}
.mobileMenu ul li .headerLink > span {
  height: 24px;
}
.mobileMenu ul li .headerLink::after {
  background-color: var(--spaPrimary);
}
@media screen and (min-width: 800px) {
  header > .logoContainer {
    max-height: 110px;
    bottom: 15px;
  }
  header > .logoContainer .logo {
    max-width: none;
  }
  .mobileMenu {
    display: none;
  }
  header .desktopVersion {
    display: unset;
  }
  header > article .mobileVersion,
  #headerMenuButton {
    display: none;
  }
  header > .headerSideBlock {
    width: calc(50% - 130px);
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 30px;
  }
}
#snackbarContainer {
  background-color: transparent;
  width: 100%;
  max-width: 250px;
  position: fixed;
  bottom: 40px;
  right: -250px;
  transition: all 0.3s ease;
}
#snackbarContainer.show {
  right: 10px;
}
#snackbarContent {
  width: 100%;
  background-color: var(--spaWhite);
  color: var(--spaBlack);
  border-radius: 15px;
  padding: 10px;
}
#snackbarContent.info {
  background-color: var(--spaPrimary);
  color: var(--spaWhite);
}
#snackbarContent.error {
  background-color: var(--spaAlert);
  color: var(--spaWhite);
}
.headerIconButton {
  width: 40px;
  height: 40px;
  color: var(--spaPrimary);
  transition: all 0.3s ease;
}
.headerIconButton:hover {
  color: var(--spaBlack);
}
