body {
    margin: 0;
    padding: 0;
    font-family: 'Ruda', sans-serif;
}

* {
    box-sizing: border-box;
}

.app {
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
}

.title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    box-shadow: 0 10px 6px -6px #777;
    background-color: #f7f7f7;
}

.graphs {
    padding: 10px;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: space-evenly;
}

.graph {
    margin: 10px;
    box-shadow: 0 10px 6px -6px #777;
}

.controls {
    display: flex;
    flex-flow: column nowrap;
    margin: auto;
    padding: 20px 50px;
    box-shadow: 0 10px 6px -6px #777;
    background-color: #f7f7f7;
}

.controls .dimensions {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.control {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.control label {
    margin-right: 20px;
    font-size: 1em;
}

.controls .graph-bounds {
    display: flex;
    flex-flow: row nowrap;
}

/* Style the links inside the pill navigation menu */
.pill-nav a {
    display: inline-block;
    color: black;
    text-align: center;
    padding: 14px;
    text-decoration: none;
    font-size: 17px;
    border-radius: 5px;
}

/* Change the color of links on mouse-over */
.pill-nav a:hover {
    background-color: #ddd;
    color: black;
}

/* Add a color to the active/current link */
.pill-nav a.active {
    background-color: dodgerblue;
    color: white;
}

#plotlyDiv {
    margin: 10px auto;
    /*width: 500px;*/
    /*display: flex;*/
    /*justify-content: center;*/
    /*padding: 10px;*/
}

.controls .heading {
    font-size: 2em;
}

.control .input-box {
    display: flex;
}

.control .input-box input {
    margin-right: 5px;
}

.control .values {
    display: flex
}

.control .values .value {
    margin-right: 5px;
}

.pill-group {
    background: #fafafa;
    border: 1px solid #083851;
    border-radius: 2em;
    display: inline-block;
    padding: .25em;
    margin: 5px;
}

.pill-item {
    display: inline-block;
    position: relative;
}

.pill-item input {
    background: none;
    border: 2px solid;
    height: 100%;
    left: 0;
    opacity: .00001;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
}

.pill-item label {
    border-radius: 2em;
    border: 2px solid transparent;
    color: #083851;
    display: block;
    padding: .25em .75em;
}

.pill-item input:hover ~ label,
.pill-item label:hover {
    background: #E2F1FD;
    border-color: #2196f3;
}

.pill-item input:checked + label:hover,
.pill-item input:checked + label {
    background: #2196f3;
    color: #fff;
}
