/*
Color ideas:
*/
:root {
    --midnight-green: #074f57;
    --cerulean: #077187;
    --cambridge-blue: #74a57f;
    --celadon: #9ece9a;
    --desert-sand: #e4c5af;
}

* {box-sizing: border-box;}

html {
    width: 100%;
    height: 100%;
    margin: 0;

    font-family: "League Spartan", "Futura", "Trebuchet MS", "Arial", sans-serif; 
    font-weight: 500;
    line-height: 1.2;
}

body {
    margin: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

img {
    display: block;
    margin: 0.5rem auto;
    max-width: 100%;
}

main {
    margin: 1em;
    flex: 1;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
}

h3 {
    text-align: center;
    color: darkslategray;
    font-style: italic;
}

body {
    background:
        linear-gradient(#ffffff77, #ffffffb4),
        url("https://sonceton.com/content/grocery-background.jpg"),
        #264C62; /* Average-ish color of the image */
    background-attachment: fixed, scroll, fixed;
}

nav {
    text-align: center;
    background-image: linear-gradient(var(--cerulean), var(--midnight-green));
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

nav div.home {
    margin: auto;
    padding: 0;
    width: fit-content;
    overflow: hidden;
}

nav li {
    display: inline-block;
}

nav a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav a.home {
    font-weight: bold;
}

nav a:hover {
    background-image: linear-gradient(#ffffff33, #ffffff66);
}

@media (min-width: 570px) {
    nav div.home {
        position: absolute;
        left: 1em;
        right: auto;
    }
}

footer {
    bottom: 0;
    background-image: linear-gradient(var(--cerulean), var(--midnight-green));
    color: white;
    margin: 0;
    padding: 0.2em;

    text-align: center;
}

footer p, footer address {
    margin: 0.25rem
}

.blogTextbox {
    margin: 1rem auto;
    background: #ffffff66;
    padding: 2rem;
    border-radius: 2rem;
    max-width: 600px;
}

.blogTextbox p.dateAndAuthor {
    text-align: center;
    color: darkslategray;
    font-style: italic;
}

.blogTextbox p {
    text-indent: 1em;
    text-align: justify;
}

.blogTextbox p:has(img + em) {
    font-weight: 400;
    color: darkslategray;
    text-align: center;
}

.blogTextbox img {
    box-shadow: 0 0 12px 12px #00000011;

    &.transparent {
        box-shadow: unset;
        filter: drop-shadow(0 0 12px #00000011);
    }
}