* {
    margin: 0;
    padding: 0;
    box-sizing: content-box;
}

html {
    scroll-behavior: smooth;
}

section {
    height: 100vh;
    width: auto;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

section#start {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    overflow: visible;
    height: 85vh;
}

header {
    padding: 48px;
    display: flex;
    justify-content: space-between;
}

body.menu-opened {
    overflow: hidden;
    height: 100%;
}

h1 {
    font-family: 'Lemon Milk';
    font-size: min(13vh, 13vw);
    position: absolute;
    opacity: 1;
    transform: translateY(max(-9.5vh, -9.5vw));
    transition: opacity 600ms ease-out;
    pointer-events: none;
    user-select: none;
    font-weight: 600;
}

h2 {
    font-family: 'Centabel Book';
    color: #000;
    font-size: 3rem;
    font-weight: 600;
}

h3 {
    font-family: 'Centabel Book';
    color: #000;
}

h1 span {
    position: relative;
    top: 0;
    transition-property: top color;
    transition-timing-function: cubic-bezier(.17,.67,0.2,1);
    color: #000;
}

h1.hidden span {
    top: 13vh;
    color: #500;
}

.hidden {
    opacity: 0;
}

.show-on-in, .show-on-partly-in {
    opacity: 0;
}

.show-on-in-in {
    opacity: 1;
    transition: opacity 500ms ease-out 300ms;
}

.show-on-partly-in-in {
    opacity: 1 !important;
    transition: opacity 200ms ease-out 300ms !important;
}

.scroll-top {
    position: absolute;
    top: 0%;
    left: 50%;
}
.scroll-bottom {
    position: absolute;
    bottom: -50%;
    left: 50%;
}

#to-shop {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 3rem;
    text-decoration: none;
    color: #fff;
    z-index: 2;
    font-family: 'Poppins';
    transition: color 200ms ease-out, opacity 200ms ease-out 300ms !important;
    mix-blend-mode: difference;
}
#to-shop:hover {
    color: #444;
}

.video-cont {
    width: 88vh;
    max-width: 88vw;
    height: 45.00710339vh;
    max-height: 45.00710339vw;
    position: absolute;
    transform: translateY(min(13.4vh, 13.4vw));
    opacity: 1;
    overflow: hidden;
    transition: opacity 300ms ease-out, transform 50ms ease-out;
    pointer-events: none;
    user-select: none;
    z-index: 2;
}
.video-cont canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    overflow: hidden;
}

.video-cont video, .video-cont img {
    height: 100%;
    width: 100%;
}

.video-cont.anim-start {
    opacity: 0;
}

/* section#gurt * {
    z-index: 1;
    position: relative;
} */

/* section#gurt img {
    height: 100%;
}

section#gurt div#img {
    height: 50vh;
    opacity: 0;
    transform: rotateZ(-90deg);
    transform-origin: 50% 0%;
    width: max-content;
    transition: transform 1s cubic-bezier(.31,1.73,.34,1) 500ms, opacity 500ms ease-out 500ms;
}

section#gurt div.in {
    transform: rotateZ(0deg);
    opacity: 1;
} */


/* STYLES */

section#top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 36px;
    position: relative;
}

section#top #polaroid {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    top: 500px;
    transform: translateY(-80px);
}

section#top #polaroid img {
    position: absolute;
    box-shadow: 0 0 64px 0 rgba(0,0,0,.07);
    box-shadow: 6px 8px 12px 3px rgba(0,0,0,.14);
    max-width: 30vw;
    max-width: 30dvw;
    max-height: calc(70vh - 80px);
    max-height: calc(70dvh - 80px);
    min-height: 30vh;
    min-height: 30dvh;
}

section#top #polaroid img:nth-child(1) {
    transform-origin: 50% 250%;
}
section#top #polaroid img:nth-child(2) {
    /* transform: translate(0, -80px) rotateZ(2deg); */
    position: relative;
}
section#top #polaroid img:nth-child(3) {
    transform-origin: 50% 250%;
}

section#top button {
    background: none;
    color: #646464;
    border: none;
    outline: none;
    padding: 8px 16px;
    font-family: 'Centabel Book';
    font-size: 32px;
    cursor: pointer;
    transition: color 300ms ease-out, opacity 400ms ease-in-out;
    opacity: 1;
    position: relative;
}

