@import '~meyer-reset-scss'; html { background: $background-color; font-size: 62.5%; } body { -webkit-font-smoothing: antialiased; box-sizing: border-box; font-family: system-ui, -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 1.4rem; height: 100vh; padding: $unit * 2 !important; &.no-scroll { overflow: hidden; } } #__next { height: 100%; } main { min-height: 90%; } a { text-decoration: none; } button, input { font-family: system-ui, -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif; } h1, h2, h3, p { color: $grey-00; } h1 { font-size: 2.1rem; font-weight: $medium; text-align: center; } #Content { display: flex; flex-direction: column; gap: $unit * 3; margin-top: $unit * 3; min-width: 752px; @media (max-width: $medium-screen) { min-width: auto; width: 100%; } } .Overlay { background: rgba(0, 0, 0, 0.6); position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 20; } .Dialog { animation: 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0s 1 normal none running openModal; background: white; border-radius: $unit; display: flex; flex-direction: column; gap: $unit * 3; height: auto; min-width: $unit * 48; min-height: $unit * 12; padding: $unit * 3; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 21; .DialogHeader { display: flex; } .DialogClose { background: transparent; height: 21px; width: 21px; &:hover { cursor: pointer; svg { fill: $grey-00; } } svg { fill: $grey-10; } } .DialogTitle { font-size: $font-large; flex-grow: 1; } .DialogDescription { flex-grow: 1; } .actions { display: flex; justify-content: flex-end; width: 100%; } } @keyframes openModal { 0% { opacity: 0; transform: translate(-50%, -48%) scale(0.96); } 100% { // opacity: 1; transform: translate(-50%, -50%) scale(1); } }