:root {
    --primary-color: #A80000;
    --secondary-color: #E4C5A5;
    --background-color: #ffffff;
    --spacing: calc(100vw * 16 / 1920); /* not used *//* 16px @1920 */
    --font-size: 22px;
    --font-weight: 300;
    --small-left-outline: calc(100vw * 208 / 1920);/* 13rem @1920 */
    --deep-left-outline: calc(100vw * 416 / 1920);/* 26rem @1920 */
    --section-gap: calc(100vw * 160 / 1920);/* 10rem @1920 */
    --small-spacing: calc(100vw * 64 / 1920);/* 4rem @1920 */
    /* the above calc() basically jusd does, what should this size be on 1920x1080 res. take that vw */

    --nav-color: #78BFAD;

    /* Design units: 1 design-pixel of the Adobe XD designs.
     --d = desktop design (1920px wide), --m = mobile design (412px wide).
     Usage: calc(var(--d) * 400) is exactly 400px at a 1920px viewport. */
    /* this is done by Cluade when makinh the website more like the mobile example from Adobe. */
    --d: calc(100vw / 1920);
    --m: calc(100vw / 412);

    /* ------------------------------------------------------------------
     BREAKPOINTS — every section switches from the (scaled) desktop design
     to the (scaled) mobile design where its own desktop layout stops
     working. CSS can't use var() inside @media, so these variables are
     the reference only: each media query repeats the literal value and
     is tagged with a comment holding the name (e.g. "--bp-intro") —
     search for the name to find (and change) all of them.
     ------------------------------------------------------------------ */
    --bp-header: 599px; /* header, #main top padding, banner          */
    --bp-intro: 899px; /* doubleTextSectionWithThreeImages           */
    --bp-green: 1023px; /* textSectionWithAngledPhotograph            */
    --bp-about: 1023px; /* alineaSectionWithImageAndButton ("Hoi!")   */
    --bp-shoots: 1099px; /* rowOfDisplayImagesWithNavigation           */
    --bp-contact: 799px; /* floatingModalAlineaSection                 */
    --bp-footer: 767px; /* footer                                     */
    --bp-portfolio: 767px; /* portfolio intro + photo collage            */
    --bp-contact-form: 599px; /* contact intro + contactForm                */
    --bp-about-intro: 599px; /* over mij: "Hi, ik ben Lianne"              */
    --bp-about-creative: 767px; /* over mij: textSectionWithMultipleAngledPhotographs */
    --bp-about-quote: 767px; /* over mij: psalm quote (about-quote)         */
    --bp-about-method: 767px; /* over mij: "Mijn werkwijze" blocks          */
    --bp-timeline: 999px; /* timelineSectionElement                      */

    /* ------------------------------------------------------------------
     TYPOGRAPHY TOKENS — Fraunces/Elms Sans sizes that optically match
     Butik Display/Semplicita Pro from the XD designs.
     *-d = desktop design: scales with the viewport, max = 1920 size.
     *-m = mobile design: scales from the 412 design, but never larger than
           the desktop size at the same width, so sections that already
           switched and sections that didn't show the same text size.
     Components use the plain name (var(--fs-body)); a section switches
     to the mobile set inside its own breakpoint, see .fs-mobile below.
     ------------------------------------------------------------------ */
    --fs-body-d: clamp(16px, calc(var(--d) * 22), 22px);
    --fs-heading-d: clamp(34px, calc(var(--d) * 50), 50px);
    --fs-subheading-d: clamp(22px, calc(var(--d) * 30), 30px);
    --fs-link-large-d: clamp(20px, calc(var(--d) * 28), 28px);
    --fs-button-d: clamp(16px, calc(var(--d) * 22), 22px);
    --fs-card-title-d: clamp(22px, calc(var(--d) * 30), 30px);
    --fs-card-text-d: clamp(14px, calc(var(--d) * 19), 19px);
    --fs-card-button-d: clamp(13px, calc(var(--d) * 18), 18px);
    --fs-nav-d: 22px;
    --fs-footer-title-d: clamp(22px, calc(var(--d) * 30), 30px);
    --fs-quote-d: clamp(24px, calc(var(--d) * 40), 40px);
    --lh-heading-d: 1.2;

    --fs-body-m: clamp(11.5px, calc(var(--m) * 13.2), var(--fs-body-d));
    --fs-heading-m: clamp(21px, calc(var(--m) * 24), var(--fs-heading-d));
    --fs-subheading-m: clamp(17.5px, calc(var(--m) * 20), var(--fs-subheading-d));
    --fs-link-large-m: clamp(13px, calc(var(--m) * 15), var(--fs-link-large-d));
    --fs-button-m: clamp(9.2px, calc(var(--m) * 10.5), var(--fs-button-d));
    --fs-card-title-m: clamp(14px, calc(var(--m) * 16), var(--fs-card-title-d));
    --fs-card-text-m: clamp(10px, calc(var(--m) * 11.4), var(--fs-card-text-d));
    --fs-card-button-m: clamp(8px, calc(var(--m) * 8.8), var(--fs-card-button-d));
    --fs-nav-m: clamp(16.6px, calc(var(--m) * 19), var(--fs-nav-d));
    --fs-footer-title-m: clamp(9.6px, calc(var(--m) * 11), var(--fs-footer-title-d));
    --fs-quote-m: clamp(17.5px, calc(var(--m) * 20), var(--fs-quote-d));
    --lh-heading-m: 1.25;

    --lh-body: 1.59;
    /* 35px on 22px, same ratio in both designs */
    --lh-card-text: 1.68;
    /* 32px on 19px */

    --font-size-h1: 44px;
    --font-size-h2: 33px;
    --font-size-h3: 25.75px;
    --font-size-h4: 22px;
    --font-size-h5: 18.25px;
    --font-size-h6: 14.73px;

    @media (max-width:1000px) {
        --section-gap: 6rem;
    }

    @media (max-width:700px) {
        --section-gap: 3rem;
    }

    @media (max-width:500px) {
        --section-gap: 2rem;
    }

    @media (max-width:450px) {
        --font-size: 18px;
    }

    @media (max-width:350px) {
        --font-size: 14px;
    }
}

