html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    box-sizing: border-box;
    overflow: hidden;

    font-family: "Sora", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

body {
    display:grid;    
    grid-template-columns:  minmax(50%, 1fr) auto;
}

main {
    // flex: 1 0;
    position: relative;
}

svg {
    width: 100%;
    height: 100%;
}

.comparison {
    flex: 1 0 auto;
}

dialog {
    margin: 20px;
}

dialog > button {
    position: absolute;
    top: 10px;
    right: 10px;
}

::backdrop {
    background-color: rgba(0,0,0,0.3);
}

.sbs {
    
    display: grid;
    grid-template-columns: 50% 50%;

}

.tooltip {
    border-radius: 5px;
    background: #fff;
    color: #333;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
    padding: 0.2rem;    
}

.tooltip h4, .tooltip p {
    margin: 0;
}

.tooltip p.discipline {
    font-size: 80%;
}

aside {
    background: #ccc;
    display: flex;
    flex-direction: column;
    
    padding: 1rem 1rem;
    max-height: 100vh;

    overflow: scroll;
}

.controls {
    display: flex;
    flex-direction: column;
}

.controls > label {
    margin: 1rem 0;
}

div.about {
    justify-self: end;
    font-size: 0.6rem;
}

.selected {
    fill: #800;
}

.connected {
    stroke: #800;
}

.disciplines {
    display: flex;
    flex-direction: column;
}

.disciplines > label {
    margin-left: 1em;
    text-indent: -1em;
}