/* Define swatch colours */
:root {
    --primary-light: #29b78d;
    --primary-dark: #2f4d52;
    --secondary-mint: #a1d9d0;
    --secondary-amber: #faa050;
    --secondary-grey: #f3f3f3;
    --secondary-graphite: #333333;
    --secondary-coral: #ff6b6b;
    --text-light: rgb(123, 164, 171);
}

* {
    font-family: Montserrat;
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: var(--secondary-grey);
}

header,
footer,
#topbar {
    display: flex;
    flex-direction: row;
    clear: both;
    min-height: 80px;
    padding: 10px 3%;
    justify-content: space-between;
}

a {
    opacity: 1;
    transition: opacity 0.3s ease;
}
a:hover {
    opacity: 0.7;
}

header {
    background-color: #fff;
}

.logo {
    width: 10%;
    min-width: 100px;
    max-width: 200px;
}

#logout {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    margin-left: -100%;
}

#logout span {
    display: block;
    min-width: 60px;
    font-weight: 600;
    font-size: 0.8em;
    color: var(--text-light);
}

#logout i {
    font-size: 1.8em;
    color: var(--text-light);
}

#top-name {
    width: 30%;
    padding: 10px 2%;
    min-width: 250px;
    color: var(--primary-dark);
}

#page-heading {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 2%;
    width: 70%;
    font-weight: 400;
    color: var(--primary-dark);
}

#page nav {
    width: 30%;
}

#page nav ul {
    list-style: none;
}

#page nav ul li {
    list-style-type: none;
    padding: 10px 3px;
}

#page nav ul li a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

#page nav ul li a i {
    font-size: 1.5em;
    margin-left: 3px;
    margin-right: 3px;
}

.show-chart {
  position: relative;
}

.show-chart::after {
    content: '';
    position: absolute;
    left: 2px;
    right: 2px;
    bottom: 0px;
    height: 2px;
    background: currentColor;
}

.shadow-box {
    
}

#page main {
    display: flex;
    flex-direction: column;
}

footer {
    margin: 10px auto;
}

footer a {
    color: var(--primary-dark);
    font-size: 0.8em;
    font-weight: 600;
    text-decoration: none;
}