import styled from "styled-components";
export const Line = styled.span `
  margin: 4px 0;
  display: block;
  width: 100%;
  height: 2px;
  background: #002445;

  transition: 0.2s;
`;
export const Container = styled.div `
  position: relative;
`;
export const Button = styled.button `
  width: 22px;
  height: 16px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  z-index: 100;

  ::before,
  ::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #002445;
    transition: all 0.2s;
  }

  &.opened::before {
    transform: translateY(-4px) rotate(45deg);
  }
  &.opened::after {
    transform: translateY(-6px) rotate(-45deg);
  }
`;
export const Content = styled.div `
  position: absolute;
  z-index: 100;
  right: 0;
  top: 24px;
  display: flex;
  flex-direction: column;
  cursor: default;
  background: ${({ theme }) => theme.new?.burger?.contentBackground ?? "unset"};
  border-top: ${({ theme }) => theme.new?.burger?.borderTop ?? "unset"};

  &.hidden {
    display: none;
  }

  @media (max-width: 1023px) {
    position: fixed;
    top: 47px;
    left: 0px;
    right: 0px;
    touch-action: none;
    width: 100%;
    min-height: calc(100vh - 47px);
    z-index: 100;
    padding: 20px;
    overflow-y: scroll;
    background: white;
  }
`;
//# sourceMappingURL=burger.styled.js.map