:root {
    --header-size: 49px;
}

@keyframes bg {
    0% { background-position: 0 0; }
    100% { background-position: -76px -76px }
}

html {
    background-image: url("piegfx-logo-square-temp.png");
    background-repeat: repeat;
    background-size: 76px;
    /*animation: bg 2s linear infinite;*/

    font-family: Abel;
    color: white;
    padding: 0px;
}

body {
    padding: 0px;
    margin: 0px auto;
}

h1#bigheader {
    font-size: 300px;
    margin: 0;
    padding: 0;
}

#header {
    position: fixed;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 30px;
    backdrop-filter: blur(5px);
    min-width: 100vw;
    display: flex;
    height: var(--header-size);
}

#header-left {
    margin: 5px 10px;
    justify-content: left;
}

#header-right {
    margin: 5px 10px;
    text-align: right;
    margin-left: auto;
}

.hlink {
    color: white;
    text-decoration: none;
    padding-right: 10px;
}

.hlink:hover {
    text-decoration: underline;
}

.hlink.selected {
    text-decoration: underline;
}

.hlink.selected:hover {
    text-decoration: none;
}

#hpgx {
    background: linear-gradient(52deg, rgba(0,78,255,1) 0%, rgba(0,168,255,1) 50%, rgba(162,0,255,1) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: bold;
    text-decoration: none;
}

#hpgx:hover {
    font-weight: normal;
}

#content {
    display: flex;
    flex-direction: column;
    height: 100vh;

}

#title {
    background-color: rgb(15, 15, 15);
    margin: 0px -20px auto;
    margin-top: 0px;
    padding: 5px 20px;
    vertical-align: middle;
}

#titlebar {
    background-image: url("demo.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-content: center;
    justify-content: center;
    user-select: none;
    box-shadow: 0px 10px 5px rgb(0, 0, 0, 0.2);
}

#content-bottom {
    z-index: -10;
    background-color: rgba(12, 12, 12, 0.85);
    display: flex;
    flex: 1 1 auto;
    padding: 0;
    backdrop-filter: blur(5px);
}

#content-bottom-inner {
    background-color: rgb(23, 23, 23);
    margin: 0 auto;
    margin-top: var(--header-size);
    width: 100vw;
    box-sizing: border-box;
    max-width: 1700px;
    flex: 1 1 auto;
    margin-left: auto;
    font-size: 30px;
    padding: 0px 20px;
}
