:root {
    --content-gutter: 14%;
    --bg-color: blanchedalmond;
}

html,
body {
    margin: 0;
    height: 100%;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;

    width: 100%;
    color: white;
    stroke: white;
}

#header-bar {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;

    transition: color stroke 0.3s ease-in-out;

    div {
        margin: 10px 10px 0 0;
        width: 32px;
        height: 32px;
        z-index: 2;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    a,
    a:hover,
    a:visited,
    a:active,
    a:link {
        color: inherit;
        text-decoration: none;
    }
}

nav {
    visibility: hidden;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 600px;
    background: whitesmoke;
    color: #0a0a0a;
    border: 1px solid #aaa;

    transition: all .3s ease-in-out;
}

#nav-container {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: baseline;

    ul {
        list-style: none;
        /* padding-inline-start: 0; */
    }

    li {
        font-size: 1.2rem;
        padding: 1rem;
    }

    a,
    a:visited {
        color: inherit;
        text-decoration: none;
    }

    a:hover {
        color: rgba(252, 155, 0, 1);
    }
}

#hamburger {
    cursor: pointer;
}

.line {
    fill: none;
    /* stroke: white; */
    stroke: inherit;
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}

.line2 {
    stroke-dasharray: 60 60;
    stroke-width: 6;
}

.line3 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}

.opened .line {
    stroke: rgba(252, 155, 0, 1);
}

.opened .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}

.opened .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 6;
}

.opened .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}

body {
    background-color: #2c2833;
    position: relative;
    overflow-x: hidden;

    font-family: "Nunito", sans-serif;
    font-weight: 360;
    font-style: normal;

    color: white;
}

h1,
h2,
h3,
h4,
li {
    font-family: "Poiret One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h2 {
    font-size: xxx-large;
}

#home-index {
    background: #2c2833 url("/images/nathalie_boulanger_color.jpg") top left no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

#intro {
    height: 100%;

    h1 {
        position: absolute;
        bottom: 6%;
        left: 6%;

        margin: 0;
        line-height: 80%;

        font-family: "Waterfall", cursive;
        font-weight: 400;
        font-style: normal;
        text-shadow: 1px 1px 2px black;
        font-size: 8rem;

        @media (max-width: 360px) {
            font-size: 6rem;
        }
    }

    span {
        color: rgba(252, 155, 0, 1);
    }
}

.content-block-main {
    position: relative;
    background: var(--bg-color);
    color: black;
    margin: 0;
    padding: clamp(66px, 5vw, 300px) 0;
    min-height: 100vh;

    clip-path: polygon(0% 0%, 100% 3%, 100% 100%, 0% 97%);
    font-size: 1.2rem;

    p,
    h1,
    h2,
    h3,
    h4,
    cite {
        margin-top: 0;
        padding: 0 var(--content-gutter);
    }
}

.content-block-main:last-child {
    clip-path: polygon(0% 0%, 100% 3%, 100% 100%, 0% 100%);
    min-height: 100px;
    padding-bottom: 12px;
}

.content-block-alt {
    background: none;
    color: white;
    padding: 36px 0;
    margin: 0;

    font-size: 1.2rem;
}

.content-alt-background {
    margin-top: 0;
    padding: 0 var(--content-gutter);
}

.scroll-breakpoint {
    position: absolute;
    bottom: 3%;
}

.two-col {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    margin: 0 var(--content-gutter) 32px;

    @media screen and (width < 900px) {
        flex-direction: column;
    }
}

.video-wrapper {
    width: 80%;
    max-width: 680px;
    height: 100%;
    margin: 0 auto;
}

.h_iframe {
    position: relative;
    padding-top: 56.25%;
}

.h_iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.quote-block {
    background-color: rgba(100, 100, 100, .4);
    color: white;

    font-size: xx-large;

    @media (max-width: 800px) {
        font-size: 1.4rem;
    }

    font-family: "Nunito",
    sans-serif;
    font-weight: 300;
    font-style: regular;

    p {
        margin: 8px 16px 4px;
    }

    cite {
        margin: 12px auto 12px auto;
    }
}

.alternating-cols {
    display: grid;
    grid-template-columns: 4fr 40px 3fr;
    grid-template-rows: 1fr;
    grid-template-areas: ". cite text";

    @media (max-width: 800px) {
        grid-template-columns: 1fr 30px 4fr;
    }

    margin-top: 12px;

    .citation {
        grid-area: cite;
        writing-mode: vertical-rl;
        text-orientation: mixed;
    }

    .quote {
        grid-area: text;
    }
}

.alternating-cols:nth-child(2n) {
    grid-template-columns: 3fr 40px 4fr;
    grid-template-areas: "text cite .";

    @media (max-width: 800px) {
        grid-template-columns: 4fr 30px 1fr;
    }
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;

    background: var(--bg-color);
    color: black;
    padding: 16px;
}

.orange-text {
    color: rgba(252, 155, 0, 1);
    stroke: rgba(252, 155, 0, 1);
}

.show {
    visibility: visible;
    right: 0;
}

.grow-hover:hover {
    transform: scale(132%);
    transition: all ease 0.5s;
}