/* Active typography set. Desktop by default; a section switches its whole
   subtree to the mobile set by declaring the same props inside its own
   breakpoint (see the section's CSS: "--fs-*: var(--fs-*-m)").            */
:root {
    --fs-body: var(--fs-body-d);
    --fs-heading: var(--fs-heading-d);
    --fs-subheading: var(--fs-subheading-d);
    --fs-link-large: var(--fs-link-large-d);
    --fs-button: var(--fs-button-d);
    --fs-card-title: var(--fs-card-title-d);
    --fs-card-text: var(--fs-card-text-d);
    --fs-card-button: var(--fs-card-button-d);
    --fs-nav: var(--fs-nav-d);
    --fs-footer-title: var(--fs-footer-title-d);
    --fs-quote: var(--fs-quote-d);
    --lh-heading: var(--lh-heading-d);
}

h1,
.title-size-1 {
    font-size: var(--font-size-h1);
}

h2,
.title-size-2 {
    font-size: var(--font-size-h2);
}

h3,
.title-size-3 {
    font-size: var(--font-size-h3);
}

h4,
.title-size-4 {
    font-size: var(--font-size-h4);
}

h5,
.title-size-5 {
    font-size: var(--font-size-h5);
}

h6,
.title-size-6 {
    font-size: var(--font-size-h6);
}

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Elms Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: var(--font-weight);
    font-style: normal;
    font-size: var(--font-size);
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

header {
    width: 100%;
    height: max(calc(var(--d) * 140 - 2rem), 4.5rem);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    >.logo {
        display: block;
        width: max(calc(var(--d) * 306), 200px);
        margin: 2rem calc(var(--d) * 134) 0 0;

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

    @media (max-width: 599px) {
        /* --bp-header */
        --fs-nav: var(--fs-nav-m);
        height: calc(var(--m) * 77);
        align-items: flex-start;

        >.logo {
            width: calc(var(--m) * 164);
            margin: calc(var(--m) * 14) calc(var(--m) * 14) 0 0;
        }
    }
}

.disclaimer p,
.mobile-disclaimer {
    position: relative;
    z-index: 1000;
    display: block;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    box-sizing: border-box;
    padding: 1rem clamp(1rem, 3vw, 2rem);
    background: #ecf6f3;
    border-top: 2px solid var(--nav-color);
    border-bottom: 2px solid var(--nav-color);
}

.disclaimer p,
.mobile-disclaimer p {
    margin: 0;
    text-align: center;
    color: var(--primary-color);
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    line-height: 1.5;
    font-weight: 600;
}

@media (min-width: 1500px) {
    .mobile-disclaimer {
        display: none;
    }
}

.button-link {
    width: 50%;
}

.button {
    font-family: inherit;
    font-weight: 500;
    font-size: var(--font-size);
    width: 100%;
    border: none;
    border-radius: 2rem;
    padding: 1rem 0;
    cursor: pointer;
}

.button.default {
    background-color: var(--primary-color);
    color: #ffffff;
}

.button.blue-hollow:hover,
.button.default:hover {
    /* TODO: TEMPLATE HOVER EFFECT */
    filter: brightness(1.1);
}

.button.blue-hollow {
    background-color: #ffffff;
    color: #78BFAD;
    border: 2px solid #78BFAD;
}

.centered-split-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-box {
    display: flex;
    flex-direction: row;
    gap: var(--small-spacing);

    >* {
        flex: 1;
    }
}

#header-nav {
    /* sits slightly below the logo's centre, level with the bottom of "AteLi" (as in the design) */
    margin: calc(2rem + var(--d) * 18) 0 0 calc(var(--d) * 164 - 1px);
    padding-inline-start: 0;
    list-style: none;
    display: flex;
    font-size: var(--fs-nav);

    @media (max-width: 599px) {
        /* --bp-header */
        margin: calc(var(--m) * 25 - 4px) 0 0 calc(var(--m) * 38 - 1px);
    }
}

