import styled, { css } from 'styled-components/macro' import { isMobileDevice } from 'config/userAgent' import { Logo } from 'features/Logo' import { ButtonSolid } from 'features/Common' export const ScWrapper = styled.div` background: #333333; min-width: 100%; min-height: 100%; display: flex; justify-content: center; align-items: center; ` export const ScBody = styled.div` background: #333333; display: flex; justify-content: center; align-items: center; flex-direction: column; padding: 0 20px; ${isMobileDevice ? css` padding: 20px; ` : ''}; > * { margin: 30px 0; ${isMobileDevice ? css` margin: 20px 0; ` : ''}; } ` export const ScLogo = styled(Logo)` height: 43px; width: 184px; filter: brightness(0.5); ${isMobileDevice ? css` height: 30px; width: 130px; ` : ''}; ` export const ScTitle = styled.span` font-weight: 700; font-size: 34px; line-height: 39px; color: #ffffff; text-align: center; ${isMobileDevice ? css` font-weight: 700; font-size: 18px; line-height: 25px; ` : ''}; ` export const ScText = styled.span` font-weight: 400; font-size: 20px; line-height: 28px; color: #ffffff; text-align: center; ${isMobileDevice ? css` font-weight: 500; font-size: 16px; line-height: 10px; color: rgba(255, 255, 255, 0.7); ` : ''}; ` export const ScButton = styled(ButtonSolid)` min-width: 236px; width: auto; height: 50px; background-color: ${({ theme: { colors } }) => colors.button}; color: ${({ theme: { colors } }) => colors.white}; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3); border-radius: 5px; font-weight: 600; font-size: 20px; ${isMobileDevice ? css` height: 50px; min-width: 300px; font-size: 16px; ` : ''}; :disabled { opacity: 0.5; } `