:root {
    --color-bg-bright:#d9dadf;
    --color-bg-dark:#0e0f13;
    --color-bg-dark2:#1d2026;
    --color-bg-dark2gradient: #151f33;
    --color-logo-bg:#2b2d33;
    /* --color-border-thinline:rgba(31, 161, 236, 0.3);*/
    --color-border-thinline:#1d2026;

    --dist-header: 3em;
    --dist-footer:3em;
    --range-min:320px;
    --range-max:2440px;
    --fsize:20px;
}
@font-face
{
font-family: "Poppins"; 
src: local("Poppins"),
url("Poppins-Regular.ttf"),
format("TrueType");
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body {
    font-size:var(--fsize);
    font-family: 'Poppins', Verdana;
    position:relative;
    display:flex;
    background-color: var(--color-bg-dark);
    width:100%;
    min-height:100%;
    color: var(--color-bg-bright)
}

div#part-background {
    position: absolute;
    z-index:-1;
    width: 100vw;
    margin-top: var(--dist-header);
    height:calc(100% - var(--dist-header));
    display:flex;
    flex-shrink: 0;
}
div#wrapper-center-background-image {
    display:flex;
    flex-shrink: 0;
    width:100%;
    min-height:100%;
    background-color: var(--color-bg-dark2);
}
div#background-image {
    display:flex;
    width:100%;
    height:calc(100vh - var(--dist-header) - var(--dist-footer));
    background: url(../assets/bg-s.png) no-repeat center;
    background-size: cover;
    background-position-y: 0px;
}
div#background-image.withcontent {
    opacity: 0.4;
}

@media only screen and (min-width:768px) {
    div#background-image {
        background: url(../assets/background.m.png) no-repeat center;
        background-size: cover;
        background-position-y: 0px;
    }
}
@media only screen and (min-width:1024px) {
    div#background-image {
        background: url(../assets/background.full.png) no-repeat center;
        background-size: cover;
        background-position-y: 0px;
    }
}

div#part-head {
    position: fixed;
    top:0px;
    z-index:999;
    width: 100vw;
    height: var(--dist-header);
    display:flex;
    flex-shrink: 0;
    box-shadow: 0px 2px 5px rgba(31, 161, 236, 0.3);
}

div#part-body {
    width: 100vw;
    margin-top: var(--dist-header);
    height:100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.wrapper-center {
    width:100%;
    min-width:var(--range-min);
    max-width: var(--range-max);
    display:flex;
    margin: 0 auto;
    /*background-color: var(--color-bg-dark2);*/
}
#wrapper-center-head {
    height:100%;
    border-left: 1px solid var(--color-border-thinline);
    border-right: 1px solid var(--color-border-thinline);
}
#wrapper-center-body {
    flex-direction: column;
    min-height:calc(100vh - var(--dist-header));
    border-left: 1px solid var(--color-border-thinline);
    border-right: 1px solid var(--color-border-thinline);
}

header {
    font-size:1.2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    width:100%;
    background-color: var(--color-bg-dark2);
}
header ul {
    list-style: none;
    display: flex;
}
header li {
    margin-right: 20px;
}

article {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
    min-height:100%;
    font-size: 1em;
}

footer {
    min-height:var(--dist-footer);
    margin-top: auto;
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-bg-dark2);
    font-size: 0.9rem;
}
footer span a:link, footer span a:visited, footer span a:active {
    color:var(--color-bg-bright);
}
footer span a:hover {
    color:aqua;
}

.icon {
    height:calc(var(--dist-header) - 1em);
    width: auto;
}
/* Responsive Styles 
@media (max-width: 767px) {
    /* Adjust styles for screens smaller than 768px
    header {
        font-size: 18px;
    }
    
    article {
        margin-top: 60px;
    }
}
*/