/* CUSTOM NVA */

.project-container {
    position: relative;
    margin: 300px 0px 382px;
}

.project-center {
    background: #fff;
    font-family: "Inter", sans-serif;
    font-size: 50px;
    font-weight: 700;
    text-align: center;
    color: #000000;
    line-height: 400px;
    height: 400px;
    width: 400px;
    box-sizing: border-box;
    border: 8px solid #eb008d;
    border-radius: 100%;
    margin: 0 auto;
    overflow: hidden;
    z-index: 2;
}

.project-center span {
    position: relative;
    transition: all 0.75s ease;
    transition-delay: 0.5s;
}

.project-center span:first-of-type {
    top: 0px;
    opacity: 1;
}

.project-center span:last-of-type {
    top: 50%;
    opacity: 0;
}

.project-container.active span:first-of-type {
    top: -65%;
    opacity: 0;
}

.project-container.active span:last-of-type {
    top: -105%;
    opacity: 1;
}

.project-icon {
    display: none;
}

.project-icon .icon {
    float: left;
    width: 55px;
    height: 55px;
    margin-right: 20px;
}

.project-icon .icon:last-of-type {
    margin-right: 0px;
}

.project-icon .icon img {
    height: 100%;
    width: 100%;
}

.project-step {
    opacity: 0;
    position: absolute;
    z-index: -1;
    transition: all 0.75s ease;
    transition: 0.4s;
    text-align: left;
    max-width: 310px;
    max-width: calc(33.333333% - 30px);
    display: flex;
}

.project-step:nth-child(2) {
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    flex-direction: column;
    text-align: center;
    transition-delay: 0s;
}

.project-step:nth-child(2) .number {
    order: 2;
    margin-top: 10px;
}

.project-step:nth-child(3) {
    top: 50%;
    transform: translate(50%, -50%) scale(0.5);
    right: 50%;
    align-items: flex-end;
    transition-delay: 0s;
}

.project-step:nth-child(3) .text {
    margin-left: 18px;
}

.project-step:nth-child(4) {
    right: 50%;
    transform: translate(50%, 50%) scale(0.5);
    bottom: 50%;
    transition-delay: 0s;
}

.project-step:nth-child(4) .text {
    margin-left: 18px;
    position: relative;
    top: 10px;
}

.project-step:nth-child(5) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    flex-direction: column;
    text-align: center;
    transition-delay: 0s;
}

.project-step:nth-child(5) .number {
    margin-bottom: 7px;
}

.project-step:nth-child(6) {
    bottom: 50%;
    transform: translate(-50%, 50%) scale(0.5);
    left: 50%;
    transition-delay: 0s;
}

.project-step:nth-child(6) .number {
    order: 2;
}

.project-step:nth-child(6) .text {
    text-align: right;
    margin-right: 18px;
    margin-left: 0;
    position: relative;
    top: 10px;
}

.project-step:nth-child(7) {
    top: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    left: 50%;
    align-items: flex-end;
    transition-delay: 0s;
}

.project-step:nth-child(7) .number {
    order: 2;
}

.project-step:nth-child(7) .text {
    text-align: right;
    margin-right: 18px;
    margin-left: 0;
}

.project-step .title {
    font-family: "Inter", sans-serif;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.2;
    color: #000000;
    margin-bottom: 12px;
}

.project-step .text {
    float: left;
    width: 100%;
    display: inline-block;
}

.project-step .number {
    font-size: 55px;
    font-weight: 800;
    line-height: 1;
}

.project-step .description {
    margin-bottom: 0px;
}

.project-container.active .project-step:nth-child(2) {
    opacity: 1;
    bottom: calc(100% + 42px);
    transform: translate(-50%, 0%) scale(1);
    transition-delay: 0.5s;
}

.project-container.active .project-step:nth-child(3) {
    opacity: 1;
    right: 0;
    top: 0;
    transform: translate(0) scale(1);
    transition-delay: 0.7s;
}

.project-container.active .project-step:nth-child(4) {
    opacity: 1;
    right: 0;
    bottom: 0px;
    transform: translate(0) scale(1);
    transition-delay: 0.9s;
}

.project-container.active .project-step:nth-child(5) {
    opacity: 1;
    top: 500px;
    top: calc(100% + 42px);
    transform: translate(-50%, 0) scale(1);
    transition-delay: 1.1s;
}

