/* html {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
} */



html,
body {
    background-color: var(--bg);
}

body {
    /* width: 100vw; */
    opacity: 1;

    color: var(--fg);
    /* transition: all 0.2s; */
    font-family: 'Courier New', Courier, monospace;
    font-size: large;

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* overflow-x: hidden; */
}

body * {
    opacity: 1;
}

.buttonGroup {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.valign {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

p {
    text-align: justify;
    text-align-last: left;
    margin: 0;
}

a, a:visited {
    transition: all 0.2s;
    color: var(--fgd);
    text-decoration: none;
}

a:hover, .currentPage, .currentPage:visited {
    color: var(--fg);
    text-decoration: underline;
}

.verysmall {
    font-size: x-small;
}

.navSvgBtn {
    height: 23px;
    width: 23px;
    margin-right: 12px;
    margin-left: 12px;
    filter: var(--svgn);
    transition: all 0.2s;
}

.navSvgBtn:hover {
    filter: var(--svgh);
}

.navSvgBtn:active {
    filter: var(--svgn);
}

.spanButton {
    color: var(--fgv);
    transition: all 0.1s;
    cursor: pointer;
    box-sizing: border-box;
}

.spanButton:hover {
    color: var(--fg);
    text-shadow: 0px 0px 5px var(--fg);
}

.spanButton:active,
.navSvgBtn:active {
    transform: scale(0.9);
}

footer {
    /* width: 100vw; */
    background: var(--bgl);
}

header, footer {
    /* width: 100vw; */
    /* height: 7vh; */
    padding: var(--max4v);

    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

footer {
    margin-top: 10vh;
    min-height: 10vh;
}

nav, #rightNav {
    display: flex;
    flex-direction: row;
    justify-content: start;
    /* justify-content: space-around; */
    /* width: 100%; */
}

nav a, nav span {
    margin-right: 10px;
}

nav span {
    color: var(--fgd);
}

.navButton {
    background: transparent;
    cursor: pointer;

    padding: 0;
    margin: 0;
    color: var(--fgd);
    border: none;
    font-size: medium;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
}

.navButton:hover {
    text-decoration: underline;
    color: var(--fg);
}

@media screen and (max-width: 520px) {
    nav, #rightNav {
        flex-direction: column;
    }

    .navSeparator {
        display: none;
    }
}

main {
    width: var(--hSectionW);
    margin: auto;
    /* transition: all 0.2s; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

::placeholder {
    color: var(--wv);
    opacity: 1;
    /* Firefox */
}

::-ms-input-placeholder {
    /* Edge 12 -18 */
    color: var(--wv);
}

/* ----------- SCROLLBAR ----------- */

::-webkit-scrollbar {
    width: 6px;
    background: #00000000;
}

::-webkit-scrollbar:hover {
    background: #00000000;
}

::-webkit-scrollbar-track {
    border-radius: 6px;
    background-color: #00000000;
    border: none;
}

::-webkit-scrollbar-thumb {
    border-radius: 6px;
    border: 1px solid transparent;
    background-clip: content-box;
    background-color: var(--fgd);
    transition: all 0.2s;
}

::-webkit-scrollbar-thumb:hover {
    border-radius: 6px;
    background-color: var(--fg);
}

::-webkit-scrollbar-thumb:active {
    background-color: var(--fgd);
}