section {
    min-height: 100vh;
}


.cursor {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: var(--width);
    height: var(--height);
    transform: translate(calc(var(--x) - var(--width) / 2), calc(var(--y) - var(--height) / 2));
    transition-duration: 125ms;
    transition-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1);
    transition-property: width, height, transform;
    transition: 150ms width cubic-bezier(0.39, 0.575, 0.565, 1),
        150ms height cubic-bezier(0.39, 0.575, 0.565, 1),
        150ms transform cubic-bezier(0.39, 0.575, 0.565, 1);
    z-index: 50001;
    pointer-events: none;
    will-change: transform;
}

@media (pointer: fine) {
    .cursor {
        display: block;
    }
}

.cursor::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background-color: #999;
    filter: invert(1);
    /* border: 2px solid #3c3c3c; */
    /* background-color: rgba(101, 105, 105, 0.863); */
    opacity: 1;
    -webkit-transform: scale(var(--scale));
    transform: scale(var(--scale));
    transition: 300ms opacity cubic-bezier(0.39, 0.575, 0.565, 1),
        300ms transform cubic-bezier(0.39, 0.575, 0.565, 1),
        150ms border-radius cubic-bezier(0.39, 0.575, 0.565, 1);
}

html:not(html:hover) .cursor::after {
    opacity: 0;
    transform: scale(0);
}


.circle_entered.cursor::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    -webkit-transform: scale(5);
    transform: scale(5);
    transition: 300ms opacity cubic-bezier(0.39, 0.575, 0.565, 1),
        300ms transform cubic-bezier(0.39, 0.575, 0.565, 1),
        150ms border-radius cubic-bezier(0.39, 0.575, 0.565, 1);
    clip-path: circle(50px at var(--x) var(--y));
}

.link.cursor::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid #3c3c3c;
    transform: scale(1.6);
    transition: 300ms opacity cubic-bezier(0.39, 0.575, 0.565, 1),
        300ms transform cubic-bezier(0.39, 0.575, 0.565, 1),
        150ms border-radius cubic-bezier(0.39, 0.575, 0.565, 1);
    /* clip-path: circle(50px at var(--x) var(--y)); */
}

.link.arrow.cursor::before {
    content: '\2197';
    position: absolute;
    top: 50%;
    left: 50%;
    color: #dedede;
    filter: invert(1);
    transform: translate(-50%, -50%) scale(2);
}

.link.arrow-white.cursor::before {
    content: '\2197';
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fff;
    filter: none;
    transform: translate(-50%, -50%) scale(2);
}

.link.arrow-send.cursor::before {
    content: '\2192';
    position: absolute;
    top: 50%;
    left: 50%;
    color: #111;
    filter: none;
    transform: translate(-50%, -50%) scale(2);
}

.openProject.cursor::before {
    content: "Open Link";
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #ffffff;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    padding: 3.5rem 0;
    text-align: center;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgb(20, 20, 20, 0.1);
    cursor: pointer;
}

.openProject.cursor::after {
    content: '\2197';
    position: absolute;
    margin-left: 3rem;
    margin-bottom: -3rem;
    border-radius: 50%;
    background-color: transparent;
    border: none;
    filter: none;
    transform: scale(1.4);
}


.workshop_text_with_circle:hover {
    clip-path: circle(200px at var(--x) var(--y));
    color: #fff;
}

.navbar {
    position: fixed;
    width: 100%;
    z-index: 500;
}

.invert {
    filter: invert(1);
}


.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.translate-y-4 {
    transform: translateY(-4rem);
}

.p-1 {
    padding: 4px;
}

.p-2 {
    padding: 8px;
}

.px-1 {
    padding-left: 4px;
    padding-right: 4px;
}

.px-2 {
    padding-left: 8px;
    padding-right: 8px;
}

.py-1 {
    padding-top: 4px;
    padding-bottom: 4px;
}

.py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
}

.hover-underline:hover {
    text-decoration: underline;
}

.rotate-180 {
    transform: rotate(180deg) !important;
    transition: all 0.01s ease-in-out;
}

.rotate-0 {
    transform: rotate(0deg) !important;
    transition: all 0.01s ease-in-out;
}

.hidden {
    display: none;
}

