import styled from 'styled-components' import {rem, zIndex} from '../../style/function.style' export const ModalContainer = styled.div` position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: ${zIndex('modal')}; .m-mask { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0, 0, 0, 0.4); z-index: 0; } p { text-align: justify; } .m-resultModal{ position: absolute; width: ${rem(540)}; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); border-radius: ${rem(10)}; background: #fff; .inner { padding: ${rem(50)} ${rem(56)}; } .title { margin-bottom: ${rem(30)}; font-size: ${rem(34)}; color: #595550; line-height: 1; text-align: center; h2 { font-weight: bold; } em { font-weight: bold; color: #ED6460; } } .content { font-size: ${rem(28)}; color: #545454; text-align: center; line-height: 1.5; p { margin-bottom: ${rem(32)}; } .text-s { margin: ${rem(-10)} 0 ${rem(8)}; font-size: ${rem(24)}; color: #8A8886; } em { margin: 0 ${rem(10)}; font-size: ${rem(40)}; font-weight: bold; color: #ED6460; } } .btn-close { display: block; width: 100%; height: ${rem(86)}; line-height: ${rem(86)}; font-size: ${rem(34)}; color: #4DA8F7; text-align: center; border-top: 1px solid rgba(0, 0, 0, .05); } } `