body { margin: 0; padding: 0; background-color: #303030; color: #FFF; font-family: "Press Start 2P"; } .login { padding: 15%; display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100vh; box-sizing: border-box; .wrapper { width: 100%; input { margin-bottom: 1em; width: 100%; display: block; } button { width: 100%; display: block; } } } .back_only { width: 100%; display: flex; justify-content: flex-end; .back { border: none; color: #FFF; background-color: rgba(0,0,0,0); text-align: right; width: 30px; margin: 0; padding: 0; } } .main { margin: 0 auto; max-width: 1000px; header { width: 100%; margin-top: 1em; padding: 1em 3em; display: flex; justify-content: space-between; } .body { padding: 0 1em; button { width: 48%; margin: 0 1%; box-sizing: border-box; } .stats { margin: 1em 0; box-sizing: border-box; } .quest { width: 100%; display: flex; flex-direction: column; .quest_element { margin: 1em 0; display: flex; width: 100%; justify-content: space-between; align-items: center; flex-wrap: wrap; input[type="text"] { width: 80%; } .radios { width: 80%; display: flex; flex-direction: row; justify-content: space-between; } button { width: 30%; } } } .quests { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; .quests_head { margin: 0 2.5%; width: 100%; display: flex; justify-content: space-between; h2 { text-align: left; } .back { border: none; color: #FFF; background-color: rgba(0,0,0,0); text-align: right; width: 30px; margin: 0; padding: 0; } } .quest_tile { width: 45%; text-align: center; margin: 2.5%; } } } } .nes-list.is-circle li::before { color: #FFF; } .loader { width: 100%; display: flex; justify-content: center; align-content: center; } .full_screen { height: 100vh; } @media (max-width: 900px) { .main { header { padding: 1em 1em; } .body { div { button { width: 98%; margin: 0.25em 1%; } } .quest { .quest_element { flex-direction: column; justify-content: flex-start; align-items: flex-start; label { text-align: left; } input[type="text"] { width: 100%; } .radios { width: 100%; flex-direction: column; justify-content: flex-start; } button { width: 100%; } } } .quests { .quest_tile { width: 95%; } } } } }