:root {
    --dark: #333;
    --light: #dddddd;
    --corebackgroundDM: #2e2d2d;
    --corebackgroundLM: #dddddd;
    --textdefaultcolorDM: #dddddd;
    --textdefaultcolorLM: #333;
    --logoPrimaryColor: #354818;
    --logoPrimComp: #669422;
    --logoSecondaryColor: #BDD974;
    --logoSecComp: #768C3C;
    --dropshadowDM: 1px 2px 3px rgba(255, 255, 255, .5);
    --dropshadowLM: 1px 2px 3px rgba(0, 0, 0, .5);
    --farestawayshadowLM: 0.2rem 0.1rem 0.1rem rgba(0, 0, 0, 0.9);
    --midgroundshadowLM: 0.3rem 0.25rem 0.2rem rgba(0, 0, 0, 0.2);
    --closestyshadowLM: 0.6rem 0.5rem 0.4rem rgba(0, 0, 0, 0.6);
    --hoverstatecolorDM: rgb(255, 255, 255, 0.4);
    --hoverstatecolorLM: rgb(0, 0, 0, 0.4);
    --titledropshadowDM: 0.6rem 0.5rem 0.4rem rgba(212, 212, 212, 0.8);
    --titledropshadowLM: 0.6rem 0.5rem 0.4rem rgba(90, 63, 63, 0.8);
    --LogoSize: min(18vw, clamp(80px, 5.5vw, 300px));
    --LogoSizeSlim: clamp(2em, 2.8vw, 6em);
    --LogoHeight: min(54vw, clamp(240px, 16.5vw, 900px));
    --banrConnectWidth: min(20em, 40vw);
    --banConRtDesk: calc(50% - 370px);
    --banrCoverWidth: min(12em, 25vw);
    --banCovRtDesk: calc(50% - 80px);
    --navStart: calc(50% - 500px);
    --headerHeight: min(10vh, 80px);
    --headerShrink: calc(1em + min(18vw, 240px));
}

@font-face {
    font-family: BFNarrow;
    src: url();
}

@import url('https://fonts.googleapis.com/css?family=Sen&display=swap');

@media (prefers-color-scheme: dark) {
    html {
        color: var(--textdefaultcolorDM)
    }

    body {
        background-color: var(--corebackgroundDM);
    }

    .title-banner {
        filter: drop-shadow(var(--titledropshadowDM))
    }

    .ribbon-banner {
        background-color: var(--textdefaultcolorDM);
    }

    .artist-name {
        box-shadow: var(--dropshadowDM);
    }

    .cover-set-float {
        box-shadow: var(--dropshadowDM);
    }

    footer {
        background-color: var(--textdefaultcolorDM);
    }

    .grid-logoNav-container {
        box-shadow: var(--dropshadowDM);
    }

    .logoNav-Login:hover {
        background-color: var(--hoverstatecolorDM);
    }
}

html {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--textdefaultcolorLM);
    height: 100%;
}

body {
    display: block;
    margin: 0;
    background-color: var(--corebackgroundLM);
    height: 100%;
    line-height: 1.4;
    max-width: 100vw;
}

header {
    overflow: visible;
    margin: 0;
    padding: 0;
    z-index: 200;
    width: 100vw;
    height: 2rem;
}

main {
    position: sticky;
    top: 2em;
    z-index: 1;
    width: auto;
    max-width: 100vw;
    margin: auto;
    height: calc(calc(100% - 2em) - 5%);
    background-size: cover;
}

select {
    max-width: 100%;
}

main>div {
    height: 100%;
}

/*
 *  Footer Area
*/
footer a:link {
    color: rgb(235, 235, 235);
    text-decoration: none
}

footer a:visited {
    color: rgb(235, 235, 235);
    text-decoration: none
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    background-color: var(--textdefaultcolorLM);
    box-shadow: var(--shadowBBarLM);
    line-height: 1.1;
    height: 1rem;
    max-height: 40px;
    font-size: 1vmax;
    text-align: center;
    z-index: 200;
}

footer ul li {
    display: inline;
}

