.services {
    position: relative;
    width: 100%;
    min-height: 100vh;
    
}

/* BACKGROUND */
 .background {
    position: fixed;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

 .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);
    }
}

 .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));
}

 .bg_wrapper .dummy_text:nth-child(even) {
    transform: translateX(calc(-200vw - var(--x) * -1px));
}

 .bg_wrapper .dummy_text span {
    color: #0f0;
    margin: 0 10px;
}

 .bg_wrapper .dummy_text span:nth-child(even) {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
}

/* MAIN */

 .capabilities img {
    max-width: 100%;
    width: 40%;
}
.capabilities.move-little-down {
    margin-top: 200px;
}

/* .capabilities .c_content { */
    /* --bg-color: hsla(from var(--surface1) / h s l 100%); */
    /* width: 800px; */
    /* text-align: center;
    background: var(--bg-color); */
    /* background: hsl(from var(--surface1) / h s l 0%); */
    /* backdrop-filter: blur(5px); */
    /* backdrop-filter: opacity(2%); */
    /* border-top: 3px solid rgba(255, 255, 255, 0.1);
    border-bottom: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-radius: 20px; */
    /* padding: 30px; */
    /* padding-left: 100px; */
    /* color: var(--text2);
   
    display: flex;
    flex-direction: column;
    max-width: 100%;
    min-width: 40%;
    top: 10px; */
/* } */

/* .capabilities.left .c_content {
    max-width: 100%;
    width: auto;
    text-align: left;
    transform: translateX(-30px);
} */

.capabilities.left .c_content .c_title {
    position: relative;
    /* top: 50%; */
    /* right: -30%; */
    font-size: 1.2em;
    font-weight: bolder;
    padding: 20px;

    /* width: 500px; */
    /* -webkit-text-stroke: 2px #e08383; */
    /* transform: rotateZ(90deg) translateY(-100%); */
}
.capabilities.center .c_content .c_title {
    position: relative;
    /* top: 50%; */
    /* right: -30%; */
    font-size: 1.2em;
    font-weight: bolder;
    padding: 20px;
    margin: 20px;

    /* width: 500px; */
    /* -webkit-text-stroke: 2px #e08383; */
    /* transform: rotateZ(90deg) translateY(-100%); */
}

.capabilities .c_content .li {
    list-style-type: circle;

}

.capabilities.right .c_content .c_title {
    position: relative;
    /* top: 50%; */
    /* left: -50%; */
    font-size: 1.2em;
    font-weight: bolder;
    padding: 20px;
    /* width: 500px; */
    /* -webkit-text-stroke: 2px #e08383; */
    /* transform: rotateZ(90deg) translateY(100%); */
}

.capabilities.right .c_content {
    max-width: 100%;
    width: auto;
    text-align: right;
    /* transform: translateX(50px); */
}
.capabilities .c_content .bullets-container{
    display: inline-flex;
    flex-direction:column;
    align-content: start;
    align-items: start;
    /* max-width: 400px; */
    /* align-content: baseline; */
        /* white-space: nowrap; */

}

.capabilities .c_content .bullets-container .bullet-text {
    position: relative; /* Set position relative for the paragraphs */
    padding-left: 10px; /* Create space for the bullets */
     font-size: 1.2em;
    /* display: inline-block; */
    display: list-item; /* This has to be "list-item"  */
    list-style-position: inside; /* See https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-position */
    /* white-space: nowrap; */
    /* left: 20px; */
    /* display: inline; */
  }
.capabilities .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;
}

 .capabilities .c_content a:hover {
    color: dodgerblue;
}

 .capabilities .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;
}

 .capabilities .c_content a:hover ~ .fa-arrow-alt-circle-right {
    color: dodgerblue;
    transition-delay: 0.5s;
    transform: translateX(25px);
}
  
  

/* FOOTER */
 .foot {
    position: relative;
    z-index: 2;
}

     .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;
    }

 .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);
}

 .foot a {
    display: inline-block;
    text-decoration: none;
    font-size: 4em;
    text-align: center;
    color: white;
    padding: 20px 0;
    transition: 0.3s linear;
}

 .foot a:hover {
    color: dodgerblue;
}

 .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;
}

 .foot a:hover ~ .fa-arrow-alt-circle-right {
    color: dodgerblue;
    transition-delay: 0.5s;
    transform: translateX(50px);
}

 .foot a i {
    transition: 0.5s;
}

 .foot a:hover i {
    transform: translateX(50px);
}

 .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);
}

 .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 */
 a {
    position: relative;
    overflow: hidden;
}

 a .jump-target {
    position: relative;
}

 a .jumped {
    position: relative;
    top: 0;
    transition: 0.15s;
    transition-delay: calc(var(--come) * 0.05s);
}

 a:hover .jumped {
    top: -2ch;
}

 a .jumping {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(2ch);
    transition: 0.15s;
    transition-delay: calc(var(--come) * 0.05s);
}

 a:hover .jumping {
    transform: translateY(0ch);
}