section#top button.anim-start {
    opacity: 0;
}

section#top button:hover {
    color: #000;
}

section#top > img {
    position: absolute;
    bottom: 32px;
    cursor: pointer;
    opacity: .66;
    transition: opacity 400ms ease-in-out;
    z-index: 3;
}

section#top > img.anim-start {
    opacity: 0;
}

@media screen and (max-width: 480px) {
    section#top {
        height: 67vh;
        height: 67dvh;
    }
    section#top #polaroid img {
        max-width: 50vw;
        max-width: 50dvw;
        max-height: calc(70vh - 80px);
        max-height: calc(70dvh - 80px);
    }
    section#top > img {
        display: none;
    }
    section#top button {
        font-size: 24px;
    }
    section#top #polaroid {
        transform: none;
    }
}

section#twostyles {
    background-color: #fff;
    overflow: visible;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    width: auto;
    height: auto;
    padding: max(4.5vw, 3rem) max(7vw, 4rem);
}

section#twostyles #seperator {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 5.24vw;
    top: -5.24vw;
}

section#twostyles #seperator div {
    position: absolute;
    background-color: #fff;
    width: 180vw;
    height: 5.24vw;
    top: 2.62vw;
    left: 50%;
    transform-origin: 50% 0%;
    transform: translateX(-50%) rotate(-3deg);
}

section#twostyles.anim-start > *:not(#seperator) {
    opacity: 0;
}

section#twostyles > *:not(#seperator) {
    opacity: 1;
    transition: opacity 400ms ease-in-out 800ms;
}

section#twostyles #styles-cont {
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 100%;
}

section#twostyles #styles-cont #grid-center {
    display: grid;
    height: max-content;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: max-content max-content max-content max-content 1fr 1fr;
}

section#twostyles #styles-cont #grid-center > * {
    align-self: center;
    justify-self: center;
}

section#twostyles .heading {
    display: flex;
    grid-column: 1 / span 2;
    align-self: start !important;
    padding-bottom: 3rem;
}

section#twostyles #grid-center #grid-text {
    grid-column: 1 / span 2;
    position: relative;
    width: 80%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

section#twostyles #grid-center #grid-text p {
    text-align: justify;
    font-family: 'Poppins';
    position: absolute;
    width: 100%;
}

section#twostyles #grid-center #grid-text p b {
    font-weight: 600;
}

section#twostyles #styles-cont #grid-center .style {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    display: flex;
    overflow: hidden;
    transform: rotateZ(45deg);
}

section#twostyles #styles-cont #grid-center .style div {
    height: 100%;
    width: 50%;
}

section#twostyles #styles-cont #grid-center .style#silver div:nth-child(1) {
    background: linear-gradient(0deg, #aeaeae 0%, #f5f5f5 100%);
}
section#twostyles #styles-cont #grid-center .style#silver div:nth-child(2) {
    background: #8d8b8b;
}
section#twostyles #styles-cont #grid-center .style#brass div:nth-child(1) {
    background: linear-gradient(0deg, #38260B 0%, #8E5F19 100%);
}
section#twostyles #styles-cont #grid-center .style#brass div:nth-child(2) {
    background: #FFEBCC;
}

section#twostyles .schweben {
    margin-top: 6%;
    height: 100%;
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
section#twostyles .schweben img {
    width: 100%;
    transition: transform 100ms ease-out;
}

section#twostyles .grid-img img {
    width: 12rem;
}

/* SHOP */

section#shop {
    height: fit-content;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}
a#shop-link {
    text-decoration: none;
}
section#shop::before, section#shop::after {
    display: block;
    content: '';
    height: 1px;
    width: 66%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #fff 0%, #000 50%, #fff 100%);
    opacity: .2;
}
section#shop::after {
    bottom: 0;
    top: unset;
}
section#shop #images {
    position: relative;
    width: auto;
    height: 100%;
    display: flex;
    justify-content: center;
}
section#shop #images img {
    height: 30vmin;
}
section#shop span {
    position: absolute;
    z-index: 2;
    font-family: 'Centabel Book';
    font-size: min(4rem, 11vw);
    font-weight: 600;
    color: #bbb;
}
section#shop button#goto-shop {
    border: none;
    z-index: 2;
    margin-top: -2rem;
    outline: 2px solid #000;
    color: #fff;
    background-color: #000;
    padding: 1.125rem 2.25rem;
    font-family: 'Centabel Book';
    font-size: 1.325rem;
    cursor: pointer;
    transition: color 150ms ease-out, background-color 150ms ease-out;
}
section#shop:hover button#goto-shop {
    color: #000;
    background-color: #fff;
}

