:root {
    --accent: #0d6efd;
    --primary: #212529;
    --secondary: #d9d9d9;
  
    --light-text: #EEE;
    --light-text-hover: #AAA;
    --dark-text: #333;
    --dark-text-hover: #666;
  
    --body-light: #EEE;
    --bs-body-bg: var(--body-light) !important;
  
    --header-height: 3rem;
    --footer-height: 3rem;
  
    --bs-font-sans-serif: 'Kanit', sans-serif !important;
    --header-font: 'Josefin Sans', sans-serif;
}

h1 {
    font-size: 2rem !important;
    font-family: var(--header-font);
}

h2 {
    font-size: 1.6rem !important;
    font-family: var(--header-font);
}

h3 {
    font-size: 1.4rem !important;
    font-family: var(--header-font);
}

h4 {
    font-size: 1.2rem !important;
    font-family: var(--header-font);
}

h5 {
    font-size: 1rem !important;
    font-family: var(--header-font);
}

.body {
    color: var(--dark-text);
}

.accent {
    background-color: var(--accent);
    color: var(--light-text);
}

.primary {
    background-color: var(--primary);
    color: var(--light-text);
}

.secondary {
    background-color: var(--secondary);
    color: var(--dark-text);
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

.filled-icon {
    font-variation-settings:
        'FILL' 100,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

/* Body, Header, & Footer */

body {
    min-height: 100vh;
    position: relative;
    margin: 0;
    background-color: inherit;
    background-color: var(--body-light);
}

header,
footer {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: var(--primary);
    color: var(--light-text);
}

.content-wrap {
    padding-bottom: calc(var(--footer-height) + 50px);
    padding-top: calc(var(--header-height) + 50px);
}

header {
    height: var(--header-height);
    padding: 0.5rem;
    justify-content: flex-start;
}

footer {
    height: var(--footer-height);
    position: absolute;
    bottom: 0;
    justify-content: center;
}

header .logo {
    height: 90%;
    width: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-right: 1rem;
    text-decoration: none;
    cursor: pointer;
}

header .logo span {
    color: var(--light-text);
}

header .logo:hover {
    color: var(--light-text-hover);
}

header .logo:hover span {
    color: var(--light-text-hover);
}

header .logo:hover img {
    filter: brightness(55%);
}

.logo img {
    height: 100%;
}

header .logo img {
    margin-right: 0.5rem;
}

header .logo span {
    font-family: 'Advent Pro', sans-serif;
    font-weight: 500;
}

.logo-font {
    font-family: 'Advent Pro', sans-serif;
    font-weight: 500;
}

header .pages {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

header .navigation {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

header .navigation a {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: var(--light-text);
    cursor: pointer;
}

header .navigation a:hover {
    color: var(--light-text-hover) !important;
}

@media screen and (min-width: 481px) {
    header .navigation a:not(:last-child)::after {
        content: 'chevron_right';
        font-family: 'Material Symbols Outlined';
        font-weight: normal;
        font-style: normal;
        font-size: 24px;
        line-height: 1;
        letter-spacing: normal;
        text-transform: none;
        display: inline-block;
        white-space: nowrap;
        word-wrap: normal;
        direction: ltr;
        -webkit-font-feature-settings: 'liga';
        -webkit-font-smoothing: antialiased;
        color: var(--light-text) !important;
    }
}

@media screen and (max-width: 480px) {
    header .navigation a {
        display: none;
    }

    header .navigation a:nth-last-child(2) {
        display: block;
        width: 2.5rem;
        font-size: 0;
    }

    header .navigation a:nth-last-child(2)::before {
        content: 'arrow_back';
        font-family: 'Material Symbols Outlined';
        font-weight: normal;
        font-style: normal;
        font-size: 24px;
        line-height: 1;
        letter-spacing: normal;
        text-transform: none;
        display: inline-block;
        white-space: nowrap;
        word-wrap: normal;
        direction: ltr;
        -webkit-font-feature-settings: 'liga';
        -webkit-font-smoothing: antialiased;
        color: var(--light-text);
        cursor: pointer;
    }

    header .navigation a:nth-last-child(2):hover::before {
        color: var(--light-text-hover) !important;
    }

    header .navigation {
        justify-content: flex-end;
    }
}

header .pages a {
    text-decoration: none;
    margin: 0.5rem;
}

header .pages a:not(:hover) {
    color: var(--light-text);
}

header .pages a:hover {
    color: var(--light-text-hover);
}

header .account {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

header .account details:not([open]) summary.user-icon::after {
    content: 'person_outline';
}

header .account details[open] summary.user-icon::after {
    content: 'close';
}

header .account summary.user-icon {
    color: var(--light-text);
    cursor: pointer;
}

header .account summary.user-icon:hover {
    color: var(--light-text-hover);
}

header .account details {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header .account details div.account-menu {
    position: absolute;
    background-color: var(--primary);
    top: calc(var(--header-height) - 1rem);
    right: 0;
    padding: 1rem;
    border-radius: 0.5rem;
    width: min-content;
    border: 2px solid var(--light-text-hover);
    white-space: nowrap;
    z-index: 90000;
}

header .account details div.account-menu div:not(.profile-pic) {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0.25rem;
    font-weight: 500;
}

header .account details div.account-menu div.profile-pic {
    width: 24px;
    height: 24px;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 0.25rem;
}

header .account details div.account-menu div.profile-pic img {
    width: 100%;
    object-fit: cover;
}

header .account details div.account-menu div span {
    margin-right: 0.25rem;
}

header .account details div.account-menu div:not(:first-child):hover {
    color: var(--light-text-hover);
    cursor: pointer;
}

header .account details div.account-menu div:first-child {
    border-bottom: 1px solid var(--light-text);
    cursor: default;
}

header .account a {
    margin-right: 2.5rem;
    color: var(--light-text);
    text-decoration: none;
    display: flex !important;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0.25rem;
    font-weight: 500;
}

header .account details div.account-menu a.remove-a-styling:hover {
    color: var(--light-text-hover);
}

.error-message,
.denial {
    color: red;
}

.acceptance {
    color: green;
}

.remove-a-styling {
    text-decoration: none;
    color: inherit;
}