/* FONTS
-------------*/
@font-face {
    font-family: 'Calibre';
    src: url(../fonts/Calibre-Medium.woff) format('woff'), url(../fonts/Calibre-Medium.woff2) format('woff2');
    font-weight: 400;
}

@font-face {
    font-family: 'Calibre';
    src: url(../fonts/Calibre-Semibold.woff) format('woff'), url(../fonts/Calibre-Semibold.woff2) format('woff2');
    font-weight: 600;
}

@font-face {
    font-family: 'Calibre';
    src: url(../fonts/Calibre-SemiboldItalic.woff) format('woff'), url(../fonts/Calibre-SemiboldItalic.woff2) format('woff2');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Calibre';
    src: url(../fonts/Calibre-Bold.woff) format('woff'), url(../fonts/Calibre-Bold.woff2) format('woff2');
    font-weight: 700;
}

@font-face {
    font-family: 'SabonNextLTPro';
    src: url(../fonts/SabonNextLTPro-Regular.woff) format('woff'), url(./fonts/SabonNextLTPro-Regular.woff2) format('woff2');
    font-weight: 400;
}


/* GENERAL
-----------------*/
:root {
    font-size: 19px;
}

@media (max-width: 425px) {
    :root {
        font-size: 16px;
    }
}

* {
    box-sizing: border-box;
}

html {
    background: #dadada;
    color: #000000;
    font-family: 'SabonNextLTPro';
    font-weight: 400;
    line-height: 1.4;
    scroll-behavior: smooth;
}

body {
    max-width: 1200px;
    margin: 0 auto;
}

main {
    margin: 0 38px;
}

@media (max-width: 425px) {
    main {
        margin: 0 16px;
    }
}

figure {
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
}

p:first-child {
    margin-top: 0;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: inherit;
    cursor: pointer;
}


/* GRID
-----------*/
.grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    column-gap: 12px;
}

.grid .content-width-8 {
    grid-column-end: span 8;
}

.grid .content-width-6 {
    grid-column-end: span 6;
}

.grid .content-width-4 {
    grid-column-end: span 4;
}

.grid .content-width-3 {
    grid-column-end: span 3;
}

.grid .content-width-2 {
    grid-column-end: span 2;
}

.grid .content-skip-1 {
    grid-column-start: 2;
}

.grid .content-skip-2 {
    grid-column-start: 3;
}

.grid .content-skip-3 {
    grid-column-start: 4;
}

.grid .content-skip-4 {
    grid-column-start: 5;
}

@media (max-width: 425px) {
    .grid .content-width-xs-8 {
        grid-column-end: span 8;
    }

    .grid .content-width-xs-6 {
        grid-column-end: span 6;
    }

    .grid .content-width-xs-5 {
        grid-column-end: span 5;
    }

    .grid .content-width-xs-4 {
        grid-column-end: span 4;
    }

    .grid .content-skip-xs-3 {
        grid-column-start: 4;
    }

    .grid .content-skip-xs-1 {
        grid-column-start: 2;
    }

    .grid .content-skip-xs-0 {
        grid-column-start: 1;
    }
}

/* HELPER
---------------*/
.text-center {
    text-align: center;
}

.text-uppercase,
.uppercase {
    text-transform: uppercase;
}

.classic-font {
    font-family: SabonNextLTPro;
    font-size: 1rem;
}

.line-indent::first-letter {
    padding-left: 50px;
}

.no-margin {
    margin-left: -38px;
    margin-right: -38px;
}

.with-padding {
    padding-left: 38px;
    padding-right: 38px;
}

.credit {
    cursor: pointer;
}

.credit .credit-text {
    display: none;
}

.credit.show .credit-text {
    display: inline;
}

@media (max-width: 425px) {
    .no-margin {
        margin-left: -16px;
        margin-right: -16px;
    }

    .no-margin-xs-revert {
        margin-left: auto;
        margin-right: auto
    }
    
    .with-padding {
        padding-left: 16px;
        padding-right: 16px;
    }

    .with-padding-xs-revert {
        padding-left: none;
        padding-right: none;
    }
}


/* PAPGES
-----------------*/
#stories {
    background: #fef7e9;
}

#galeries,
#galeries .locations > :nth-child(3n+1)::before {
    background: #d6eefb;
}

#galeries .locations > :nth-child(3n+1),
#galeries .locations > :nth-child(3n+2)::before {
    background: #eeebf6;
}

#galeries .locations > :nth-child(3n+2),
#galeries .locations > :nth-child(3n+3)::before {
    background: #fbe5ef;
}

#galeries header nav {
    color: #000000
}


#museums header nav {
    color: #000000
}

#museums,
#museums .locations > :nth-child(3n+1)::before {
    background: #eeebf6;
}

