text: import styled from "styled-components";
  
  export const StyledBurger = styled.div`
    width: 2rem;
    height: 2rem;
    position: fixed;
    top: 5px;
    right: 20px;
    z-index: 40;
    display: none;
    color: #9c9a9a;
  
    @media (max-width: 768px) {
      display: flex;
      justify-content: space-around;
      flex-flow: column nowrap;
      color: white;
      
    }
  
    div {
      width: 2rem;
      height: 0.25rem;
      background-color: ${({ open }) => (open ? "#ccc" : "#ccc")};
      border-radius: 10px;
      transform-origin: 1px;
      transition: all 0.3s linear;
      position: relative;
      
  
      &:nth-child(1) {
        transform: ${({ open }) => (open ? "rotate(45deg)" : "rotate(0)")};
        
      }
  
      &:nth-child(2) {
        transform: ${({ open }) => (open ? "translateX(100%)" : "translateX(0)")};
        opacity: ${({ open }) => (open ? 0 : 1)};
        
      }
  
      &:nth-child(3) {
        transform: ${({ open }) => (open ? "rotate(-45deg)" : "rotate(0)")};
        
      }
    }
  `;
  
  export const Ul = styled.ul`
    list-style: none;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    background-color: black;
    z-index: 20;
  
  
    span {
      color: white;
      display: flex;
      align-items: center;
      &:hover {
        color: rgb(205,147,62);
        cursor: pointer;
        transition: all 200ms ease;
        transform: scale(1.1);
      }
    }
  
    li {
      padding: 18px 10px;
    }
  
    @media (max-width: 768px) {
      flex-flow: column nowrap;
      background-color: rgb(0,0,0);
      position: fixed;
      transform: ${({ open }) => (open ? "translateX(0)" : "translateX(100%)")};
      top: 0;
      right: 0;
      height: 100vh;
      width: 300px;
      padding-top: 3.5rem;
      transition: transform 0.3s ease-in-out;
      li {
        color: #fff;
      }
    }
  `;
  
  export const Nav = styled.nav`
    width: 100%;
    background-color: black;
    border-bottom: 2px solid #f1f1f1;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    img {
      width: 15rem;
      margin: 0.5rem;
    }
  `;
  