header {
  --ssw-header-offset-y: 0px;
  position: fixed;
  top: var(--ssw-header-top, 30px);
  left: 50%;
  width: var(--ssw-header-width, 900px);
  height: var(--ssw-header-height, 75px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #b13232;
  border-radius: 500px;
  padding: 0 10px 0 25px;
  font-weight: 700;
  z-index: 1000;
  transform: translateX(-50%) translateY(var(--ssw-header-offset-y))
    scale(var(--ssw-active-scale, var(--ssw-desktop-scale, 1)));
  transform-origin: top center;
  transition:
    transform 0.38s ease,
    opacity 0.28s ease;
  will-change: transform, opacity;
}

html[data-ssw-layout="desktop"] {
  --ssw-header-top: 30px;
  --ssw-header-width: 900px;
  --ssw-header-height: 75px;
}

html[data-ssw-layout="mobile"] {
  --ssw-header-top: 24px;
  --ssw-header-width: 440px;
  --ssw-header-height: 74px;
}

html[data-ssw-layout="desktop"] [data-ssw-mobile-only] {
  display: none !important;
}

html[data-ssw-layout="mobile"] [data-ssw-desktop-only] {
  display: none !important;
}

.navigation {
  display: none;
}

header.is-hidden {
  --ssw-header-offset-y: calc(-100% - 40px);
  opacity: 0;
  pointer-events: none;
}

header > a {
  display: inline-flex;
  align-items: center;
}

header > a img {
  display: block;
}

header ul {
  display: flex;
  gap: 40px;
}

header ul a {
  color: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 0;
}

header ul a:visited {
  color: #fff;
}

header ul a::before {
  content: "";
  position: absolute;
  inset: -10px -14px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
  pointer-events: none;
}

header ul a:hover::before {
  opacity: 1;
}

header button {
  background-color: #f3f3f3;
  height: 80%;
  width: 150px;
  border-radius: 200px;
  font-weight: 700;
}

.language-switcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(177, 50, 50, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.language-switcher a {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 34px;
  padding: 0 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.language-switcher a:hover,
.language-switcher a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.language-switcher a[aria-current="true"] {
  color: #131313;
  background: #fff;
}

@media screen and (max-width: 500px) {
  .language-switcher {
    right: 14px;
    bottom: 14px;
  }

  .language-switcher a {
    min-width: 34px;
    height: 32px;
    padding: 0 7px;
    font-size: 11px;
  }

  header {
    width: 440px;
    max-width: none;
    border-radius: 500px;
    background-color: rgba(177, 50, 50, 0.92);
    padding: 0 6px 0 27px;
  }

  header > img {
    width: 96px;
    height: auto;
  }

  header ul {
    display: none;
  }

  header button {
    width: 124px;
    min-width: 124px;
    height: 63px;
    padding: 0 18px;
    border-radius: 500px;
    font-size: 12px;
  }

  .navigation {
    z-index: 1400;
    pointer-events: none;
    position: fixed;
    inset: 0;
    display: block;
  }

  .navigation__dark-bg {
    opacity: 0;
    pointer-events: auto;
    visibility: hidden;
    background-color: #000;
    position: absolute;
    inset: 0;
    transition: all 0.7s cubic-bezier(0.5, 0.5, 0, 1);
  }

  [data-navigation-status="active"] .navigation__dark-bg {
    opacity: 0.18;
    visibility: visible;
  }

  .centered-nav {
    border-radius: 36px;
    flex-flow: column;
    justify-content: flex-start;
    align-items: stretch;
    width: 440px;
    display: flex;
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) scale(var(--ssw-active-scale, 1));
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.28s ease,
      visibility 0.28s ease;
  }

  [data-navigation-status="active"] .centered-nav {
    opacity: 1;
    visibility: visible;
  }

  .centered-nav__bg {
    background-color: #fff;
    border-radius: 36px;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
  }

  .centered-nav__header {
    z-index: 1;
    justify-content: space-between;
    align-items: center;
    height: 74px;
    padding: 0 12px 0 27px;
    display: flex;
    position: relative;
  }

  .centered-nav__logo {
    pointer-events: auto;
    justify-content: center;
    align-items: center;
    width: 96px;
    height: 52px;
    display: flex;
  }

  .centered-nav__logo img {
    width: 96px;
    height: auto;
    display: block;
  }

  .centered-nav__toggle {
    pointer-events: auto;
    cursor: pointer;
    background-color: #f3f3f3;
    border-radius: 999px;
    justify-content: center;
    align-items: center;
    width: 124px;
    height: 63px;
    padding: 0;
    display: flex;
    position: relative;
  }

  .centered-nav__toggle .centered-nav__toggle-bar {
    background-color: #131313;
    width: 26px;
    height: 2px;
    position: absolute;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0, 1);
    transform: translateY(-4px) rotate(0.001deg);
  }

  .centered-nav__toggle .centered-nav__toggle-bar:nth-child(2) {
    transform: translateY(4px) rotate(0.001deg);
  }

  [data-navigation-status="active"] .centered-nav__toggle .centered-nav__toggle-bar {
    transform: translateY(0) rotate(45deg);
  }

  [data-navigation-status="active"] .centered-nav__toggle .centered-nav__toggle-bar:nth-child(2) {
    transform: translateY(0) rotate(-45deg);
  }

  .centered-nav__content {
    border-bottom-right-radius: 36px;
    border-bottom-left-radius: 36px;
    grid-template-rows: 0fr;
    display: grid;
    position: relative;
    overflow: hidden;
    transition: grid-template-rows 0.6s cubic-bezier(0.625, 0.05, 0, 1);
  }

  [data-navigation-status="active"] .centered-nav__content {
    grid-template-rows: 1fr;
  }

  .centered-nav__inner {
    gap: 30px;
    pointer-events: auto;
    flex-flow: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 10000%;
    padding: 8px 20px 22px;
    display: flex;
    position: relative;
    overflow: hidden;
  }

  .centered-nav__ul {
    flex-flow: column;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    position: relative;
  }

  .centered-nav__li {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: clip;
  }

  .hamburger-nav__a {
    color: #131313 !important;
    text-decoration: none;
    position: relative;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 4px;
    display: flex;
  }

  .hamburger-nav__a:visited {
    color: #131313 !important;
  }

  .hamburger-nav__a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    opacity: 0.2;
    transition-delay: inherit;
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.65, 0, 0, 1);
  }

  [data-navigation-status="active"] .hamburger-nav__a::after {
    transform: scaleX(1);
  }

  .hamburger-nav__a[aria-current]::after {
    opacity: 1;
  }

  .hamburger-nav__p {
    color: #131313 !important;
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0, 1);
    transform: translateY(150%);
    transition-delay: inherit;
  }

  [data-navigation-status="active"] .hamburger-nav__p {
    transform: translateY(0);
  }

  .centered-nav__banner-w {
    justify-content: center;
    align-items: center;
    width: 100%;
    display: flex;
  }

  .centered-nav__banner {
    color: #fff;
    background-color: #b13232;
    border-radius: 999px;
    max-width: 100%;
    width: 100%;
    padding-top: 18px;
    padding-bottom: 18px;
    text-decoration: none;
    transition: background-color 0.15s;
    overflow: hidden;
  }

  .centered-nav__banner:visited {
    color: #fff;
  }

  .centered-nav__banner:hover {
    background-color: #c54040;
  }

  .centered-nav__banner-row,
  .centered-nav__banner-item,
  .centered-nav__banner-inner {
    justify-content: flex-start;
    align-items: center;
    display: flex;
  }

  .centered-nav__banner-item {
    flex: none;
  }

  .centered-nav__banner-inner {
    flex: none;
    padding-right: 34px;
  }

  .centered-nav__banner-text {
    text-transform: uppercase;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
  }

  @keyframes translateX {
    to {
      transform: translateX(-100%);
    }
  }

  [data-css-marquee-list] {
    animation: translateX 20s linear;
    animation-iteration-count: infinite;
    animation-play-state: paused;
  }

  [data-navigation-status="active"] [data-css-marquee-list] {
    animation-play-state: running;
  }

  [data-navigation-status="active"] .centered-nav__banner:hover [data-css-marquee-list] {
    animation-play-state: paused;
  }
}
