/*
Theme Name: photoOnly
Author: Walter Gilgen
Author URI: https://waltergilgen.net/about
Description: A minimalistic responsive WordPress theme for photographers.
Version: 1.0
License: (c) 2025 Walter Gilgen
License URI: https://waltergilgen.net/about
*/
.anton-regular, .figure-title {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.45em;
    color: #505050;
}
.lato-thin {
    font-family: "Lato", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.lato-light {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.lato-regular {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.lato-bold {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.lato-black {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.header-title>span>h1 {
    font-size: 2em;
}
body {
    /*background-color: cyan;*/
    padding-top: 10px;
    height: 98vh;
    width: 99vw;
}
body * {
    font-family: "Lato", sans-serif;
    font-size: 1.02em;
    color: #3A3A3A;
}
p {
    line-height: 1.5;
}
img {
    border-radius: 2em;
}
.logo>a>img {
    max-height: 100px;
    max-width:  100px;
    border-radius: 50%;
}
.wrap-header-top {
    display: flex;
}
.wrap-header-top>.header-title, .wrap-header-top>.header-tagline {
    height: 100px;
    line-height: 100px;
    text-align: left;
    padding: 0 20px 0 20px;
}
.wrap-header-top>.header-tagline {
    overflow: hidden;
}
.header-title>span, .header-tagline>span {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

.grid-3-3 {
    display: grid;
    grid-template-columns: 100px auto 32px;
    grid-template-rows: 100px auto 50px;
}
.logo {
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 1;
    grid-row-end: 1;
    /*background-color: red;*/
}
.header-top {
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 1;
    /*background-color: green;*/
}
.menu {
    grid-column-start: 3;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 1;
    font-size: 2rem;
    height: 100px;
    line-height: 100px;
    text-align: right;
    /*background-color: blue;*/
}
.menu>span {
    display: inline-block;
    vertical-align: top;
    line-height: normal;
}
.header-left {
    display: none;
    /*background-color: yellow;*/
}
.photo {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 2;
    padding-top: 1em;
    /*background-color: orange;*/
}
.right-border {
    grid-column-start: 3;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 2;
    /*background-color: #00ba37;*/
}
.copyright {
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 3;
    grid-row-end: 3;
    text-align: right;
    /*background-color: purple;*/
}
div.photo>figure {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
div.photo>figure>img {
    max-width: calc(100vw - 20px);
    max-height: 65vh;
    object-fit: contain;
}

@media (max-width: 768px) {
    .header-tagline {
        display: none;
    }
}
@media (max-height: 768px) {
    .header-tagline {
        display: none;
    }
}
@media  (min-aspect-ratio: 4/3) {
    body {
        /*background-color: gray;*/
    }
    .logo {
        grid-column-start: 1;
        grid-column-end: 1;
        grid-row-start: 1;
        grid-row-end: 1;
        /*background-color: red;*/
    }
    .header-top {
        display: none;
        /*background-color: green;*/
    }
    .menu {
        grid-column-start: 3;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 1;
        font-size: 2rem;
        /*background-color: blue;*/
    }
    .header-left {
        display: block;
        grid-column-start: 1;
        grid-column-end: 1;
        grid-row-start: 2;
        grid-row-end: 3;
        /*background-color: yellow;*/
    }
    .wrap-header-left {
        transform: rotate(180deg);
        display: flex;
        writing-mode: vertical-rl;
        height: 80vh;
    }
    .wrap-header-left>.header-title, .wrap-header-left>.header-tagline {
        width: 100px;
        line-height: 100px;
        text-align: left;
        padding: 20px 0 20px 0;
    }
    .wrap-header-left>.header-tagline {
        overflow: hidden;
    }
    .photo {
        grid-column-start: 2;
        grid-column-end: 2;
        grid-row-start: 1;
        grid-row-end: 3;
        margin-top: auto;
        margin-bottom: auto;
        /*background-color: orange;*/
    }
    .right-border {
        /*background-color: #00ba37;*/
    }
    .copyright {
        grid-column-start: 1;
        grid-column-end: 4;
        grid-row-start: 3;
        grid-row-end: 3;
        /*background-color: purple;*/
    }
    div.photo>figure {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    div.photo>figure>img {
        max-height: 88vh;
        max-width: calc(100vw - 420px);
        object-fit: contain;
    }
    div.photo>figure>figcaption {
        padding-left: 1em;
        max-width: 300px;
    }
}

