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` height: calc(100vh - 40px); @media screen and (orientation: landscape) { flex-direction: row; } ` : ''}; ` export const Container = styled.div` width: 100%; max-width: 2090px; max-height: 896px; display: flex; flex-direction: column; position: relative; @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: min-content; @media screen and (orientation: landscape){ display: block; margin-bottom: 0; } ` : ''}; `