/* COLOR VARS */
:root {
    --main-bg-color: lightslategrey;
    --accent-color: darkslategrey;
    --overlay-color: #2f4f4f8f;
    --main-text-color: azure;
    --link-color: cyan;
}
/* FONTS */
@font-face {
    font-family: 'indie-flower';
    src: url('/style/fonts/indie-flower/indie-flower.woff2') format('woff2'),
         url('/style/fonts/indie-flower/indie-flower.woff') format('woff'),
         url('/style/fonts/indie-flower/indie-flower.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
/* HTML & BODY */
html {height: 100%;}
body {
    width: 100%;
    margin: auto;
    background-color: var(--main-bg-color);
}
/* PAGE HEADER */
.header_image {
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    height: 273px;
    min-width: 100%;
    max-width: 100%;
    margin: auto;
    margin-top: 40px;
    position: sticky;
    top: -145px;
}
#header_index{background-color: #a04911} /* Try using image-set() here to offer different formats */
@media(min-width:  50px){#header_index{background-image:url("/images/headers/index/300.webp")}}
@media(min-width: 301px){#header_index{background-image:url("/images/headers/index/500.webp")}}
@media(min-width: 501px){#header_index{background-image:url("/images/headers/index/800.webp")}}
@media(min-width: 801px){#header_index{background-image:url("/images/headers/index/1024.webp")}}
@media(min-width:1025px){#header_index{background-image:url("/images/headers/index/1920.webp")}}
@media(min-width:1921px){#header_index{background-image:url("/images/headers/index/2800.webp")}}
@media(min-width:2801px){#header_index{background-image:url("/images/headers/index/4096.webp")}}
#header_face {
    display: flex;
    position: absolute;
    top: -184px;
    width: 100%;
    height: 185px;
    text-align: center;
}
#header_face img {
    margin: auto;
    border-radius: 40px;
    border-style: solid;
    border-color: var(--accent-color);
    border-width: 3px;
    max-height: 150px;
    height: 30vw;
}
@media(min-width:400px){#header_face img{border-radius:50px;}}
@media(min-width:540px){#header_face img{border-radius:55px;}}
#page_title { /* This may be best floating above content div rather than inside header div */
    background-color: var(--overlay-color);
    font-family: indie-flower, cursive;
    font-size: large;
    width: 100%;
    height: 90px;
    text-align: center;
    position: absolute;
    bottom: 0;
    color: var(--main-text-color);
}
#menubar {
    background-color: var(--accent-color);
    color: var(--main-text-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
}
#menubar_logo img { /* Logo file is controlled by media="" in <picture> */
    max-height: 20px;
    padding: 10px;
}
#menubar_hamburger {
    position: absolute;
    top: 2px;
    right: 0;
    padding: 5px;
}
.sidebar_control {
    background-color: transparent;
    color: var(--main-text-color);
    border: none;
    font-family: sans-serif;
    font-size: larger;
}
#sidebar_open_short {display: block;}
#sidebar_close_short {
    display: none;
    font-size: x-large;
}
#sidebar {
    position: fixed;
    top: 40px;
    right: 0;
    margin: auto;
    height: 100%;
    display: block;
    max-width: 250px;
    width: 0;
    background-color: var(--overlay-color);
    transition: 0.7s;
}
#sidebar a {
    padding: 8px 8px 8px 8px;
    margin-top: 10px;
    font-family: indie-flower, sans-serif;
    font-weight: 300;
    text-decoration: none;
    text-align: center;
    font-size: 25px;
    color: var(--link-color);
    display: block;
    white-space: nowrap;
  }
#sidebar a:hover {color: var(--main-text-color)}
#sidebar a:active {color: var(--main-text-color)}
#sidebar_logo {
    margin-top: 40%;
    text-align: center;
}
@media screen and (max-height: 500px) {
    #sidebar_logo {display: none;}
}
#sidebar_social {
    position: absolute;
    bottom: 50px;
    width: 100%;
}
/* CONTENT */
.content { /* Try z-index: 1; so it scrolls over header image */
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
}
.content p {
    width: 90%;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 40px;
    color: var(--main-text-color);
}
/* FOOTER */
/* FOOTER */
footer {
    position: relative;
    width: 100%;
    background-color: var(--accent-color);
    height: 30px;
    bottom: 0;
}
footer p {
    padding: 0;
    padding-top: 5px;
    margin: auto;
    margin-top: 9px;
    text-align: center;
    color: var(--main-text-color);
    font-family: monospace;
}
@media screen and (min-height: 600px) {
    footer {
        position: fixed;
        bottom: 0;
    }
    footer p {
        padding-top: 0px;
        margin-top: 6px;
    }
}
/* Hide .hide_micro on screens smaller than 250px and show .show_micro while not showing it on full screens */

.show_micro {display:none}
@media only screen and (max-width: 249px) {
    .hide_micro {display: none}
    .show_micro {display: block}
}