* {
    box-sizing: border-box;
}

body {
    font-family: "Gill Sans", sans-serif;
    font-size: 14px;
    padding: 15px 0;
}

a {
    text-decoration: none;
}

h1 {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
}

#coordinates {
    font-weight: normal;
    font-size: 0.9rem;
    color: #aaa;
}

#map {
    width: 100%;
    height: 50vh;
    margin-bottom: 30px;
}

.btn-logout {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #9b3b3e;
    background-color: #d35155;
    color: #fff;
}

button[type="submit"] {
    display: block;
    width: 100%;
    margin: 0 auto;
    border: 0;
    border-radius: 4px;
    background-color: #815f88ff;
    color: #fff;
    text-align: center;
    padding: 10px 15px;
    font-size: 1.3rem;
}

.form-control {
    display: block;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    padding: 10px 15px;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

#video {
    border-radius: 4px;
    box-shadow: 0 0 3px rgba(127, 127, 127, 0.5);
    width: 100%;
    height: 240px;
}

#photo {
    border-radius: 4px;
    box-shadow: 0 0 3px rgba(127, 127, 127, 0.5);
    width: 100%;
}

#canvas {
    display: none;
}

.camera {
    width: 100%;
    display: block;
}

.output {
    width: 100%;
    display: block;
    vertical-align: top;
}

#startbutton {
    display: block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    bottom: 32px;
    background-color: rgba(0, 150, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0px 0px 1px 2px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    font-family: "Lucida Grande", "Arial", sans-serif;
    color: rgba(255, 255, 255, 1.0);
}