@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* Text */

body, html {
    font-size: 22px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 350;
}

p, td, th, small, .text-xs {
    font-family: 'Karla', sans-serif;
    font-weight: 300;
}

#header > .balance-form > input, button {
    font-family: 'Karla', sans-serif;
    font-weight: 250;
}

h1 {
	font-size: 2.986rem;
}

h2 {
	font-size: 2.488rem;
}

h3 {
	font-size: 2.074rem;
}

h4 {
	font-size: 1.728rem;
}

h5 {
	font-size: 1.44rem;
}

h6 {
	font-size: 1.2rem;
}

input, button {
    font-size: 1.1rem;
}

p {
	font-size: 1rem;
}

small {
	font-size: 0.833rem;
}

.text-xs {
	font-size: 0.694rem;
}

/* Table */

table {
    border-collapse: collapse;
    border: 0.5px solid #000000;
    background-color: #fffff2;
    top: 20vh;
}

td, th {
    border: 0.3px solid #333333;
    padding: 6px;
}

/* Rest */

* {
    margin: 0 auto;
    padding: 0;
}

body {
    background-color:blanchedalmond;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

#header {
    background-color: #edff9c;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    margin-bottom: 0;
    margin-left: 0;

    height: 100vh;
    width: 40vw;
}

#header > h1, #header > h2 {
    text-align: left;
    margin: 0;
    top: 25vh;

    position: relative;
    margin-bottom: 12px;
    margin-left: 10px;
}

#header .balance-form {
    position: relative;
    top: 25vh;
    margin-top: 12px;
    margin-left: 10px;
}

#statistics {
    width: auto;
    margin-left: auto;
    margin-top: 20px;
}

#statistics table {
    margin: 0;
    top: 20vh;
    position: relative;
}
