/* Main content */
.single-project-page {
    color: var(--black_white50);
    padding: 150px 0 100px;
}

.single-project-page .c-date,
.project-header-right {
    opacity: 0;
    transform: scale(0.94);
    visibility: hidden;
    animation: heroReveal 1s ease-out forwards;
    animation-delay: 0.6s;
    will-change: opacity, transform;
    animation-fill-mode: both;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: scale(1);
        visibility: visible;
    }
}

.project-single {
    display: flex;
    flex-direction: column;
    gap: 150px;
    z-index: 10;
}

.project-header,
.project-content,
.review-card {
    display: grid;
    grid-template-columns: 1fr 1.9fr;
    gap: 16px;
}

.project-header-right {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* Client info */
.client-info {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 24px;
}

.client-logo {
    /* height: 16px; */
    height: fit-content;
    width: auto;
}

.client-logo img,
.client-logo picture {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: center;
}

.about-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.aboud-bold {
    color: var(--black_white50);
}

.about-plain {
    color: var(--neutral300);
}

/* Project tags */
.project-tags {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 24px;
}

.tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tags-title {
    color: var(--neutral300);
}

.tag-link {
    padding: 6px 12px;
    border: 1px solid var(--neutral600);
    border-radius: 4px;
    color: var(--black_white50);
    transition: border-color 0.4s ease;
}

.tag-link:hover {
    border-color: var(--black_white50);
    cursor: pointer;
}

/* Project meta grid */
.project-meta-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-meta-grid>div:not(:last-of-type),
.project-meta-grid .project-duration {
    padding: 8px 0;
    border-bottom: 1px solid var(--neutral700);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.project-link {
    margin-top: 20px;
    padding: 4px 0;
    display: flex;
    border-bottom: 1px solid var(--neutral700);
    width: fit-content;
}

.project-link a {
    display: flex;
    align-items: center;
    gap: 2px;
}

.project-link svg {
    height: 20px;
    width: 20px;
    transition: transform 0.4s ease;
}

.project-link a:hover svg {
    transform: rotate(45deg);
}

.project-meta-grid>div>span:nth-child(1) {
    color: var(--neutral300);
}

/* Right side */
.project-content-right-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-dynamic-blocks {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.project-video {
    height: auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
}

.project-video video,
.project-video img,
.project-video picture {
    width: 100%;
    height: 100%;
    max-height: unset;
}

.project-thumbnail,
.block-image {
    height: auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
}

.project-thumbnail img,
.project-thumbnail picture,
.block-image img,
.block-image picture {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

/* bottom part */
.info-block {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.block-text {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 24px;
}

.block-text-title {
    color: var(--neutral300);
}

.block-text-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bright-text {
    color: var(--black_white50);
}

.not-bright-text {
    color: var(--neutral300);
}

/* Review/bottom part */
.review-card {
    align-items: center;
}

.review-card-logo {
    height: auto;
    max-width: 300px;
}

.review-card-logo img,
.review-card-logo picture {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

.review-card-content {
    display: flex;
    flex-direction: column;
}

.review-card-content-img {
    width: 25px;
    height: 21px;
    margin-bottom: 24px;
}

.review-card-text {
    color: var(--black_white50);
    margin-bottom: 32px;
}

.review-card-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-card-author-name {
    color: var(--black_white50);
}

.review-card-author-position {
    color: var(--neutral300);
}

/* Circles */
.left-side-ellipsis {
    /* Ellipse 11 */
    position: absolute;
    width: 326px;
    height: 326px;
    left: -198px;
    top: 1179px;
    background: #3C4AC1;
    filter: blur(150px);
    flex: none;
    order: 4;
    flex-grow: 0;
    z-index: 4;
}

.right-side-ellipsis {
    position: absolute;
    width: 326px;
    height: 326px;
    /* left: 1394px; */
    right: -397px;
    top: 1521px;
    background: #7BFEDD;
    filter: blur(150px);
    flex: none;
    order: 0;
    flex-grow: 0;
    z-index: 0;
}

.left-side-bottom-ellipsis {
    position: absolute;
    width: 326px;
    height: 326px;
    left: -198px;
    top: 4132px;
    background: #3C4AC1;
    filter: blur(150px);
    flex: none;
    order: 5;
    flex-grow: 0;
    z-index: 5;
}

/* Responsive */
@media (max-width: 768px) {

    /* Main content */
    .single-project-page {
        padding: 70px 0 100px;
    }

    .project-single {
        gap: 100px;
    }

    .project-header,
    .project-content,
    .review-card {
        grid-template-columns: 1fr;
    }

    .review-card {
        gap: 32px;
    }

    .project-header-right {
        gap: 56px;
    }

    /* client info */
    .client-info,
    .block-text {
        grid-template-columns: 1fr;
    }

    .about-content-wrapper {
        gap: 16px;
    }

    /* tags */
    .project-tags {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tags-wrapper {
        gap: 8px;
    }

    /* Projects meta grid */
    .project-link {
        margin-top: 12px;
        margin-left: auto;
    }

    .block-text-content,
    .block-text {
        gap: 16px;
    }

    /* bottom part review */
    .review-card-logo {
        max-width: unset;
        width: 100%;
    }

    .review-card-text {
        margin-bottom: 24px;
    }

    /* Circles */
    .left-side-ellipsis {
        top: 1079px;
    }

    .right-side-ellipsis {
        display: none;
    }

    .left-side-bottom-ellipsis {
        top: 3932px;
    }
}