.header {
  padding-bottom: 40px;

  .header-full {
    background: #ffffff;
    z-index: 99;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease;

    overflow-y: scroll;
    height: 100%;

    &._active {
      visibility: visible;
      opacity: 1;
    }

    .header-full__close {
      cursor: pointer;
      position: absolute;
      top: 0;
      right: 0;
      padding: 50px;

      span {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: block;
        height: 20px;
        width: 2px;
        background: #003274;
        transition: 0.3s ease;

        &:first-child {
          transform: translate(-50%, -50%) rotate(-45deg);
        }

        &:last-child {
          transform: translate(-50%, -50%) rotate(45deg);
        }
      }

      &:hover {
        span {
          &:first-child {
            transform: translate(-50%, -50%) rotate(45deg) scale(1.25);
          }

          &:last-child {
            transform: translate(-50%, -50%) rotate(-45deg) scale(1.25);
          }
        }
      }
    }

    .header-full__items {
      .full__items-col {
        display: flex;
        justify-content: space-between;

        .full__items-col__block {
          flex: 0 1 33.3333%;
          display: flex;
          flex-direction: column;
          padding: 30px 0;

          .col__block-heading {
            text-transform: uppercase;
            display: inline-block;
            margin-top: 30px;
            font-weight: 700;
            font-size: 16px;
            line-height: 21px;
            color: #003274;

            &:first-child {
              margin-top: 0;
            }
          }
          .col__block-list {
            max-width: 320px;
            margin-top: 15px;

            li {
              a {
                font-weight: 350;
                font-size: 14px;
                line-height: 18px;

                color: #292929;
                display: inline-block;
                padding: 5px 0;
              }
            }
          }
        }
      }
    }
  }

  .up-button {
    opacity: 0;
    position: fixed;
    z-index: 97;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border: 2px solid #003274;
    transition: 0.3s ease;
    transform: translateY(10px);

    &._active {
      opacity: 1;
      transform: translateY(0);
    }

    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      transform: rotate(-90deg);
      background-repeat: no-repeat;
      background-position: center;
      background-image: url("../img/index-arrow-active.svg");
    }

    &:hover {
      border: 2px solid #b1c72e;
      background: #b1c72e;

      &::before {
        transform: rotate(90deg);
        background-image: url("../img/index-arrow.svg");
      }
    }
  }

  .header-menu-top {
    display: flex;
    justify-content: space-between;
    font-weight: 300;

    .header-menu-top__list {
      display: flex;
      text-decoration: underline;

      li {
        a {
          padding: 19px 17.5px 26px;
          display: block;

          &:hover {
            color: #003274;
          }
        }

        &:first-child a {
          padding-left: 0;
        }
      }
    }

    .header-menu-top__link {
      padding: 19px 0 26px;
      text-decoration: underline;

      &:hover {
        color: #003274;
      }
    }

    .header-menu-top__lang {
      display: flex;

      a {
        display: block;
        padding: 19px 7px 26px;

        &:first-child {
          position: relative;

          &::before {
            content: "";
            position: absolute;
            top: 45%;
            right: 0;
            transform: translateY(-50%);
            height: 11px;
            width: 1px;
            background: #1a1a1a;
          }
        }
      }
    }
  }

  .header-menu-bottom {
    background: #003274;

    .header-menu-bottom__list {
      display: flex;
      justify-content: space-between;

      li {
        &:first-child {
          cursor: pointer;
          padding: 0 22px;
          display: flex;
          justify-content: center;
          align-items: center;
          transition: 0.3s ease;

          .header-menu-bottom__burger {
            span {
              display: block;
              height: 2px;
              background: #ffffff;
              transition: 0.3s ease;

              &:first-child {
                width: 22px;
              }

              &:last-child {
                margin-top: 6px;
                width: 30px;
              }
            }
          }

          &:hover {
            background: #b1c72e;

            .header-menu-bottom__burger {
              span {
                width: 30px !important;
              }
            }
          }
        }

        a {
          color: #ffffff;
          display: block;
          padding: 23px 18.5px;
          font-weight: 700;
          transition: 0.3s ease;

          &:hover {
            text-decoration: underline;
            background: #b1c72e;
          }
        }

        &:last-child {
          padding: 0 20px;
          display: flex;
          justify-content: center;
          align-items: center;
          cursor: pointer;
          transition: 0.3s ease;

          &:hover {
            background: #b1c72e;
          }

          .header-menu-bottom__search {
            height: 24px;
            width: 24px;
            background: url("../img/search-loupe.svg") no-repeat center;
          }
        }
      }
    }
  }
}
