.page-404-top {
    position: relative;
    padding: 0 0 50px;
}

.page-404-top:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 350px;
    background: #f2f5f7;
    z-index: -1;
}

.page-404-title {
    font-size: 20vw;
    line-height: 1;
    text-align: center;
    font-weight: 900;
}

.page-404-title span {
    display: inline-block;
    transform: rotate(120deg);
    -webkit-transform: rotate(120deg);
    -moz-transform: rotate(120deg);
    -ms-transform: rotate(120deg);
    -o-transform: rotate(120deg);
}

.page-404-descr {
    font-size: 3vw;
    font-weight: 700;
    text-align: center;
}

.page-404-adddesc {
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
    max-width: 800px;
    margin: 20px auto 10px;
}

.page-404-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 30px;
    row-gap: 15px;
    margin: 5vw 0 30px;
    flex-wrap: wrap;
}

.page-404-buttons .btn {
    background: transparent;
    border: 0px;
    font-size: 14px;
    text-transform: uppercase;
}

.page-404-buttons .btn svg {
    margin-right: 10px;
}

.page-404-home a {
    position: relative;
    display: block;
    border: 1px solid var(--ab-dark-color);
    padding: 10px 40px;
    border-radius: 50px;
    background: var(--ab-dark-color);
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    overflow: hidden;
    transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
}

.page-404-services-link a {
    position: relative;
    display: block;
    padding: 10px 40px;
    border: 1px solid var(--ab-dark-color);
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 14px;
    overflow: hidden;
    transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
}

.page-404-home a:before,
.page-404-services-link a:before {
    position: absolute;
    content: '';
    background: var(--accent-color);
    height: 102%;
    left: auto;
    top: 0;
    right: 0;
    height: 101%;
    width: 0px;
    z-index: -1;
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
}

.page-404-home:hover a {
    border: 1px solid var(--accent-color);
    background: transparent;
}

.page-404-home:hover a:before,
.page-404-services-link:hover a:before {
    color: #000000 !important;
    top: -1px;
    width: 100%;
    left: 0;
    right: auto;
}

.page-404-services {
    margin: 5vw auto;
    max-width: 800px;
}

.services-items-inner-item-content {
    margin-bottom: 30px;
}

.page-404-services-name {
    font-size: 14px;
    text-transform: uppercase;
    padding: 10px 0 20px;
    margin-bottom: 10px;
}

.services-items-inner-item-content-title a {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    padding: 10px 0;
    border-bottom: 1px dashed #000000;
    margin-bottom: 20px;
}

.services-items-inner-item-content-title a span {
    position: relative;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    margin-right: 10px;
    top: -3px;
}

.services-items-inner-item-content-subcategories a {
    position: relative;
    display: block;
    font-size: 1rem;
    padding: 7px 0;
    color: #787878;
    border-bottom: 1px solid #00000010;
    overflow: hidden;
    transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
}

.services-items-inner-item-content-subcategories a:before {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--ab-dark-color);
    content: "";
    z-index: 1;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.3s ease-out;
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    -webkit-transition: transform 0.3s ease-out;
    -moz-transition: transform 0.3s ease-out;
    -ms-transition: transform 0.3s ease-out;
    -o-transition: transform 0.3s ease-out;
}

.services-items-inner-item-content-subcategories:hover a:before {
    transform-origin: left;
    transform: scaleX(1);
    transition: transform 0.4s ease-in-out;
    -webkit-transition: transform 0.4s ease-in-out;
    -moz-transition: transform 0.4s ease-in-out;
    -ms-transition: transform 0.4s ease-in-out;
    -o-transition: transform 0.4s ease-in-out;
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
    background-color: var(--accent-color);
}

.services-items-inner-item-content-subcategories:hover a {
    color: var(--accent-color);
}