#header-nav>li {
    position: relative;
    text-align: center;
    margin-right: calc(var(--d) * 167);

    @media (max-width: 599px) {
        /* --bp-header */
        margin-right: calc(var(--m) * 31);
    }
}

#header-nav .drop {
    z-index: 2000;
    padding-inline-start: 0;
    list-style: none;
    position: absolute;
    top: calc(130%); /* allows your mouse to move into it from the button without hover removing it. */
    left: 50%;
    transform: translateX(-50%);
    background: var(--nav-color);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    text-align: center;
}

#header-nav .drop-info {
    @media (max-width:450px) {
        min-width: 125px;
    }

    @media (max-width:350px) {
        min-width: 100px;
    }
}

#header-nav .drop-shoots {
    width: 250px;

    @media (max-width:450px) {
        max-width: 225px;
    }

    @media (max-width:350px) {
        max-width: 175px;
    }
}

#header-nav .drop li a {
    text-decoration: none;
    color: var(--background-color);
}

#header-nav .drop li {
    margin: 26px 0;
}

#header-nav .header-title {
    color: var(--primary-color);
    padding: 13px 0;
    cursor: pointer;

    font-family: "Fraunces", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
        "SOFT" 0,
        "WONK" 0;

    :hover {
        font-weight: normal;
    }
}

@media (min-width:700px) {

    #header-nav .header-title:focus,
    #header-nav .header-title:active,
    #header-nav .header-title:focus-within {
        font-weight: 300;
    }
}

#header-nav>li:hover .drop {
    opacity: 1;
    visibility: visible;
}

.fraunces-normal {
    font-family: "Fraunces", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-variation-settings:
        "SOFT" 0,
        "WONK" 0;
}

.bold {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.oblique {
    font-style: oblique;
}

#main {
    padding-top: 2rem;
    flex: 1;

    @media (max-width: 599px) {
        /* --bp-header */
        padding-top: 0;
    }
}

#main>section {
    margin-bottom: var(--section-gap);
}

#main>section.double-margins {
    margin-bottom: calc(var(--section-gap) *2);
}

#main>section.triple-margins {
    margin-bottom: calc(var(--section-gap) *3);
}

#main>section.quadrouple-margins {
    margin-bottom: calc(var(--section-gap) *4);
}

#main>section.ignore-below-margins {
    margin-bottom: 0;
}

.no-top-margin {
    margin-top: 0;
}

.no-bottom-margin {
    margin-bottom: 0;
}

footer {
    display: flex;
    flex-direction: column;
    gap: calc(var(--d) * 61);

    @media (max-width: 767px) {
        /* --bp-footer */
        --fs-footer-title: var(--fs-footer-title-m);
        gap: calc(var(--m) * 20);
    }
}

#main>section.floatingModalAlineaSection:last-child {
    margin-bottom: calc(var(--d) * 196);

    @media (max-width: 799px) {
        /* --bp-contact */
        margin-bottom: calc(var(--m) * 60);
    }
}

footer>.multiple-socials-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0 calc(var(--d) * 77) 0 calc(var(--d) * 140);

    .title {
        font-size: var(--fs-footer-title);
    }

    .link-container {
        display: flex;
        flex-direction: row;
        gap: calc(var(--d) * 25);
    }

    @media (max-width: 767px) {
        /* --bp-footer */
        margin: 0 calc(var(--m) * 14) 0 calc(var(--m) * 17);

        .link-container {
            gap: calc(var(--m) * 7);
        }
    }
}


footer>.recent-soclial-posts {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: calc(var(--d) * 42.5);
    margin-bottom: calc(var(--d) * 92);

    @media (max-width: 767px) {
        /* --bp-footer */
        grid-template-columns: repeat(3, 1fr);
        gap: calc(var(--m) * 15);
        margin-bottom: calc(var(--m) * 34);

        >.social-posted-image:nth-child(n+4) {
            display: none;
        }
    }
}

footer>.recent-soclial-posts a,
footer>.recent-soclial-posts a img {
    width: 100%;
}

footer>.multiple-socials-row>.link-container>.icon,
footer>.recent-soclial-posts>.social-posted-image {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

footer>.multiple-socials-row>.link-container>.icon {
    background-color: #ffffff;
    width: calc(var(--d) * 85);

    >img {
        width: 100%;
        height: auto;
    }

    @media (max-width: 767px) {
        /* --bp-footer */
        width: calc(var(--m) * 24);
    }
}

footer>.recent-soclial-posts>.social-posted-image {
    background-color: #CECECE;
}