#OurWork{
    width: 100%;
    background-color: var(--background);
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    justify-content: center;
}
#workscrollwhitespace{
    width: 100%;
}
@media (max-width: 1000px) {
    #workscrollwhitespace{
        height: 0;
    }
}
.workcontainer .Sectiontitle{
    text-align: center;
    font-size: 3rem;
    list-style: 3rem;
    color: var(--dark);
}

.workcontainer{
    position: sticky;
    top: 0;
    width: 100%;
    padding-block: 70px;
    overflow: hidden;
    background-color: var(--background);
    display: flex;
    flex-direction: column;
    gap: 50px;
}
#worksclosure{
    flex-grow: 1;
    height: 100%;
    width: 100%;
    align-items: start;
    overflow: hidden;
}
.wideworkbox{
    height: 100%;
    width: 2000px;
    display: flex;
    gap: 100px;
    padding-left: 20vw;
    flex-direction: row;
    flex-wrap: nowrap;   
    align-items: center;
    justify-content: flex-start;
}

/*----------------------------------------------------- Project Card CSS */

.project{
    flex-shrink: 0;
    background-color: var(--dark);
    border-radius: 20px;
    width: 550px;
    height: 550px;
    aspect-ratio: 1/1;
    padding: 5px;
    overflow: hidden;
}
.projectdetails{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.projectimage{
    width: 100%;
    height: 100%;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 100%;
    aspect-ratio: 1/1;
}
.projectimagefile{
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.gotocase{
    position: absolute;
    bottom: 20px;
    right: 20px;
    border: 2px solid var(--dark);
    background-color: var(--primary-blue);
    box-shadow: 6px 6px 0 var(--dark);
    width: 30%;
    max-width: 200px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    transition: all 0.2s;
}
.casetext{
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}
.casectatext{
    font-family: "Playwrite US Trad", serif;
    color: var(--white);
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 2rem;
    text-align: center;
    font-weight: 100;
}
.gotocase:hover{
    transform: translate(4px, 4px);
    box-shadow: 2px 2px 0 var(--dark);
}

#inworkcta{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 20px;
}
.saying{
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 70%;
}
.calltext{
    font-family: "Montserrat", serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    text-align: center;
}
.saidbywiseman{
    font-family: "Playwrite US Trad", serif;
    text-align: right;
    font-size: 0.8rem;
    color: var(--light-blue);
}
.ctainwork{
    display: flex;
    gap: 20px;
}

.ctainwork a{
    font-family: "Quicksand", serif;
    color: var(--white);
    padding: 15px 30px;
    border: 1px solid var(--white);
    border-radius: 999px;
    font-size: 1rem;
    line-height: 1rem;
    font-weight: 600;
    background-color: var(--primary-blue);
    box-shadow: 6px 6px 0 var(--white);
    transition: all linear 0.2s;
}
.ctainwork a:hover{
    transform: translate(4px, 4px);
    box-shadow: 2px 2px 0 var(--white);
}
.workprimary{
    background-color: var(--dark-blue);
}


@media (max-width: 1000px) {
    .workcontainer .Sectiontitle{
        font-size: 2.5rem;
        list-style: 2.5rem;
    }
    
    .workcontainer{
        position: static;
        padding-block: 50px;
    }
    #worksclosure{
        flex-grow: 0;
        width: 100%;
        padding: 0 10px;
        align-items: start;
        overflow: hidden;
    }
    .wideworkbox{
        width: 100%;
        height: fit-content;
        display: flex;
        gap: 50px;
        padding: 0;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    /*----------------------------------------------------- Project Card CSS */

    .project{
        flex-shrink: 1;
        width: 100%;
        height: 100%;
        aspect-ratio: 1/1;
        max-width: 700px;
        padding: 5px;
        overflow: hidden;
    }
}

@media (max-width: 600px) {
    .workcontainer .Sectiontitle{
        font-size: 2rem;
        list-style: 2rem;
    }
    .workcontainer{
        gap: 30px;
        padding-block: 30px;
    }

    .wideworkbox{
        gap: 20px;
        padding-block: 0px;
    }
    .casectatext{
        font-size: 1.3rem;
        line-height: 1.3rem;
    }
    .saying{
        width: 90%;
    }
}