.projects h2 {
    color: black;
    text-align: center;
    font-size: 78px;
    font-weight: 700;
    letter-spacing: 1%;
    font-family: 'Syne', sans-serif;
    margin-bottom: 24px;
}

.projects-intro {
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 82px;
}

.project-content {
    display: flex;
    width: 100%;
    position: relative;
    padding: 0 100px 0 100px;
}

.project-content .project-side {
    height: 100%;
}

.project-details {
    opacity: 0;
    transform: translateX(-35px);

    transition:
        opacity 0.18s ease-out,
        transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-item.is-hovered .project-details {
    opacity: 1;
    transform: translateX(0);
}

.project-item:has(.project-image-right) .project-details {
    transform: translateX(35px);
}

.project-item.is-hovered:has(.project-image-right) .project-details {
    transform: translateX(0);
}

.project-side .project-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    position: relative;
    height: 339px;
    gap: 15px;
}

.project-media-side {
    display: flex;
    align-items: center;
    justify-content: center;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 87px;
}

.desc {
    font-size: 16px;
}

.project-details h3 {
    margin-top: 61px;
    color: black;
    font-weight: 800;
    letter-spacing: 0;
}

.tech {
    color: rgba(75, 71, 255, 1);
    font-weight: 400;
    font-size: 23px;
}

.project-number {
    font-family: 'Syne', sans-serif;
    margin-top: -30px;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0;
}

.project-side .right {
    display: flex;
    justify-content: flex-end;
}

.project-content .left {
    display: flex;
    justify-content: flex-start;
}

.project-image-wrapper {
    position: relative;
}

.project-image-wrapper img {
    display: block;
    max-height: 393px;
    max-width: 620px;
    object-fit: contain;
}

.project-buttons {
    box-sizing: border-box;
    width: 189px;
    height: 68px;
    border: 4px solid black;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.15);
    background: rgba(255, 252, 243, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    position: relative;
    z-index: 10;
}

.project-buttons a {
    width: 100%;
    height: 100%;
    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px 60px;
    font-size: 23px;
    font-family: 'Overpass', sans-serif;
    color: black;
    text-decoration: none;
    cursor: pointer;

    box-sizing: border-box;
}

.hover-border,
.hover-circle {
    opacity: 0;
    pointer-events: none;
}

.project-content:hover .hover-border,
.project-content:hover .hover-circle {
    opacity: 1;
}

.project-image-wrapper img {
    filter: grayscale(100%) brightness(0.9);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.project-image-wrapper:hover img {
    filter: grayscale(0%) brightness(1);
}

.project-image-wrapper {
    position: relative;
    --border-offset: 20px;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.9);
    transition: filter 0.4s ease;
}

.project-item.is-hovered .project-image-wrapper img {
    filter: grayscale(0%) brightness(1);
}

.hover-border {
    position: absolute;
    top: var(--border-offset);
    border: 4px solid #000;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 2;
}

.hover-circle {
    pointer-events: auto;
    cursor: pointer;
    position: absolute;
    top: calc(var(--border-offset) + 50%);
    width: 48px;
    height: 48px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    z-index: 3;
    transition:
        width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.32s cubic-bezier(0.22, 1, 0.36, 1);

    will-change: width, height;
}

.hover-icon {
    position: relative;
    width: 40px;
    height: 40px;
    transform: rotate(0deg);
    transform-origin: center;
    z-index: 4;
    transition:
        width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.22s;

    will-change: width, height, transform;
}

.hover-icon::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 31px;
    background: #fffcf3;
    transform: translateX(-50%);
    transition:

        width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.32s cubic-bezier(0.22, 1, 0.36, 1);

    will-change: width, height;
}

.hover-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 20px;
    height: 20px;
    border-right: 4px solid rgba(255, 252, 243, 1);
    border-bottom: 4px solid rgba(255, 252, 243, 1);
    transform: translateX(-50%) rotate(45deg);

    transition:

        width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        bottom 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        border-width 0.32s cubic-bezier(0.22, 1, 0.36, 1);

    will-change: width, height, bottom, border-width;
}

.project-item.is-hovered .hover-circle {
    width: 75.7px;
    height: 75.7px;
}

.project-item.is-hovered .hover-icon {
    width: 62px;
    height: 62px;
    transform: rotate(-135deg);
}

.project-item.is-hovered .hover-icon::before {
    width: 5px;
    height: 48px;
}

.project-item.is-hovered .hover-icon::after {
    bottom: 6px;
    width: 30px;
    height: 30px;
    border-right-width: 5px;
    border-bottom-width: 5px;
}

.project-image-left .hover-border {
    left: var(--border-offset);
}

.project-image-left .hover-circle {
    left: calc(var(--border-offset) + 100%);
    transform: translate(-50%, -50%);
}

.project-image-right .hover-border {
    right: var(--border-offset);
    left: auto;
}

.project-image-right .hover-circle {
    right: calc(var(--border-offset) + 100%);
    left: auto;
    transform: translate(50%, -50%);
}

.hover-circle:hover::after {
    content: "Open Demo";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    font-size: 12px;
    line-height: 1;
    color: #000;
    background-color: rgba(255, 252, 243, 1);
    border: 1px solid black;
    white-space: nowrap;
}

.about-image-wrapper {
    position: relative;
    width: 400px;
    height: auto;
}

.about-image-wrapper img {
    display: block;
}

.scroll-link {
    position: relative;
    display: inline-block;
}

.scroll-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 50%;
    height: 2px;
    background: rgba(75, 71, 255, 1);
    opacity: 0;
}