@media (max-width: 430px) {

    section#shop #images {
        justify-content: start;
        max-width: 100vw;
        flex-wrap: wrap;
        margin: 2rem 0;
    }

    section#shop #images img {
        height: calc(50vw - 3rem);
    }

    section#shop #images img:is(:nth-child(3), :nth-child(4)) {
        margin-top: -3rem;
        z-index: -1;
    }

    section#shop button#goto-shop {
        margin-top: unset;
        padding: .825rem 1.75rem;
    }
}

/* SHOP PASSWORD */

section#shop-pw {
    height: max-content;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Centabel Book';
    padding-bottom: 7rem;
    margin-bottom: 3rem;
    overflow: visible;
    overflow-x: hidden;
    display: none;
}

section#shop-pw::before {
    display: block;
    content: '';
    height: 1px;
    width: 66%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #fff 0%, #000 50%, #fff 100%);
    opacity: .2;
}

section#shop-pw label {
    font-size: min(3rem, 8vw);
    font-weight: 600;
}

section#shop-pw form {
    padding: 3rem 5rem 5rem 5rem;
    background: #fff;
    border-radius: 0 0 2rem 2rem;
    box-shadow: 0 2rem 1.5rem 0 rgba(0,0,0,.1);
}

section#shop-pw form .password-field {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

section#shop-pw form .password-field > div {
    display: flex;
}

section#shop-pw form input, section#shop-pw form button {
    font-family: 'Centabel Book';
    width: calc(80vw - 1.618rem * 7);
    max-width: 24rem;
    font-size: min(1.618rem, 5vw);
    padding: 1rem 1.618rem;
    border: 3px solid #aeaeae;
    box-shadow: 0 0 0 3px #000;
    border-radius: calc(1.618rem * 3);
    transition: border 200ms ease-out;
}

section#shop-pw form input:focus {
    border: 3px solid #ccc;
    outline: none;
}

section#shop-pw form button {
    width: unset;
    background-color: #000;
    color: #fff;
    font-weight: 600;
    border: 3px solid #fff;
    margin-left: 1rem;
    cursor: pointer;
    transition: background-color 200ms ease-out, color 200ms ease-out, transform 80ms ease-out;
}

section#shop-pw form button:is(:focus, :hover) {
    background-color: #fff;
    color: #000;
    transform: scale(.98);
}



/* MADE FOR */

section#madefor {
    --img-size: max(40vw, 30vh);
    --img-angle: 7deg;
    overflow: hidden;
    height: min(70vh, 75vw);
}

section#madefor .img {
    position: absolute;
    width: var(--img-size);
    opacity: 1;
    transition: transform 200ms ease-out, opacity 200ms ease-out;
    user-select: none;
    pointer-events: none;
}

section#madefor .img img {
    width: 100%;
    height: 100%;
}

section#madefor .img#silver {
    right: 0;
    top: 0;
}

section#madefor .img#silver {
    transform-origin: top right;
    transform: rotateZ(calc(-1 * var(--img-angle))) translateX(0);
}

section#madefor.anim-start .img#silver {
    transform: rotateZ(calc(-1 * var(--img-angle))) translateX(var(--img-size));
}

section#madefor .img#brass {
    bottom: 0;
    left: calc(var(--img-size) * (127/710) * 0.1736 * -1); /* sin(10) * (img.y / img.x) */
}

section#madefor .img#brass {
    transform-origin: top left;
    transform: rotateZ(calc(-1 * var(--img-angle))) translateX(0);
}

section#madefor.anim-start .img#brass {
    transform: rotateZ(calc(-1 * var(--img-angle))) translateX(calc(-1 * var(--img-size)));
}

section#madefor #text {
    font-family: 'Centabel Book';
    font-weight: 800;
    font-size: max(min(3vw, 10vh), 2rem);
    top: calc(50% - (max(min(3vw, 10vh), 2rem)/2));
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

section#madefor #text > span {
    text-align: center;
}

section#madefor #text div {
    width: 100%;
    position: relative;
}

