.folder-div {
    width: 100%;
    margin-top: 0;
    position: sticky;
    top: 90px;
    border-radius: 0 0 0 10px;
    overflow-x: clip;
}

.folder-01 {
    background-color: #bca56f;
}

.folder-02 {
    background-color: #b9a16f;
}

.folder-03 {
    background-color: #ad986b;
}


.folder-div svg {
    position: absolute;
    top: -51px;
    left: 0;
    z-index: -1;
}

.single-folder-label {
    margin-left: 35px;
}

.single-folder-label h1 {
    font-size: 45px;
    font-weight: 700;
}

.single-folder-label span {
    position: absolute;
    top: -30px;
    left: 0px;
}

.back-to-projects {
    width: 20%;
    position: sticky;
    top: 50px;

    height: fit-content;
    padding-bottom: 68px;
    margin-top: 88px;
}



.folder-th {
    border-bottom: 1px dotted black;
    padding-left: 35px;
    padding-right: 35px;
}

.folder-pr,
.folder-pr-sm {
    border-bottom: 1px dotted black;
    padding-left: 35px;
    padding-right: 35px;
}


.folder-pr {
    max-height: 203px;
    overflow: hidden;
    transition: max-height 900ms cubic-bezier(.2, .8, .2, 1);
    position: relative;
    cursor: pointer;
}

.folder-scroll:has(.folder-pr:hover) .folder-pr {
    max-height: 200px;
}

.folder-scroll:has(.folder-pr:hover) .folder-pr:hover {
    max-height: 460px;
}



.folder-pr:hover {
    background: rgba(255, 255, 255, 0.079);
    transition: max-height 650ms cubic-bezier(.2, .9, .2, 1);
}

/* 
   Preview Verhalten (JS gesteuert)
*/

.folder-pr img {
    width: 100%;
    display: block;

    height: 155px;

    object-fit: cover;

    object-position: top;


    transition: height 1100ms cubic-bezier(.16, 1, .3, 1);
    transition-delay: 140ms;
}



/* 
   Text Animation
*/

.folder-pr .col-9,
.folder-pr .col-10 {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 260ms ease, transform 700ms cubic-bezier(.16, 1, .3, 1);
    transition-delay: 0ms;
}

.folder-pr:hover .col-9,
.folder-pr:hover .col-10 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 360ms;
}

.folder-pr h2 {
    font-weight: 600;
    font-size: 30px;
}

.folder-pr .text-secondary,
.folder-pr-sm .text-secondary {
    color: rgb(71, 71, 71) !important;
}

.folder-pr .text-secondary:hover,
.folder-pr-sm .text-secondary:hover {
    color: rgb(89, 89, 89) !important;
}

.single-folder-bottom {
    height: 50px;
    border-top: 1px dotted black;
}

.folder-scroll {
    height: 60vh;
    overflow: hidden;
    position: relative;

}




.w-35 {
    width: 35%;
}

.w-40 {
    width: 35%;
}



.ref-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
}

.content-layer {
    position: relative;
    z-index: 2;
    pointer-events: none
}


.content-layer a {
    pointer-events: auto;
    position: relative;
    z-index: 3;
}




.folder-div svg {
    position: absolute;
    top: -51px;
    left: 0;
    z-index: -1;
}



.folder-scroll-spacer {
    height: 1.5rem;
}



.folder-slot {
    width: 80%;
    margin-top: 110px;
    position: relative;
}


@media (min-width: 1400px) {
    .folder-div {
        border-radius: 10px;
    }


    .folder-scroll {
        height: 500px;
    }



}



@media (min-width: 1700px) and (min-height: 1000px) {

    .folder-div {
        border-radius: 10px;
        top: 50vh;
        transform: translateY(-50%);
    }

    footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }

    .back-to-projects {
        top: calc(50vh - 382px);
    }
}

@media (max-width: 1199.98px) {


    .back-to-projects-sm {
        padding-left: 35px;
        margin-top: 40px;
    }

    .folder-div {
        position: relative;
        margin-top: -10px;
        margin-bottom: 100px;
        border-radius: 0px 0px 10px 10px;
    }

    .single-folder-main {
        margin-bottom: 110px;
    }

}

@media (max-width: 900px) {
    .folder-pr-sm h2 {
        font-size: 25px;
    }

}

@media (max-width: 767.98px) {
    .folder-pr-sm h2 {
        font-size: 28px;
    }

}

@media (max-width: 575.98px) {
    .folder-pr-sm {
        padding-left: 25px;
        padding-right: 25px;
    }

    .back-to-projects-sm {
        padding-left: 25px;

    }

    .single-folder-label {
        margin-left: 25px;

    }
}