@import "fonts.css";

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

* {
  margin: 0;
}

input, button, textarea, select {
  font: inherit;
}

body {
  -webkit-font-smoothing: antialiased;
}


body {
    font-family: 'AtkinsonHyperlegibleRegular';
    font-size: 15pt;
    color: var(--border-color-dark);
}

#content {
    display: flex;
    width: 100%;
    height: 100%;
}

#options-panel {
    display: block;
    height: 100%;
    width: 26em;
    flex-shrink: 0;
}

#right-panel {
    position: relative;
    display: block;
    height: 100%;
    width: 100%;
    flex-grow: 1;
}

#dual-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#render-panel, #control-panel, #chart-panel {
    flex-shrink: 0;
}

#browser-warning {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color-light);
    font-size: 0.9em;
    z-index: 999;
}

#browser-warning-contents {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 13em;
    display: flex;
    flex-direction: column;
    gap: 2em;
}

@media (max-width:750px) {
    #options-panel {
        width: 0;
        display: none;
    }
}
