
:root{
    --header_background_color:rgb(255, 255, 255);
    --header_text_color:rgb(0, 0, 0);
    --header_height:2.5em;
    --header_item_height:1.6em;
    --header_distance:calc((var(--header_height) - var(--header_item_height)) / 2);
    --header_shadow: 0 0 5px 1px grey;
}

#moxuma_header{
    z-index:1000;
    background-color: var(--header_background_color);
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height:var(--header_height);
    color:var(--header_text_color);
    box-shadow: var(--header_shadow);
    position:fixed;
    left:0px;
    right:0px;
    top:0px;
}

#moxuma_header_placeholder{
    height:var(--header_height);
    position: relative;
    left:0px;
    right:0px;
    top:0px;
}

#moxuma_header .header-area{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height:100%;
}


#moxuma_header .header-item{
    display:flex;
    align-items: center;
    height: 100%;
    padding-left:var(--header_distance);
    padding-right:var(--header_distance);
}


#moxuma_header #header-logo{
    height: var(--header_item_height);
}

#moxuma_header #headliner{
    font-weight: bold;
    font-size: larger;
}

#moxuma_header .header-icon img{
    height:var(--header_item_height);
}
/*
#moxuma_header .header-icon a,
#moxuma_header .header-icon button{
    border-radius: 50%;
}
*/
#moxuma_header .header-icon .shadow:hover,
#moxuma_header .header-icon .shadow-focus:focus{
    cursor:pointer;
    box-shadow: 0 0 0px 0.45em rgba(128, 128, 128, 0.315);
    background-color: rgba(128, 128, 128, 0.315);
}

#moxuma_header .header-icon .header-icon-number{
    background-color: red;
    border-radius: 0.6em;
    color:white;
    position:relative;
    bottom:0.5em;
    padding:0.1em;
    height: 1.1em;
    min-width: 1.1em;
    text-align: center;
}

#moxuma_header #login_btn button{
    background-color: var(--header_background_color);
    border: 1px solid grey;
    border-radius:1px;
    padding:3px;
    transition: 0.15s;
}
#moxuma_header #login_btn button:hover{
    cursor:pointer;
    box-shadow: 0 0 0.5em 0.05em grey;
}

#moxuma_header #profile-image{
    height: var(--header_item_height);
    border-radius:50%;
    box-shadow: 0 0 0.2em 0.02em grey;
}











/* Apps */



#moxuma_header #applist{
    z-index:1100;
    background-color: white;
    position: absolute;
    top:0px;
    height:100vh;
    transition:0.4s;
    display:flex;
    flex-direction: column;
}

#moxuma_header #applist .link{
    padding:0.5em;
    color:black;
    text-decoration: none;
    font-size: large;
}

#moxuma_header #applist h3{
    padding:0.5em;
    padding-top:1em;
}

#moxuma_header #applist #applist_logo{
    padding:0.5em;
    padding-top:1em;
    height:1.5em;
    object-fit: scale-down;
    margin:auto;
}

#moxuma_header #applist .link img{
    height:1.2em;
    float:left;
    margin-right:0.5em;
    max-width:1.2em;
    object-fit: scale-down;
    vertical-align: middle;
}

#moxuma_header #applist .link:hover{
    background-color: lightgray;
}

#moxuma_header #appbutton:focus ~ #applist{
    box-shadow: 0 0 5px 1px grey;
    left:0px;
    transition:0.5s;
}

#moxuma_header #appbutton:focus ~ #curtain{
    display:block;
    background-color: rgba(0, 0, 0, 0.37);
    z-index: 1050;
}

#moxuma_header #apps #curtain{
    position:absolute;
    top:0px;
    left:0px;
    right:0px;
    bottom:0px;
    display: none;
    background-color: rgba(0, 0, 0, 0);
    height:100vh;
    width:100vw;
    transition-delay: 2s;
}



@media (min-width: 1000px){/*DESKTOP---------------------------------*/
	#moxuma_header #applist{
        width:20vw;
        left:-20vw;
    }
}
@media (max-width: 1000px){/*PHONE---------------------------------*/
	#moxuma_header #applist{
        width:45vw;
        left:-45vw;
    }
}