.cursor-pointer {
    cursor: pointer;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.flex {
    display: flex;
}

.flex-grow {
    flex-grow: 1;
}

.flex-col {
    flex-direction: column;
}

.gap-2 {
    gap: 8px;
}
.gap-4 {
    gap: 16px;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: end;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.font-semibold {
    color: #3c3c3c;
    font-weight: 600 !important;
}

.font-medium {
    color: #3c3c3c;
    font-weight: 500 !important;
}

.show_menu {
    transition: all 0.2s ease-in-out;
    animation: opac 1s ease-in-out;
}

@keyframes opac {
    0% {
        transform: translateY(-1000px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


.img-rotate {
    position: relative;
    width: 350px;
    height: 350px;
    margin-left: auto;
    transform: translateY(-400px) rotate(0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-rotate img {
    position: absolute;
    inset: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: rotate 10s linear infinite;
}

.img-rotate .fixed_image {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 105px;
    object-fit: contain;
    animation: none;
}

.img-rotate .img_rotate_overlay {
    position: absolute;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background-color: #dedede;
}


@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.butterflyWithText {
    position: absolute;
    right: 8rem;
    /* bottom: 16%; */
    bottom: 2.3rem;
    width: 340px;
    height: 340px;
    /* margin-left: auto;
    transform: translateY(-360px) rotate(0); */
}

.help_p {
    background: #fff;
    color: black;
    padding: 12px 20px;
    max-width: max-content;
    font-weight: 600;
    font-size: 28px;
    transform: translateY(-50px) !important;
}

.butterfly {
    width: 450px;
    height: 450px;
    position: absolute;
    bottom: 8%;
    right: -10%;
    transform: rotate(-30deg);
    opacity: 0.05;
}

.service_div_wrapper {
    position: relative;
    min-height: 70vh;
    width: 100%;
    display: flex;
    max-width: 100%;
}

.service_div {
    height: 70vh;
    overflow: hidden;
    width: 15vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    background: white;
    padding: 40px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    transition: all 0.4s ease-in-out;
    background: #ededed;
}

.service_div:nth-child(1) {
    z-index: 5;
}

.service_div:nth-child(2) {
    z-index: 4;
}

.service_div:nth-child(3) {
    z-index: 3;
}

.service_div:nth-child(4) {
    z-index: 2;
}

.service_div:nth-child(5) {
    z-index: 1;
}

.show_p {
    font-size: 1.3rem;
    display: block;
    animation: fade 0.6s ease-in-out;
}

.service_div h1 {
    min-width: max-content;
    overflow: hidden;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.service_div p {
    max-width: 600px;
    overflow: hidden;
    font-size: 1.4rem;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.workshop_text {
    font-size: 6rem;
    max-width: 1280px;
}

.u-light {
    color: #999;
}

.u-light:hover {
    color: #fff;
}

.workshop {
    min-height: 100vh;
}

.workshop .c-summary_list_item {
    margin: 10rem 0;
}

.workshop .c-summary_list_item:first-child {
    margin: 0;
}

.workshop .c-summary_list_item:last-child {
    margin-bottom: 0;
}

.workshop .c-summary_list_item.is-inview:after {
    opacity: 0;
}

.summary_container {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.summary_container a {
    font-size: 1.8rem;
}

.summary_heading {
    font-size: 4rem;
    min-width: 20rem
}

.summary_container p {
    font-size: 2rem !important;
    margin-top: 2rem;
}

.button-hover-dark:hover {
    color: #3c3c3c;
}


.portfolio_header_text {
    font-size: 6rem;
    max-width: 50rem;
    padding: 0 0 10rem 1rem;
}

.product_wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    place-items: center;
    gap: 4rem;
    padding: 4rem;
}

.product {
    width: 100%;
    height: 100%;
    max-width: 36rem;
    min-height: 100%;
    max-height: 30rem;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}

.product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* .product .content {
    position: absolute;
    bottom: 2rem;
    right: 1rem;
    left: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(100, 100, 100, 0.2);
    backdrop-filter: blur(4px);
    padding: 20px;
    border-radius: 10px;
    transform: translateY(500px);
    transition: all 0.6s ease-out;
} */

.product .content {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 1.2s cubic-bezier(.215, .61, .355, 1);
    border: 1px solid rgba(100, 100, 100, 0.2);
    padding: 20px;
    opacity: 0;
}

.product:hover img {
    scale: 1.05;
    transition: all 0.6s ease;
}

.product:hover .content {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.product .content h1 {
    font-size: 4rem;
    font-weight: 500;
    color: #ffffff;
}

.product .content p {
    font-weight: 300;
    color: #ffffff;
    margin: 1rem 0;
}

.product .content h2 {
    font-size: 1.2rem;
    margin: 0.8rem 0;
    color: #ffffff;
}

.portfolio_header_text .o-title_line span {
    font-size: 6rem;
}

.product.fade-bottom {
    animation: fade 1.6s ease;
}


@media (max-width: 600px) {

    .c-header {
        margin-top: 10rem;
        height: 60vh;
    }

    .butterfly {
        width: 250px;
        height: 250px;
        bottom: -10%;
    }

    .c-header_title .small-h {
        font-size: 28px;
    }

    .c-header_title .small-h br {
        display: none
    }

    .c-direction-block_item {
        font-size: 60px;
    }

    .img-rotate {
        width: 250px;
        height: 250px;
        transform: translateY(0);
    }

    .img-rotate .fixed_image {
        padding: 80px;
    }

    .c-lerp-block_title span {
        font-size: 3rem;
        padding-bottom: 1rem;
    }
}