.back {
    font-size: 4rem;
    position: relative;
    top: 0px;
    left: -5px;
}

.back::before {
    content: " ";
    background-image: url(../../img/arrow-left.svg);
    background-size: 100% 100%;
    display: inline-block;
    width: 4rem;
    height: 2.8rem;
}

section.proj {
    overflow: hidden;
    white-space: nowrap;
/*    margin: 25px 0;*/
}

section.proj article {
    position: relative;
}

.section__title {
    position: relative;
    display: inline-block;
    margin: 0 0 5px 0;
    will-change: transform;
    font-size: 6vw;
}


.featured ul,
.recent ul {
    font-size: 2.5rem;
    white-space: normal;
}



.client-name {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.client-name > a,
.client-name > span {
    /*    width: 50%;*/
}

.client__close {
    display: flex;
    cursor: pointer;
}

.hide {
    display: none;
}


.client-content {
    width: 100%;
}

.content-loading::before {
    display: inline-block;
    content: '';
    position: relative;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    background: var(--bg-color);
}

.content-loading::after {
    display: inline-block;
    content: '';
    position: absolute;
    z-index: 1000;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0.4;
    background: var(--color-link);
    animation: loaderAnim 0.7s linear infinite alternate forwards;
}

@keyframes loaderAnim {
    to {
        opacity: 1;
        transform: scale3d(0.5, 0.5, 1);
    }
}

.client-name__archive {}

.client-name__archive img {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    max-width: 100%;
    margin: auto;
    z-index: 2;
    pointer-events: none;
    max-height: 80%;
    width: auto;
}

.client__title {
    font-size: 1.7rem;
}

.project__container {
    font-family: futura-pt, sans-serif;
    font-size: 1.3rem;
}

.project__text {
    white-space: normal;
    font-size: 1rem;
}

.project__headline {
    font-weight: 400;
}

.project__sub {
    font-weight: 400;
    font-style: italic;
}


.project__images {
    /*
    margin-top: 16px;
    width: 100%;
    height: 65vh;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
*/
}

.project__images li {
    /*    width: 100%;*/
    /*
    flex-shrink: 0;
    scroll-snap-align: start;
*/
}

.project__images li img {
    /*
    height: 100%;
    width: auto;
*/
}

.main-carousel {
/*    margin-top: 16px;*/
}

.main-carousel img {
/*
    width: auto;
    height: 65vh;
    min-width: 150px;
    margin-right: 10px;
    display: block;
    transition: opacity 0.4s;
    opacity: 0;
*/
}

.carousel-cell-image.flickity-lazyloaded,
.carousel-cell-image.flickity-lazyerror {
    opacity: 1;
}



.flickity-button {
    background: transparent;
}

/* big previous & next buttons */

.flickity-prev-next-button {
    width: 100px;
    height: 100px;
}

/* icon color */

.flickity-button-icon {
    fill: white;
}



/* hide disabled button */

.flickity-button:disabled {
    display: none;
}




.proj__desc {
    font-size: 1rem;
}

.archive article {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}



.archive ul {
    font-size: 1rem;
    margin-right: 1%;
    width: 49%;
}

.archive li {
    margin: .5rem 0;
    white-space: normal;
}

@media screen and (min-width: 40em) {
    .section__title {
        font-size: 2rem;
    }

    section.proj {
        margin: 25px 0 3rem 0;
    }

    .archive ul {
        width: 24%;
    }

    .featured ul,
    .recent ul {
        font-size: 3.5rem;
        white-space: normal;
    }

    .client-name__archive img {
        width: auto;
        height: 80%;
    }

}


/*Old stuff*/

.albums {
    display: grid;
    list-style: none;
    grid-gap: 1rem;
    line-height: 0;
}

@media screen and (min-width: 30em) {
    .albums {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media screen and (min-width: 60em) {

    .archive ul {}

    .albums {
        grid-template-columns: repeat(3, 1fr);
    }
    .albums[data-even] {
        grid-template-columns: repeat(4, 1fr);
    }
}


.albums li {
    overflow: hidden;
    background: #000;
}

.albums figure {
    position: relative;
    padding-bottom: 125%;
}

.albums figcaption {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    color: #fff;
    background: rgba(0, 0, 0, .5);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    line-height: 1.5em;
    padding: 1rem;
    font-size: .875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .125em;
}

.albums img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .3s;
}

.albums img:hover {
    opacity: .2;
}
