.service-details {
    position: relative;
    width: 100%;
    min-height: 100vh;

    justify-content: center;
    display: flex;
    flex-direction: column;
    justify-items: center;

}

/* BACKGROUND */
.service-details .background {
    position: fixed;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.service-details .bg_wrapper {
    position: relative;
    transform: skewY(345deg) translateY(-200px);
    animation: animateColor 10s linear 0s infinite forwards;
}

@keyframes animateColor {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

.service-details .bg_wrapper .dummy_text {
    position: relative;
    width: 100%;
    font-size: 8em;
    color: var(--text2);
    pointer-events: none;
    user-select: none;
    line-height: 0.5em;
    white-space: nowrap;
    transform: translateX(calc(0% - var(--x) * 1px));
}

.service-details .bg_wrapper .dummy_text:nth-child(even) {
    transform: translateX(calc(-200vw - var(--x) * -1px));
}

.service-details .bg_wrapper .dummy_text span {
    color: #0f0;
    margin: 0 10px;
}

.service-details .bg_wrapper .dummy_text span:nth-child(even) {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
}

/* MAIN */
.service-details .service-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    color: var(--text2);
    top: 20px;
    /* padding: 20px; */
}

.service-details .service-container img {
    max-width: 90%;
    width: 40%;
}

.service-details .service-container.move-little-down {
    margin-top: 10px;
}

.service-details .service-container .c_content {
    /* --bg-color: hsla(from var(--surface1) / h s l 100%); */
    /* width: 800px; */
    text-align: start;
    background: var(--bg-color);
    /* background: hsl(from var(--surface1) / h s l 0%); */
    backdrop-filter: blur(5px);
    /* backdrop-filter: opacity(2%); */

    padding: 20px;
    /* padding-left: 100px; */
    color: var(--text1);
    font-size: 20px;
    display: flex;
    flex-direction: column;
    max-width: 60%;
}

/* .service-details .service-container.left .c_content {
    transform: translateX(-70px);
} */

.service-details .service-container.left .c_content .c_title {
    position: relative;

    /* right: -30%; */
    font-size: 1.5em;
    font-weight: bolder;
    
    /* width: 500px; */
    /* -webkit-text-stroke: 2px #e08383; */
    /* transform: rotateZ(90deg) translateY(-100%); */
}

.service-details .service-container.center .c_content .c_title {
    position: relative;
    /* top: 50%; */
    /* right: -30%; */
    font-size: 1.0em;
    font-weight: bolder;
    

    /* width: 500px; */
    /* -webkit-text-stroke: 2px #e08383; */
    /* transform: rotateZ(90deg) translateY(-100%); */
}

.service-details .service-container .c_content .li {
    list-style-type: circle;

}

.service-details .service-container.right .c_content .c_title {
    position: relative;
    /* top: 50%; */
    /* left: -50%; */
    font-size: 1.4em;
    font-weight: bolder;
    padding: 20px auto;
    /* width: 500px; */
    /* -webkit-text-stroke: 2px #e08383; */
    /* transform: rotateZ(90deg) translateY(100%); */
}

/* .service-details .service-container.right .c_content {
    transform: translateX(120px);
} */
.service-container .c_content .bullets-container {
    display: inline-flex;
    flex-direction: column;
    align-content: start;
    align-items: start;
    justify-content: flex-start;
    padding-inline-start: 20px;
    /* max-width: 400px; */
    /* align-content: baseline; */
    /* white-space: nowrap; */

}

.service-container .c_content .bullets-container .bullet-text {
    position: relative;
    /* Set position relative for the paragraphs */
    /* padding-left: 20px; */
    /* Create space for the bullets */
    /* display: inline-block; */
    display: list-item;
    /* This has to be "list-item"  */
    list-style-position:outside;
    /* See https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-position */
    /* white-space: nowrap; */
    /* left: 20px; */
    /* display: inline; */
}

.service-details .service-container .c_content a {
    /* display: inline-block; */
    text-decoration: none;
    color: var(--text2);
    font-size: 25px;
    padding: 7px 15px;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s linear;
}

.service-details .service-container .c_content a:hover {
    color: dodgerblue;
}

.service-details .service-container .c_content .fa-arrow-alt-circle-right {
    display: inline-block;
    text-decoration: none;
    color: white;
    font-size: 25px;
    padding: 7px 0;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0s;
}

.service-details .service-container .c_content a:hover~.fa-arrow-alt-circle-right {
    color: dodgerblue;
    transition-delay: 0.5s;
    transform: translateX(25px);
}



/* FOOTER */
.service-details .foot {
    position: relative;
    z-index: 2;
}

.service-details .foot h2 {
    text-align: center;
    width: 100%;
    height: 300px;
    line-height: 300px;
    font-size: 5em;
    /*background: url("../img/elements/border.png") no-repeat center center;*/
    -webkit-text-stroke: 1px aqua;
}

.service-details .foot .foot-link {
    margin: 15px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 20px;
    background: rgba(95, 158, 160, 0.26);
    z-index: 2;
    backdrop-filter: blur(5px);
}

.service-details .foot a {
    display: inline-block;
    text-decoration: none;
    font-size: 4em;
    text-align: center;
    color: white;
    padding: 20px 0;
    transition: 0.3s linear;
}

.service-details .foot a:hover {
    color: dodgerblue;
}

.service-details .foot .fa-arrow-alt-circle-right {
    display: inline-block;
    text-decoration: none;
    color: white;
    font-size: 50px;
    padding: 7px 20px;
    width: 50px;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.5s;
}

.service-details .foot a:hover~.fa-arrow-alt-circle-right {
    color: dodgerblue;
    transition-delay: 0.5s;
    transform: translateX(50px);
}

.service-details .foot a i {
    transition: 0.5s;
}

.service-details .foot a:hover i {
    transform: translateX(50px);
}

.service-details .foot .foot-link img {
    position: absolute;
    opacity: 0;
    width: 400px;
    height: 300px;
    top: calc(var(--img_top) - 150px);
    left: calc(var(--img_left) - 200px);
    transform: scale(0);
    user-select: none;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out,
        transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-details .foot .foot-link:hover img {
    transition-delay: 0.7s;
    opacity: 0.8;
    top: calc(var(--img_top) - 150px);
    left: calc(var(--img_left) - 200px);
    transform: scale(1);
}

/* Hover effect */
.service-details a {
    position: relative;
    overflow: hidden;
}

.service-details a .jump-target {
    position: relative;
}

.service-details a .jumped {
    position: relative;
    top: 0;
    transition: 0.15s;
    transition-delay: calc(var(--come) * 0.05s);
}

.service-details a:hover .jumped {
    top: -2ch;
}

.service-details a .jumping {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(2ch);
    transition: 0.15s;
    transition-delay: calc(var(--come) * 0.05s);
}

.service-details a:hover .jumping {
    transform: translateY(0ch);
}

/* TYPOGRAPHY */
.service-details .top-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;

}

.top-container h1{
    /* width: 40%; */
    margin-inline-start: auto;
    margin-inline-end: auto;
}

.typography {
    position: relative;
    font-size: 3.5rem;
    padding: 30px;
    display: inline-block;
    font-weight: bold;
    color: var(--text1);
    width: 40%;
    max-width: 100%;
}

.t_dummy {
    display: inline-block;

}

.t-box {
    position: relative;
    width: 620px;
    font-size: 30px;

    height: 50px;
    font-size: clamp(0.5rem, 0.8rem + 1.5vw, 1.5rem);

    /* line-height: 70px; */
    display: inline-block;
    color: var(--text1);
    transform-style: preserve-3d;
    animation: rotate 10s linear 0s infinite forwards;
}



.service-details .box-side {
    position: absolute;
    top: 0;
    left: 0;
    /* padding-left: 20px; */
    width: 100%;
    height: 100%;
    line-height: 45px;
    display: inline-block;
    background: #0d1117;
}

.service-details .box-front {
    background: indigo;
    transform: translate3d(0, 0, 25px);
}

.service-details .box-back {
    background: orange;
    transform: translate3d(0, 0, -25px) rotateX(180deg);
}

.service-details .box-top {
    background: orangered;
    transform: translate3d(0, 25px, 0) rotateX(-90deg);
}

.service-details .box-bottom {
    background: lime;
    transform: translate3d(0, -25px, 0) rotateX(90deg);
}

.service-details .top-container .top-container-text {
    position: relative;
    text-align: center;

    max-width: 100%;
    /* min-height: 60px; */
    padding: 20px;
    font-size: clamp(0.4rem, 0.5rem + 1.0vw, 1.3rem);

    /* margin-right: 30px; */
    background: hsla(from var(--surface4) / 20%);

    color: var(--text2);
}

.service-details .service-container.move-little-down {
    margin-top: 10px;
}

/* MEDIA QUERY.
WORK TITLE, 
 */
@media (max-width: 966px) {



    .service-details .service-container .c_content {
        padding: 25px;
        font-size: 18px;
    }
}

/* MEDIA QUERY
CAPABILITIES
IMG
CONTENT,
TITLE
HOVER EFFECT (STOPPED) */
@media (max-width: 681px) {
    .service-details .service-container {
        flex-direction: column;
        padding-inline-start: 20px;
        padding-inline-end: 20px;
    }

    .service-details .service-container img {
        width: 100%;
    }

    .service-details .service-container.left .c_content,
    .service-details .service-container.right .c_content {
        transform: translateX(0);
    }

    .service-details .service-container.right {
        flex-direction: column-reverse;
    }

    .service-details .service-container.left .c_content .c_title {
        position: relative;
        /* top: 50%; */
        /* right: -50%; */
        /* font-size: 3.5em; */
        font-weight: bolder;
        width: auto;
        /* transform: rotateZ(90deg) translateY(-100%); */
    }

    .service-details .service-container.right .c_content .c_title {
        position: relative;
        /* top: 50%; */
        /* left: -50%; */
        /* font-size: 3.5em; */
        font-weight: bolder;
        /* width: 500px; */
        /* transform: rotateZ(90deg) translateY(100%); */
    }

    .service-details a .jumping {
        display: none;
    }

    .service-details a:hover .jumped {
        top: 0;
    }

    .service-details .foot a {
        font-size: 2em;
    }

    .top-container .top-container-text {
        float: right;
        display: block;
    }
}

@media (max-width: 450px) {
    .t-box {
        width: 100%;
    }

    .service-details .top-container {
        flex-direction: column;
    }

    .typography {
        width: 90%;
    }

    /* .service-details .box-front {
        transform: translate3d(0, 0, 22.5px);
    }

    .service-details .box-back {
        transform: translate3d(0, 0, -22.5px) rotateX(180deg);
    }

    .service-details .box-top {
        transform: translate3d(0, 22.5px, 0) rotateX(-90deg);
    }

    .service-details .box-bottom {
        transform: translate3d(0, -22.5px, 0) rotateX(90deg);
    } */
}

/* MEDIA QUERY
C_CONTENT,
TITLE,
ARROW (DISABLE) */
@media (max-width: 400px) {
    .service-details .service-container .c_content {
        width: 90%;
    }

    .service-details .service-container .c_content .c_title {
        display: none;
    }

    .service-details .foot a:hover~.fa-arrow-alt-circle-right {
        color: dodgerblue;
        transition-delay: 0.5s;
        transform: translateX(0);
    }

    .service-details .service-container.move-little-down {
        margin-top: 10px;
    }

    .service-details .foot h2 {
        text-align: center;
        width: 100%;
        height: 300px;
        line-height: 300px;
        font-size: 3em;
        background: url("../img/elements/border.png") no-repeat center center;
        -webkit-text-stroke: 1px aqua;
    }
}

.tech-parent {
    position: relative;
    width: 40%;
    /* margin: auto; */
}

.tech-parent .web-tech-container {
    --n: 10;
    /* number of item */
    --d: 40s;
    /* duration */
    --translatex: 190px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* width: 40%;
    height: 40%; */
    min-width: 380px;
    min-height: 380px;
    /* height: auto; */
    display: grid;
    /* margin: 0 0; */
    border: 1px solid #000;
    place-content: center;
    grid-template-columns: 40px;
    grid-template-rows: 40px;
    border-radius: 50%;
}

.web-tech-container.backend {
    --n: 8;
    /* number of item */
    --d: 50s;
    --translatex: 130px;
    position: absolute;
    min-width: 260px;
    min-height: 260px;
}
.web-tech-container.core {
    --n: 5;
    /* number of item */
    --d: 60s;
    --translatex: 75px;
    position: absolute;
    min-width: 150px;
    min-height: 150px;
}

.web-technology {
    grid-area: 1/1;
    text-align: center;
    border-radius: 50%;
    justify-content: center;
    border: 1px solid #000;
    background: white;
    animation: spin var(--d) linear infinite ;
    transform: rotate(0) translate(var(--translatex)) rotate(0);

}
/* .web-tech-container.backend .web-technology{
  
    animation: spin var(--d) linear infinite;
    transform: rotate(0) translate(var(--translatex)) rotate(0);
} */

.web-tech-container .web-technology img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

/* .web-technology:nth-child(N) {
    animation-delay: calc(-(N - 1)*var(--d)/var(--n))
} */
.web-technology:nth-child(1) {
    animation-delay: calc(-0*var(--d)/var(--n))
}

.web-technology:nth-child(2) {
    animation-delay: calc(-1*var(--d)/var(--n))
}

.web-technology:nth-child(3) {
    animation-delay: calc(-2*var(--d)/var(--n))
}

.web-technology:nth-child(4) {
    animation-delay: calc(-3*var(--d)/var(--n))
}

.web-technology:nth-child(5) {
    animation-delay: calc(-4*var(--d)/var(--n))
}

.web-technology:nth-child(6) {
    animation-delay: calc(-5*var(--d)/var(--n))
}

.web-technology:nth-child(7) {
    animation-delay: calc(-6*var(--d)/var(--n))
}

.web-technology:nth-child(8) {
    animation-delay: calc(-7*var(--d)/var(--n))
}

.web-technology:nth-child(9) {
    animation-delay: calc(-8*var(--d)/var(--n))
}

.web-technology:nth-child(10) {
    animation-delay: calc(-9*var(--d)/var(--n))
}

@keyframes spin {
    100% {
        transform: rotate(1turn) translate(var(--translatex)) rotate(-1turn);
    }
}
@keyframes spin-reverse {
    100% {
        transform: rotate(-1turn) translate(-var(--translatex)) rotate(1turn);
    }
}
@media (max-height: 778px) {
    .service-details .foot {
        width: 100%;
        min-height: 200vh;
    }
}

@keyframes circle {
    to {
        transform: rotate(360deg);
    }

}