section#madefor #text div span {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    text-align: center;
    font-weight: 600;
}


/* GENERAL TEXT */

section#generalText {
    height: max-content;
    display: flex;
    justify-content: center;
    height: calc(var(--textHeight) + 20rem);
    max-height: 40vw;
}

section#generalText div {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    position:  relative;
    justify-content: center;
}

section#generalText p {
    width: min(50rem, 80vw);
    font-family: 'Poppins';
    text-align: justify;
    position: relative;
}

section#generalText img {
    height: 100%;
}

@media (max-width: 1700px) {
    section#generalText {
        height: fit-content;
        padding: 5rem 0;
        overflow: hidden;
        max-height: unset;
    }

    section#generalText div {
        height: 100%;
        position: unset;
        width: min(50rem, 80vw);
    }
    
    section#generalText p {
        width: min(50rem, 80vw);
        left: unset;
        font-family: 'Poppins';
        text-align: justify;
    }
    
    section#generalText img {
        height: unset;
        width: 100%;
        position: absolute;
        right: 0;
        bottom: 0;
        opacity: .2;
    }
}


div.seperator {
    width: 66%;
    height: 1px;
    background: linear-gradient(90deg, #fff 0%, #000 50%, #fff 100%);
    opacity: .2;
    margin: 10rem 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

div.seperator.top {
    margin-bottom: 0;
    margin-top: 0;
}

div.seperator.bottom {
    margin-top: 0;
}


/* LOOKBOOK */
section#lookbook {
    display: flex;
    justify-content: center;
    align-items: center;
    height: max-content;
}

section#lookbook > img {
    width: 30%;
    min-width: 30rem;
}

section#lookbook button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Centabel Book';
    color: #fff;
    background-color: #000;
    outline: none;
    border: none;
    font-size: max(2vw, 2rem);
    width: 15.75vw;
    height: 4.8vw;
    cursor: pointer;
    outline: 0px solid #000;
    transition: background-color 160ms ease-out, color 160ms ease-out, outline 160ms ease-out, opacity 500ms ease-out 300ms;
}

section#lookbook button:is(:hover, :focus) {
    background-color: #fff;
    outline: .3vmin solid #fff;
    color: #000;
    box-shadow: 0 0 2rem 0 rgba(0,0,0,.1);
}

@media screen and (max-width: 1024px) {
    section#lookbook img {
        width: 100%;
    }

    section#lookbook button {
        font-size: 7vw;
        width: 52.6vw;
        height: 15.9vw;
    }

    section#lookbook button:is(:hover, :focus) {
        width: 52.6vw;
        height: 16vw;
    }

    div.seperator {
        margin: 3rem 0;
    }

    div.seperator.no-phone {
        margin: 0;
    }
}

section#lookbook #lookbook-cont {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: #ececec;
    clip-path: circle(0px at 50% 50%);
    transition: clip-path 400ms ease-in-out, opacity 0ms 400ms;
    opacity: 0;
    z-index: 5;
    overflow-y: scroll;
}

section#lookbook #lookbook-cont.active {
    clip-path: circle(200vmax at 50% 50%);
    opacity: 1;
    transition: clip-path 400ms ease-in-out, opacity 0ms 0ms;
}

section#lookbook #lookbook-cont #close {
    position: fixed;
    top: 7%;
    left: 7%;
    width: 4rem;
    height: 4rem;
    border-radius: 2rem;
    cursor: pointer;
}

section#lookbook #lookbook-cont #close:hover {
    background-color: rgba(0,0,0,.1);
}

section#lookbook #lookbook-cont #close div {
    height: 1px;
    width: 55%;
    background-color: #000;
    position: absolute;
    top: 50%;
    left: 50%;
}

section#lookbook #lookbook-cont #close div:nth-child(1) {
    transform: translate(-50%, -50%) rotateZ(45deg);
}

section#lookbook #lookbook-cont #close div:nth-child(2) {
    transform: translate(-50%, -50%) rotateZ(-45deg);
}

section#lookbook #lookbook-cont #img-grid {
    position: absolute;
    top: 3px;
    padding-bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 66%;
    column-count: 3;
    line-height: 0;
    -webkit-column-count: 3;
    -webkit-column-gap: 0px;
    -moz-column-count: 3;
    -moz-column-gap: 0px;
    column-gap: 6px;
}

