::-webkit-scrollbar {
    display: none;
}

::-moz-selection {
    background: grey;
    color: #ddd;
}

::selection {
    background: grey;
    color: #ddd;
}

body {
    background: #000000;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 100;
    font-size: 20px;
    transition: all 0.5s ease-out;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.logo {
    position: absolute;
    width: 320px;
    height: 50px;
    top: calc(50% - 25px);
    left: calc(50% - 160px);
    text-align: center;
    font-weight: 400;
    font-size: 33px;
    color: #ccc;
    pointer-events: none;
    z-index: 2;
    transition: opacity .6s 1.5s ease-in;
}

.logo span {
    font-weight: 100;
    color: #cecece;
}

.online {
    opacity: 0;
}

h1 {
    position: absolute;
    font-family: "Montserrat", sans-serif;
    font-weight: 100;
    font-size: 80px;
    line-height: 80px;
    letter-spacing: 0.001em;
    word-spacing: 1px;
    color: #fff;
    bottom: 35px;
    height: auto;
    vertical-align: bottom;
    z-index: 10;
}

h1.case {
    position: absolute;
    font-family: "Montserrat", sans-serif;
    font-weight: 100;
    font-size: 50px;
    line-height: 60px;
    letter-spacing: 0.001em;
    word-spacing: 1px;
    color: #fff;
    bottom: 51px;
    left: 92px;
    width: 700px;
    height: auto;
    vertical-align: bottom;
    z-index: 2;
}

h1 span {
    font-weight: 400 !important;
}

h1.case span {
    font-weight: 400 !important;
    color: #ccc;
    letter-spacing: -0.007em;
}

h3.case {
    position: absolute;
    font-family: "Montserrat", sans-serif;
    font-weight: 100;
    font-size: 50px;
    line-height: 60px;
    letter-spacing: 0.001em;
    word-spacing: 1px;
    color: #fff;
    bottom: 35px;
    left: 90px;
    width: 700px;
    height: auto;
    vertical-align: bottom;
    z-index: 7;
}

h3 span {
    font-weight: 400 !important;
}

h3.case span {
    font-weight: 400 !important;
    color: #ccc;
    letter-spacing: -0.007em;
}

h5 {
    font-size: 10px;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card h5 {
    color: #414141;
}

.card {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #0D0D0D;
    top: 50px;
    width: 700px;
    height: calc(100vh - 400px);
    color: #fff;
    padding: 0 100px;
    z-index: 5;
    animation: .5s ease-out .2s intro;
    animation-fill-mode: forwards;
}

.holder {
    position: absolute;
    top: 50px;
    width: 700px;
    height: calc(100vh - 100px);
    left: 100%;
    z-index: 5;
}

.roles {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
}

.roles>* {
    flex: 1;
    margin-right: 50px;
}

.roles>*:first-child {
    flex: .9;
    text-align: right;
}

.roles>*:last-child {
    flex: 1;
    margin-right: 0;
}

.roles>*:last-child h5 {
    color: #ccc;
    font-weight: 100;
}



p {
    color: #ccc;
    line-height: 1.4em;
    letter-spacing: -0.007em;
    word-spacing: 2px;
    margin: 0 0 18px;
}

p span {
    font-weight: 400;
}

.back {
    left: 0;
    margin: 100px;
    opacity: 0;
    transition: all 0.1s ease;
    width: 120px;
    animation: .6s ease-in-out 1s intro-arrow;
    animation-fill-mode: forwards;
}

.back:hover {
    width: 110px;
}

.next {
    right: 0;
    bottom: 0;
    width: 120px;
    margin: 100px;
    opacity: 1;
    transition: all 0.25s ease-out;
}

.view {
    right: 0;
    bottom: 0;
    margin: 100px;
    width: 120px;
    opacity: 1;
    transition: all 0.25s ease-out;
}

svg {
    position: absolute;
    z-index: 2;
}

.container {
    display: flex;
    overflow-x: auto;
    width: 700vw;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    z-index: 2;
}

.item {
    position: relative;
    flex-shrink: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100px;
    margin-right: 0;
    padding: 0;
    overflow: hidden;
    background: #0D0D0D;
    background-size: cover;
    object-fit: cover;
    filter: blur(0);
    z-index: 2;
    transition: filter 1.6s ease-in;
    scroll-snap-align: start;
}

.item-image {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    margin-right: 0;
    padding: 0;
    overflow: hidden;
    background-position: 50% 50%;
    background: #0D0D0D;
    background-size: cover;
    object-fit: cover;
    filter: blur(0);
    z-index: 1;
    transition: filter 1.6s ease-in;
}

.item:first-child {
    z-index: 1 !important;
}

.item:last-child {
    background: black;
}

.item:last-child h5 {
    position: absolute;
    left: 100px;
    top: 50vh;
    color: #ccc;
    z-index: 3;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100vh;
    background: rgb(0 0 0 / 35%);
    z-index: 1;
    transition: background .5s ease-in;
}

.view:hover~.overlay {
    background: rgba(0, 0, 0, 0);
    transition: background 1s ease-in;
}

.caption {
    position: absolute;
    display: flex;
    max-width: auto;
    min-widt: 100px;
    height: auto;
    padding: 20px 30px;
    bottom: 0;
    right: 50%;
    color: #eee;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 16px;
    background: rgba(0, 0, 0, .9);
    z-index: 6;
}

.cookies {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    bottom: 0;
    left: calc(50% - 195px);
    width: 390px;
    height: 100px;
    padding: 22px 100px 0 50px;
    background: #fff;
    z-index: 10;
    cursor: pointer;
    transition: all 0.25s ease-in;
}

.cookies p {
    color: #414141;
}

.cookies svg {
    right: 40px;
    top: 40px;
    opacity: .6;
    transform: rotate(0deg);
    transition: all 0.5s ease-in-out;
}

.cookies:hover svg {
    opacity: 1;
    transform: rotate(-180deg);
}

.cookies svg:hover {
    opacity: 1;
    transform: rotate(-360deg);
}

.hide {
    transform: translateY(100px);
}

.blur {
    filter: blur(1rem);
}

@keyframes intro {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-30%);
    }
}

