/* Styles relating to the headers and footers. */
@font-face
{
    font-family: terminal-font;
    src: url(/kondo/fonts/Glass_TTY_VT220.ttf);
}
@font-face {
  font-family: 'document-heading-font';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/kondo/fonts/MerriweatherSans-Regular.ttf);
}
@font-face {
  font-family: 'document-text-font';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/kondo/fonts/Merriweather-Regular.ttf);
}
@font-face {
  font-family: 'document-text-font';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/kondo/fonts/Merriweather-Bold.ttf);
}
body
{
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main
{
    flex: 1 auto;
}
#header-area, #header-canvas
{
    height: 120px;
}
#header-area
{
    background-color: #dbd2c3;
}
#header-canvas
{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    display: block;
}
.footer-container
{
    background-color: #dbd2c3;
    width: 90%;
    min-height: 40px;
    border-top-right-radius: 40px;
}
nav.divider-container
{
    display: flex;
    flex-direction: row;
}
div.divider-light
{
    height: 15px;
    background-color: #d47d0c;
    flex: 1 auto;
}
div.divider-dark
{
    height: 15px;
    background-color: #b84b06;
    flex: 5 auto;
}
#header-logo
{
    background-image: url(/kondo/images/diamond-logo.svg);
    width: 200px;
    height: 200px;
    position: absolute;
    right: 50px;
    top: 70px;
}
ul.navigation-list
{
    list-style-type: none;
}
ul.menu-list
{
    display: flex;
    justify-content: space-around;
    align-items: center;
    align-content: center;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 90px;
    right: 90px;
    top: 0;
    height: 60px;
    font-family: "terminal-font", sans-serif;
    font-size: 30px;
    line-height: 30px;
    text-transform: uppercase;
}
ul.menu-list li
{
    color: #159649;
    display: inline-block;
    padding: 5px 10px;
}
ul.menu-list a
{
    color: #19bc5b;
    text-decoration: none;
}
ul.menu-list a:hover
{
    color: #19bc5b;
    transition: 200ms text-shadow;
    text-shadow: 0px 0px 6px rgba(25, 188, 91, 0.8);
}
#menu-area div.selected
{
    opacity: 0.5;
}
.affiliate-logo
{
    opacity: 0.5;
}
nav.footer-container
{
    margin-top: 4em;
    display: flex;
    align-content: flex-start;
    padding: 20px;
    padding-bottom: 10px;
}
nav.footer-container > a, nav.footer-container > div
{
    padding-right: 20px;
}
div.footer-text
{
    color: black;
    opacity: 0.5;
    max-width: 40em;
}
div.footer-text a
{
    color: black;
}

@media only screen and (max-width: 1100px) {
    /* Switch to the tab logo to avoid collisions with content: */
    #header-logo
    {
        background-image: url(/kondo/images/tab-logo.svg);
        width: 200px;
        height: 60px;
        position: absolute;
        right: 0;
        top: 75px;
    }
}

@media only screen and (max-width: 1000px) {
    /* Increase the header height and make the menu double line: */
    #header-area, #header-canvas
    {
        height: 140px;
    }
    ul.menu-list
    {
        justify-content: flex-start;
        flex-wrap: wrap;
        height: 80px;
    }
    #header-logo
    {
        top: 95px;
    }
}

@media only screen and (max-width: 700px) {
    /* Switch to phone mode: */
    #header-canvas
    {
        display: none;
    }
    #header-area
    {
        background-color: #4b4b4d;
        height: 160px;
    }
    #header-logo
    {
        top: 115px;
    }
    ul.menu-list
    {
        display: flex;
        align-items: flex-start;
        align-content: flex-start;
        padding: 20px;
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        height: auto;
    }
    .affiliate-logo
    {
        height: 75px;
    }
    nav.footer-container
    {
        flex-wrap: wrap;
    }
}
