*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --main-color:  #ff1a2e;
  --secondary-color:   #2266ff;
  --alert-color: #ffd600;
  --bg:          #05080f;
  --surface:     #0c1220;
  --border:      #1a2a4a;
  --text:        #f0f4ff;
  --text-dim:    #8899cc;
}

html {
  height: 100%;
  overflow: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Impact', 'Arial Narrow', Arial, sans-serif;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  user-select: none;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

#screens {
  flex: 1;
  min-width: 0;
  position: relative;
  padding: 2rem 2rem 0;
  height: 100dvh;
  box-sizing: border-box;
}

@media (min-width: 1400px) {
  #screens { padding-inline: 8rem; }
}

@media (max-width: 640px) {
  #screens { padding: calc(80px + 1.5rem) 0.75rem 0; }
}

.screen {
  display: none;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.screen.active { display: flex; }