@keyframes intro-arrow {
    0% {
        transform: translateX(30px) translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateX(0) translateY(0);
        ;
        opacity: 1;
    }
}


@media only screen and (max-width: 800px) {
    .logo {
        font-size: 18px;
    }

    h1.case {
        font-size: 35px;
        line-height: 35px;
        left: 80px;
    }

    .back {
        margin: 80px;
    }

    p {
        font-size: 20px;
        width: 90%;
    }

    .card {
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: #0D0D0D;
        top: 25px;
        width: 700px;
        height: calc(100vh - 120px);
        color: #fff;
        padding: 0 100px;
        z-index: 5;
        animation: 1s ease-out 1.6s intro;
        animation-fill-mode: forwards;
    }

    @keyframes intro {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-10%);
        }
    }
}



/* very important */
html {
    visibility: visible;
    opacity: 1;
}

.transition-fade {
    transition: 0.4s;
    opacity: 1;
}

html.is-animating .transition-fade {
    opacity: 0;
}



@media only screen and (max-width: 1400px) {
    .container {
        width: 1300vw; /* Increase width for medium screens */
    }
}

@media only screen and (max-width: 1200px) {
    .container {
        width: 1000vw; /* Increase width for medium screens */
    }
}

/* Target iPads and medium screens */
@media only screen and (max-width: 1024px) {
    .container {
        width: 1000vw;
    }
}

/* Target smaller iPads and other medium screens */
@media only screen and (max-width: 820px) {
    .container {
        width: 1200vw;
    }
}

/* Target even smaller screens, including older iPads and phones */
@media only screen and (max-width: 768px) {
    .container {
        width: 1400vw;
    }
}

/* Target very small screens */
@media only screen and (max-width: 500px) {
    .container {
        width: 1600vw;
    }
}