#museums .locations > :nth-child(3n+1),
#museums .locations > :nth-child(3n+2)::before {
    background: #fecf05;
}

#museums .locations > :nth-child(3n+2),
#museums .locations > :nth-child(3n+3)::before {
    background: #d6eefb;
}

#kunsthandel header nav {
    color: #FFFFFF;
}

#kunsthandel,
#kunsthandel .locations > :nth-child(3n+1)::before {
    background: #eeebf6;
}

#kunsthandel .locations > :nth-child(3n+1),
#kunsthandel .locations > :nth-child(3n+2)::before {
    background: #fecf05;
}

#kunsthandel .locations > :nth-child(3n+2) {
    background: #eeebf6;
}

/* INTRO
-------------*/
.intro {
    font-family: 'SabonNextLTPro';
    font-size: 1.5rem;
    text-align: center;
    line-height: 1.5;
    margin-top: -100px;
    background: #FFFFFF;
    padding: 50px 55px;
    position: relative;
}

.intro a {
    text-decoration: none;
}

.intro a:hover {
    text-decoration: underline;
}


.intro .two-columns {
    column-count: 2;
}

.intro .content-list {
    font-family: 'Calibre';
    font-weight: 700;
    line-height: 1;
    list-style: none;
    margin: 0;
    padding: 0;
}

.intro .content-list li {
    margin-bottom: 0.75rem;
}

@media (max-width: 425px) {
    .intro {
        padding: 25px;
    }

    .intro .content-list {
        font-size: 1.15rem;
    }
}

/* QUOTE
-------------*/
.quote {
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.5;
    margin: 150px 0;
    padding: 0 70px;
}

@media (max-width: 425px) {
    .quote {
        margin: 75px 0;
        font-size: 1.25rem;
        padding: 0;
    }
}

/* TEXT BODY
---------------------*/

.text-body {
    margin-bottom: 150px;
    position: relative;
    /* padding-bottom: 50px; */
}

/* .text-body::after {
    content: '';
    display: block;
    height: 50px;
    width: 2px;
    background: #000000;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
} */

.text-body p {
    margin: 0;
}

.text-body figure {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Calibre';
}

.text-body figure.single-img,
.text-body figure.double-img {
    margin-top: 100px;
}

.text-body figure.double-img {
    flex-direction: row;
    flex-wrap: wrap;
}

.text-body figure.double-img img{
    width: 49%;
}

.text-body figure.double-img img:first-child {
    margin-right: 2%;
}

.text-body figure img{
    margin-bottom: 15px;
}

.text-body figure figcaption{
    font-size: 0.75rem;
    width: 100%;
    font-weight: 600;
}

.text-body article {
    position: relative;
    padding-top: 50px;
}

.text-body article > * {
    position: relative;
    z-index: 99;
}

.text-body article::before {
    content: '';
    display: block;
    width: 100%;
    height: 200px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.text-body article:nth-of-type(6n+1)::before,
.text-body article:nth-of-type(6n+2) {
    background: #eeebf6;
}
.text-body article:nth-of-type(6n+2)::before,
.text-body article:nth-of-type(6n+3) {
    background: #fbe5ef;
}
.text-body article:nth-of-type(6n+3)::before,
.text-body article:nth-of-type(6n+4) {
    background: #d6eefb;
}
.text-body article:nth-of-type(6n+4)::before {
    background: #fef7e9;
}

@media (max-width: 425px) {
    .text-body figure {
        margin: 50px 0;
    }

    .text-body figure.single-img,
    .text-body figure.double-img {
        margin-bottom: 0;
        margin-top: 50px;
    }
}

/* HEADER
---------------*/
header {
    position: relative;
    font-family: 'Calibre';
}

header a {
    text-decoration: none;
}

header .credit {
    position: absolute;
    top: 10px;
    left: 38px;
    color: #FFFFFF;
    z-index: 22;
}

header > img {
    min-height: 520px;
    object-fit: cover;
}

header nav{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 30px;
    text-align: center;
    color: #FFFFFF;
    text-transform: uppercase;
    z-index: 11;
    letter-spacing: 1px;
}

header nav .logo {
    max-height: 24px;
    max-width: 345px;
    width: 100%;
    margin: 0 auto;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 0;
}

header nav ul li{
    display: inline-block;
    text-align: center;
}

header nav ul li:not(:last-child){
    margin-right: 40px;
}

header nav a:hover {
    text-decoration: underline;
}

header h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4.5rem;
    margin: 0;
    font-weight: 600;
    color: #FFFFFF;
    text-align: center;
}

header .menu-button {
    max-width: 28px;
    display: none;
}

header #logo-mobile,
header #menu-exit {
    display: none;
}

