import styled from 'styled-components';

export const HeaderWrap = styled.div`
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 3rem;
  -webkit-backdrop-filter: saturate(68%) blur(16px);
  backdrop-filter: saturate(68%) blur(16px);
  background: rgba(86, 86, 86, 0.25);
  .header-wrap {
    position: relative;
    max-width: 1190px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
  }
  //padding: 0 12rem;
  .header-location {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    .location-icon {
      margin: 0 0 0.2rem 0;
    }
    .location-address,
    .location-hello {
      font-size: 12px;
      font-weight: 400;
      color: #ffffff;
    }
    .location-hello {
      width: 8rem;
    }
  }
  .header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    .nav-action,
    .nav-tab {
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }
    .nav-tab {
      .tab-item {
        //font-size: 0.67rem;
        font-weight: 500;
        color: #ffffff;
        margin-left: 1rem;
      }
      .tab-item:active,
      .tab-item:hover {
        color: #ff552d;
      }
    }
    .nav-action {
      margin-left: 1rem;
      .action-item {
        margin-left: 0.33rem;
      }
    }
  }
  // 媒体查询
  @media screen and (min-width: 1600px) {
    padding: 0 20rem;
  }
`;
