@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Quicksand:wght@300..700&display=swap');

h1,h2,h3,h4,h5,h6 {
    margin-bottom: 6px;
}

td {
    text-align: center;
    border: 2px solid;
}

th {
    text-align: center;
    border: 2px solid;
    color: white;
}

table {
    /*background: linear-gradient(0deg, rgb(247, 207, 139), rgb(111, 168, 209));*/
    background: linear-gradient(0deg, rgba(247, 208, 139, 0.65), rgba(111, 168, 209, 0.65));
    border-radius: 4px;
    border: 2px solid black;
}

img, iframe {
    display: block;
    border: 2px solid white;
    border-radius: 6px;
    margin: 16px auto 0px auto;
    background-color: white;
}

/* nav {
    margin: auto;
    height: 64px;
    width: 100%;
    position: fixed;
    top: 0;
    overflow: hidden;
} */

nav {
    background-color: rgba(24, 24, 24, 0.95);
    /*width: 100%;*/
    box-sizing:border-box;
    height: auto;
    padding: 16px;
    position: sticky;
    top: 0;
    margin: 0px;
}

/* nav a {
    background-color: aquamarine;
    border: 2px solid cadetblue;
    border-style: inset;
    background-color: rgb(169, 143, 204);
    border: 2px solid rgb(130, 97, 173);
    border-radius: 12px;
    color: black;
    font-family: "Nunito";
    font-size: 24px;
    font-kerning: none;
    font-weight: 300;
    text-decoration: none;
    letter-spacing: 4px;
    padding: 8px;
    margin: 6px;
    transition-duration: 0.3s;
    height: 100%;
} */

nav a {
    /* background-color: aquamarine;
    border: 2px solid cadetblue; */
    background-color: rgb(169, 143, 204);
    border: 2px solid rgb(130, 97, 173);
    border-radius: 16px;
    color: rgb(64, 64, 64);
    font-size: 32px;
    font-kerning: none;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 2px;
    transition-duration: 0.4s;
    margin: 8px;
    padding: 8px;
}

nav.scrolled a {
    font-size: 16px;
    margin: 4px;
    border-radius: 24px;
}

nav a._currentpage {
    font-weight: 600;
    color: black;
}

nav a:hover {
    /*font-size: 24px;*/
    letter-spacing: 12px;
    font-weight: 800;
    color: black;
}

nav.scrolled a:hover {
    letter-spacing: 6px;
}

body {
    background-color: rgb(16, 16, 16);
    margin: 0;
}

div#content {
    margin: 0px auto 0px auto;
    background-color: rgb(32, 32, 32);
    padding: 16px;
    width: 50%;
    min-width: min-content;
}

div#page_scroll {
    background-color: rgba(8, 8, 8, 0.5);
    position: sticky;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    bottom: 16px;
    right: 16px;
    float: right;
    filter: opacity(0);
    transition-duration: 0.4s;
}

div#page_scroll.scrolled {
    filter: opacity(1);
}

div#page_scroll.up {
    background-image: url("images/page_up.png");
    background-size: cover;
}

div#page_scroll.down {
    background-image: url("images/page_down.png");
    background-size: cover;
}

html {
    color: white;
    text-align: center;
    justify-content: center;
    font-family: "Quicksand";
    font-weight: 400;
    scroll-behavior: smooth !important;
}

ul {
    padding-left: 0px;
    list-style-type: none;
    display: table;
    margin: auto;
}

ul.page_contents {
    text-align: left;
    margin-left: 0px;
    top: 0;
}

ul.page_contents li {

}

table {
    margin: auto;
}

a {
    color: rgb(130, 97, 173);
    transition-duration: 0.5s;
    text-decoration: none;
}

a:hover {
    /*font-size: 1.2em;*/
    color: rgb(193, 145, 255);
    letter-spacing: 4px;
    font-weight: 900;
}

footer {
    font-weight: 700;
    background-color: rgb(24, 24, 24);
    width: fit-content;
    padding: 8px;
    margin: 0px auto 0px auto;
    /*border-radius: 4px;*/
    width: 50%;
    min-width: min-content;
    padding: 8px 16px;
}

::-moz-selection {
    color: white;
    background: rgb(193, 145, 255);
}

::selection {
    color: white;
    background: rgb(193, 145, 255);
}