:root {
  --accent: #3EB5E6;
  --color-global-text: #17425D;
  --mainFont: "Roboto", sans-serif;
  --shadow: 10px 10px 25px 20px rgba(0, 0, 0, 0.03);
  --gap: 32px;
  --textMD: 16px; }
  @media (max-width: 1024px) {
    :root {
      --gap: 24px; } }
  @media (max-width: 768px) {
    :root {
      --textMD: 14px;
      --gap: 16px; } }
@keyframes opacity {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }

button:focus {
  outline: none !important; }

.header {
  padding-inline: 32px;
  position: fixed;
  top: 24px;
  left: 0;
  z-index: 2;
  width: 100%;
  transition: 0.3s;
  box-sizing: border-box; }
  .header img {
    width: 100%; }
  .header .header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--textMD);
    gap: 5px;
    padding: 32px 32px 32px 48px;
    background: #FFFFFF;
    border-radius: 80px;
    box-shadow: 4px 3px 10px rgba(0, 112, 210, 0.1); }
  .header a {
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: var(--mainFont);
    color: inherit;
    line-height: 1.2; }
  .header p {
    font-family: var(--mainFont); }
  .header .normal-menu {
    display: flex;
    align-items: center;
    gap: 5px; }
    .header .normal-menu .header-list {
      display: flex;
      align-items: center;
      padding: 0; }
      .header .normal-menu .header-list > li {
        padding: 8px 16px;
        font-weight: 700; }
      .header .normal-menu .header-list li {
        line-height: 130%;
        border-radius: 36px;
        margin: 0;
        list-style: none;
        transition: 0.2s;
        cursor: pointer; }
        .header .normal-menu .header-list li a[aria-current] {
          color: var(--accent); }
        .header .normal-menu .header-list li .sub-menu {
          display: none;
          position: fixed;
          background-color: white;
          padding: var(--gap);
          border-radius: 16px;
          cursor: auto;
          box-shadow: var(--shadow); }
          .header .normal-menu .header-list li .sub-menu .sub-menu {
            position: initial;
            padding: 0;
            box-shadow: none; }
            .header .normal-menu .header-list li .sub-menu .sub-menu a {
              padding-left: 24px; }
          .header .normal-menu .header-list li .sub-menu a, .header .normal-menu .header-list li .sub-menu p {
            padding: 8px;
            text-align: left; }
          .header .normal-menu .header-list li .sub-menu .refactor-ul {
            display: grid; }
            .header .normal-menu .header-list li .sub-menu .refactor-ul div {
              display: flex;
              flex-direction: column; }
            .header .normal-menu .header-list li .sub-menu .refactor-ul p {
              font-weight: bold; }
            .header .normal-menu .header-list li .sub-menu .refactor-ul a:hover {
              color: var(--accent); }
        .header .normal-menu .header-list li:hover > a {
          color: var(--accent); }
        .header .normal-menu .header-list li:hover .dropdown-arrow:after, .header .normal-menu .header-list li:hover .dropdown-arrow:before {
          background-color: var(--accent); }
    .header .normal-menu .button-main {
      padding: 16px 30px;
      line-height: 130%; }

.header__press-top {
  top: 6px;
  padding-inline: 0;
  box-shadow: 4px 3px 10px rgba(0, 112, 210, 0.1);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px); }
  .header__press-top .header-nav {
    box-shadow: none;
    padding: 14px 48px;
    background: transparent; }

.sub-menu_active {
  display: block !important;
  animation-name: opacity;
  animation-duration: 0.2s; }

.dropdown-arrow {
  position: relative;
  margin-left: 8px;
  top: 6px; }
  .dropdown-arrow:before, .dropdown-arrow:after {
    content: '';
    position: absolute;
    width: 2px;
    height: 8px;
    border-radius: 1px;
    background-color: var(--color-global-text);
    transition: transform 0.3s ease; }
  .dropdown-arrow:before {
    transform: rotate(-45deg); }
  .dropdown-arrow:after {
    left: 4.5px;
    transform: rotate(45deg); }
  .dropdown-arrow.up::before {
    transform: rotate(45deg); }
  .dropdown-arrow.up::after {
    transform: rotate(-45deg); }

.header-burger {
  display: none;
  cursor: pointer;
  background-color: transparent !important; }

.sub-menu-toggle {
  display: none; }

@media (max-width: 1024px) {
  .header .normal-menu {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .4s; }
    .header .normal-menu .header-list {
      display: block;
      overflow: auto;
      height: 75%;
      position: relative;
      top: 5%; }
      .header .normal-menu .header-list li {
        font-weight: bold; }
        .header .normal-menu .header-list li:hover {
          box-shadow: none;
          background-color: white; }
        .header .normal-menu .header-list li .sub-menu {
          display: block;
          position: initial;
          box-shadow: none;
          font-weight: normal;
          padding: 4px; }
          .header .normal-menu .header-list li .sub-menu li {
            font-weight: normal; }
          .header .normal-menu .header-list li .sub-menu .refactor-ul {
            grid-template-columns: 1fr !important; }
        .header .normal-menu .header-list li .dropdown-arrow {
          display: none; }
    .header .normal-menu .button-main {
      display: none; }
  .header .button-main {
    display: none; }
  .header-burger {
    width: 36px;
    min-width: 36px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: none;
    background: transparent;
    padding: 0; }
    .header-burger span {
      width: 100%;
      height: 2px;
      background: #1c1c1c;
      transition: 0.3s; }
  .header__menu-open {
    transition: none;
    backdrop-filter: none; }
    .header__menu-open .normal-menu {
      visibility: visible;
      opacity: 1; }
    .header__menu-open .header-burger {
      position: relative;
      z-index: 3; }
      .header__menu-open .header-burger span {
        transition: transform 0.3s ease;
        position: absolute; }
        .header__menu-open .header-burger span:nth-child(1) {
          transform: rotate(45deg);
          top: 10px; }
        .header__menu-open .header-burger span:nth-child(2) {
          opacity: 0; }
        .header__menu-open .header-burger span:nth-child(3) {
          transform: rotate(-45deg);
          top: 10px; }
  .header__press-top {
    top: 0;
    background: white;
    backdrop-filter: none; } }

@media (max-width: 768px) {
  .header .header-nav {
    padding: 14px 32px; }
  .header-logo {
    position: relative;
    z-index: 3; } }

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .normal-menu {
    display: none; } }

@media (max-width: 450px) {
  .background-white {
    background: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 4px 3px 10px rgba(0, 112, 210, 0.1) !important; }
  .header {
    top: 0;
    padding: 0; }
    .header img {
      max-width: 158px; }
    .header .header-nav {
      border-radius: 0;
      padding: 14px 20px;
      background: rgba(0, 0, 0, 0);
      transition: background 0.3s ease;
      box-shadow: none; } }