*,
*::before,
*::after {
    box-sizing: inherit;
    z-index: inherit;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *  Header Area
*/
.ribbon-banner {
    width: 100vw;
    height: 1rem;
    background-color: var(--hoverstatecolorDM);
    box-shadow: var(--dropshadowLM);
    z-index: 5;
    position: absolute;
    top: 1rem;
}

/*
#headerarea {
    height: var(--headerHeight);
}
*/
.logoNav-area {
    display: grid;
    width: var(--LogoSize);
    height: var(--LogoSize);
    max-height: var(--LogoHeight);
    position: absolute;
    top: 0.5%;
    left: calc(1vw + var(--LogoSizeSlim) / 2);
    grid-area: 1 / 1 / span 1 / span 1;
    overflow: visible;
    z-index: 201;
}

.logoNav-area.shrink {
    width: var(--LogoSizeSlim);
    height: var(--LogoSizeSlim);
    overflow: hidden;
}

.logoNav-logo {
    background-image: url("/imag/head/CCLogo_Logo_NAV.webp");
    background-size: 100% 100%;
    height: var(--LogoSizeSlim);
    width: var(--LogoSizeSlim);
    position: absolute;
    object-fit: contain;
    top: 0;
    left: 0;
    z-index: 204;
    cursor: grab;
    transition: all 1s;

}

.logoNav-nav {
    position: relative;
}

.menuhint {
    display: none;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: -7px;
    z-index: 201;
}

/*
.logoNav-area:hover .menuhint {
    display: inline-block;
    -webkit-animation: logo-bounce 1.5s linear forwards;
    animation: logo-bounce 1.5s linear forwards;
    animation-iteration-count: infinite;
}
*/
.grid-logoNav-container.clickedit {
    height: var(--LogoHeight);
    opacity: 1;
}

.logoNav-logo.shrink {
    width: 90%;
    height: 90%;
    margin: 0 5% 5%;
}

/*
.grid-logoNav-container:hover {
    height: var(--LogoHeight);
    opacity: 1;
}
*/
.grid-logoNav-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 2fr 2.75fr 1.25fr;
    box-shadow: var(--midgroundshadowLM);
    width: var(--LogoSize);
    height: var(--LogoSize);
    max-height: var(--LogoHeight);
    aspect-ratio: 2/6;
    opacity: 0;
    transition: 1s;
    z-index: 202;
    background: -webkit-linear-gradient(174deg, white 50%, grey 67%, black 68%, transparent 70%),
        -webkit-linear-gradient(to top, #BDD974 22%, black);
    background: -o-linear-gradient(174deg, white 50%, grey 67%, black 68%, transparent 70%),
        -o-linear-gradient(to top, #BDD974 22%, black);
    background: -moz-linear-gradient(174deg, white 50%, grey 67%, black 68%, transparent 70%),
        -moz-linear-gradient(to top, #BDD974 22%, black);
    background: linear-gradient(174deg, white 50%, grey 67%, black 68%, transparent 70%),
        linear-gradient(to top, var(--logoSecondaryColor) 22%, var(--logoPrimaryColor) 32%);
}

.logoNav-characters {
    position: inherit;
    opacity: 90;
    grid-area: 1 / 1 / span 2 / span 1;
    height: 100%;
    width: inherit;
    aspect-ratio: 2/4.75;
    z-index: 203;
    filter: drop-shadow(-4px -3px 3px rgba(0, 0, 0, 0.5))
}

/*
.logoNav-characters:hover {
    box-shadow: 0 5px 15px rgba(92, 182, 126, 0.6);
    opacity: 90;
}
*/
.nav-home,
.nav-dash,
.nav-ccset {
    position: relative;
    z-index: 205;
    height: 33%;
    width: 100%;
    text-align: center;

}

.nav-link {
    font-size: clamp(1.5rem, 2.4vw, 4rem);
}

nav {
    position: absolute;
    z-index: 204;
    top: 32%;
    height: 48%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

nav>a:link {
    color: var(--logoSecondaryColor);
}

/* visited link */
nav>a:visited {
    color: var(--logoSecondaryColor);
}

/* mouse over link */
nav>a:hover {
    color: black;
    text-shadow: 2px 2px 4px #000000;
}

nav>a {
    text-shadow: -5px 1px 1px var(--logoPrimaryColor);
}

/* selected link */
nav>a:active {
    color: blue;
}

.grid-logoNav-sub {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    grid-template-rows: 100%;
    height: 100%;
    width: inherit;
    max-width: inherit;
    aspect-ratio: 2/1.25;
    position: relative;
    z-index: 203;
}

.logoNav-Login {
    position: inherit;
    grid-area: 1 / 1 / span 1 / span 1;
    background-size: cover;
    height: 100%;
    max-width: 100%;
    aspect-ratio: 1.25/1.25;
    cursor: pointer;
    z-index: 204;
}

.logoNav-Login:hover {
    box-shadow: 0 5px 15px rgba(92, 182, 126, 0.6);
}

.login-view {
    background-image: url("/imag/head/CCLogin_Logo_NAV.webp");
    background-size: 100% 100%;
}

.logout-view {
    background-image: url("/imag/head/CCLogout_Logo_NAV.webp");
    background-size: 100% 100%;
}

.logoNav-certs {
    position: inherit;
    grid-area: 1 / 2 / span 1 / span 1;
    background-image: url("/imag/head/CCCode_Logo_NAV.webp");
    background-size: cover;
    height: 100%;
    max-width: 100%;
    aspect-ratio: 0.75/1.25;
    z-index: 204;
}

img {
    object-fit: cover;
}

/* * * * * * * * * ** * * * ** * * * ** * * * ** * * * ** * * * *
 *  Banner Area
*/
#connectbanner,
#coverbanner {
    position: absolute;
    top: 0px;
}

.title-banner {
    width: auto;
    height: auto;
    object-fit: fill;
    filter: drop-shadow(var(--closestyshadowLM))
}

.connect-banner {
    right: min(12em, 29vw);
    height: 2em;
    max-width: var(--banrConnectWidth);
}

.cover-banner {
    right: 1em;
    height: 2em;
    max-width: var(--banrCoverWidth);
}

.fa {
    padding: 14px;
    font-size: 30px;
    width: 40px;
    height: 40px;
    text-align: center;
    text-decoration: none;
    vertical-align: bottom;
    margin: 2px 2px;
}

.contain-dashboard {
    align-content: center;
    margin: auto;
    max-width: 80%;
    text-align: center;
    margin-bottom: 5px;
}

.contain-dashboard .dash-link {
    background: #354818;
    color: white;
    border: 1px solid grey;
    padding: 6px;
    min-width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    text-align: center;
}

.contain-error {
    font-weight: bold;
    font-size: large;
}

#artistCloud {
    height: 100%;
    width: 100%;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * The alert message box 
 */
.notifications {
    background-color: #d5cb43;
    color: black;
    position: fixed;
    top: 20px;
    width: 100%;
    z-index: 201;
    opacity: 0;
    border-radius: 4px;
    padding: 5px;
    margin: 0;
    height: 26px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    animation: notifybrief ease 2s;
    -webkit-animation: notifybrief ease 2s;
    -moz-animation: notifybrief ease 2s;
    -o-animation: notifybrief ease 2s;
    -ms-animation: notifybrief ease 2s;
}

.notifications>span {
    position: relative;
    margin: 0;
    width: 96%;
}

.alert {
    position: relative;
    background-color: #d5cb43;
    /* Red */
    color: black;
}

/* The close button */
.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
    color: black;
}

@media only screen and (min-height:1100px) and (max-width: 750px) {

    .grid-logoNav-container {
        height: 18vh;
        max-height: 180px;
        width: 6vh;
        max-width: 60px;
        aspect-ratio: 2/6;
    }

    .grid-container {
        grid-template-rows: 180px;
        height: 180px;
    }

    .logoNav-logo {
        height: 6vh;
        max-height: 60px;
    }
}

@media only screen and (min-width: 768px) {
    .grid-container {
        grid-template-columns: auto auto;
        grid-template-rows: auto;
        margin: auto;
        height: auto;
    }
}

@media only screen and (min-width: 1000px) {
    .grid-container {
        grid-template-columns: 120px 880px;
        grid-template-rows: 23vh;
        height: 23vh;
    }
}

@keyframes logo-bounce {

    0%,
    100% {
        opacity: 0.9;
    }

    50% {
        opacity: 0.1;
    }
}

@keyframes notifybrief {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-moz-keyframes notifybrief {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-webkit-keyframes notifybrief {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-o-keyframes notifybrief {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-ms-keyframes notifybrief {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}