body,h1,h2,h3,h4,h5,h6,hr,p,figure,blockquote,dl,dd{margin:0; font-size:17px;}

body {
    height: 100vh;
    display:grid;
    grid-template-rows: auto 1fr auto;
    background-color: #526273;
    color: white;
    font-family: sans-serif;
}

header, footer {
    display: flex;
    flex-flow: column;
    align-items: center;
    margin: 10px 0 20px 0;
    padding: 0 10px 0 10px;
}

h1 {
    font-size: 2em;
}

main {
    border-style: solid;
    align-items: center;
    border-width: 1px 0 1px 0;
    padding: 20px 0 1px 0;
    display: flex;
    flex-flow: column;
}

.tracker_box {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    height: 200px;
    width: 100%;
}

.slider_box {
    width: 100%;
    max-width: 300px;
}

.slider {
    width: 100%;
    accent-color: white;
}


button {
    width: 80px;
    height: 80px;
    font-size: 2em;
    margin: 0 5px 0 5px;
    background-color: transparent;
    border: 1px dashed;
    text-align: center;
    border-radius: 10px;
    color: white;
}

.selected {
    border: 3px solid;
}

button:active {
    background-color: white;
    color: #2a404c;
}


.value_box {
    display: flex;
    width: 100px;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.label p {
    font-size: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.value p {
    font-size: 3em;
    display: flex;
    justify-content: center;
    align-items: center;
}

a {
    color: white;
}

#links {
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
}

#credits {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#credits p {
    margin: 3px 0 3px 0;
}

.link_box {
    margin: 0 5px 10px 5px;
}