header .sub-menu {
    display: none;
}

header .darken-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    opacity: 0.5;
    z-index: 10;
}

@media (max-width: 425px) {
    header .credit {
        left: 16px;
    }

    header h1 {
        font-size: 3.75rem;
    }

    header nav {
        width: 92%;
        left: 50%;
        top: 25px;
        transform: translateX(-50%);
        padding: 15px;
    }

    header .nav-top {
        display: flex;
        flex-direction: row;
    }

    header .nav-top a {
        width: 100%;
        margin-right: 15px;
    }

    header .menu-button {
        display: block;
    }

    header ul {
        display: none;
        color: #000000;
        font-size: 1.125rem;
    }

    header nav.open {
        background: #FFFFFF;
        position: fixed;
    }

    header nav.open + .darken-overlay {
        display: block;
    }

    header nav.open #logo,
    header nav.open #menu {
        display: none;
    }

    header nav.open #logo-mobile,
    header nav.open #menu-exit {
        display: block;
    }

    header nav.open ul {
        display: block;
    }

    header nav.open ul.menu > li {
        display: block;
        padding: 13px 0 10px;
    }

    header nav  ul.menu > li:first-child{
        border-top: 1px solid #000000;
    }

    header nav  ul.menu > li:not(:last-child){
        margin-right: 0;
        border-bottom: 1px solid #000000;
    }

    header nav .sub-menu ul > li {
        margin: 0;
        display: block; 
    }
}

/* FOOTER
---------------*/
footer {
    background: #B3B3B3;
    padding: 20px 0;
    color: #FFFFFF;
    font-size: 0.8rem;
    line-height: 1.25;
}

footer ul {
    padding: 0;
    list-style: none;
    margin-bottom: 0;
}

footer .text-uppercase {
    font-family: 'Calibre';
}

@media (max-width: 425px) {
    footer ul li:not(:last-child){
        margin-bottom: 25px;
    }
}

/* LOCATION
-------------------*/
.location {
    padding-bottom: 100px;
    position: relative;
}

.location::before {
    content: '';
    display: block;
    width: 100%;
    height: 75px;
    position: absolute;
    top: 0;
    left: 0;
}

.location h2 {
    font-size: 1.9rem;
    font-weight: 700;
    text-transform: uppercase;
    height: 150px;
    margin-top: 0;
    margin-bottom: 100px;
    background: #FFFFFF;
    line-height: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    font-family: 'Calibre';
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.location h2::after {
    content: '';
    display: block;
    height: 100px;
    width: 2px;
    background: #000000;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.location .content {
    display: flex;
    position: relative;
    margin-bottom: 100px;
    min-height: 760px
}

.location .content > :nth-child(1n) {
    width: 50%;
}

.location .content::after {
    content: '';
    display: block;
    height: 50px;
    width: 2px;
    background: #000000;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.location .content figure {
    display: flex;
    align-items: center;
    background: #FFFFFF;
}

.location .content .description {
    padding: 100px 80px 50px 90px;
    background: #FFFFFF;
    min-width: 600px;
}

.location .content .description > :nth-child(1n) {
    margin-top: 0;
}

.location .content .description > :last-child {
    margin-bottom: 0;
}

.location .content .description h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
    font-family: 'Calibre';
    font-weight: 600;
}

.location .content .description p small {
    font-family: 'Calibre';
}

.location .content .description .indent {
    padding-left: 50px;
}

.location .content .description p:not(.indent){
    margin: 0;
}

.location .content .description p:last-child:not(.line-indent){
    margin-top: 1em;
}

.location .footer-info {
    margin: 0;
    text-align: center;
}

.location .footer-info .text-uppercase {
    font-family: 'Calibre';
}

@media (max-width: 425px) {
    .location {
        padding-bottom: 75px;
    }

    .location::before {
        height: 50px;
    }

    .location .content {
        flex-direction: column;
        margin-bottom: 50px;
    }

    .location .content::after {
        height: 25px;
    }

    .location .content > :nth-child(1n) {
        width: auto;
    }

    .location h2 {
        font-size: 1.75rem;
        margin-bottom: 25px;
        height: 100px;
    }
    
    .location h2::after {
        height: 25px;
    }

    .location .content figure {
        margin-bottom: 25px;
        position: relative;
        padding: 0 20px;
        background: none;
    }

    .location .content figure::after {
        content: '';
        display: block;
        height: 25px;
        width: 2px;
        background: #000000;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
    }

    .location .content .description {
        padding: 25px 20px;
        min-width: auto;
    }

    .location .content .description .indent {
        padding-left: 25px;
    }

    .location .footer-info:not(:last-child) {
        margin-bottom: 25px;
    }
}