/* TYPOGRAPHY */
 .hero {
    position: relative;
    z-index: 2;
    display: flex;
    direction: row;
}
.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;
}

@keyframes rotate {
    0% {
        transform: rotate3d(0, 0, 0, 0);
    }

    3%,
    25% {
        transform: rotate3d(1, 0, 0, 90deg);
    }

    28%,
    50% {
        transform: rotate3d(1, 0, 0, 180deg);
    }

    53%,
    75% {
        transform: rotate3d(1, 0, 0, 270deg);
    }

    78%,
    100% {
        transform: rotate3d(1, 0, 0, 360deg);
    }
}

 .box-side {
    position: absolute;
    top: 0;
    left: 0;
    /* padding-left: 20px; */
    width: 100%;
    height: 100%;
    line-height: 45px;
    display: inline-block;
    background: #0d1117;
}

 .box-front {
    background: indigo;
    transform: translate3d(0, 0, 25px);
}

 .box-back {
    background: orange;
    transform: translate3d(0, 0, -25px) rotateX(180deg);
}

 .box-top {
    background: orangered;
    transform: translate3d(0, 25px, 0) rotateX(-90deg);
}

 .box-bottom {
    background: lime;
    transform: translate3d(0, -25px, 0) rotateX(90deg);
}

 .hero .hero-text {
    position: relative;
    text-align: left;
    top: 30px;
    max-width: 100%;
    min-height: 60px;
    padding: 20px;
    font-size: clamp(0.5rem, 0.5rem + 1.0vw, 1.5rem); 

    /* margin-right: 30px; */
    background: hsla( from var(--surface4) / 20%);
    backdrop-filter: blur(2px);
    border-radius: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text2);
}
 .capabilities.move-little-down {
    margin-top: 200px;
}

/* MEDIA QUERY.
WORK TITLE, 
 */
@media (max-width: 966px) {
    

   
     .capabilities .c_content {
        padding: 25px;
        font-size: 18px;
    }
}

/* MEDIA QUERY
CAPABILITIES
IMG
CONTENT,
TITLE
HOVER EFFECT (STOPPED) */
@media (max-width: 681px) {
     .capabilities {
        flex-direction: column;
        padding-inline-start: 20px;
        padding-inline-end: 20px;
    }
     .capabilities img {
        width: 100%;
    }
     .capabilities.left .c_content,
     .capabilities.right .c_content {
        transform: translateX(0);
    }

     .capabilities.right {
        flex-direction: column-reverse;
    }

     .capabilities.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%); */
    }
     .capabilities.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%); */
    }

     a .jumping {
        display: none;
    }

     a:hover .jumped {
        top: 0;
    }

     .foot a {
        font-size: 2em;
    }

    .hero .hero-text {
        float: right;
        display: block;
    }
}

@media (max-width: 450px) {
    .t-box {
        width: 100%;
    }
     .hero {
        flex-direction: column;
    }
    .typography {
        width: 90%;
    }
    /*  .box-front {
        transform: translate3d(0, 0, 22.5px);
    }

     .box-back {
        transform: translate3d(0, 0, -22.5px) rotateX(180deg);
    }

     .box-top {
        transform: translate3d(0, 22.5px, 0) rotateX(-90deg);
    }

     .box-bottom {
        transform: translate3d(0, -22.5px, 0) rotateX(90deg);
    } */
}

/* MEDIA QUERY
C_CONTENT,
TITLE,
ARROW (DISABLE) */
@media (max-width: 400px) {
     .capabilities .c_content {
        width: 90%;
    }

     .capabilities .c_content .c_title {
        display: none;
    }

     .foot a:hover ~ .fa-arrow-alt-circle-right {
        color: dodgerblue;
        transition-delay: 0.5s;
        transform: translateX(0);
    }

     .capabilities.move-little-down {
        margin-top: 30px;
    }

     .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;
    }
}

@media (max-height: 778px) {
     .foot {
        width: 100%;
        min-height: 200vh;
    }
}


