#categories{
    padding: 74px 0 50px 0;
}

#categories .container {
    width: 1276px !important;
}

#categories .title{
    font-size: 45px;
    line-height: 1em;
    margin-bottom: 17px;
}

#categories .title span {
    font-size: 30px;
    line-height: 48px;
    width: fit-content;
    margin: 0 auto 5px auto;
    padding: 0 14px;
}

#categories .desc {
  font-size: 17px;
  line-height: 1.175;
  margin-bottom: 55px;
}

.inner .categories-item:nth-child(2) img {
    position: relative;
    left: 16px;
}
.categories-item {
    overflow: hidden;
    transition: all 200ms ease-out;
    text-decoration: none !important;
    max-width:100%;
}
.categories-item .image {
    height: 195px;
    width: 195px;
    border-radius: 50%;
    border: 2px solid transparent;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.categories-item:hover .image {
    border-color: var(--yellow);
}
.categories-item img {
    transition: all 200ms ease-out;
}
.categories-item:hover img {
    transform: scale(1.2);
    transform-origin: center;
}
.categories-item p {
    display: block;
    width: fit-content;
    margin: 23px auto 0 auto;
    line-height: 31.5px;
    padding: 0 11px;
    color: #000;
    font-size: 25px;
}
.categories-item:hover p {
    background-color: var(--yellow);
}

.categories-item .categories-image img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 567px ) {
    #categories {
        padding-top: 36px;
        padding-bottom: 0;
    }
    #categories .title {
        font-size: 30px;
        line-height: 1;
        max-width: 300px;
        margin: 0 auto 29px auto;
    }
    #categories .title span {
        font-size: 22px;
        line-height: 37.5px;
        margin-bottom: 11px;
        padding: 0 10px;
    }
    .categories-item {
        height: 210px;
        padding: 0;
    }
    .categories-item:hover {
        border-color: transparent;
    }
    .categories-item p {
        margin-top: 22px;
    }
    .categories-item p::after {
        top: 50%;
    }
}