.projects {
    padding: 80px 0 100px;
}
.projects__title {
    margin-bottom: 50px;
}
.projects-select {
    background-color: #E2F5FC;
    min-height: 300px;
    padding-top: 54px;
    margin-bottom: 99px;
}
.projects__filter-item {
    margin-bottom: 50px;
}
.filter-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;

}
.filter-item span {
    display: flex;
    padding-left: 98px;
    letter-spacing: 0.02em;
    color: rgba(0, 0, 0, 0.5);
    font-size: 20px;    
    transition: .3s linear;
}
.filter-item input {
    position: absolute;
    left: -9999px;
}
.filter-item span:before {
    position: absolute;
    top: -15px;
    left: 0;
    display: block;
    content: '';
    border-radius: 50%;
    width: 60px;
    height: 60px;;
    background-color: #fff;
}
.filter-item span:after {
    position: absolute;
    top: 0;
    left: 15px;
    display: block;
    content: '';
    border-radius: 50%;
    width: 30px;
    height: 30px;
    background: rgba(46, 65, 141, 0.5);
    transition: .3s linear;
}
.filter-item input:checked+span {
    color: #000;
}
.filter-item input:checked+span:after {
    background-color: #2E418D;
}
.projects__item {
    display: flex;
    margin-bottom: 50px;
}
.projects__img {
    margin-right: 39px;
    border-radius: 5px;
    overflow: hidden;
    width: 58%;
    flex-shrink: 0;
    /*max-height: 328px;*/
}
.projects__img img {
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    width: 100%;

}
.projects__text {
    font-size: 20px;
    margin-bottom: 50px;
    letter-spacing: 0.02em;
}
.projects__btn {
    width: 191px;
}
.projects__mob-title {
    display: none;
}
@media(max-width: 1024px) {
    .projects {
        padding: 50px 0 35px;
    }
    .projects__title {
        margin-bottom: 21px;
    }
    .filter-item span {
        padding-left: 65px;
        font-size: 15px;
    }
    .filter-item span:before {
        width: 40px;
        height: 40px;
        top: -10px;
    }
    .filter-item span:after {
        width: 20px;
        height: 20px;
        left: 10px;
    }
    .projects-select {
        padding-top: 50px;
        min-height: 220px;
        margin-bottom: 70px;
    }
    .projects__filter-item {
        margin-bottom: 27px;
    }
    .projects__text {
        font-size: 13px;
        margin-bottom: 35px;
    }
    .projects__img {
        margin-right: 31px;
        width: 48.6%;
    }
    .projects__btn {
        width: 163px;
    }
    .projects__item {
        margin-bottom: 24px;
    }
}
@media(max-width: 767px) {
    .projects__mob-title {
        display: block;
        margin-bottom: 10px;
    }
    .projects__title {
        font-size: 25px;
    }
    .projects {
        padding: 40px 0 47px;
    }
    .filter-item span {
        font-size: 12px;
        padding-left: 48px;
    }
    .filter-item span:before {
        width: 28px;
        height: 28px;
        top: -5px;
    }
    .filter-item span:after {
        width: 14px;
        height: 14px;
        left: 7px;
        top: 2px;
    }
    .projects-select {
        padding-top: 39px;
        min-height: 174px;
        margin-bottom: 30px;
    }
    .projects__filter-item {
        margin-bottom: 20px;
    }
    .projects__img {
        max-width: 555px;
        width: 100%;
        max-height: none;
        display: flex;
        margin-bottom: 9px;
    }
    .projects__item {
        flex-wrap: wrap;
    }
    .projects__item:not(:last-child) {
        margin-bottom: 50px;
    }
    .projects__text {
        font-size: 10px;
        margin-bottom: 21px;
    }
    .projects__btn {
        width: 107px;
        height: 33px;
    }
}