.all_projects {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    align-self: stretch;
    background: #060620;
    height: 245px;
    overflow: hidden;
    position: relative;
}

.video-all-projects {
    opacity: 0.7;
    z-index: 0;
    width: auto;
}

.all_projects_content_top {
    padding: 16px 0px 40px 0px;
    position: absolute;
    top: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    width: 64%;
}

.all_projects_content_top_text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    flex: 1 0 0;
}

.all_projects_content_top_breadcrumbs {
    display: flex;
    align-items: center;
    gap: 4px;
}

.all_projects_breadcrumbs_a {
    color: #11C6CC;
    font-family: 'Play', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    display: flex;
    padding: 4px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.all_projects_breadcrumbs_a:hover,.all_projects_breadcrumbs_a:hover svg path {
    color: #15F7FF;
    fill: #15F7FF;
}

.all_projects_breadcrumbs_text {
    color: #3E4450;
    font-family: 'Play', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    display: flex;
    padding: 4px;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.all_projects_content_top_title_text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
}

.all_projects_content_top_title_title {
    align-self: stretch;
    color: #11C6CC;
    font-family: 'Play', sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    text-transform: capitalize;
}

.all_projects_content_top_text_text {
    align-self: stretch;
    color: #C5FDFF;
    font-family: 'Play', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    text-transform: capitalize;
}

.button-play {
    display: none;
    position: relative;
    width: 60px;
    height: 60px;
    padding: 16px;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    background: #060620;
    animation: shadow-rotate 4s linear infinite;
    border: none;
    cursor: pointer;
}

.play-around {
    width: 76px;
    height: 76px;
    position: absolute;
    right: -8px;
    bottom: -8px;
    z-index: 1;
    animation: rotate-circle 4s linear infinite;
}

@keyframes rotate-circle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shadow-rotate {
    0%, 100% {
        box-shadow: -2px 1px 2px 0px #15F7FF, 2px 2px 2px 0px #155FFF;
    }

    25% {
        box-shadow: 0px -2px 2px 0px #15F7FF, 0px 2px 2px 0px #155FFF;
    }
    50% {
        box-shadow: 2px 1px 2px 0px #15F7FF, -2px 1px 2px 0px #155FFF;
    }
    75% {
        box-shadow: 0px 2px 2px 0px #15F7FF, 0px -2px 2px 0px #155FFF;
    }
}

.modal_video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;

}

.modal_video_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal_video_content {
    position: relative;
    z-index: 1;
    max-width: 935px;
    width: 90%;
    height: auto;
    padding: 2px;
    border-radius: 16px;
    background: linear-gradient(280deg, rgba(21, 247, 255, 0.00) 79.47%, #15F7FF 95.56%),
    linear-gradient(104deg, rgba(21, 95, 255, 0.00) 71.55%, #155FFF 97.06%);
}

.modal_video_content video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    background: #000;
}

.all_projects_filter {
    padding: 56px 0px 0px 0px;
}

.all_projects_filter_box {
    display: flex;
    align-items: center;
    align-content: center;
    gap: 8px;
    align-self: stretch;
    flex-wrap: wrap;
}

.all_projects_categories_box {
    position: relative;
    display: flex;
    min-width: 137px;
    max-width: 137px;
    min-height: 60px;
    padding: 8px 12px;
    align-items: center;
    border-radius: 0px;
    border: 1px solid #C5D7FF;
    background: #FFF;
    flex: 1 0 0;
    color: #3E4450;
    font-family: 'Play', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

.all_projects_categories_box:hover {
    border: 1px solid #15F7FF;
    color: #070A10;
    cursor: pointer;
}

.all_projects_categories_box::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #0D9499;
    transition: all 0.3s ease;
    z-index: -1;
}

.all_projects_categories_box.active {
    color: #FFF;
    border-color: #0D9499;
}

.all_projects_categories_box.active::before {
    height: 100%;
}

.all_projects_filter_clear {
    display: flex;
    min-width: 113px;
    min-height: 60px;
    padding: 10px;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    color: #C4C5C9;
    text-align: center;
    font-family: 'Play', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    background: #fff;
    border: none;
    cursor: pointer;
}

.all_projects_filter_clear_active,
.all_projects_filter_clear_active svg path {
    transition: all 0.3s ease;
    color: #711F20;
    fill: #711F20;
}

.all-projects-main .projects-container {
    align-items: center;
}

.all-project-button-container {
    display: flex;
    width: 187px;
    height: 44px;
    padding: 12px 0px;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.all-projects-main .project-button {
    background: #fff;
    border: none;
    color: #0D9499;
    text-align: center;
    font-family: 'Play', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

.all-projects-main .project-button:hover {
    cursor: pointer;
    color: #15F7FF;
}

.project-card-button {
    text-decoration: none;
}

@media only screen and (max-width: 1200px) {
    .all_projects_categories_box {
        border-radius: 4px;
        border: 1px solid #C5D7FF;
    }

    .all_projects_content_top {
        padding: 16px 0px 24px 0px;
    }

    .all_projects_content_top_text {
        gap: 12px;
    }

    .all_projects_filter {
        padding: 32px 0px 0px 0px;
    }

    .all-projects-main .projects {
        padding: 56px 0px;
    }
}

@media only screen and (max-width: 575.98px) {
    .all_projects_content_top {
        padding: 12px 0px 32px 0px;
    }

    .all_projects_categories_box {
        width: calc(50% - 4px);
        flex: 0 0 calc(50% - 4px);
        max-width: none;
        min-width: none;
    }

    .button-play {
        display: none;
    }

    .all_projects_content_top_title_title {
        font-size: 32px;
    }

    .all_projects_content_top_text_text {
        font-size: 24px;
    }

    .all_projects {
        height: 206px;
        background-image: url('/wp-content/themes/wow-solutions/assets/img/bg-main.png');
    }

    .video-all-projects {
        opacity: 0.3;
    }

    .all_projects_content_top {
        width: calc(100% - 32px);
    }

    .all_projects_filter_box {
        justify-content: space-between;
    }

    .all-projects-main .projects {
        padding: 32px 0px;
    }
}