/* --Fonts-- */
@font-face {
    font-family: posture;
    src: url(../fonts/posture.otf);
}


/* --Foundation-- */
html {
    scroll-behavior: smooth;
}

img {
    width: 100%;
}

body {
    background-color: #FAF7F3;
    font-family: 'Montserrat';
    font-size: 16px;
}

p {
    line-height: 1.5;
    color: rgba(0, 0, 0, .8);
    margin-bottom: 20px;
}

a {
    color: black;
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
}

a:hover {
    opacity: .5;
}

button {
    cursor: pointer;
}

button span {
    display: inline-block;
    transition: .3s;
}

button:hover span {
    transform: translateX(5px);
}

#bg-img {
    position: absolute;
    right: 5%;
    top: 50px;
    width: 40%;
    z-index: 999;
    pointer-events: none;
}

header {
    width: 100%;
    padding: 0 5%;
    box-sizing: border-box;
}

#decorative-line {
    width: 90%;
    height: 1px;
    border-bottom: 1px solid black;
    display: block;
    position: sticky;
    top: 150px;
    box-sizing: border-box;
    margin: auto;
    z-index: 998;
}

nav {
    width: 100%;
    padding: 50px 5%;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    left: 0;
    background-color: rgba(250, 247, 243, .5);
    backdrop-filter: blur(10px);
    z-index: 998;
}

nav h1 {
    display: none;
}

nav img {
    width: 50px;
}

nav div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

nav #connecting-line {
    width: 20px;
    height: 1px;
    border-bottom: 1px solid black;
    margin: 0 10px;
}

@media only screen and (min-width: 1024px) {
    body {
        font-size: 18px;
    }

    #decorative-line {
        top: 119px;
    }

    nav {
        font-size: 20px;
    }

    nav h1 {
        display: block;
    }

    nav img {
        margin: auto;
        position: absolute;
        left: 0;
        right: 0;
    }

    nav #connecting-line {
        width: 80px;
    }
}

h2 {
    font-size: 8.4vw;
    text-transform: uppercase;
    font-family: posture;
    text-align: center;
    margin: auto;
    text-wrap: nowrap;
}

#intro {
    margin: 0;
    padding: 5% 5% 0 5%;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 1000px;
    box-sizing: border-box;
}

#intro button {
    background-color: black;
    color: #FAF7F3;
    border: none;
    outline: none;
    padding: 15px 35px;
    font-family: 'Montserrat';
    font-size: 1.1em;
    transition: .3s;
    outline: 1px solid black;
    outline-offset: -1px;
}

#intro button:hover {
    background-color: #FAF7F3;
    color: black;
    outline: 1px solid black;
    outline-offset: -1px;
}

#intro a:hover {
    opacity: 1;
}

section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: 1150px;
    margin: 7% auto;
}

section.row-reverse {
    flex-direction: column;
}

@media only screen and (min-width: 1024px) {
    section {
        flex-direction: row;
        padding: 5%;
    }

    section.row-reverse {
        flex-direction: row-reverse;
    }

    #intro {
        width: 50%;
    }
}

section figure {
    position: relative;
    width: 70%;
    margin: auto;
    margin-bottom: 20px;
}

.outline {
    position: absolute;
    mix-blend-mode: difference;
    top: 30px;
    right: 30px;
}

section.row-reverse .outline {
    right: auto;
    left: 30px;
}

section article {
    position: relative;
    flex: 1;
    padding: 40px 5%;
    margin-bottom: 3%;
}

section article h3 {
    font-family: posture;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 2.5em;
    margin-bottom: 5px;
}

section article h4 {
    font-size: 1.3em;
    margin-bottom: 20px;
    font-weight: 400;
}

section article button {
    background-color: transparent;
    outline: none;
    border: none;
    font-weight: 500;
    font-family: 'Montserrat';
    font-size: 1.1em;
    padding: 0;
}

@media only screen and (min-width: 1024px) {
    section figure {
        margin-bottom: 0;
        max-width: 375px;
    }

    section article {
        background-color: rgba(255, 255, 255, .65);
        padding: 40px 50px;
    }

    section article h3 {
        font-size: 3.5vw;
        position: absolute;
        top: -2vw;
        margin-bottom: 0;
        vertical-align: bottom;
    }

    section article h4 {
        font-size: 1.6em;
    }
}

#curatorial-statement {
    padding: 0 5%;
    margin: 5% auto;
}

#curatorial-statement h3 {
    position: relative;
    top: auto;
}

footer {
    position: relative;
    width: 100%;
    padding: 3% 5%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

footer::before {
    content: '';
    width: 90%;
    height: 1px;
    border-bottom: 1px solid black;
    box-sizing: border-box;
    margin: auto;
    position: absolute;
    top: 0;
}

footer img {
    height: 80px;
    width: auto;
    margin: 25px;
}

footer img:first-of-type {
    margin-left: 0;
}

footer img:last-of-type {
    margin-right: 0;
}

h3>span.floater {
    position: relative;
    display: inline-block;
}

.return {
    background-color: transparent;
    outline: none;
    border: none;
    font-weight: 500;
    font-family: 'Montserrat';
    font-size: 1.1em;
    padding: 0;
    margin: 5%;
}