@media (max-width: 800px) {
    section#lookbook #lookbook-cont #img-grid {
        width: 90%;
        top: 5rem;
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }

    section#lookbook #lookbook-cont #close {
        top: 1rem;
        left: 1rem;
        width: 3rem;
        height: 3rem;
    }
}

section#lookbook #lookbook-cont #img-grid img {
    width: 100%;
    height: auto;
    margin: 3px;
}

/* FOOTER */

footer {
    height: 12rem;
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 12rem;
    position: relative;
    overflow: hidden;
}

footer ul {
    display: flex;
    flex-direction: row;
    column-gap: 2rem;
}

footer ul li {
    list-style: none;
    text-decoration: none;
}

footer ul li a {
    text-decoration: none;
    color: #666;
    font-family: 'Poppins';
    transition: 80ms ease-out;
}

footer ul li a:hover {
    color: #333;
}

footer button#lang-switch {
    background: none;
    box-shadow: 0 -4px 16px 0 rgba(0,0,0,.05);
    border: none;
    outline: 1px solid #aaa;
    border-radius: 4px 4px 0 0;
    padding: .25rem .75rem;
    color: #666;
    font-family: 'Poppins';
    position: absolute;
    bottom: 0;
    cursor: pointer;
}

footer #insta img {
    width: 1.125rem;
    height: 1.125rem;
    opacity: .6;
    cursor: pointer;
    position: absolute;
    right: 6.5rem;
}
footer #insta img:hover {
    opacity: 1;
}

/* PORTRAIT */

@media (max-width: 1024px) {
    section#start {
        height: 50vh;
    }

    .video-cont {
        height: 43.47277032vw;
        width: 85vw;
        max-height: 43.47277032vw;
        max-width: 85vw;
    }

    section#twostyles #styles-cont #grid-center {
        grid-template-columns: 11rem 11rem;
        grid-template-rows: max-content max-content calc(55vw + 11rem) 11rem 11rem 3rem;
        position: relative;
    }

    section#twostyles #styles-cont #grid-center .grid-img {
        align-self: end;
    }

    section#twostyles #styles-cont #grid-center .grid-img img {
        width: 11rem;
    }

    section#twostyles #styles-cont #grid-center .grid-img:is(:nth-child(4), :nth-child(5)) {
        display: none;
    }

    section#twostyles .schweben {
        margin-top: 0;
        height: max-content;
        width: 30%;
        position: absolute;
        top: 16rem;
        z-index: 2;
    }

    section#twostyles .schweben#sb {
        right: 60%;
    }

    section#twostyles .schweben#ss {
        left: 60%;
    }

    section#twostyles #styles-cont #grid-center .style {
        width: 4.5rem;
        height: 4.5rem;
    }

    section#twostyles .heading {
        padding-bottom: 1rem;
    }

    section#shop-pw {
        padding-bottom: 2rem;
    }

    section#shop-pw form {
        box-shadow: unset;
        background-color: transparent;
    }

    section#shop-pw form::after {
        position: absolute;
        display: block;
        content: '';
        width: 100vw;
        height: calc(100% - 2rem);
        top: 0;
        left: 0;
        z-index: -1;
        background: #fff;
        border-radius: 0 0 2rem 2rem;
        box-shadow: 0 1.5rem 1rem 0 rgba(0,0,0,.07);
    }

    footer {
        margin-top: 3rem;
    }

    footer #insta img {
        top: 1.5rem;
        right: 50%;
        transform: translateX(50%);
    }
}

/* ONLY PHONE */

@media screen and (max-width: 480px) {
    section#twostyles #styles-cont #grid-center {
        grid-template-rows: max-content max-content calc(55vw + 14rem) 12rem 12rem 3rem;
    }

    section#twostyles .schweben {
        width: 35%;
        top: 15rem;
    }

    section#twostyles .schweben#sb {
        right: 57%;
    }

    section#twostyles .schweben#ss {
        left: 57%;
    }

    footer {
        justify-content: start;
        padding: 3rem;
        padding-bottom: 5rem;
        height: unset;
    }

    footer ul {
        flex-direction: column;
        justify-self: start;
        row-gap: 1rem;
        
    }

    footer button#lang-switch {
        position: absolute;
        bottom: -2px;
        left: 50%;
        transform: translateX(-50%);
    }
}