.categorythumbnails {
    margin-bottom: 94px;
    background: #EDE8DE;
}

#category .categorythumbnails .title_block {
    display: none;
}

.categorythumbnails .categorythumbnails-icons {
    overflow: hidden;
    position: relative;
}

.categorythumbnails .categorythumbnails-icons-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.categorythumbnails .categorythumbnails-icons-wrapper .category-item {
    flex: 0 0 33.33333%;
}

.categorythumbnails h2.h1 {
    color: #3A3A3A;
    line-height: 142%;
    text-transform: uppercase;
    font-family: 'Martel';
}

.categorythumbnails h2.h1 span {
    display: inline-block;
}

.categorythumbnails h2.h1 .categorythumbnails-title {
    background: linear-gradient(-45deg,#58baff, #e37cfd, #d5b4ff, #1eb9ff, #b2bbfe, #dab4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    background-size: 125rem auto;
    -webkit-animation: gradient-text 7s cubic-bezier(.65,.05,.36,1) infinite;
    animation: gradient-text 7s cubic-bezier(.65,.05,.36,1) infinite;
}

@-webkit-keyframes gradient-text {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradient-text {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}



.categorythumbnails p.h2 {
    color: #3A3A3A;
    line-height: 143%;
    text-transform: none;
}

.categorythumbnails .btn-wrapper {
    display: flex;
    align-items: center;
}

.categorythumbnails .btn-wrapper i{
    margin-left: 15px;
}

.categorythumbnails .btn-primary {
    display: inline-block;
    background: transparent;
    color: #23242A;
    border: 2px solid #23242A;
    border-radius: 6px;
    text-shadow: none;
}

.categorythumbnails .btn-primary:hover {
    color: #fff;
    border: 2px solid #3a3a3a;
    background: #3a3a3a;
}

.categorythumbnails .btn-see-more {
    display: flex;
    align-items: center;
    color: white;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.categorythumbnails .btn-see-more:hover .triangle {
    background-color: #00669e;
}

.categorythumbnails .btn-see-more:hover .triangle-wrapper {
    background-color: #fff;
}

.categorythumbnails .triangle-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    border: 1px solid #fff;
    transition: all .3s ease;
}

.categorythumbnails .triangle {
    position: relative;
    background-color: white;
    text-align: left;
    transform: rotate(-90deg) skewX(-30deg) scale(1,.866);
}

.categorythumbnails .triangle:before, 
.categorythumbnails .triangle:after {
    content: '';
    position: absolute;
    background-color: inherit;
}

.categorythumbnails .triangle, 
.categorythumbnails .triangle:before, 
.categorythumbnails .triangle:after {
    border-top-right-radius: 30%;
}

.categorythumbnails .triangle:before {
    transform: rotate(-135deg) skewX(-45deg) scale(1.414,.707) translate(0,-50%);
}

.categorythumbnails .triangle:after {
    transform: rotate(135deg) skewY(-45deg) scale(.707,1.414) translate(50%);
}

.categorythumbnails .category-info .category-name {
    margin-bottom: 0;
    text-transform: capitalize;
    transition: all 0.3s ease;
    color: #3A3A3A;
    line-height: 1.2;
}

.categorythumbnails .categorythumbnails-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.categorythumbnails .categorythumbnails-wrapper .category-item .categorythumbnails-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.categorythumbnails .category-item {
    position: relative;
    transition: all .2s linear;
    padding: 0;
}

.categorythumbnails .category-item:hover .categorythumbnails-icon {
    /*transform: rotateY(360deg);*/
    animation: swing 1s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

@-moz-keyframes swing {
   20%, 40%, 60%, 80%, 100% {
     -moz-transform-origin: top center;
     transform-origin: top center; }

   20% {
     -moz-transform: rotate(5deg);
     transform: rotate(5deg); }

   40% {
     -moz-transform: rotate(-5deg);
     transform: rotate(-5deg); }

   60% {
     -moz-transform: rotate(5deg);
     transform: rotate(5deg); }

   80% {
     -moz-transform: rotate(-5deg);
     transform: rotate(-5deg); }

   100% {
    -moz-transform: rotate(0deg);
     transform: rotate(0deg); } }
 @-webkit-keyframes swing {
   20%, 40%, 60%, 80%, 100% {
     -webkit-transform-origin: top center;
     transform-origin: top center; }

   20% {
     -webkit-transform: rotate(5deg);
     transform: rotate(5deg); }

   40% {
     -webkit-transform: rotate(-5deg);
     transform: rotate(-5deg); }

   60% {
     -webkit-transform: rotate(5deg);
     transform: rotate(5deg); }

   80% {
     -webkit-transform: rotate(-5deg);
     transform: rotate(-5deg); }

   100% {
     -webkit-transform: rotate(0deg);
     transform: rotate(0deg); } }
 @keyframes swing {
   20%, 40%, 60%, 80%, 100% {
     -moz-transform-origin: top center;
     -ms-transform-origin: top center;
     -o-transform-origin: top center;
     -webkit-transform-origin: top center;
     transform-origin: top center; }

   20% {
     -moz-transform: rotate(5deg);
     -ms-transform: rotate(5deg);
     -o-transform: rotate(5deg);
     -webkit-transform: rotate(5deg);
     transform: rotate(5deg); }

   40% {
     -moz-transform: rotate(-5deg);
     -ms-transform: rotate(-5deg);
     -o-transform: rotate(-5deg);
     -webkit-transform: rotate(-5deg);
     transform: rotate(-5deg); }

   60% {
     -moz-transform: rotate(5deg);
     -ms-transform: rotate(5deg);
     -o-transform: rotate(5deg);
     -webkit-transform: rotate(5deg);
     transform: rotate(5deg); }

   80% {
     -moz-transform: rotate(-5deg);
     -ms-transform: rotate(-5deg);
     -o-transform: rotate(-5deg);
     -webkit-transform: rotate(-5deg);
     transform: rotate(-5deg); }

   100% {
     -moz-transform: rotate(0deg);
     -ms-transform: rotate(0deg);
     -o-transform: rotate(0deg);
     -webkit-transform: rotate(0deg);
     transform: rotate(0deg); } }

.categorythumbnails .category-item .category-info {
    display: flex;
    transition: all .2s linear;
    height: 100%;
}

.categorythumbnails .category-item .categorythumbnails-icon {
    transition: all 0.5s ease;
    max-width: 100%;
}

.categorythumbnails .swiper-wrapper {
    flex-direction: row !important;
    min-width: 100%;
}

.categorythumbnails .swiper-wrapper .category-item {
    flex-basis: auto;
    max-width: 100%;
}

.categorythumbnails .categorythumbnails-slider .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: #c9c9c9;
    opacity: 0.5;   
}

.categorythumbnails .categorythumbnails-slider .swiper-pagination-bullets .swiper-pagination-bullet {
    margin-left: 0;
    margin-right: 24px;
}

.categorythumbnails .categorythumbnails-slider .swiper-pagination-bullet-active {
    width: 18px;
    height: 18px;
    background: #fff;
    opacity: 1;
}

@media screen and (min-width: 1881px) {
    .categorythumbnails {
        padding-top: 157px;
        padding-bottom: 23px;
    }

    .categorythumbnails .category-item {
        margin-bottom: 155px;
    }

    .categorythumbnails h2.h1 {
        font-size: 64px;
        margin-bottom: 37px;
    }

    .categorythumbnails p.h2 {
        font-size: 30px;
        margin-bottom: 118px;
    }

    .categorythumbnails .btn-primary {
        padding: 15px 29px;
        font-size: 20px;
    }

    .categorythumbnails .btn-see-more {
        margin-left: 30px;
        font-size: 20px;
    }

    .categorythumbnails .triangle-wrapper {
        width: 50px;
        height: 50px;
        margin-right: 17px;
    }

    .categorythumbnails .triangle {
        top: -3px;
        left: -2px;
    }

    .categorythumbnails .triangle, 
    .categorythumbnails .triangle:before, 
    .categorythumbnails .triangle:after {
        width: 11px;
        height: 11px;
    }

    .categorythumbnails .btn-see-more:hover .triangle, 
    .categorythumbnails .btn-see-more:hover .triangle:before, 
    .categorythumbnails .btn-see-more:hover .triangle:after {
        width: 13px;
        height: 13px;
    }

    .categorythumbnails .categorythumbnails-icons {
        padding-top: 30px;
    }

    .categorythumbnails .category-image {
        margin-bottom: 40px;
    }

    .categorythumbnails .category-info .category-name {
        font-size: 24px;
    }

    .categorythumbnails .categorythumbnails-slider .swiper-pagination-bullets {
        bottom: 47px;
    }
}

@media screen and (max-width: 1880px) {
    .categorythumbnails {
        padding-top: calc(20px + (157 - 20) * ((100vw - 320px) / (1800 - 320)));
        padding-bottom: calc(20px + (23 - 20) * ((100vw - 320px) / (1800 - 320)));
    }

    .categorythumbnails .btn-primary {
        padding: calc(5px + (15 - 5) * ((100vw - 320px) / (1880 - 320))) calc(10px + (29 - 10) * ((100vw - 320px) / (1880 - 320)));
        font-size: calc(12px + (20 - 12) * ((100vw - 320px) / (1880 - 320)));
    }

    .categorythumbnails .btn-see-more {
        margin-left: calc(10px + (30 - 10) * ((100vw - 320px) / (1880 - 320)));
        font-size: calc(13px + (20 - 13) * ((100vw - 320px) / (1880 - 320)));
    }

    .categorythumbnails .triangle-wrapper {
        width: calc(25px + (50 - 25) * ((100vw - 320px) / (1880 - 320)));
        height: calc(25px + (50 - 25) * ((100vw - 320px) / (1880 - 320)));
        margin-right: calc(10px + (17 - 10) * ((100vw - 320px) / (1880 - 320)));
    }

    .categorythumbnails .triangle, 
    .categorythumbnails .triangle:before, 
    .categorythumbnails .triangle:after {
        width: calc(5px + (11 - 5) * ((100vw - 320px) / (1880 - 320)));
        height: calc(5px + (11 - 5) * ((100vw - 320px) / (1880 - 320)));
    }

    .categorythumbnails .triangle {
        top: calc(-1px + (-3 - -1) * ((100vw - 320px) / (1880 - 320)));
        left: -2px;
    }
}

@media (min-width: 992px) and (max-width: 1880px) {
    .categorythumbnails h2.h1 {
       font-size: calc(35px + (64 - 35) * ((100vw - 992px) / (1800 - 992)));
       margin-bottom: calc(17px + (37 - 17) * ((100vw - 992px) / (1800 - 992)));
    }

    .categorythumbnails p.h2 {
        font-size: calc(20px + (30 - 20) * ((100vw - 992px) / (1800 - 992)));
        margin-bottom: calc(60px + (118 - 60) * ((100vw - 992px) / (1800 - 992)));
    }

    .categorythumbnails .category-item {
        margin-bottom: calc(50px + (155 - 50) * ((100vw - 992px) / (1800 - 992)));
    }

    .categorythumbnails .categorythumbnails-icons {
        padding-top: calc(10px + (30 - 10) * ((100vw - 992px) / (1800 - 992)));
    }

    .categorythumbnails .category-image {
        margin-bottom: calc(20px + (40 - 20) * ((100vw - 992px) / (1800 - 992)));
    }

    .categorythumbnails .category-info .category-name {
        font-size: calc(17px + (24 - 17) * ((100vw - 992px) / (1800 - 992)));
    }

    .categorythumbnails .categorythumbnails-slider .swiper-pagination-bullets {
        bottom: calc(0px + (47 - 0) * ((100vw - 992px) / (1800 - 992)));
    }
}


@media screen and (min-width: 992px) {
    .categorythumbnails .categorythumbnails-description,
    .categorythumbnails .categorythumbnails-icons {
        flex: 0 0 38%;
        margin-left: 110px;
    }
}

@media screen and (max-width: 991px) {
    .categorythumbnails .categorythumbnails-description,
    .categorythumbnails .categorythumbnails-icons {
        flex: 0 0 100%;
    }

    .categorythumbnails-description {
        margin-bottom: 50px;
    }

    .categorythumbnails h2.h1 {
        font-size: calc(20px + (40 - 20) * ((100vw - 320px) / (991 - 320)));
        margin-bottom: calc(10px + (20 - 10) * ((100vw - 320px) / (991 - 320)));
    }

    .categorythumbnails p.h2 {
        font-size: calc(15px + (25 - 15) * ((100vw - 320px) / (991 - 320)));
        margin-bottom: calc(20px + (50 - 20) * ((100vw - 320px) / (991 - 320)));
    }

    .categorythumbnails .category-item {
        margin-bottom: 50px;
    }

    .categorythumbnails .category-image {
        margin-bottom: calc(15px + (30 - 15) * ((100vw - 320px) / (991 - 320)));
    }

    .categorythumbnails .category-info .category-name {
        font-size: 18px;
    }

    .categorythumbnails .category-item .categorythumbnails-icon {
        width: 70px;
    }

    .categorythumbnails .categorythumbnails-slider .swiper-pagination-bullets {
        bottom: 0;
    }
}


@media (min-width: 768px) and (max-width: 1280px){
    .categorythumbnails {
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 767px) {
    .categorythumbnails {
        margin-bottom: 25px;
    }
}

@media screen and (min-width: 576px) {
    .categorythumbnails h2.h1 {
        width: 80%;
    }

    .categorythumbnails p.h2 {
        width: 83%;
    }
}

@media screen and (max-width: 575px) {
    .categorythumbnails .categorythumbnails-icons-wrapper .category-item {
        flex-basis: 50%;
    }

    .categorythumbnails {
        margin-bottom: 25px;
    }

    .categorythumbnails h2.h1,
    .categorythumbnails p.h2 {
        width: auto;
    }

    .categorythumbnails-content {
        text-align: center;
    }

    .categorythumbnails .btn-wrapper {
        justify-content: center;
    }
}