@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --color-green: #39a96b;
    --color-yellow: #f4d35e;
    --color-turquoise: #35c9b8;
    --color-surface: #f6fff8;
    --color-surface-strong: #ebfff4;
    --color-text: #164236;
}

/* Text */

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

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

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

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

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 var(--color-green);
    background-color: var(--color-surface);
    top: 20vh;
}

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

/* Rest */

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

body {
    background: radial-gradient(circle at top right, var(--color-yellow), rgba(244, 211, 94, 0) 45%),
                linear-gradient(135deg, #d4f5d7 0%, #baf0e8 55%, #e8ffd7 100%);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    color: var(--color-text);
}

#header {
    background: linear-gradient(180deg, var(--color-surface-strong) 0%, #dbfaec 100%);
    border-right: 2px solid #a8e7c5;
    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;
}

button {
    border: 1px solid #4ea56f;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--color-green) 0%, #2f8f59 100%);
    color: #f7fff7;
    cursor: pointer;
}

button:hover {
    filter: brightness(1.06);
}

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

