@font-face
{
    font-family: 'noticia text'; 
    src: url('NoticiaText-Regular.ttf');
    font-style: normal;
    font-weight: 400;
}

@font-face
{
    font-family: 'noticia text'; 
    src: url('NoticiaText-Bold.ttf');
    font-style: normal;
    font-weight: 700;
}

@font-face
{
    font-family: 'noticia text'; 
    src: url('NoticiaText-Italic.ttf');
    font-style: italic;
    fonr-weight: 400;
}

@font-face
{
    font-family: 'noticia text'; 
    src: url('NoticiaText-BoldItalic.ttf');
    font-style: italic;
    font-weight: 700;
}

* {
    box-sizing: border-box;
}

:root {
    --font-family: 'noticia text', serif;

    --site-color-bkg: rgb(158,178,176);
    --mobile-scale: 0.3125;
    
    --content-width: 980px;
    --content-border-width: 6px;
    --content-border-radius: 5px;
    --content-color-border: rgba(80,86,86);
    --content-color-bkg: rgb(190,213,210);
    --content-color-shadow: rgb(119,118,121);
    
    --header-height: 264px;
    --header-color-bkg: white;
    --mobile-scale-header-height: 0.31875;
    
    --topmost-z-index: 100000;
    
    --navbar-color-text: rgb(237,235,242);
    --navbar-color-text-sel: rgb(190,188,194);
    --navbar-color-bkg: rgb(93,98,120);
    --navbar-color-bkg-sel: rgb(55,61,89);
    --navbar-color-hover: rgb(151,158,160);
    --navbar-color-separator: rgb(47,47,48);
    --navbar-height: 38px;
    --navbar-corner-radius: 10px;
    
    --break-width: 310px;
}

html {
    background-color: var(--site-color-bkg);
}

body {
    background: linear-gradient(to bottom, 
        white 0px var(--header-height), 
        var(--site-color-bkg) var(--header-height) 100vh);
    background-repeat: no-repeat;
    height: 100%;
    margin: 0px;
    padding: 0px;
    font-size: 10px;
/**    min-width: 100px;*/
    font-family: var(--font-family);
    overflow-y:scroll;
    scrollbar-gutter: stable;
}

img {
    object-fit: cover;
}

/* main content --------------------------------------------------*/
.main-container {
    display: flex;
    justify-content: center;
    width: var(--content-width);

    margin: 0 auto 0 auto;
}

.main-content {
    width: var(--content-width);
}


/* header content ------------------------------------------------*/

.header {
    display: grid;
    /* 3 rows for non-mobile */
    grid-template-rows: 126px 50px 88px;
    grid-template-columns: 100%;
    background-color: var(--header-color-bkg);
    height: var(--header-height);
}

.header-title-text {
    position: relative;
    font-size: 37px;
    padding-left: 64px;
    padding-top: 84px;
}

.header-r2 {
}

.header-r3 {
    width: auto;
    margin: 0 auto 0 auto;
}

.header-quote-container {
    display: flex;
    align-content: center;
    justify-content: flex-end;
}

.header-quote-text {
    font-size: 21px;
    font-style: italic;
    font-weight: bold;
    padding: 11px 20px 0px 0px;
}

.header-navbar {
    margin-top: 17px;
    font: normal normal normal 15px/1.4em 'noticia text',serif;
    background: transparent;
}

.header-navbar ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    display: inline-flex;
    flex-direction: row;
    background: transparent;
    border-radius: var(--navbar-corner-radius);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.header-navbar li {
    display: flex;
}

.header-navbar a {
    text-decoration: none;
    color: var(--navbar-color-text);
    background-color: var(--navbar-color-bkg);
    text-align: center;
    display: block;
    border-left: solid 1px var(--navbar-color-separator);
    user-select: none;
    padding: 0.575em 1.125em;
    display: flex;
    justify-content: center;
    align-content: center:
}

.header-navbar a:hover {
    background-color: var(--navbar-color-hover);
    color: var(--navbar-color-text);
    transition: background-color 0.4s ease 0s;
}

.header-navbar .header-navbar-left {
    border-radius: var(--navbar-corner-radius) 0 0 var(--navbar-corner-radius);
    border-left: none;
}

.header-navbar .header-navbar-right {
    border-radius: 0 var(--navbar-corner-radius) var(--navbar-corner-radius) 0;
}

.header-navbar li {
    height: var(--navbar-height);
}

.header-navbar .selected {
    background-color: var(--navbar-color-bkg-sel);
    color: var(--navbar-color-text-sel);
}

.header-mobile-menu-toggle-button {
    display: none;
}

.header-mobile-menu-button-line-container {
    height: 6.25vw;
    position: relative;
    width: 6.875vw;
}

.header-mobile-menu-button-line {
    background-color: rgb(47,47,48);
    height: 0.625vw;
    border-radius: 0.625vw;
    width: 100%;
    transition: all .25s ease-in-out;
    position: absolute;
}

.middle-line {
    margin: auto;
    top: 0;
}

.middle-line, .bottom-line {
    bottom: 0;
}

