.header {
  position: fixed;
  width: 100svw;
  transition: transform 0.3s ease 0s, background-color 0.3s ease 0s, opacity 0.3s ease 0s, box-shadow 0.3s ease 0s, border-color 0.3s ease 0s, margin 0.25s ease-out 0s;
  z-index: 7000;
}
.header.menu-open {
  background-color: var(--concrete-dark);
}
.header h1 {
  font-size: inherit;
  line-height: inherit;
}
.header .title {
  font-family: "Open Sans Condensed", "Nunito Sans", "Inter", serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 60px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
}
.header .wrapper {
  max-width: var(--layout-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas: "title right-side";
  align-items: center;
  height: 60px;
  position: relative;
  padding: 0 25px;
}
.header .wrapper .right-side {
  grid-area: right-side;
  display: flex;
  align-items: center;
  gap: 25px;
}
.header .wrapper .links {
  display: flex;
  justify-content: space-between;
  column-gap: 25px;
  transition: padding 0.8s ease, margin 0.25s ease;
}
.header .wrapper .links li {
  display: flex;
  align-items: center;
  width: max-content;
}
.header .wrapper .links li.batizado > a {
  position: relative;
  color: #EAB361;
  background: linear-gradient(110deg, #EAB361 0%, #EAB361 40%, #f5d89a 50%, #EAB361 60%, #EAB361 100%);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2s infinite linear;
  font-weight: 500;
  padding: 8px 0;
  display: block;
}
@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
.header .wrapper .links li:hover > a:after {
  backface-visibility: hidden;
  transform: scaleX(1);
}
.header .wrapper .links li:hover .sublist {
  display: block;
}
.header .wrapper .links li .sublist {
  position: absolute;
  top: 43px;
  margin-left: -20px;
  display: none;
  font-size: 16px;
  padding: 10px;
}
.header .wrapper .links li .sublist a {
  width: max-content;
  padding: 10px;
  font-size: 16px;
  color: var(--white);
  text-transform: uppercase;
  display: block;
  line-height: 20px;
}
.header .wrapper .links li > a, .header .wrapper .links li > span {
  font-family: "Open Sans Condensed", "Nunito Sans", "Inter", serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  text-transform: uppercase;
  width: auto;
  position: relative;
  cursor: pointer;
  color: var(--white);
}
.header .wrapper .links li > a:hover, .header .wrapper .links li > span:hover {
  color: #EAB361;
}
.header .user-wrapper {
  grid-template-columns: 1fr 1fr 24px;
  grid-template-areas: "title links right-side";
  gap: 30px;
}
.header.scroll, .header:hover {
  background-color: var(--concrete-dark);
}
.header.scroll .wrapper .links li .sublist, .header:hover .wrapper .links li .sublist {
  background: var(--concrete-dark);
}
.header * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  font-family: "Roboto", sans-serif;
}
.header *:focus, .header *:active {
  outline: none;
}
.header html,
.header body {
  height: 100%;
}
.header .container {
  max-width: 1170px;
  width: 100%;
  padding: 50px 15px;
  margin: 0 auto;
}
.header .github {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
}
.header .github img {
  width: 100%;
  height: 100%;
}
.header .language-switch {
  cursor: pointer;
  height: 24px;
  display: flex;
  align-items: center;
}
.header .language-switch .language-flag {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  outline: 2px solid white;
  background: white;
  display: block;
}

.left-side {
  display: none;
}

.submenu-toggle {
  display: none;
}

@media screen and (max-width: 1100px) {
  .header .wrapper {
    height: 60px;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "left-side title-section right-side";
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0 15px 0 0;
  }
  .header .wrapper .right-side {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .header .wrapper .language-switch {
    margin-right: 0;
  }
  .header .wrapper .menu-panel {
    visibility: hidden;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    max-width: 360px;
    height: 100dvh;
    min-height: 100%;
    min-height: -webkit-fill-available;
    overflow-y: auto;
    background: var(--concrete-dark);
    z-index: 99;
    padding: 0;
  }
  .header .wrapper .links {
    display: grid;
    grid-template-columns: 1fr;
    text-align: left;
  }
  .header .wrapper .links li {
    display: block;
    margin: 0;
  }
  .header .wrapper .links li:hover:not(.open) .sublist {
    display: none;
  }
  .header .wrapper .links li.batizado > a {
    padding: 8px 20px;
  }
  .header .wrapper .links li.batizado a > span {
    bottom: -22px;
  }
  .header .user-wrapper {
    grid-template-columns: 30px 1fr 30px !important;
    grid-template-areas: "left-side title right-side";
    gap: 15px;
  }
  .header .user-wrapper .left-side {
    position: relative;
    right: 0;
    top: 0;
    transform: none;
    z-index: 100;
  }
  .header .title-section {
    grid-area: title-section;
    margin: auto;
  }
  .header .title {
    font-size: 20px;
    line-height: 60px;
  }
  .header .dropdown__list_visible {
    right: 20px;
  }
  .header .dropdown__list-item {
    text-align: right;
  }
  .left-side {
    grid-area: left-side;
    display: block;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.15s linear;
  }
  .menuicon {
    display: block;
    cursor: pointer;
    color: var(--white);
    transform: rotate(0deg);
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 28px;
    height: 28px;
  }
  .menuicon__bar, .menuicon__circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
  }
  .menuicon__bar {
    transform: rotate(0deg);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    transition: -webkit-transform 0.25s ease-in-out;
    transition: transform 0.25s ease-in-out;
  }
  .menuicon__circle {
    transition: stroke-dashoffset 0.3s linear 0.1s;
    stroke-dashoffset: 144.513262038;
    stroke-dasharray: 144.513262038;
  }
  .menu-backdrop {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 98;
    cursor: pointer;
  }
  .menu-open .menu-backdrop {
    display: block;
  }
  .menu-open .menuicon {
    color: var(--white);
    transform: rotate(180deg);
  }
  .menu-open .menuicon__bar:nth-child(1), .menu-open .menuicon__bar:nth-child(4) {
    opacity: 0;
  }
  .menu-open .menuicon__bar:nth-child(2) {
    transform: rotate(45deg);
  }
  .menu-open .menuicon__bar:nth-child(3) {
    transform: rotate(-45deg);
  }
  .menu-open .menuicon__circle {
    stroke-dashoffset: 0;
  }
  .menu-open .wrapper .menu-panel {
    visibility: visible;
  }
  .menu-open .wrapper .links > li {
    height: max-content;
    text-align: left;
    width: 100%;
  }
  .menu-open .wrapper .links > li:hover {
    background-color: rgba(255, 255, 255, 0.05);
  }
  .menu-open .wrapper .links > li:first-child {
    margin-top: 10px;
  }
  .menu-open .wrapper .links > li.has-submenu {
    position: relative;
    width: 100%;
  }
  .menu-open .wrapper .links > li.has-submenu .menu-label {
    flex: 1;
  }
  .menu-open .wrapper .links > li.has-submenu .submenu-toggle {
    position: absolute;
    right: 0;
    top: 9px;
    width: 40px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
  }
  .menu-open .wrapper .links > li.has-submenu .submenu-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
    pointer-events: none;
  }
  .menu-open .wrapper .links > li.has-submenu.open .submenu-toggle svg {
    transform: rotate(180deg);
  }
  .menu-open .wrapper .links > li.has-submenu.open .sublist {
    display: grid;
  }
  .menu-open .wrapper .links > li > a, .menu-open .wrapper .links > li .menu-label {
    font-family: "Open Sans Condensed", "Nunito Sans", "Inter", serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: var(--white) !important;
    margin: 0;
    text-transform: uppercase;
    cursor: pointer;
    padding: 8px 20px;
    display: block;
    width: 100%;
  }
  .menu-open .wrapper .links > li .sublist {
    width: 100%;
    display: none;
    position: relative;
    top: 0;
    padding: 0;
    margin-left: 0;
    height: auto;
  }
  .menu-open .wrapper .links > li .sublist li {
    width: 100%;
  }
  .menu-open .wrapper .links > li .sublist li > a {
    font-family: "Open Sans Condensed", "Nunito Sans", "Inter", serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--cream);
    margin: 0;
    text-transform: uppercase;
    padding: 8px 20px;
    display: block;
    width: 100%;
  }
  .menu-open .wrapper .links > li .sublist li > a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #EAB361;
  }
  .menu-open .user-wrapper .links > li {
    padding-bottom: 0;
  }
  .menu-open.container {
    pointer-events: none;
  }
}
