:root
{
    --sub-base-color: hsl(225deg 10% 16%);
    --main-color: hsl(225deg 100% 76%);
}

body
{
    background: hsl(0deg 0.22% 10.21%);
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    min-height: 100vh;
    scroll-behavior: smooth;
    overflow: hidden;
}
header
{
    height: 50px;
    width: 100vw;
    grid-area: header;
    z-index: 200;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: hsl(0deg 0% 14% / 90%);
    flex: 0 0 50px;
}
button
{
    all: unset;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}
input
{
    all: unset;
}
hr
{
    width: 100%;
    margin-bottom: 40px;
    margin-top: 15px;
    border: 1px solid hsl(0deg 0.96% 19.5%);
    height: 0;
    grid-area: hr;
}
a
{
    text-decoration: none;
    color: hsl(224.5deg 100% 76.47%);
}
.hidden-inputs
{
    display: none;
}
.hidden-inputs:checked + .filter-row-toggle::after
{
    left: 28px;
}
.hidden-inputs:checked + .filter-row-toggle
{
    background: var(--main-color);
}
div#loading-overlayer 
{
    position: fixed;
    top: 0;
    left: 0;
    height: 101vh;
    width: 101vw;
    background: hsl(0deg 0% 15.75%);
    z-index: 100;
    color: hsl(216deg 7.41% 45%);
    display: inherit;
}
div#loading-overlayer svg
{
    height: 155px;
    margin: max(60px, 30vh) auto;
    padding: 29px;
    border-radius: 5px;
}
@keyframes logo-rotate {
    from { transform: rotate(0) translate(22.8%, 22.8%); }
    to { transform: rotate(364deg) translate(22.8%, 22.8%); }
}
.logo-active-element
{
    color: hsl(224.5deg 100% 76.47%);
    animation: logo-rotate 1s infinite;
    transform-origin: center;
}

@keyframes slideOut 
{
    from { transform: scaleY(0) translateY(-10px); }
    to { transform:  scaleY(100%) translateY(0); }    
}

.header-language-options
{
    position: fixed;
    right: 5px;
    top: 55px;
    background-color: hsl(0deg 0% 14% / 90%);
    width: 300px;
    z-index: 5;
    padding: 20px;
    border-radius: 5px;
    box-shadow: -3px 3px 10px black;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    transform-origin: top;
    animation: slideOut 200ms;
}
.header-lang-button
{
    width: 100%;
	height: 60px;
	font-family: 'Corben', 'Arial Narrow', Arial, sans-serif;
	color: white;
	opacity: 0.5;
    display: grid;
    grid-template-areas: 
        "sname name"
        "sname desc";
    grid-template-columns: min-content auto;
    margin: 10px 0;
    transition: .3s;
}
.header-lang-button:not(:disabled):hover
{
	background-color: hsl(225deg 7.14% 21.96%);
    opacity: 0.9;
    border-radius: 5px;
}
.header-lang-button:not(:disabled):hover > .header-lang-short
{
    border-right: 2px solid var(--main-color);
}
.header-lang-short
{
    grid-area: sname;
    font-size: 20px;
    width: 50px;
    text-align: center;
    align-self: center;
    border-right: 2px solid hsl(0, 0%, 38%);
    padding: 10px;
    margin-right: 10px;
    pointer-events: none;
}
.header-lang-full
{
    grid-area: name;
    font-size: 16px;
    align-self: end;
    pointer-events: none;
}
.header-lang-desc
{
    grid-area: desc;
    font-size: 13px;
	color: hsl(0, 0%, 51%);
    pointer-events: none;
}
#header-language-select
{
    color: hsl(0, 0%, 64%);
    font-size: 15px;
    font-weight: bold;
    border-left: 1px solid hsl(0, 0%, 27%);
    opacity: 0.7;
    margin-top: 2px;
    padding: 10px 15px;
    position: relative;
    font-family: 'Roboto';
    transition: .3s;
}
#header-language-select:hover
{
    color: aliceblue;
}
#header-language-select::after
{
    content: "‹";
    position: absolute;
    right: 3px;
    overflow: hidden;
    width: 7px;
    font-size: 20px;
    transform: rotate(-90deg) translateX(50%);
}

#header-language-select:active::after
{
    margin-top: 1px;
}

#header-user-account-select 
{
    height: 35px;
    width: 35px;
    border-radius: 100%;
    border: 2px solid hsl(239deg 19% 28%);
    overflow: hidden;
    opacity: 0.7;
    transition: 300ms;
    margin-right: 10px;
}
#header-user-account-select:hover
{
    border: 2px solid hsl(239deg 19% 30%);
}
#header-user-account-select:active
{
    transform: scale(.93) translateY(3px);
}
#header-user-account-select > img
{
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}
.header-user-account-options
{
    position: absolute;
    z-index: 5;
    background-color: hsl(0deg 0% 15.69%);
    width: 250px;
    top: 55px;
    right: 25px;
    overflow: hidden;
    border-radius: 5px;
    padding: 10px 20px 40px;
    animation: slideOut 200ms;
    transform-origin: top;
    box-shadow: -3px 3px 10px black;
}
.user-account-options-header
{
    width: 100%;
	height: 37px;
	padding: 13px 5px;
    display: grid;
    grid-template-areas: 
        "img name"
        "img email";
    grid-template-columns: min-content 1fr;
    color: hsl(221deg 55% 93%);
    font-family: sans-serif;
    pointer-events: none;
    margin-bottom: 10px;
}
.user-account-options-header-img
{
    grid-area: img;
    height: 40px;
    width: 40px;
    border-radius: 20px;
    overflow: hidden;
    margin-right: 15px;
}
.user-account-options-header-name
{
    grid-area: name;
    font-size: 17px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: inherit;
}
.user-account-options-header-email
{
    grid-area: email;
    font-size: 12px;
    opacity: 0.3;
    margin-top: -5px;
}
.header-account-menu-select
{
    display: flex;
    color: white;
    width: 100%;
    height: 40px;
    transition: 300ms;
    align-items: center;
    font-family: 'Roboto';
    padding: 0px 11px;
    box-sizing: border-box;
    border-radius: 5px;
}
.header-account-menu-select:hover
{
    background-color: hsl(225deg 7.14% 21.96%);
}
.header-account-menu-select > img
{
    height: 65%;
    max-width: 75px;
    filter: invert(1);
    margin-right: auto;
    opacity: 0.3;
    color: transparent;
}

