/* Font */
@font-face {
    font-family: 'GT-Walsheim Regular';
    src: local('GT-Walsheim-Regular'),
        url('../fonts/GT-Walsheim-Regular.woff2') format('woff2'),
        url('../fonts/GT-Walsheim-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT-Walsheim Bold';
    src: local('GT-Walsheim-Bold'),
        url('../fonts/GT-Walsheim-Bold.woff2') format('woff2'),
        url('../fonts/GT-Walsheim-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Farben */

body {
    --background: #edeae6;
    --light: #998f87;
    --accent: #4d2e12;
    --contrast: #000;
}

/* Abstände */

body {
    --margin-section: 80px;
}


/* Allgemein */

* {
    margin: 0;
    padding: 0;
    outline: 0;
}

body {
    background-color: var(--background);
    color: var(--contrast);
    font-size: 16px;
    font-family: "GT-Walsheim Regular", sans-serif;
    font-weight: 200;
    line-height: 1.8em;
    letter-spacing: 0.25em;
}

body.studio,
body.index {
    position: relative;
    background-image: url(../img/studio_bg.jpg);
    background-size: 70% auto;
    background-repeat: no-repeat;
    background-position: top left;
}
@media screen and (min-width: 769px) {
    main {
        display: grid;
        grid-template-columns: 30% 70%;
    }
}

@media (max-width: 767px) {

    body.studio,
    body.index {
        background-size: cover;
    }
}

body.index:after,
body.studio:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40vw;
    height: calc(100vh + 150px);
    background: var(--background);
}

p {
    margin: 1.2em 0em;
    font-size: 0.9em;
    line-height: 1.8em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0em 0em 1.2em 0em;
    font-size: 1em;
    font-weight: 500;
    line-height: 1em;
}

h1 {
    font-size: 30px;
    line-height: 1.25em;
}

h2 {
    font-size: 25px;
    margin-top: 4em;
}

h3 {
    margin-bottom: 0;
    margin-top: 4em;
}

.flavortext {
    font-size: 20px;
}

img {
    max-width: 100%;
}

ul {
    margin-left: 1em;
}

/* Sections */

.m-intro {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
}

.s-shop {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    position: relative;
    width: 50vw;
    height: 100vh;
    flex: 0 0 50vw;
    background-image: url("../img/chair.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #C6BBA9;
    z-index: 1;
}

.s-studio {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    position: relative;
    width: 50vw;
    height: 100vh;
    flex: 0 0 50vw;
    background-image: url("../img/pot.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #C6BBA9;
    z-index: 1;
}

.s-content {
    display: flex;
    position: relative;
    margin-top: 180px;
    margin-bottom: 50px;
    /*left: 30vw;
    width: 70vw;
    flex: 0 0 70vw;*/
    z-index: 1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 90px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 180px;
    z-index: 3;
    background: var(--background);
}

footer {
    position: relative;
    margin-top: 50px;
    padding: 0px 50px 20px 90px;
    font-size: .8em;
    line-height: 1.5em;
}

center {
    position: relative;
    padding: 20px;
    font-size: 0.8em;
    background: var(--background);
}

center a,
center a:hover {
    color: var(--accent) !important;
    text-decoration: none !important;
}

/* Layout */

body.studio .c-navigation,
body.index .c-navigation {
    background: transparent;
}

.c-navigation {
    position: sticky;
    top: 180px;
    left: 0;
    display: block;
    padding-left: 90px;
    justify-content: center;
    align-items: flex-start;
    //width: 30vw;
    height: 65vh;
    flex: 0 0 30vw;
    z-index: 1;
}

.c-navigation ul {
    list-style: none;
    margin-left: 0;
}

.c-navigation ul li {
    font-weight: 500;
    line-height: 2.5em;
}

.c-navigation ul li a {
    color: #000;
    text-decoration: none;
}

.studio .c-navigation ul li a,
.index .c-navigation ul li a {
    color: var(--background);
}

.c-social {
    z-index: 9;
    transition: all 0.5s linear;
}

.c-social svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    color: #fff;
}

.c-social .opener svg {
    fill: var(--contrast);
    color: var(--contrast);
}

.c-social ul {
    list-style: none;
    margin: 0;
}

.c-social ul li {
    display: inline-block;
    font-weight: 500;
    line-height: 2.5em;
}

.c-social ul li a {
    text-decoration: none;
    display: flex;
}

.c-logo {
    color: var(--background);
    z-index: 9;
    transition: all 0.5s linear;
}

.c-logo svg {
    width: 240px;
    height: 80px;
    fill: var(--background);
    transition: all 0.5s linear;
}

.studio .c-logo svg,
.index .c-logo svg {
    color: var(--background);
    fill: var(--background);
}

.c-logo--black svg {
    fill: #000;
    color: #000;
}

.s-shop span,
.s-studio span {
    padding-left: 3em;
    color: var(--background);
    font-size: 1em;
    font-weight: 500;
    text-align: left;
    align-self: flex-start;
}

.c-enter {

    color: var(--background);
    font-size: 1.5em;
    font-weight: 500;
    text-transform: lowercase;
    text-decoration: none;
    text-align: center;
    transition: all 0.5s ease-in;
}

.c-enter:hover {
    color: var(--background);
    text-decoration: none;
}

.c-inner {
    max-width: 800px;
    padding: 0 100px 30px 30px;
}

.c-inner h1 {
    margin-top: 0;
}

.c-projects {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
}

.c-project {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    flex: 0 0 calc(50% - 30px);
    width: calc(50% - 30px);
    margin: 0 0 100px 0;
}

.c-project span,
.c-project h2 {
    display: block;
    margin: 0;
    font-size: 0.75em;
    font-weight: 300;
    line-height: 1.5em;
}

.c-project img,
.c-project video,
.c-project iframe {
    max-width: 100%;
}

.c-project .c-project-desc {
    margin: 50px 0 0 0;
}

.small {
    font-size: 0.9em;
}

.opener {
    display: none !important;
    cursor: pointer;
    margin-left: 0.5em;
}

.c-navigation.opened {
    transform: translateX(0);
}

/* Responsive */

@media (min-width: 1500px) and (min-height: 1100px) {

    .c-logo svg {
        width: 360px;
        max-width: calc(50vw - 200px);
        height: 120px;
    }

    .c-enter {
        font-size: 38px;
    }
}

@media (max-width: 1440px) and (min-height: 1000px) {

    .c-logo svg {
        width: 280px;
        max-width: none;
        height: 100px;
    }
}

@media (max-width: 1024px) {

    .c-logo {}

    .c-logo svg {
        width: 240px;
        max-width: none;
        height: 80px;
    }

    .s-studio,
    .s-shop {
        width: 100%;
        flex: 0 100%;
        height: 50vh;
    }

    .c-enter {
        font-size: 35px;
    }

    .c-project {
        flex: 0 0 calc(50% - 10px);
        width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {

    header {
        padding: 30px;
        height: 100px;
    }

    .c-logo svg {
        width: 220px;
        max-width: none;
        height: 80px;
    }

    .c-enter {
        font-size: 28px;

    }

    .s-content {
        left: 0;
        width: 100%;
        margin-top: 100px;
    }

    .opener {
        display: inline-block !important;
    }

    .c-navigation {
        position: fixed;
        transform: translateX(-100%);
        transition: all 0.5s ease-in-out;
        top: 0px;
        min-width: 50vw;
        height: 100vh;
        margin-top: 100px;
        padding-top: 25px;
        background: var(--background);
        z-index: 3;
        padding-left: 30px;
    }

    .c-inner {
        padding-right: 40px;
    }

    footer {
        padding-top: 0;
        padding-left: 30px;
    }

}


@media (max-width: 560px) {

    .c-logo svg {
        width: 200px;
        max-width: none;
    }
}

@media (max-width: 480px) {

    header {
        padding: 20px;
    }

    .c-logo {
        overflow: hidden;
        z-index: 4;
    }

    .c-logo svg {
        width: 180px;
        height: 60px;
    }

    body.studio:after,
    body.index:after {
        width: 30vw;
    }

    .c-navigation {
        margin-top: 100px;padding-left: 20px;
    }

    .s-studio,
    .s-shop {
        width: 100%;
        flex: 0 100%;
        height: 80vh;
    }

    .c-enter {
        font-size: 26px;
    }

    .s-content {
        margin-bottom: 30px;
        left: 0;
        width: 100%;
    }

    .c-project {
        flex: 0 0 100%;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 30px;
    }

    .c-project .c-project-desc {
        margin-top: 20px;
    }

    header {
        height: 100px;
        z-index: 4;
    }

    footer {
        margin-top: 20px;
        padding: 20px;
    }

    .c-inner {
        padding: 0 20px;
    }

}

/* Elemente ab 2025 */

.pre-content {
    display: flex;
    justify-content: center;
    padding-bottom: 40px;
}


.read-more-button {
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 30px;
    color: var(--light);
    line-height: 1.8em;
}

.featured-image {
    margin-bottom: var(--margin-section);
}

.color-light {
    color: var(--light);
}

.c-project-desc {
    min-height: 135px;
}

.c-project-desc h3 {
    line-height: 1.8em;
    color: var(--accent);
    margin: 0;
}

.c-project-desc p {
    margin-top: 0;
}

.bb-grid {
    display: grid;
    grid-gap: 20px;
}

.bb-grid.two-columns {
    grid-template-columns: 1fr 1fr;
}

.bb-grid.bb-vertically-centered {
    align-items: center;
}

.bb-icon {
    color: #fff;
    background-color: var(--contrast);
    display: block;
    border-radius: 100%;
    padding: 1em;
    width: 50px;
    height: 50px;
}

.bb-icon:hover {
    color: #fff;
    background-color: var(--accent);
}