html {
    overflow-x: visible;
}

body {
    text-align: left;
    overflow-x: visible;
}

header {
    margin: 1em 2em;
    font-size: 1.6rem;
}

#profile-link {
    text-decoration: underline;
    color: blue;
}

#add-exp {
    margin-top: 1rem;
}

.centered {
    text-align: center;
}

.page-divider {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    gap: 1.2rem;
    padding: 0 1rem;
}

#editor, #preview {
    border-radius: 6px;
    padding: 1.5rem;
    /* width: 65rem; */
    /* width: min(65rem, 90%); could work */
    /* width: min(50rem, 90%); */
    /* width to be min of a relative, and a hardset max */
    /* how to control how much it shrinks before it wraps? could be a flex feature */
    
    /* what ai says v */
    /* flex-basis: 50rem;  */
    /* min-width: 10rem;   */
    flex-shrink: 1;   
}

#editor {
    flex: 0 1 35rem;
}

fieldset {
    border: black 2px solid;
    border-radius: 6px;
}

#filter-groups #circuit-legend, #select-label {
    font-size: 3rem;
}

#filter-groups legend {
    font-size: 2.2rem;
}

.options {
    padding: .5em .8em;
}

#filter-groups input {
    margin-left: 1em;
}

#filter-groups label {
    font-size: 1.7rem;
    white-space: nowrap;
}

#conf {
    font-size: 1.7rem;
}

label[for="year-marched"], #year-marched {
    font-size: 1.8rem;
}

#add-exp input[id="year-marched"] {
    width: 20%;
}

#add-exp input[type="submit"] {
    padding: .3em;
    font-size: 1.6rem;
    border: black solid 2px;
    border-radius: 8px;
    background-color: #ffffff;
}

#preview {
    /* min-width: none; */
    flex: 0 1 55rem;
    background-color: antiquewhite;
    min-height: 30rem;
    border: 2px black solid;
    font-size: 2rem;
}

.year-cont, .groups-cont {
    margin-left: 1.2em;
}

.year-cont {
    margin-bottom: .5em;
}