.header-mobile-menu-toggle-button.toggled .top-line {
    transform: translateY(3.125vw) translateY(-50%) rotate(-45deg)
}

.header-mobile-menu-toggle-button.toggled .middle-line {
    opacity: 0;
}

.header-mobile-menu-toggle-button.toggled .bottom-line {
    transform: translateY(-3.125vw) translateY(50%) rotate(45deg)
}

.header-mobile-menu-glass {
    display: none;
}


.header-mobile-menu-container {
    margin-top: 4.375vw;
    background-color: rgb(202, 225, 222);
    width: 99.0625%;
    
}

.header-menuitem-anchor {
    text-decoration: none;
}
/*
ul {
    list-style: none;
}
*/
.header-menu-list-item {
    display: flex;
    width: 100%;
    height: 21.25vw;
    justify-content: center;
    align-items: center; 
    font-size: 5.625vw;
    color: rgb(47, 47, 48);
    transition: all .5s ease 0s;
}

.header-menu-list-item.selected {
    color: rgb(103, 110, 113);
}

.header-menuitem-anchor {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
}

/* pages content -------------------------------------------------*/
.pages-container {
    border-radius: var(--content-border-radius);
    border: solid var(--content-border-width) var(--content-color-border);
    background-color: var(--content-color-border);
    
}

.big-box-shadow {
    box-shadow: 1px 1px var(--content-color-shadow),
        3px 3px var(--content-color-shadow),
        5px 5px var(--content-color-shadow),
        7px 7px var(--content-color-shadow),
        9px 9px var(--content-color-shadow);
}

/* footer content ------------------------------------------------*/

.footer {
    height: auto;
    padding: 16px 0 16px 20px; 
}

.footer-text {
    font-size: 12px;
    margin: 0;
    color: rgb(47, 47, 48);
}

/* mobile action bar ---------------------------------------------*/
.mobile-actions-bar {
    display: none;
}

.mobile-actions-button {
    flex-grow: 1;
    
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5625vw 0;
    
    text-decoration: none;
}

.mobile-actions-svg-container {
    flex-basis: 6.5625vw;
    flex-grow: 1;
    margin-top: 0.625vw;
    fill: white;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-actions-svg-container svg {
    height: 5.3125vw;
    /*
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    */
    width: 8.75vw;
}

.mobile-actions-text {
    color: white;
    flex-basis: 4.6875vw;
    flex-grow: 1;
    padding: 0 1.5625vw;
    letter-spacing: .0625vw;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: normal normal normal 3.75vw / normal helvetica-w01-light, helvetica-w02-light, sans-serif
}

/* mobile settings -----------------------------------------------*/
@media screen and (max-width: 600px) {
    body {
        background: white;
    }
    
    ul.mobile {
        list-style: none;
        margin: 0;
        padding: 0;
        box-shadow: rgba(0, 0, 0, 0.6) -0.2179vw 0.15vw 1.25vw 0px;
        border-radius: 0 1.25vw 1.25vw 0;
    }
    
    .main-container {
        width: 100%;
    }
    
    .main-content {
/**        min-width: 100px;*/
        width: 100%;
    }
    
    .header {
        height: 31.875vw;
        grid-template-rows: 47% 53% 0%;
    }
    
    .header-r2 {
        display: flex;
        justify-content: flex-end;
    }
    
    nav.header-navbar {
        display: none;
    }
    
    .header-title-text {
        position: static;
        font-size: 6.25vw;
        justify-self: center;
        align-self: center;
        padding: 0;
    }
    
    .header-quote-container {
        display: none;
    }
    
    .header-mobile-menu-toggle-button {
        position: relative;
        display: flex;
        width: 15.625vw;
        height: 15.625vw;
        justify-content: center;
        align-items: center;
        margin-right: 6.25vw;
        justify-self: end;
        align-self: start;
        z-index: var(--topmost-z-index);
    }
    
    .header-mobile-menu-glass {
        display: block;
        height: 100%;
        width: 100%;
        left: 100vw;
        position: fixed;
        z-index: calc(var(--topmost-z-index) - 10);
        opacity: 0;
        transition: all .5s ease 0s;
        overflow-x: hidden;
    }
    
    .header-mobile-menu-glass.toggled {
        /*
        left: 0;
        opacity: 1;
        background-color: red;
        */
        opacity: 1;
        left: 0;
        background-color: white;
    }

    .pages-container {
        width: 100%;
        border-radius: 1.5625vw;
        border-width: 1.875vw;
    }
    
    

    .footer {
        height: 17.5vw;
        padding: 6.25vw 0 0 0;
    }
    
    .footer-text {
        font-size: 4.0625vw;
        margin: 6.25vw 0 0 3.4375vw;
        color: rgb(47, 47, 48);
    }
    
    .mobile-actions-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 18.4375vw;
        background-color: rgb(128, 128, 128);
        z-index: calc(var(--topmost-z-index) - 15);
    }
    
    a:-webkit-any-link {
        color: rgb(47,47,48);
    }
    
    .big-box-shadow {
        box-shadow: none;
    }
}