.web-camera{
    margin-bottom: 180px;
}

.web-camera_group{
    margin-top: 35px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.web-camera_card{
    position: relative;
    border-radius: 20px;
    height: 290px;
    overflow: hidden;
}

.web-camera_card_content{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.3s all ease-in-out;
}

.web-camera_card_content::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 80%;
    z-index: 3;
    opacity: 0.6;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 100%);
    transition: 0.3s all ease-in-out;
}

.web-camera_card_content::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 60%;
    z-index: 3;
    opacity: 0;
    background: linear-gradient(180deg, rgba(0, 103, 56, 0.00) 0%, #006738 100%);
    transition: 0.3s all ease-in-out;
}


.web-camera_card_img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: 0.3s all ease-in-out;
}

.web-camera_card_icon{
    position: absolute;
    top: 8px;
    left: 8px;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 70px;
    height: 30px;
    background-color: #fff;
    color: #000;
    border-radius: 30px;
}

.web-camera_card_icon span{
    position: relative;
    left: 6px;
}

.web-camera_card_icon span::before{
    content: "";
    position: absolute;

    background-color: #E2111D;
    border-radius: 50%;
    width: 8px;
    height: 8px;

    top: 50%;
    left: -13px;
    transform: translateY(-50%);
}

.web-camera_card_bottom{
    padding: 0 25px 25px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 6;
    max-width: 85%;
}

.web-camera_card_name{
    position: relative;
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    bottom: -16px;
    transition: 0.3s all ease-in-out;
}

.web-camera_card_more{
    position: relative;
    margin-top: 7px;
    display: flex;
    align-items: center;

    transition: 0.3s all ease-in-out;
    opacity: 0;
    bottom: -25px;
}

.web-camera_card_more span{
    margin-left: 5px;
    color: #FFF;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.48px;
    text-transform: uppercase;
}

.web-camera_card_play{
    position: absolute;
    z-index: 5;
    right: 27px;
    bottom: 0;
    opacity: 0;
    transition: 0.3s all ease-in-out;
}

.web-camera_card:hover .web-camera_card_img{
    transform: scale(1.1);
}

.web-camera_card:hover .web-camera_card_content::after{
    opacity: 1;
}

.web-camera_card:hover .web-camera_card_more{
    opacity: 1;
    bottom: 0;
}

.web-camera_card:hover .web-camera_card_name{
    bottom: 0;
}

.web-camera_card:hover .web-camera_card_play{
    bottom: 20px;
    opacity: 1;
}

.web-camera_popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.web-camera_popup_inner {
    padding: 5px;
    position: relative;
    max-width: 960px;
    width: 90%;
    background: #000;
    border-radius: 10px;
}

.web-camera_popup_inner video{
    height: 500px;
}

.web-camera_popup_close {
    position: absolute;
    top: -15px;
    right: -35px;
    background: transparent;
    border: none;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    z-index: 10;
}

.web-camera_popup_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.web-camera video::-webkit-media-controls-timeline,
.web-camera video::-webkit-media-controls-current-time-display,
.web-camera video::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

@media(max-width: 1200px){
    .web-camera_group{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px){
    .service_title{
        padding-top: 80px;
        text-align: center;
        font-size: 24px;
    }

.service_title--webcamera{
    margin-top: 0;
}

    .web-camera_group{
        grid-template-columns: 1fr;
    }

    .web-camera_card{
        height: 250px;
    }

    .web-camera_popup_close{
        top: -1px;
        right: 10px;
    }
}