:root {
    --color-one: rgb(241 241 241);
    --color-two: rgb(78 78 131);
    --color-three:rgb(116, 136, 140);
    --color-bg-dark: rgb(208, 217, 210);
    --color-white: rgb(255, 255, 255);
    --color-text: rgb(51, 51, 51);
    --color-text-light: rgb(61, 61, 61);
    --color-link:rgb(102, 51, 153); 
    --font-family-two: "Verdana", Geneva, Tahoma, sans-serif;
}
/* ----- CORE CSS ----- */
*, *::before, *::after { box-sizing: border-box; }
html {
    min-height: 100%;
    min-width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8em;
    margin: 0;
    padding: 0;
}
body {
   width: 100%;
   height: auto;
   display: flex;
   flex-direction: column;
   margin: 0;
   color: var(--color-text);
}
/* ------ Typography ------ */
h1, h2, h3, h4, h5, h6 {
    margin: .5rem 0;
    padding: 0;
    color: var(--color-two);
    line-height: 1.375em;
}
h1 {font-size: 1.9em;}
h2 {font-size: 1.6em;}
h3 {font-size: 1.44em;}
h4 {font-size: 1.25em;}
h5 {font-size: 1.125em;}  
h6 {font-size: 1em;}
p {margin: .5em 0;}
ul, ol {list-style: none; padding: 0;}
li {font-size: inherit;}
li a {font-size: 1.1em; font-weight: 600; text-decoration: none; padding: 1rem;}
img {
    width: 100%;
    height: auto;
    max-width: 250px;
}
.smalltxt {
    font-size: 14px;
    margin: 0;
    align-self: center;
}
/* ------ Links ------ */
a {
    text-decoration: underline;
    word-wrap: break-word;
    font-weight: 500;
    color: var(--color-link);
	cursor: pointer;
}
a:hover {
    text-decoration: none;
}
/* ------ image captions ------ */
figure {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    margin: 0;
}
figcaption {
    font: italic smaller sans-serif;
    padding: .5rem 0 0;
}
 header {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-flow: wrap;
    color: var(--color-two);
    background-color: var(--color-one);
    padding: .5rem;
}
main {
    height: auto;
    width: 100%;
    min-height: calc(100vh - 350px);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-bottom: 1rem;
}
/* -------- Header -------- */
.logo {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-self: center;
}
.logo a {
    text-decoration: none;
}
.sitename {
    display: flex;
    width: auto;
    margin-left: 1rem;
    font-size: 2.5em;
    line-height: 1em;
    color: var(--color-two);
}
nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    padding: 0;
    margin: 0;
}
nav li {
    display: flex;
    width: 25%;
    height: fit-content;  
    justify-content: center;
    text-align: center;
}
nav li:nth-child(-n+4) {
    margin: 0 0 .5rem;
}
/* ----- Navigation ----- */
nav a:link { 
    color: var(--color-two); 
    padding: .8rem;
}
nav a:visited {       
    color: var(--color-two);
}
nav a:hover {
    color: var(--color-white);
    background-color: var(--color-two);
    text-decoration: none;
}
nav a:focus { 
    color: var(--color-two);    
}
nav a[aria-current="page"],
nav a:active {
    color: var(--color-two);
    background-color: var(--color-bg-dark);
}
@media only screen and (min-width: 58em) { /* 928px */
    .logo {
        width: 40%;
    }
    nav {
        width: 60%;
    }
}
/* -------------------- Layout Panel Options -------------------- */
.panel_bg_dark {
    background-color: var(--color-bg-dark);
}
/* -------- title panel (100% accross) -------- */
.title_panel {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    align-items: center;
    padding: 1rem;
}
/* -------- Panels (100% accross in mobile) -------- */
.content_panel_full,
.content_panel_half,
.content_panel_large,
.content_panel_small {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    align-items: center;
    padding: 1rem;
}
/* -------- Text Panels (100% accross in mobile) -------- */
.text_panel_full,
.text_panel_large,
.text_panel_half {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-self: center;
}
@media only screen and (min-width: 48em) { /* 768px */

    /* -------- half panel (50% accross) -------- */
    .content_panel_half { 
        width: 50%; 
        justify-content: space-evenly;
    }
    /* -------- large panel (70% accross) -------- */
    .content_panel_large {
        width: 70%;
    }
    /* -------- small panel (30% accross) -------- */
    .content_panel_small {
        width: 30%;
    }
    /* -------- full Text Panel (100% accross in mobile) -------- */
    .text_panel_full {
        width: auto;
    }
    /* -------- large Text Panel (100% accross in mobile) -------- */
    .text_panel_large {
        width: 70%;
    }
    /* -------- half Panel (100% accross in mobile) -------- */
    .text_panel_half {
        width: 50%;
    }
}
.crumbs {
    width: 100%;
    color: var(--color-text);
    background-color: var(--color-one);
    align-items: center;
    padding: .5rem;
}
/* -------------------- Image Options -------------------- */
.large_img {
    width: 100%;
    height: auto;
    max-width: 500px;
}
/* -------- Mini Gallery panel -------- */
.mini_gallery {
    display: flex;
    width: 100%;
    height: auto;
    margin: 1rem 0;
}
.mini_gallery ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    justify-content: center;
    margin: 0;
}
.mini_gallery img {
    height: 100%;
    width: auto;
    object-fit: cover;
    vertical-align: bottom;
}
/* Smaller screens in portrait */
@media (max-aspect-ratio: 1/1) and (max-width: 540px) {
    .mini_gallery ul {
        flex-direction: row;
    }    
    .mini_gallery li {
        height: auto;
        width: 100%;
        padding: 1px 0 0 1px;
    }
    .mini_gallery img  {
        width: 100%;
        max-height: 75vh;
        max-width: fit-content;
    }
}
 @media only screen and (min-width: 33.81em) { /* 540px */
    .mini_gallery li {
        width: auto;
        height: 40vh;
        max-height: 175px;
        padding: 0 0 1px 1px;
    }
}
/* -------------------- Footer -------------------- */
footer {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    color: var(--color-text);
    background-color: var(--color-one);
    padding: 1rem;
    justify-content: center;
    align-content: center;
}
.footer_menu,
.copyright {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}
.footer_menu ul {
    padding: 0;
    margin: 0;
    text-align: center;
}
.footer_menu li a {
    font-size: 1em;
    font-weight: 500;
}
footer a {
    color: var(--color-link);
    text-decoration: underline;   
}
footer a:hover {
    text-decoration: none;   
}
footer p {
    margin: 0;
}
@media all and (min-width: 768px) {
    footer {
        justify-content: space-evenly;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .footer_menu {
        width: 30%;
        align-items: flex-end;
    }
    .copyright {
        width: 70%;
        align-items: flex-start;
        justify-content: flex-end;
    }
    .footer_menu ul {
        text-align: left;
    }
    .reorder {
        order: 2;
    }
}
@media screen and (min-width: 280px) {
    html {
      font-size: calc(14px + 4 * ((100vw - 320px) / 680));
    }
  }