@font-face {
    font-family: "Lato";
    src: 
        url("/assets/fonts/lato/Lato-BlackItalic.ttf") format("truetype"),
        url("/assets/fonts/lato/Lato-Black.ttf") format("truetype"),
        url("/assets/fonts/lato/Lato-BoldItalic.ttf") format("truetype"),
        url("/assets/fonts/lato/Lato-Bold.ttf") format("truetype"),
        url("/assets/fonts/lato/Lato-Italic.ttf") format("truetype"),
        url("/assets/fonts/lato/Lato-LightItalic.ttf") format("truetype"),
        url("/assets/fonts/lato/Lato-Regular.ttf") format("truetype"),
        url("/assets/fonts/lato/Lato-ThinItalic.ttf") format("truetype"),
        url("/assets/fonts/lato/Lato-Thin.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}

* {
    color: var(--text-color);
    font-family: lato-regular, sans-serif;
    box-sizing: inherit;
}

body {
    background-color: var(--background-color);
}

main {
    position: absolute;
    left: 50%;  
    transform: translate(-50%, 0%);
    min-height: 110vh;
    width: 90%;
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    background-color: var(--menu-bg);
    width: 100vw;
}

a {
    color: var(--unfocused);
    text-decoration: none;
}

a:hover {
    color: var(--focused);
}

button {
    color: var(--text-color-inverted);
    background-color: var(--unfocused);
    text-decoration: none;
    border: none;
}

button:hover {
    color: var(--text-color);
    background-color: var(--focused);
}

.content_container {
}


.login {
    zoom: 150%;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
}

.login h1 {
    font-size: 30px;
    text-align: center;
    margin-top: -20px;
    margin-bottom: 1%;
}

.login img {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.login form {
    width: 100%;
    text-align: center;
}

.login input {
    text-align: left;
    font-size: 15px;
    background-color: var(--background-color);
    border: none;
    border-bottom: 2px solid var(--unfocused);
    transition: border-bottom 0.2s ease-out;
}

.login input:focus {
    outline: none;
    border-bottom: 2px solid var(--focused);
}

.login input:required {
    border-bottom: 2px solid var(--focused);
}   

.login input[required]:invalid {
    border-bottom: 2px solid var(--unfocused);
}

.login input[type=text] {
    background-image: url("/assets/img/id-card-negated.png");
    background-position: 5% center;
    background-repeat: no-repeat;
    background-size: 15px 15px;
    text-indent: 15%;
}

.login input[type=password] {
    background-image: url("/assets/img/key-negated.png");
    background-position: 5% center;
    background-repeat: no-repeat;
    background-size: 15px 15px;
    text-indent: 15%;
}

.login input[type=submit] {
    text-align: center;
    width: 30%;
    background-color: var(--background-color);
    transition: border-bottom 0.2s ease-out;
}

.login input[type=submit]:hover {
    border-bottom: 2px solid var(--focused);
}

.side_by_side {
    display: flex;
    justify-content: center;
}

.error {
    text-align: center;
}

.error h1 {
    font-size: 300%;
}

.error h2 {
    font-size: 200%;
}

.error p { 
    font-size: 150%;
    font-weight: bold;
}

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--menu-bg);
}

.navbar li {
    float: left;
    border-right: 1px solid var(--menu-border);
}

.navbar li:first-child {
    border-right: none;
}

.navbar li:last-child {
    float: right;
    border-right: none;
}

.navbar img {
    object-fit: contain;
    width: 80px;
    margin: auto;
}

.navbar a {
    display: block;
    padding: 8px;
    font-size: 130%;
    text-align: center;
    color: var(--text-color-inverted);
    background-color: var(--unfocused);
}

.navbar a:hover {
    color: var(--text-color);
    background-color: var(--focused);
}

.usercard {
    border-radius: 10px;
    border: 3px solid var(--unfocused);
}

.usercard img {
    display: block;
    margin-top: 2%;
    margin-bottom: 2%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    max-width: 70%;
}

.usercard h1 {
    margin-top: 0%;
    text-align: center;
    font-size: 150%;
    background-color: var(--unfocused);
    color: var(--text-color-inverted);
}

.usercard p {
    font-size: 90%;
    font-weight: 700;
}

.chart {
    width: 50%;
}

.button_row {
    text-align: left;
    padding-top: 1%;
    padding-bottom: 1%;
}

.button_row button {
    font-size: 100%;
    margin-left: 5%;
    width: 15%;
    border-radius: 4px;
}