.header-user-login-options
{
    background-color: hsl(0deg 0% 0% / 70%);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 50px;
}

@keyframes jumpOut 
{
    from { transform: translateY(30px) scale(.96); }
    to { transform:  translateY(0) scale(1); }
}

#user-login-options-form
{
    width: 100vw;
    height: 100vh;
    margin: 0;
    background: hsl(0deg 0% 15.69%);
    padding: 55px;
    box-sizing: border-box;
    position: relative;
    animation: jumpOut 300ms;
}
.user-login-options-input
{
    background: hsl(238deg 4% 23%);
    width: 100%;
    height: 45px;
    margin: 9px 0;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 30px;
    font-family: sans-serif;
    color: aliceblue;
    font-size: 14px;
}
.user-login-options-submit
{
    background: var(--main-color);
    padding: 10px 0;
    border-radius: 40px;
    font-family: sans-serif;
    text-transform: uppercase;
    display: block;
    margin: 5px auto;
    width: 100%;
    text-align: center;
    font-size: 15px;
    height: 22px;
    position: relative;
    transition: 300ms;
}
.user-login-options-submit:hover
{
    color: #ffffff;
}
.user-login-options-submit:hover
{
    transform: translateX(0.98);
}
.user-login-options-submit:disabled
{
    background-color: transparent;
    color: #ffffff;
    cursor: default;
}

@keyframes awaitTimer 
{
    from { width: 200px; }
    to { width: 3px; }    
}

.user-login-options-submit:disabled::after
{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: center;
    height: 3px;
    width: 3px;
    border-radius: 3px;
    background: var(--main-color);
    animation: awaitTimer 12s;
}
.user-login-title 
{
    color: aliceblue;
    font-family: 'Roboto';
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    margin: 10px;
}
.user-login-text 
{
    color: aliceblue;
    font-size: 11px;
    margin: 19px 5px 6px;
    font-family: sans-serif;
    text-transform: capitalize;
}

#header-user-login-select
{
	color: rgb(0 0 0);
    font-size: 14px;
    font-weight: bolder;
    font-family: 'Roboto';
    background: var(--main-color);
    padding: 5px 14px;
    border-radius: 5px;
    margin: 13px 12px;
    transition: 500ms;
    text-transform: uppercase;
}
#header-user-login-select:hover
{
    color: #ffffff;
}
#header-user-login-select:active
{
    transform: scale(.98);
}
.header-menus
{
	color: hsla(0,0%,100%,0.3);
	font-size: 22px;
	margin-right: 15px;
	display: flex;
	align-items: center;
}
.header-logo
{
    height: 70%;
    cursor: pointer;
    position: relative;
    margin: 0 10px;
    display: flex;
    box-sizing: border-box;
    color: hsl(0deg 1.33% 29%);
}
.header-logo b
{
	color: var(--main-color);
    font-size: 26px;
    font-weight: bolder;
    letter-spacing: -4px;
    font-family: 'Roboto';
    margin-left: 10px;
    margin-top: -1px;
}
.header-logo span
{
	color: #ffffff;
    letter-spacing: 4px;
    margin-left: -39px;
    margin-top: 23px;
    text-transform: uppercase;
    font-family: 'Roboto';
    font-size: 9px;
}

#g-prompt-container
{
    position: fixed;
    top: 45px;
    right: 76px;
}
.g-singin 
{
    margin: 30px 0;
}
div#user-login-or 
{
    color: hsl(218, 12%, 41%);
    font-family: sans-serif;
    margin: -50px auto 20px;
    width: -moz-fit-content;
    width: fit-content;
    background: hsl(0deg 0% 15.69%);
    padding: 0 35px;
    font-weight: 700;
    font-size: 15px;
}
button#user-login-close 
{
    position: absolute;
    color: hsl(218, 10%, 48%);
    top: 22px;
    right: 30px;
    font-size: 24px;
}
button#user-login-close:hover
{
    color: #ffffff;
}


@media screen and (min-width: 500px)
{
    #user-login-options-form
    {
        width: 380px;
        height: auto;
        margin: min(60px, 10vh) auto;
        border-radius: 10px;
    }
}
@media screen and (min-width: 767px)
{
    body
    {
        display: grid;
        grid-template-columns: 340px 1fr;
        grid-template-rows: 50px auto;
        grid-template-areas:
            "header header"
            "filter main";
        gap: 20px;
    }
    .header-logo
    {
        margin: 0 30px;
    }
} 
