html {min-height: 100%;}
body {
    font-family: sans-serif;
    text-align: center;
    font-size: 120%;
    background: #ddd;
}

header {
    max-width: 1000px;
    margin: 30px auto 4px auto;
}
header h1 {
    margin-bottom: 0px;
}

main {
    max-width: 950px;
    margin: 0px auto;
}

.simulation {
    display: grid;
    width: 80%;
    grid-row-gap: 20px;
    justify-items: center;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-areas:
        "summary   summary     summary     summary   summary"
        ".  dist_lbl      dist_slider   dist_value  ."
        "start_btn  start_btn   start_btn    start_btn   start_btn"
        "legend   legend   legend   legend   legend"
        "display   display   display   display  display"
}

#summary {
    grid-area: summary;
    text-align: initial;
    line-height: 1.2;
}

#start {
    grid-area: start_btn;
    padding: 2px 20px;
    height: 40px;
    font-size: 1.2em;
    background: #bc9f9f;
}
#distance_label {
    grid-area: dist_lbl;
    font-size: 1.1em;
}
#slider_div {
    width: 200px;
    grid-area: dist_slider;
}
#sliderLabel {
    grid-area: dist_value;
    font-size: 1.1em;
}

.rangeslider__handle {
    width: 35px !important;
    height: 35px !important;
}

#legend {
    border: 1px solid #111111;
    background: white;
    grid-area: legend;
}

#canvas {
    border: 1px solid #111111;
    background: white;
    grid-area: display;
}

footer {
    /* position: absolute; */
    left: 0;
    bottom: 10px;
    height: 60px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
        ".    copywrite    cookie_link"

}
#copywrite {
    grid-area: copywrite;
    align-self: center;
}
#cookie_link {
    grid-area: cookie_link;
    align-self: center;
    justify-self: end;
    margin-right: 5%;
}

.cookie {
    z-index: 1;
    position: fixed;
    bottom: 80px;
    left: 15%;
    right: 15%;
    width: 70%;
    margin: 0px auto;
    align-items: center;
    background-color: #333;
    color: white;
}
.cookie p, .cookie button {
    z-index: 2;
    display: inline-block;
    padding: 0 20px;
    margin: 15px 15px;
}
.cookie a {
    color: lightblue;
}

.cookie_consent {
    height: 30px;
    border: 1px solid black;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.05em;
    background: #f5f5f5;
}

.cookie_policy {
    width: 90%;
    margin: 0px auto;
}
.cookie_policy p {
    text-align: initial;
    line-height: 1.2;
}
