:root {
    --bg-color: #323437;
    --text-color: #d1d0c5;
    --description-color: rgba(209, 208, 197, 0.75);
    --expression-color: white;
    --underline-color: rgb(69, 115, 139);
    --link-color: #ffffff;
    --link-hover-color: #e4c659;
    --link-background: radial-gradient(rgba(255, 255, 255, 0), rgb(234, 247, 255));
    --link-filter-hover: drop-shadow(.1em .1em .1em rgba(00, 00, 00, 0.2));
    --button-background: radial-gradient(rgba(255, 255, 255, 0), rgba(30, 146, 223, 0.1));
    --button-border-color: rgba(30, 146, 223, .75);
    --button-border-hover-color: rgba(30, 146, 223);
    --card-border-color: #dee2e6;
    --input-background-color: #474c50;
    --card-background-color: #2c2e31;
    --card-filter: drop-shadow(.25em .25em .25em rgba(00, 00, 00, 0.2));
    
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*,
::after,
::before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 0;
    padding: 0;
    margin: 0;
}

body {
    font-size: 1.2vw;
    font-weight: 400;
    min-width: 16em;
    overflow-x: hidden;
    font-family: var(--font-family-sans-serif);
    width: 100%;
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    display: block;
    background: var(--bg-color);
}

footer {
    background-color: var(--bg-color);
    height: 6em;
    bottom: 0;
    left: 0;
    margin-top: 3em;
    color: var(--text-color);

    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 10%;
    padding-right: 10%;
}

main {
    max-width: 48em;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 2em;
    text-align: justify;
}

content {
    margin-left: 1em;
    margin-right: 1em;
    display: block;
}

.description {
    color: var(--description-color);
}

.smaller {
    font-size: 0.9em;
}

div {
    display: block;
}

p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

#contact_info {
    height: 8em;
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
}

a {
    color: var(--main-color);
    background: var(--link-background);
    text-decoration: none;
    cursor: pointer;
    transition: filter .5s, transform .5s;
    display: inline-block;
    background: transparent;
}

a.button {
    border-radius: .2em;
    padding: .4em;
    color: var(--link-color);
    background: var(--button-background);
    border: 1px solid var(--button-border-color);
    padding-left: 1em;
    padding-right: 1em;
    text-transform: uppercase;
    font-size: 1em;
    margin-bottom: .5em;
}

a.button:hover {
    border-color: var(--button-border-hover-color);
}

a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
    background: transparent;

    text-shadow: none;
    box-shadow: none;
    filter: var(--link-filter-hover);
    transition: all 0.5s;
    transform: translateY(-.06em);
}



hl {
    font-size: 1.1em;
    margin-top: 1em;
    margin-bottom: 0.5em;
    display: block;
    border-bottom: solid .1em var(--underline-color);
}

h {
    font-size: 1.1em;
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

ul {
    list-style-type: disc;
    list-style-position: outside;
    margin-left: 1em;
    ;
}

li {
    margin-bottom: 0.2em;
}

iframe {
    border: none;
}

/*
ul.sharp li::before {
    content: "#";
    margin-right: 1em;
}

ul.slash li::before {
    content: "//";
    margin-right: 1em;
}

ul.round li::before {
    content: "•";
    margin-right: 1em;
}

ul.arrow li::before {
    content: ">";
    margin-right: 1em;
}
*/

.grid {
    display: grid;
    gap: 1em;
    grid-template-columns: repeat(auto-fit, minmax(14em, 1fr));
    margin-bottom: 2em;
    margin-top: 2em;
    row-gap: 2em;
}

.grid>div {
    text-align: center;
    vertical-align: middle;
}

.grid>div>img {
    height: 6em;
    object-fit: scale-down;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
    border: 1px solid var(--card-border-color);
    border-radius: .25em;
    justify-content: center;
    background-color: var(--card-background-color);
    /*filter: var(--card-filter);*/
}

.card>* {
    padding: .2em;
    padding-left: 1em;
    padding-right: 1em;
}

.card>table {
    border-top: 1px solid var(--card-border-color) !important;
}

td:first-child {
    text-align: right;
    color: var(--description-color);
    padding-right: 0.5em;
    vertical-align: top;
    white-space: nowrap;
}

td:last-child {
    text-align: left;
}

.slider {
    display: flex;
    text-align: center;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.slides {
    display: flex;
    overflow-x: auto;
    -ms-scroll-snap-type: x mandatory;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.slides>div {
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    height: 100%;
    scroll-snap-align: start;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--card-border-color);
    border-radius: .25em;
    align-items: center;
    margin-left: .5em;
    margin-right: .5em;
}

.slides>div.one {
    width: 100%;
}

summary:focus {
    outline-style: none;
}

input {
    border: 1px solid var(--card-border-color);
    border-radius: .25em;
    padding: .5em;
    margin-bottom: 1em;
    font-size: 1em;
    color: var(--text-color);
    font-family: var(--font-family-monospace);
    background-color: var(--input-background-color);
}

center {
    align-content: center;
    justify-content: center;
}

@media screen and (max-width: 49em) {
    body {
        font-size: 80%;
    }

    main {
        width: 80%;
    }
}

::-webkit-scrollbar {
    height: .7em;
    width: .7em;
    background: transparent;
    z-index: auto;
    overflow: visible;
}

::-webkit-scrollbar-thumb {
    width: .7em;
    background-color: rgba(0, 0, 0, 0.3);

    z-index: auto;
    border: .17em solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
    margin: .17em;
}

::-webkit-scrollbar-thumb:hover {
    width: .7em;
    background-color: rgba(0, 0, 0, 0.5);

    z-index: auto;
    border: .1em solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
    margin: .1em;
}

::-webkit-scrollbar-thumb:hover:active {
    width: .7em;
    background-color: rgba(0, 0, 0, 0.7);

    z-index: auto;
    border: .1em solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
    margin: .1em;
}