html,
.container {
    display: flex;
    height: 100vh;
}

.nav {
    flex: 0 0 10%;
    padding: 20px;
    box-sizing: border-box;
}

.nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav li {
    margin-bottom: 10px;
}

.nav a {
    text-decoration: none;
    color: #333;
}

.nav a:hover {
    color: #007bff;
}

.content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

body {
    background-image: url('/media/background.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    min-height: 100vh;
    border: none;
    padding: 0;
    margin: 0;
    color: #202020;
}

body {
    text-align: center;
    font-family: "Roboto", sans-serif;
}

h1 {
    color: #404040;
}

#startStopBtn {
    display: inline-block;
    margin: 0 auto;
    color: #6060AA;
    background-color: rgba(0, 0, 0, 0);
    border: 0.15em solid #6060FF;
    border-radius: 0.3em;
    transition: all 0.3s;
    box-sizing: border-box;
    width: 8em;
    height: 3em;
    line-height: 2.7em;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.1), inset 0 0 0 rgba(0, 0, 0, 0.1);
}

#startStopBtn:hover {
    box-shadow: 0 0 2em rgba(0, 0, 0, 0.1), inset 0 0 1em rgba(0, 0, 0, 0.1);
}

#startStopBtn.running {
    background-color: #dfbd96;
    border-color: #e7b8f5;
    color: #FFFFFF;
}

#startStopBtn:before {
    content: "Start";
}

#startStopBtn.running:before {
    content: "Abort";
}

#test {
    margin-top: 2em;
    margin-bottom: 12em;
}

div.testArea {
    display: inline-block;
    width: 14em;
    height: 9em;
    position: relative;
    box-sizing: border-box;
}

div.testName {
    position: absolute;
    top: 0.1em;
    left: 0;
    width: 100%;
    font-size: 1.4em;
    z-index: 9;
}

div.meterText {
    position: absolute;
    bottom: 1.5em;
    left: 0;
    width: 100%;
    font-size: 2.5em;
    z-index: 9;
}

#dlText {
    color: #e6c96c;
}

#ulText {
    color: #79ffd7c4;
}

#pingText,
#jitText {
    color: #d5df81;
}

div.meterText:empty:before {
    color: #ececec !important;
    content: "0.00";
}

div.unit {
    position: absolute;
    bottom: 2em;
    left: 0;
    width: 100%;
    z-index: 9;
}

div.testGroup {
    display: inline-block;
}

@media all and (max-width:65em) {
    body {
        font-size: 1.5vw;
    }
}

@media all and (max-width:40em) {
    body {
        font-size: 0.8em;
    }

    div.testGroup {
        display: block;
        margin: 0 auto;
    }
}

#progressBar {
    width: 90%;
    height: 0.3em;
    background-color: #be9292;
    position: relative;
    display: block;
    margin: 0 auto;
    margin-bottom: 2em;
}

#progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    transition: width 2s;
    background-color: #90BBFF;
}