import styled from 'styled-components';

export const HomeWrap = styled.div`
  width: 100%;
  //height: 100vh;
  //display: flex;
  //justify-content: center;
  //align-items: center;
  //flex-direction: column;
  .home-grid {
    position: relative;
    max-width: 1190px;
    height: 34rem;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 2rem 0 0 0;
    margin: 0 auto;
    //padding: 2rem 12rem 0 12rem;
    //.half {
    //  height: calc((100% - 1rem) / 2);
    //  width: 25rem;
    //  background: lightblue;
    //  margin-bottom: 1rem;
    //  &:last-child {
    //    margin-bottom: 0;
    //  }
    //}
  }
  .home-wrap {
    position: relative;
    max-width: 1190px;
    //height: 34rem;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    //flex-wrap: wrap;
    flex-direction: column;
    padding: 1rem 0 0 0;
    margin: 0 auto;
  }
  //// 媒体查询
  //@media screen and (min-width: 1600px) {
  //  .home-grid {
  //    padding: 2rem 20rem 0 20rem;
  //  }
  //}
  //@media screen and (max-width: 1300px) {
  //  .home-grid {
  //    padding: 2rem 3rem 0 3rem;
  //  }
  //}
`;
