@import 'style/shared/variables.scss'; .modal { background-color: rgba(0,0,0,0.2); position: fixed; top: 0; bottom: 0; left: 0; right: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; .close { position: absolute; top: 3px; right: 8px; font-size: 18px; font-weight: 200; cursor: pointer; } }