.projects-section{
    text-align: left;
    z-index: 3;
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.projects-section h2 {
    font-size: clamp(4rem, 20vw, 6rem);
    background: linear-gradient(180deg, #FFFFFF 34.62%, #000000 87.02%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.test-text {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    bottom: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    padding: clamp(.25rem, 2vw, 2rem);
    padding-left: clamp(.5rem, 4vw, 2rem);
    margin-bottom: -2px;
}

.icon-div {
    width: 32px;
    height: 32px;
    align-self: flex-end;
    display: flex;
    justify-content: center;
    align-content: center;
}

.icon-div img {
    object-fit: contain;
}

.project-name-intro {
    align-content: center;
    width: auto;
    height: 100%;
}

.test-text h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-align: left;
    margin-bottom: 10px;
    font-weight: 600;
}

.test-text p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    flex-shrink: 0;
    text-align: left;
    font-weight: 300;
}

.text-project-card {
    align-self: center;
    position: relative;
    overflow: hidden;
    object-fit: contain;
    aspect-ratio: 1 / 1;
    width: clamp(21rem, 50vw, 31rem);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-content: center;
}

.project-card-link {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.project-card-link:visited {
    color: inherit;
}

.text-project-card.not-selected .project-card-link {
    pointer-events: none;
}

.text-project-card img {
    align-self: center;
    position: absolute;
    display: block;
    width: auto;
    height: inherit;
    object-fit: cover;
}

.test-info-box {
    position: absolute;
    bottom: 0;
    width: 102%;
    height: 30%;
}

.progressive-blur-container {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    width: 102%;
    height: 100%;
    pointer-events: none;
}

.progressive-blur-container > .blur-filter {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.progressive-blur-container > .blur-filter:nth-child(1) {
    backdrop-filter: blur(1px);
    mask: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 40%);
}

.progressive-blur-container > .blur-filter:nth-child(2) {
    backdrop-filter: blur(2px);
    mask: linear-gradient(rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 50%);
}

.progressive-blur-container > .blur-filter:nth-child(3) {
    backdrop-filter: blur(4px);
    mask: linear-gradient(rgba(0, 0, 0, 0) 15%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 60%);
}

.progressive-blur-container > .blur-filter:nth-child(4) {
    backdrop-filter: blur(8px);
    mask: linear-gradient(rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 70%);
}

.progressive-blur-container > .blur-filter:nth-child(5) {
    backdrop-filter: blur(16px);
    mask: linear-gradient(rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 90%);
}

.progressive-blur-container > .blur-filter:nth-child(6) {
    backdrop-filter: blur(32px);
    mask: linear-gradient(rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 1) 80%);
}

.progressive-blur-container > .blur-filter:nth-child(7) {
    z-index: 10;
    background-filter: blur(64px);
    mask: linear-gradient(rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 1) 100%);
}

.progressive-blur-container > .gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, #000000);
}

.text-project-card > .project-card-link > .project-display-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: cover;
}

.section-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: auto;
    gap: 3rem;
}


.selected {}

.not-selected {
    aspect-ratio: 1 / 1;
    width: clamp(16rem, 50vw, 25rem);
    height: clamp(16rem, 50vw, 25rem);
}

.not-selected-text {
    flex-shrink: 0;
    text-align: left;
    font-weight: 300;
    opacity: 0.5;
}

.not-selected-text h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    text-align: left;
    margin-bottom: 10px;
    font-weight: 600;
}

.not-selected-text p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    flex-shrink: 0;
    text-align: left;
    font-weight: 300;
}

.test-project-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    margin: 2rem;
    padding: 2rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    gap: 3rem;
    overflow: hidden;
    touch-action: pan-y;
}

.left-hand-side,
.right-hand-side {
    min-width: clamp(18rem, 50vw, 27rem);
    width: auto;
    max-width: none;
    gap: 3rem;
    height: clamp(18rem, 50vw, 27rem);
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center {
    position: relative;
    justify-self: center;
    aspect-ratio: 1 / 1;
    width: clamp(22rem, 50vw, 32rem);
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-hand-side {
    justify-self: end;
}

.right-hand-side {
    justify-self: start;
}

.text-project-card {
    transition:
        width 350ms ease-in-out,
        height 350ms ease-in-out,
        opacity 350ms ease-in-out,
        transform 350ms ease-in-out;
}

.project-name-intro {
    transition: opacity 350ms ease-in-out;
}

.not-selected {
    cursor: pointer;
}

.light-shade {
    position: absolute;
    width: calc(100% + 10rem);
    height: calc(100% + 6rem);
    background: radial-gradient(
        50% 50% at 50% 50%,
        #E1E2E1 0%,
        rgba(123, 124, 123, 0) 100%
    );
    z-index: 0;
    opacity: 1;
    pointer-events: none;
    transition: opacity 350ms ease;
}

.light-shade.is-hidden {
    opacity: 0;
}