html {
    scroll-behavior: smooth;
}

body {
    /* background-image: url("../images/clouds-dark.webp");*/
    background-image: url("../images/snowynight-pexels.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #99ccff;
}

div.emstatus {
    background-color: rgba(0, 255, 0, 0.1);
    color: lime;
    width: 70px;
    padding: 2px;
    border-radius: 30px;
    font-size: x-small;
    font-weight: bold;
    box-shadow: 0px 0px 15px rgba(0, 255, 0, 0.3);
    float: right;
    text-align: center;
}

h1 {
    line-height: 1.1em;
    font-size: x-large;
}

table {
    background-color: rgba(81, 114, 152, 0.3);
    margin-top: 25px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    font-size: medium;
    backdrop-filter: blur(4px);
}

caption { /* Table caption */
    background-color: rgba(81, 114, 152, 0.5);
    font-weight: bold;
    font-size: large;
    padding: 10px;
    border-bottom: 1px solid rgba(95, 192, 253, 0.6);
}

th {
    background-color: rgba(81, 114, 152, 0.3);
    padding: 10px;
    text-align: start;
    border-bottom: 1px solid rgba(95, 192, 253, 0.6);
}

td {
    background-color: rgba(81, 114, 152, 0.3);
    padding: 10px;
}

td:hover {
    background-color: rgba(81, 114, 152, 0.6);
}

a {
    color: #99ccff;
}

div.topstrip {
    background-color: #3a3d65;
    background-color: rgba(58, 61, 101, 0.5);
    padding: 5px;
    text-align: center;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.15s ease-out, transform 1.15s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-side {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1.15s ease-out, transform 1.15s ease-out;
}

.fade-in-side.visible {
    opacity: 1;
    transform: translateX(0);
}

div.sidebutton {
    position: relative;
    cursor: pointer;
    width: auto;
    border-bottom: 1px solid rgba(115, 115, 115, 0.1);
    padding: 10px;
    font-size: 14px;
}

div.sidebutton:hover {
    background-color: #fafafa;
}

a.sidebuttoncont {
    text-decoration: none;
}

pre {
    background-color: #3a3d65;
    padding: 9px;
}

code {
    white-space: normal;
    overflow: auto;
}

@keyframes fadein {
    from {opacity: 0;}
    to {opacity: 1;}
}

.smalltext {
    font-size: small;

}

p.landingcard {
    text-align: center;
    font-size: x-large;
}

div.top_menu {
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6px);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 1px;
    border-top: 1px solid rgba(153, 204, 255, 0.1);
    position: fixed;
    top: 49px;
    left: 0;
    width: 100%;
    z-index: 103;
}

a.toplink {
    color: #99ccff;
    font-weight: bold;
    text-decoration: none;
    background-color: rgb(0, 0, 0, 0.3);
    text-align: center;
    padding: 5px;
    border-left: 1px solid rgba(153, 204, 255, 0.1);
}

a.toplink:hover {
    background-color: rgba(5, 58, 101, 0.4);
}

#sidemenu {
    z-index: 107;
    animation: fadein 1s;
    display: none;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(7px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    left: 0;
    top: 51px;
    margin-left: 0px;
    width: 15%;
    max-height: 90%;
    overflow: auto;
    font-size: 12px;
}

img.cardicon {
    animation: fadein 2s;
    width: 400px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.poptext {
    color: #00e6f8;
}

.cardpoptext {
    color: #00e6f8;
    font-size: large;
    float: right;
}

.bluepoptext {
    color: aqua;
}

#category {
    background-color: #5c3cec;
    padding: 10px;
    width: auto;
    color: #cddcfc;
}

div.viewfinder {
    animation: fadein 1s;
    background-color: rgba(48, 50, 62, 0.7);
    backdrop-filter: blur(6px);
    width: auto;
    color: #f0f2f5;
    font-size: 12pt;
    position: fixed;
    height: 18px;
    right: 0;
    bottom: 49px;
    padding: 10px;
    word-wrap: break-word;
    text-align: end;
}

.authorsection {
    background-color: #383848;
    padding: 10px;
}

input {
    background-color: rgba(0, 30, 50, 0.5);
    border: none;
    height: 30px;
}

header {
    width: 100%;
    left: 0;
    top: 0;
    position: fixed;
    color: #e8edf4;
    z-index: 106;
}

img.headerlogo {
    margin-top: 4px;
    width: 120px;
}

.logo {
    color: #b8dffd;
}

#fullwidthimgcont {
    background-color: #505167;
    padding-bottom: 10px;
    width: 100%;
}

img.fullwidth {
    width: 100%;
    height: auto;
}

#fullwidthcaption {
    margin-left: 5px;
    padding: 7px;
    width: auto;
    font-size: 12pt;
}

.bigsymbol {
    font-size: large;
}

.bigletter {
    font-size: medium;
}

div.topbar {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    z-index: 107;
}

