body {
    /* background: #fff; */
    background: #E9E6E5;
    color: #000;
    font-family: Basis_Grotesque_Pro_Off_White;
    text-align: center;
    font-smooth: antialiased;
}

p {
    text-align: left;
}

a {
    text-decoration: none;
    color: #000;
}

* {
    box-sizing: border-box;
}

img.loading {
    opacity: 0;
    transition-duration: .4s;
}

img.loading.loaded {
    opacity: 1;
}

/* header {
    background: #fff;
    display: flex;
    align-items: flex-end;
 
    margin: 0 auto;
    height: 100px;
    padding-bottom: 10px;
    box-sizing: border-box;

    position: relative;
    z-index: 2;
} */

header {
    background: #fff;
    display: flex;
    align-items: flex-end;
    /* max-width: 1200px; */
    margin: 0 auto;
    /* height: 100px; */
    padding-top: 1rem;
    padding-bottom: 1rem;
    /* padding-bottom: 10px; */
    box-sizing: border-box;

    position: relative;
    z-index: 2;
}

header .cont {
    align-items: flex-end;
}

main {
    
    /* height: calc(100vh - 400px); */
    min-height: 700px;

    font-size: 23px;
    line-height: 31px;
}

main .cont {
    min-height: 100%;
    align-items: flex-start;
}

.c-cont {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100%; */
    /* overflow: hidden; */
}

.c {
    /* width: 50vw; */
    /* height: 1500px; */
    /* background: orange; */
    position: relative;
    /* top: 0;
    left: 0; */
    margin-top: 50px;
    margin-bottom: 50px;
}
.page {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    transform: translateY( var(--fl) );
    transition-duration: .1s;
}

#pi {
    position: absolute;
    left: .5rem;
    bottom: 1.4rem
}

header .link {
    display: none;
    font-size: 10px
}

/* .gallery { */
    /* overflow-y: auto;
    height: 100%; */
/* } */

footer {
    background: #fff;
    display: flex;
    align-items: center;
    /* max-width: 1200px; */
    margin: 0 auto;
    height: 300px;
    text-align: left;

    font-size: 12px;
    line-height: 24px;

    position: relative;
    z-index: 2;
    
}

footer p {
    max-width: 350px;
    margin-top: 0;
}

footer h4 {
    margin-bottom: .3em;
    margin-top: 0;
}

.cont {
    display: flex;
    /* flex: 1 1 100%; */
    justify-items: center;
    align-items: center;
    width: 1200px;
    max-width: calc(100% - 100px);
    margin: 0 auto;
    text-align: left;
    box-sizing: border-box;
    /* height: 100%;
    overflow-y: auto; */
}
.cont > div
{
    width: 100%;
    /* width: 100%; */
    /* flex-shrink: 8; */
}

.flx {
    display: flex;
    /* flex: 1 1 auto; */
    align-items: flex-start;
    justify-content: stretch;
}

.flx > div {
    width: 100%
}



.gallery {
    padding-right: 4rem;
    box-sizing: border-box;
}

.text {
    width: 50%;
    max-width: 550px;
    box-sizing: border-box;
}

h4 {
    font-weight: 400;
    font-family: Basis_Grotesque_Pro_Medium;
}

.text p {
    padding-top: 7vh;
    padding-bottom: 100px;
    /* padding-left: 2rem; */
}

.text_old {
    position: fixed;
    width: 40vw !important;
    max-width: 540px !important;
    top: calc(50% + 50px);
    transform: translateY(-50%);
    right: 1rem
}

.item p {
    font-size: 10px;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-family: Basis_Grotesque_Pro_Mono;
    letter-spacing: .1em;
    white-space: nowrap;
}
.item p span {
    font-family: Basis_Grotesque_Pro_Medium;
    letter-spacing: normal;
}

.sizer {
    position: relative;
    width: 100%;
}

.sizer.mobile {
    display: none;
}

.c .item {
    position: absolute;
    width: 40%;
}

