import styled, { css } from 'styled-components/macro' import { devices } from 'config/devices' import { isMobileDevice } from 'config/userAgent' export const Wrapper = styled.div` width: 100%; height: calc(100vh - 115px); margin: 20px 0px 0 10px; display: flex; @media ${devices.tablet} { width: 100%; flex-direction: column; margin: 0; } ${isMobileDevice ? css` @media (max-width: 750px) { margin-top: 50px; } @media screen and (orientation: landscape) { flex-direction: row; justify-content: space-between; margin-left: 10px; margin-top: 55px; width: 100vw; } ` : ''}; ` export const Container = styled.div` width: 100%; max-width: 2090px; max-height: 896px; display: flex; flex-direction: column; @media ${devices.tablet} { flex-grow: 0; max-width: 100%; } ${isMobileDevice ? css` width: 100%; max-width: 100%; margin-right: 0; padding: 0; margin-bottom: 15px; min-height: 32vh; @media screen and (orientation: landscape){ display: block; margin-bottom: 0; } ` : ''}; `