#mainview {
    background-color: rgba(13, 15, 23, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(153, 204, 255, 0.2);
    margin-top: 120px;
    margin-left: auto;
    margin-right: auto;
    padding: 15px;
    width: 60%;
    font-size: 18px;
    line-height: 26pt;
    margin-bottom: 40px;
    color: #cddcfc;
}

div.fullwidthcard {
    opacity: 0;
    animation: fadein 2s ease-in forwards;
    backdrop-filter: blur(4px);
    width: auto;
    height: auto;
    padding: 11px;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(81, 114, 152, 0.3);
    border-radius: 14px;
}

div.fullwidthcard:hover
{
    background-color: rgba(81, 114, 152, 0.6);
}

a:link {
    font-size: 13pt;
    text-decoration: none;
}

button {
    padding: 11px;
    margin-top: 10px;
    margin-bottom: 20px;
    width: 100px;
    background-color: black;
    border: none;
    text-transform: uppercase;
    color: #FFFFFF;
}

h2.heading {
    text-align: center;
}

img.sideicon {
    cursor: pointer;
    width: 16px;
    height: auto;
    padding: 0px;
    margin-right: 10px;
}

button:hover {
    opacity: 0.8;
}

/* --- Start of device specific styles --- */

/* Screens over 4K. This setting is really intended for 5K screens */

@media screen and (min-width: 4000px) {
    h2 {
        line-height: 40pt;
    }

    div.topbar {
        height: auto;
        padding: 11px;
    }

    .logo {
        font-weight: bold;
        font-size: 15pt;
    }


    div.sidebar {
        display: inline-block;
    }

    img {
        width: inherit;
        height: auto;
    }

} /* End of 4K (and upwards) settings */

/* 4K and 1920px screens */

@media screen and (max-width: 4000px) {
    h2 {
        line-height: 40pt;
    }

    div.topbar {
        height: auto;
        padding: 11px;
    }

    .logo {
        font-weight: bold;
        font-size: 17pt;
    }

    div.sidebar {
        display: inline-block;
    }

    img {
        width: inherit;
        height: auto;
    }

    img.sideicon {
        cursor: pointer;
        width: 15px;
        height: auto;
    }

} /* End of 4K screen block */

/* 1600px screens */

@media screen and (max-width: 1600px) {
    h2 {
        line-height: 40pt;
    }

    div.top_menu {
        top: 44px;
    }

    div.fullwidthimgcont {
        background-color: #e8edf4;
        padding-bottom: 10px;
        width: 100%;
    }

    img.fullwidth {
        width: 100%;
        height: auto;
    }

    .fullwidthcaption {
        margin-left: 5px;
        padding: 7px;
        width: auto;
        font-size: 12pt;
    }

    div.topbar {
        height: auto;
        padding: 11px;
    }

    .logo {
        font-weight: bold;
        font-size: 14pt;
    }
/*
    #mainview {
        margin-top: 80px;
        margin-left: auto;
        margin-right: auto;
        padding: 15px;
        width: 75%;
        font-size: 18px;
        line-height: 26pt;
    }
*/
    #sidemenu {
        border: 1px solid rgba(0, 0, 0, 0.1);
        display: none;
        position: fixed;
        left: 0;
        top: 45px;
        margin-left: 0px;
        width: 15%;
        max-height: 90%;
        overflow: auto;
        font-size: 12px;
    }

    div.sidebar {
        display: inline-block;
    }

    img {
        width: inherit;
        height: auto;
    }

    img.sideicon {
        cursor: pointer;
        width: 16px;
        height: auto;
    }
}

/* ---------- 1280 pixel screens and under ---------- */

@media screen and (max-width: 1280px) {
    div.topbar {
        height: auto;
        padding: 11px;
    }

    div.top_menu {
        top: 49px;
    }

    h1 {
        font-size: large;
    }

    h2 {
        line-height: 38pt;
    }

    h3 {
        font-size: medium;
    }

    .logo {
        font-size: 17pt;
        font-weight: bold;
    }

    #mainview {
        margin-top: 100px;
        margin-left: auto;
        margin-right: auto;
        width: auto;
        overflow-anchor: none;
        font-size: 14pt;
        line-height: 28pt;
    }

    #sidemenu {
        display: none;
        position: fixed;
        left: 0;
        top: 51px;
        margin-left: 0px;
        width: 50%;
        max-height: 90%;
        overflow: auto;
    }

    img {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        height: auto;
    }

    img.sideicon {
        width: 16px;
        margin-right: 10px;
    }

    button:hover {
        opacity: 0.8;
    }
}

@media screen and (max-width: 1024px) {
    div.top_menu {
        top: 49px;
    }
}

@media screen and (max-width: 640px) {
    img.cardicon {
        animation: fadein 2s;
        width: 200px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    div.top_menu {
        top: 49px;
    }

    #mainview {
        margin-top: 95px;
    }

    a.toplink {
        font-size: medium;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        font-size: medium;
    }

    div.top_menu {
        top: 43px;
    }

    #sidemenu {
        top: 46px;
    }
}