/* ------------------------------------------------------- projects --------------------------------------------*/
body {
    color: var(--c-main);
}

#top-lane {
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.2) 85%, rgba(0, 0, 0, 0)100%);
    width: 100vw;
    height: calc(2.5vw + 60px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
}

#bottom-lane {
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.2) 85%, rgba(0, 0, 0, 0) 100%);
    width: 100vw;
    height: calc(4vw + 50px);
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 5;
}

#backbutton {
    background: var(--c-main) url(../content/logo_black.png);
    background-size: 45px;
    background-position: center;
    height: 50px;
    width: 50px;
    background-repeat: no-repeat;

    position: fixed;
    left: 0.5vw;
    top: 0.5vw;
    border-radius: 10px 0;
    z-index: 10;
}

#pro-menu {
    position: fixed;
    left: 0.5vw;
    top: calc(50vh - 210px);
    width: 30px;
    text-align: right;
    z-index: 10;
}

.pro-menu-link {
    display: block;
    line-height: 30px;
    font-size: 25px;
    color: var(--c-main);
    text-align: right;

    font-family: var(--f-head);

    text-decoration: none;

    -webkit-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.see-menu {
    color: var(--c-ut-light) !important;
    -webkit-transition-delay: .1s;
    -ms-transition-delay: .1s;
    transition-delay: .1s;
    transform: scale(1.2, 1.2) translateX(5px);
}

.pro-wrap {
    width: calc(98.5vw - 50px);
    padding: 10vw 0.5vw 10vw calc(50px + 1vw);

    background: var(--c-ut-dark);

    -webkit-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.see-project {
    -webkit-transition-delay: .1s;
    -ms-transition-delay: .1s;
    transition-delay: .1s;
}

#pro-head {
    width: calc(98.5vw - 50px);
    margin: 10vw 0.5vw 10vw calc(50px + 1vw);
}

.project {
    display: flex;
    flex-wrap: wrap;
    align-items: start;

    gap: 10px;
    margin: 0 auto 0 auto;
    /* padding: 10px; */
}

.project>h2 {
    display: block;
    width: 100%;
    margin: 0 0 0 10px;
    font-family: var(--f-head);
    font-size: 47px;
    font-weight: 900;
    padding: 0;
    position: sticky;
    z-index: 10;
    top: calc(0.5vw + 18px);
}

.project>h3 {
    display: block;
    width: 100%;
    margin: 0 10px;
    font-family: var(--f-body);
    font-weight: unset;
    font-size: unset;
    line-height: unset;
    text-align: unset;
    left: unset;
}

.project p {
    margin: 0 10px;

}

.project img,
.project video {
    border-radius: var(--v-rad);
}

.project .img-s1,
.project .vid-s1 {
    width: calc(33.33% - 10px);
}

.project .img-s2,
.project .vid-s2 {
    width: calc(66.66% - 10px);
}

.project .img-s3,
.project .vid-s3 {
    width: calc(100% - 10px);
}

.project .img-hover-blend {
    border-radius: var(--v-rad);
    overflow: hidden;
    background-size: cover;
    line-height: 0;
}

.project .img-hover-blend img {
    width: 100%;
    transition: opacity .3s ease-in-out;
}

.project .img-hover-blend img:hover {
    opacity: 0;
}

.img-stutter {
    aspect-ratio: 1;
    background-size: cover;
    background-position: 0 50%;
    border-radius: var(--v-rad);
}

.stutter-4-frames {
    animation: stutter-4 2.5s steps(1, jump-end) infinite;
}

@keyframes stutter-4 {
    0% {
        background-position: 0% 50%;
    }

    33% {
        background-position: 33.4% 50%;
    }

    66% {
        background-position: 66.7% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}



@media only screen and (min-width: 700px) {
    #backbutton {
        left: calc(50vw - 346px);
    }

    #pro-menu {
        left: calc(50vw - 346px);
    }

    #backbutton::before {
        content: '.home';
        font-size: 13px;
        position: relative;
        top: 40px;
        font-family: var(--f-head);
        color: var(--c-main);
        opacity: 0;
        transition: all .2s ease-in-out;
    }

    #backbutton:hover::before {
        opacity: 1;
        top: 50px;

    }

    #pro-head {
        max-width: 630px;
        margin: 70px 4px 10% 66px;

    }


    .pro-menu-link:hover {
        transform: scale(1.1, 1.1) translateX(5px);
    }

    .pro-wrap {
        max-width: 650px;
        padding: 10% 4px 10% 57px;
    }
}
