/*  site.css 
*   @author jay@gilsan.ca (dad) 2024-06-29
*   @site Georgia KJG Photography
*   Overrides pure-min.css 
*/
:root {
    --color-accent-main: rgb(188, 108, 37);
    --color-background-main: rgb(32, 34, 35);
    --color-foreground-main: rgb(255, 255, 255);
    --color-background-medium-dark: rgb(89, 89, 74);
    --color-accent-light: rgb(221, 161, 94);
}

@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Dela Gothic One';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/dela-gothic-one-v15-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
    background-color: var(--color-background-main);
    font-family: "Dela Gothic One", system-ui, sans-serif;
    ;
    color: var(--color-foreground-main);
}

a {
    color: var(--color-accent-light);
}

a:hover,
a:active,
a:visited {
    color: var(--color-accent-main);
}

.fade-in {
    opacity: 0;
    animation: fadeInAnimation 1.5s forwards;
}

@keyframes fadeInAnimation {
    to {
        opacity: 1;
    }
}

header,
footer {
    background-color: var(--color-background-medium-dark);
    color: var(--color-foreground-main);
    min-height: 168px;
    padding: 1rem;
}

header {
    display: flex;
    align-items: center;
}

header #brand {
    font-size: 36px;
}
header .burger {
    position: absolute;
    top: 1rem;
    right: 1rem;
    fill: #CCC;
    width: 2rem;
    z-index: 10000;
    display: none;
}
.logo {
    width: 125px;
    height: auto;
}
header .logotext{
    margin-left:1rem;
}

.container {
    max-width: 980px;
    margin: auto;
}

header .container {
    width: 100vw;
}

h1 {
    text-align: center;
    font-size: 54px;
    text-transform: uppercase;
}

header .container {
    display: flex;
    flex-direction: row;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

nav .pure-menu-link {
    font-size: 20px;
    color: var(--color-foreground-main);
    text-transform: lowercase;
}

nav .pure-menu-children {
    background-color: var(--color-accent-light);
}
.pure-menu-horizontal .pure-menu-has-children>.pure-menu-link:after {
    content:"▼"!important;
    font-size: 16px;
}
nav a:hover,
header nav a:active {
    color: var(--color-accent-main);
}
@media only screen and (max-width: 767px) {
    header, footer{
        min-height: 128px;
    }
    header .container{
        width: unset;
        justify-content: center;
    }
    header #brand{
        font-size: 24px;
    }
    header #brand img{
        width: 150px
    }
    nav.pure-menu-horizontal ul.pure-menu-list, 
    header #brand .logotext {
        display: none;
    }
    div.open{
        position: absolute;
        top: 0;
    }
    .open nav {
        display: block;
        position: sticky;
        top: 0;
        background: #111;
        width: 97vw;
        padding: 2rem 0;
        z-index: 100;
    }
    .open nav.pure-menu-horizontal ul.pure-menu-list {
        display: flex;
        flex-direction: column;
    }
    header .burger {
        display: block;
        right:1rem;
    }
    header .open .burger{
        right:1rem;
    }
}
main p {
    line-height: 1.4;
}

footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 120px;
    margin-top: 2rem;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.pure-menu-selected>.pure-menu-link,
.pure-menu-selected>.pure-menu-link:visited {
    color: var(--color-accent-main);
}

nav .pure-menu-children a.pure-menu-link {
    text-transform: uppercase;
}

.pure-g .order-2 {
    order: 2;
}

.pure-g {
    justify-content: center;
}

.pure-g>div {
    box-sizing: border-box;
}

.l-box {
    padding: 1em;
}
.box {
    position: relative;
    margin: 1rem;
    flex: 1 1 calc(50% - 2rem);
    max-width: 458px;
}

.box img {
    width: 100%;
    height: auto;
    display: block;
}

.project-type {
    position: absolute;
    bottom: 15%;
    left: 0;
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.7);
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.project-type a {
    color: #000;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.project-type a:hover,
.project-type a:active {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .box {
        flex: 1 1 100%;
    }
}
