:root {
    --bg: #212121;
    --fg: #e6e6e6;
    --button: #1976d2;
}

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: var(--bg);
    color: var(--fg);
    font-family: Montserrat, "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
}

hr {
    background-color: #6f6f6f;
    border: none;
    height: 1px;
    max-width: 300px;
    margin-left: 0px;
}

.main-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100vh;
    width: calc(100% - 10vw);
    padding-left: 10vw;
}

.main-menu {
    height: 2rem;
    margin: 2rem 0;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;

    .space {
        width: 20vw;
    }

    .h1 {
        font-size: 2rem;
        line-height: 2rem;
    }

    .button {
        padding: 6px 27px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        background-color: var(--button);
        border-radius: 30px;
        line-height: 43px;
        margin-right: 10vw;
    }
}

.container {
    position: relative;
    display: flex;
    flex-direction: row;
    height: calc(100% - 6rem);
}

main {
    flex-grow: 1;
    padding: 32px;
    overflow-y: auto;
    line-height: 1.7;
    padding-right: 10vw;
}

aside {
    box-sizing: border-box;
    flex-shrink: 0;
    position: sticky;
    top: 40px;
    padding-right: 12px;
    overflow-y: auto;
    max-width: 350px;
    margin: 0px 20px 40px 0px;

    ul {
        margin: 0;
    }
}

.sidebar-nav {
    list-style: none;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.sidebar-nav {
    a {
        padding: 4px;
        line-height: 2;
    }
}

main img {
    max-width: 70%;
    align-self: center;
    border-radius: 8px;
}

main .icon {
    font-size: 2.2rem;
    vertical-align: middle;
    color: var(--fg);
}

.img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-style: italic;
    font-size: small;
    padding: 24px 0px;
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
}


a {
    text-decoration: none !important;
}

a:link {
    color: var(--fg);
}

/* Visited link */
a:visited {
    color: var(--fg);
}

/* Mouse over link */
a:hover {
    color: var(--fg);
}

/* Selected/Active link */
a:active {
    color: var(--fg);
}

/* Firefox (uncomment to work in Firefox) */
/* * {
  scrollbar-width: thin;
  scrollbar-color: #A7A7A7 #6C7172;
} */

/* Chrome, Edge and Safari */
*::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

*::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: #6C7172;
}

*::-webkit-scrollbar-track:hover {
    background-color: #898F90;
}

*::-webkit-scrollbar-track:active {
    background-color: #8E9495;
}

*::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #A7A7A7;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: #D2D2D2;
}

*::-webkit-scrollbar-thumb:active {
    background-color: #AFAFAF;
}