.project-container.active .project-step:nth-child(6) {
    opacity: 1;
    left: 0;
    bottom: 0px;
    transform: translate(0) scale(1);
    transition-delay: 1.3s;
}

.project-container.active .project-step:nth-child(7) {
    opacity: 1;
    left: 0;
    top: 0;
    transform: translate(0) scale(1);
    transition-delay: 1.5s;
}

@media screen and (max-width: 1200px) {
    .project-center {
        line-height: 350px;

        height: 350px;

        width: 350px;
    }

    .project-container {
        padding: 50px 0;
        margin: 250px 0px 300px;
    }

    .project-container.active .project-step:nth-child(2) {
        bottom: calc(100% - 20px);
    }

    .project-container.active .project-step:nth-child(5) {
        top: calc(100% - 20px);
    }
}

@media screen and (max-width: 992px) {
    .project-container {
        margin: 0px -15px;
    }

    .project-center {
        margin-bottom: 50px;
    }

    /* .project-center {
        line-height: normal;
        padding-bottom: 8px;
        height: inherit;
        border-bottom: 8px solid transparent;
        border-top: 0px;
        border-left: 0px;
        border-right: 0px;
        border-radius: 0px;
        background-image: linear-gradient(to right, #00ca7d 0%, #8093e6 100%);
        margin: 0 auto 60px;
        overflow: hidden;
        width: 100%;
        z-index: 2;
        max-width: 350px;
        display: none;
    } */

    .project-icon {
        display: block;
        width: 365px;
        margin: 0 auto 60px;
        display: none;
    }

    .project-center span {
        background: #fff;
        display: block;
    }

    .project-center br {
        display: none;
    }

    /* .project-container.active span:first-of-type,
    .project-container span:first-of-type {
        display: none;
    } */

    .project-center.active span:last-of-type,
    .project-center span:last-of-type {
        opacity: 1;
    }

    .project-step {
        opacity: 1;
        position: relative;
        top: inherit;
        transform: inherit;
        z-index: -1;
        transition: all 0.5s ease;
        text-align: left;
        left: inherit;
        right: inherit;
        overflow: auto;
        float: left;
        max-width: 50%;
        padding: 0px 15px;
        transform: none !important;
    }

    .project-container .project-step:nth-child(2),
    .project-container .project-step:nth-child(3),
    .project-container .project-step:nth-child(4),
    .project-container .project-step:nth-child(5),
    .project-container .project-step:nth-child(6),
    .project-container .project-step:nth-child(7) {
        left: inherit;
        right: inherit;
        bottom: inherit;
        top: inherit;
        position: initial;
        margin: 20px auto;
        display: block;
        transform: inherit;
        flex-direction: row;
        text-align: left;
    }

    .project-step .text {
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left !important;
    }

    .project-container.active .project-step:nth-child(2),
    .project-container.active .project-step:nth-child(3),
    .project-container.active .project-step:nth-child(4),
    .project-container.active .project-step:nth-child(5),
    .project-container.active .project-step:nth-child(6),
    .project-container.active .project-step:nth-child(7) {
        opacity: 1;
        left: inherit;
        right: inherit;
        top: inherit;
        bottom: inherit;
        margin: 20px auto;
        display: block;
        transform: inherit;
    }

    .project-container {
        padding-bottom: 100px;
    }

    .project-step .number,
    .project-step:nth-child(5) .number {
        margin-bottom: 10px;
    }

    .project-step:nth-child(2) .number {
        margin-top: 0;
    }

    .project-step:nth-child(4) .text {
        position: initial;
    }

    .project-step:nth-child(6) .text {
        position: initial;
    }
}

@media screen and (max-width: 768px) {
    /* .project-center {
        max-width: 300px;
        font-size: 40px;
    } */
}

@media screen and (max-width: 650px) {
    .project-step {
        float: none;
        max-width: 100%;
        width: 100%;
    }
}

@media screen and (max-width: 450px) {
    .project-icon {
        width: 300px;
        margin: 0 auto 60px;
    }

    .project-icon .icon {
        float: left;
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }
}

@media screen and (max-height: 885px) {
    .project-center {
        line-height: 320px;
        height: 320px;
        width: 320px;
        border: 6px solid #eb008d;
    }

    .project-step .number {
        font-size: 50px;
    }
}