.c .item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.c .item {
    top: 0;
    left: 0;
}
.c .item:nth-child(3) {
    top: 0;
    left: 0;
}
.c .item:nth-child(4) {
    top: 7%;
    left: 60%;
}
.c .item:nth-child(5) {
    top: 25%;
    left: 0;
    width: 30%
}
.c .item:nth-child(6) {
    top: 33%;
    left: 45%;
    width: 30%;
}
.c .item:nth-child(7) {
    top: 47%;
    left: auto;
    right: 0;
}
.c .item:nth-child(8) {
    top: 52%;
    left: 16%;
    width: 35%;
}
.c .item:nth-child(9) {
    top: 75%;
    left: 5%;
}
.c .item:nth-child(10) {
    top: 83%;
    left: auto;
    right: 10%;
}



.text{
    will-change: min-height;
}

.sidebar__inner{
    transform: translate(0, 0); 
    transform: translate3d(0, 0, 0);
    will-change: position, transform;
}

.logo-mobile {
    width: 100%;
    display: none;
    margin-top: 2rem;
    margin-bottom: 2rem;
    
}

@media (max-width: 900px) {

    header .link {
        display: inline-block;
    }
    header .logo {
        display: none;
    }
    /* .cont {
        max-width: calc(100% - 6rem);
    } */
    #pi {
        display: none;
    }
    .content .cont {
        flex-direction: column-reverse;
        /* max-width: calc(100% - 4rem); */
        padding-bottom: 2rem;
        max-width: 550px;
    }
    .text {
        /* max-width: 100% !important; */
        margin: 0 auto;
    }
    .text p {
        padding-bottom: 0;
    }
    .header .cont {
        max-width: 550px;
        width: 100%;
        box-sizing: border-box;
    }
    .footer .cont {
        max-width: 550px;
        width: 100%;
        padding-left: 1rem
    }
    .footer .flx {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 240px;

        max-width: 340px;
        font-size: 14px
        /* justify-content: center; */
        /* max-width: 240px;
        width: 100%; */
        /* padding-left: 3rem; */
        /* padding-left: 2rem; */
        /* margin: 0 auto; */
    }
    .footer .flx > div {
        /* flex-basis: auto !important; */
    }
    .gallery {
        padding-right: 0;
    }
    footer {
        height: auto;
        padding-top: 2rem;
    }
    footer h4 {
        margin-bottom: 0;
    }
    footer p {
        margin-top: 0;
    }
    .logo-mobile {
        display: block;
    }
    /* .text p {
        padding-left: 0;
    } */
}

@media (max-width: 530px) {
    main {
        font-size: 21px;
        line-height: 26px;
    }
    .cont {
        max-width: calc(100% - 6rem);
    }
    .content .cont {
        max-width: calc(100% - 2rem);
    }
    .header .cont {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}


@media (max-width: 900px) {

    .sizer.mobile {
        display: block;
    }
    .sizer.desktop {
        display: none;
    }

    .c .item {
        position: absolute;
        width: 85%;
    }
        
    .c .item {
        top: 0;
        left: 0;
    }
    .c .item:nth-child(3) {
        top: 0;
        left: 0;
        width: 77%;
    }
    .c .item:nth-child(4) {
        top: 13%;
        left: auto;
        right: 0;
        width: 80%;
    }
    .c .item:nth-child(5) {
        top: 27%;
        left: 0;
        width: 85%;
    }
    .c .item:nth-child(6) {
        top: 42%;
        left: 0%;
        width: 100%;
    }
    .c .item:nth-child(7) {
        top: 53.5%;
        left: auto;
        right: 0;
        width: 85%;
    }
    .c .item:nth-child(8) {
        top: 62.5%;
        left: 0%;
        width: 85%;
    }
    .c .item:nth-child(9) {
        top: 77%;
        left: auto;
        right: 0;
        width: 85%;
    }
    .c .item:nth-child(10) {
        top: 91%;
        left: 0;
        width: 85%;
    }
    

}