* {
    margin: 0;
    font-family: 'Atkinson';

    /* https://coolors.co/ee8f1b-d17b0f-3e3e33-70715c-d9dac9-fcfced */
    --bg: #fcfced;
    --bg2: #d9dac9;

    --fg: #2A2A22;
    --fg2: #575848;

    --accent: #d17b0f;
    --accent2: #ee8f1b;
}

@font-face {
    font-family: "Atkinson";
    font-style: normal;
    src: url(/assets/fonts/AtkinsonHyperlegibleNext-VariableFont_wght.ttf)
}

@font-face {
    font-family: "Atkinson";
    font-style: italic;
    src: url(/assets/fonts/AtkinsonHyperlegibleNext-Italic-VariableFont_wght.ttf)
}

/* General */
body {
    position: relative;
    z-index: 0;
    background-color: var(--bg);
    color: var(--fg);
}


.wrapper {
    width: 70%;
    max-width: 1400px;
    margin: auto;
}

.wrapper-split {
    display: flex;
    gap: 3rem;
}

.wrapper-full {
    width: 90%;
    max-width: 1400px;
    margin: auto;
}

.wrapper-title {
    text-align: center;
}

.wrapper-img {
    width: 60%;
    max-width: 1400px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.gallery div {
    position: absolute;
}

.gallery div img {
    width: 100%;
    max-height: unset;
    max-width: unset;
    margin: 0 0;
    padding: 0 0;
}

.gallery div img:hover {
    cursor: pointer;
}

.image-grid {
    display: flex;
    gap: 0.5rem;
}

.caption {
    font-weight: 100;
    font-size: 0.85rem;
    line-height: 0.85rem;
    margin-top: 0;
    margin-bottom: 0;
}

.popup {
    display: none;
    /* position: absolute; */
    position: fixed;
    top: 0;
    left: 0;
    background: color-mix(in srgb, var(--bg) 95%, transparent);
    z-index: 10;
    width: 100vw;
    height: 100lvh;
}

.popup img {
    max-height: 75lvh;
}

.popup button {
    background: none;
    border: none;
    opacity: 70%;
    transition: all 0.5s ease-in-out;
}

.popup button:hover, .popup button:active, .popup button:focus {
    opacity: 100%;
    cursor: pointer;
}

.popup button img {
    width: 3vw;
}

.popup.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup div {
    display: flex;
    width: 70%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.no-scroll {
  overflow: hidden;
}

.get-in-touch {
    text-align: center;
}

.get-in-touch p {
    display: inline-block;
    margin-right: 0.5rem;
}

.smaller {
    font-size: 1rem;
    font-weight: 100;
}

.larger {
    font-size: 2rem;
}

.blue {
    color: var(--accentBlue);
}

.orange {
    color: var(--accent);
}

.grey {
    color: var(--fg2);
}

.header .smaller {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;

}

p, li, ul {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.25rem;
}

a {
    padding-left: 0.1em;
    padding-right: 0.1em;
    transition: background-color 0.2s ease;
    text-decoration: underline;
    color: var(--fg);
}

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

hr {
    width: 25%;
    margin: 20px auto;
    border: none;
    border-top: 1px solid var(--fg);
    text-align: center;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.5rem;
    line-height: 3rem;
    margin-bottom: 1rem;
}

img {
    margin: 1rem 0;
    max-width: 100%;
    max-height: 500px;
}

aside {
    padding-left: 1em;
    margin-bottom: 1em;
    border-left: 2px solid var(--accent2);
    color: var(--fg2);
}

/* NAVBAR */

nav {
    padding-top: 1rem;
    border-bottom: 2px solid var(--fg);
    margin: auto auto;
    margin-bottom: 3rem;
    width: 70%;
    /* background: var(--fg); */
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    font-size: 1rem;
}

nav ul {
display: flex;
  list-style: none;
  padding-left: 0.25rem;
  align-items: center;
  margin-bottom: 0;
}

nav ul li {
    float: left;
  margin-bottom: 0;
  list-style: none;
  padding-left: 2.25rem;
}

nav ul li a, nav a:has(h1) {
    text-decoration: none;
}

/* Footer */

footer {
    width: 50%;
    margin: auto;
    margin-top: 2rem;
    padding: 1em 0;
    border-top: 2px solid var(--fg);
    color: var(--fg2);
    text-align: center;
}

.footer-wrapper {
    padding: 0 1em;
    width: 100%
}

footer a {
    text-decoration: none;
    margin-right: 0.5em;
}

@media only screen and (max-width: 992px) {
    nav h1 {
        font-size: 2rem;
        line-height: 2rem;
    }

    nav {
        width: calc(100% - 2rem);
        padding: 1rem;
    }

    nav ul li:not(:last-child) {
        display: none;
    }

    .wrapper {
        width: 90%;
        max-width: unset;
    }

    .popup {
        flex-direction: column;
        height: 100dvh;
    }

    .popup #controls {
        flex-direction: row;
        width: 70%;
        justify-content: space-between;
    }

    .popup #controls img {
        width: 10vw;
    }

    .popup div {
        width: 90%;
        margin-top: auto;
    }

    .popup img {
        max-height: 75lvh;
    }

    footer {
        width: 100%;
    }

    .footer-wrapper {
        padding: 0;
    }

    .info span {
        font-size: 0.8rem;
    }
}
