body {
    font-family: 'Montserrat';
    background-color: #1e1e1e;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

img {
    width: 100%;
}

.container {
    max-width: 1300px;
    margin: auto;
    padding: 20px;
    position: relative;
}

header,
.headline,
.services,
.cta,
.case-study,
.partners {

    border-radius: 10px;
    margin-bottom: 70px;
}


header {
    position: sticky;
    padding-bottom: 4rem;
    top: 0;
    background: linear-gradient(180deg, #1e1e1e, 80%, transparent);
    z-index: 1;
    border-radius: 0;
}

.logo {
    text-transform: uppercase;
    font-size: 32px;
}

.headline {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.headline--text {
    max-width: 50%;
}

.headline--image {
    width: 100%;
    height: 300px;
    position: relative;
    top: -100px;
}

.headline--image img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.headline h1 {
    color: #a8ff00;
    font-size: 44px;
}

.headline p {
    color: #ccc;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
.logo {
    font-family: 'Open Sans';
}

h1,
h2 {
    color: #a8ff00;

}

.button {
    background-color: #ccc;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.cta-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.cta-item {
    max-width: 150px;
    text-align: center;
    border-bottom: 1px solid rgba(168, 255, 0, .5);
    border-radius: 40px;
    padding: 10px;
    line-height: 1.4;
}

.cta-item img {
    width: 100%;
}

.cta-text {
    margin-bottom: 40px;
}

.case-item {
    text-align: center;
}

.case-item a {
    display: inline-block;
    position: relative;
    z-index: 5;
    height: 100%;
    width: 100%;
    align-content: center;
}


.services-grid,
.case-study-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}



.service-item,
.case-item {
    background-color: #444;
    padding: 15px;
    flex: 1 1 45%;
    box-shadow: 4px 4px 10px 0px rgba(168, 255, 0, .5);
    transition: .4s;
    --borderW: 2px;
    position: relative;
    border-radius: 10px;
    border: var(--borderW) solid #ccc;
}

.service-item:hover,
.case-item:hover {
    box-shadow: 4px 4px 20px 0px rgba(168, 255, 0, .5);
}

.service-item::before,
.case-item::before {
    content: "";
    position: absolute;
    inset: calc(-1*var(--borderW));
    border: var(--borderW) solid #a8ff00;
    border-radius: 10px;
    animation: unprogress 0.4s cubic-bezier(0.25, 0.4, .75, 0.6) forwards;
}

.service-item:hover::before,
.case-item:hover::before {
    animation: progress 0.4s cubic-bezier(0.25, 0.4, .75, 0.6) forwards;
}

.case-item {
    box-shadow: 4px 4px 10px 0px rgba(255, 255, 255, 0.25);
}

.case-item:hover {
    box-shadow: 4px 4px 20px 0px rgba(255, 255, 255, 0.25);
}

.service-item {
    background-color: transparent;
    border: none;
    color: #000;
    box-shadow: none;
}

.service-item h3 {
    background: #9fff0a;
    width: fit-content;
    padding: 5px;
}

.service-item p {
    color: #ccc;
}





.items-wrap {
    position: relative;
    display: flex;
    overflow: auto;
    user-select: none;
    gap: 20px;
    padding: 20px 0;
}

.items {
    flex-shrink: 0;
    display: flex;
    gap: 20px;
    justify-content: space-around;
    min-width: 100%;
    max-width: 1300px;
}

.items-wrap::-webkit-scrollbar {
    height: 0px;
    width: 0px;
}

.item {
    flex: 0 0 auto;
    max-width: 25%;
    height: 100px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    font-weight: bold;
    color: #fff;
    margin: 10px 0;
    transition: all 0.1s ease-in-out;
}

.item.white {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7483%) hue-rotate(351deg) brightness(109%) contrast(104%);
}

.item span {
    -webkit-text-stroke-color: #FFF;
    -webkit-text-fill-color: #FFF;
    -webkit-text-stroke-width: 1px;
    text-shadow: 2px 2px 0 #FFF;
    font-size: 50px;
    text-align: center;
    display: inline-block;
}

.item:hover {
    transform: scale(1.05);
}

.marquee {
    animation: scroll 60s linear infinite;
}

.reverce {
    animation-direction: reverse;
}

.items-wrap:hover .marquee {
    animation-play-state: paused;
}

.case-study-grid {
    justify-content: center;
}

.case-item {
    width: fit-content;
    flex: none;
    min-height: 150px;
    width: 200px;
    align-content: center;
    border: none;
}

.case-item:first-child {
    rotate: -15deg;
}

.case-item:last-child {
    rotate: 15deg;
}

.case-item:hover {
    transform: translateY(-30px);
}

@media (max-width:930px) {
    .headline {
        flex-direction: column-reverse;
    }

    .headline--text {
        max-width: none;
    }

    .headline--image {
        top: 0px;
    }

}

@media (max-width:500px) {
    .headline h1 {
        font-size: 36px;
    }
}

@keyframes progress {
    0% {
        clip-path: polygon(50% 50%, 50% -21%, 50% -21%, 50% -21%, 50% -21%, 50% -21%);
    }

    25% {
        clip-path: polygon(50% 50%, 50% -100%, 200% 50%, 121% 50%, 121% 50%, 121% 50%);
    }

    50% {
        clip-path: polygon(50% 50%, 50% -100%, 200% 50%, 50% 121%, 50% 121%, 50% 121%);
    }

    75% {
        clip-path: polygon(50% 50%, 50% -100%, 200% 50%, 50% 121%, -21% 50%, -21%);
    }

    100% {
        clip-path: polygon(50% 50%, 50% -100%, 200% 50%, 50% 200%, -100% 50%, 50% -100%);
    }
}

@keyframes unprogress {
    0% {
        clip-path: polygon(50% 50%, 50% -100%, 200% 50%, 50% 200%, -100% 50%, 50% -100%);
    }

    25% {
        clip-path: polygon(50% 50%, 50% -100%, 200% 50%, 50% 121%, -21% 50%, -21%);
    }

    50% {
        clip-path: polygon(50% 50%, 50% -100%, 200% 50%, 50% 121%, 50% 121%, 50% 121%);
    }

    75% {
        clip-path: polygon(50% 50%, 50% -100%, 200% 50%, 121% 50%, 121% 50%, 121% 50%);
    }

    100% {
        clip-path: polygon(50% 50%, 50% -21%, 50% -21%, 50% -21%, 50% -21%, 50% -21%);
    }
}


@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - 20px));
    }
}
