body, li, ul, pre {
    padding: 0;
    margin: 0;
}

body {
    background-color: white;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
    font-size: 20px; /*16 seems default*/

}

h1 {
    font-family: 'Roboto Slab', serif;
    color: #73C6B6;
    width: 100%;
    margin: 0 auto;
    padding-top: 1em;
    padding-bottom: 1em;
}

a,
a:visited {
    color: #73C6B6;
}

.app-wrapper, nav {
    min-width: 12.5em;
    max-width: 21em;
    margin: 0 auto;
}

section {
    height: 100vh;
    margin-bottom: 10em;
    background-color: white;
    color: #2b2d42;

}

nav {
    width: 100%;
    height: 4.5em;
    position: fixed;
    bottom: 0;
    display: flex;
    justify-content: center;

    /*background-color: #2b2d42;*/
    color: white;
    background-color: #8d99ae;
    /*background-color: #edf2f4;
    background-color: #ef233c;
    background-color: #d90429;*/

    box-shadow: 0 0px 1px #2b2d42;


}

.nav-container {
    width: 100%;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-self: center;
    
}

.nav-item a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 2.2rem;
    color: white;
}

.nav-item a:hover {
    /*color: #ef233c;*/
    font-size: 110%;
}

#timewrapper {
    margin: auto;
    height: 4em;
    padding-bottom: 1em;
}

.hms {
    font-size: 260%;
    text-align: center;
}

.ms {
    font-size: small;
    transform: translate(calc(-4px - 100%), 100%);
    display: inline-block;
}

.interval {
    border-bottom: 1px solid #edf2f4;
    font-size: large;
}

.active {
    font-weight: bold;
}

ul.intervallist {
    list-style-type: none;
    padding: 0 2em;
    margin: 1em 0;
    color: black;
    /*position: relative;*/
    /*left: 0;*/
    text-align: left;
    /* flexbox my parent, let me groooow */
    max-height: calc(100vh - 15.5em - 4.5em);
    overflow-y: auto;
}

.about {
    overflow-y: auto;
    max-height: calc(100vh - 4.5em);
}

.about p, 
.about pre {
    text-align: left;
    margin-left: 1em;
    margin-right: 1em;
}


.about pre {
    white-space: pre-line;
}

.about p:last-of-type {
    margin-bottom: 0;
}


.btn-primary {
    background-color: #ef233c;
}

.btn-secondary {
    background-color: #8d99ae;
}

.btn {
    display: inline-block;
    outline: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-style: 14px/100%;
    padding: .5em 2em .55em;
    text-shadow: 0 1px 1px rgba(0,0,0,.3);
    border-radius: .5em;
    box-shadow: 0 1px 2px rgba(0,0,0,.2);
    margin-right: 1em;
    margin-left: 1em;
    color: #edf2f4;
}
.btn:hover {
	text-decoration: none;
}
.btn:active {
	position: relative;
	top: 1px;
}

.qrcode {
    display: block;
    margin: auto;
}