#skills {
    padding: 360px 0 220px;
    background: url(../assets/cave.jpg) center / cover no-repeat;
    position: relative;
}

#skills::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #141c2200 82.06%, #141C22 100%),
        linear-gradient(90deg, #141C22 0%, #141c2200 19.17%),
        linear-gradient(180deg, #141C22 9.69%, #141c2200 45.47%),
        linear-gradient(180deg, #141c2200 54.74%, #141C22 100%),
        linear-gradient(180deg, #141c2200 54.74%, #141C22 100%),
        linear-gradient(180deg, #141c2200 54.74%, #141C22 100%);
    z-index: 0;
    pointer-events: none;
}

.skills {
    width: 100%;
    height: 100%;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    position: relative;
    z-index: 1;
}

.skills_title {
    text-align: center;
    font-size: 64px;
    line-height: 100%;
    padding-bottom: 16px;
    will-change: transform, opacity;
    opacity: 0;
}

#skills.show .skills_title {
    animation: bumpUp 0.5s cubic-bezier(.29, 0.74, 1, 1) forwards
}

.slider_for {
    will-change: opacity;
    opacity: 0;
}

#skills.show .slider_for {
    animation: justShow 0.9s linear 0.5s forwards
}

.skills_img {
    width: 80px;
    height: 80px;
    aspect-ratio: 1/1;
    border-radius: 6px;
    border: 2px solid #27535B;
    box-shadow: 0 0 54px 0 #4c94c800, 0 0 24px 0 #4c94c800, 0 0 26px 0 #3596ac66 inset;
    cursor: pointer;
    margin: 0 auto;
    transition: all 0.6s ease;
}

.skills_item:hover .skills_img,
.skills_item.slick-current .skills_img {
    border: 2px solid #31CBFF;
    box-shadow: 0 0 54px 0 #4c94c8a3, 0 0 24px 0 #4c94c8a3, 0 0 26px 0 #3596AC inset;
}

.skills_img img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    z-index: -1;
    position: relative;
}

.skills_video {
    width: 1184px;
    height: 660px;
    border-radius: 12px;
    border: 3px solid #27535B;
}

.skills_video::before {
    width: 100%;
    height: 100%;
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(180deg, #09181f00 45%, #09181F 100%);
    border-radius: 8px;
}

.skills_video video {
    height: 660px;
    width: 1184px;
    object-fit: cover;
    border-radius: 8px;
}

.skills_slider {
    margin: auto;
    width: 100%;
    max-width: 1184px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
}

.skills_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    padding-top: 48px;
    will-change: transform, opacity;
    opacity: 0;
}

#skills.show .skills_item:nth-child(1) {
    animation: bumpUp 0.5s cubic-bezier(.29, 0.74, 1, 1) 1.3s forwards
}

#skills.show .skills_item:nth-child(2) {
    animation: bumpUp 0.5s cubic-bezier(.29, 0.74, 1, 1) 1.6s forwards
}

#skills.show .skills_item:nth-child(3) {
    animation: bumpUp 0.5s cubic-bezier(.29, 0.74, 1, 1) 1.9s forwards
}

#skills.show .skills_item:nth-child(4) {
    animation: bumpUp 0.5s cubic-bezier(.29, 0.74, 1, 1) 2.2s forwards
}

#skills.show .skills_item:nth-child(5) {
    animation: bumpUp 0.5s cubic-bezier(.29, 0.74, 1, 1) 2.5s forwards
}

.skills_item:hover .skills_name,
.skills_item.slick-current .skills_name {
    color: #00D9E9;
}

.skills_name {
    text-align: center;
    font-family: 'Inter Medium';
    font-size: 18px;
    line-height: 130%;
    padding-top: 16px;
    transition: all 0.6s ease;
    max-width: 90px;
    margin: 0 auto;
}

.skills_text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 130px 27px;
    border-radius: 12px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skills_text_name {
    text-align: center;
    font-family: Colus;
    font-size: 32px;
    line-height: 100%;
    background: linear-gradient(180deg, #79F6FF 0%, #00D9E9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skills_discribe {
    color: #CCFBFF;
    text-align: center;
    font-size: 18px;
    line-height: 130%;
}

.wiki_but {
    will-change: transform, opacity;
    opacity: 0;
}

#skills.show .wiki_but {
    animation: bumpUp 0.5s cubic-bezier(.29, 0.74, 1, 1) 2.8s forwards
}

.slider_arrow {
    width: 80px;
    height: 80px;
    aspect-ratio: 1/1;
    background: linear-gradient(0deg, #00b4c21f 0%, #00b4c21f 100%), radial-gradient(0.46% 50% at 50% 50%, #163c3e52 0%, #163c3e52 100%);
    box-shadow: 0 0 16px 0 #3596aca3 inset;
    border-radius: 100%;
    cursor: pointer;
    position: absolute;
    border: 2px solid #348795;
    transition: all 0.6s ease;
}

.arrow_left {
    left: -115px;
    top: 315px;
    opacity: 0;
    transform: translateX(-40px);
    transition: transform 0.6s ease, opacity 0.6s ease;
    will-change: transform, opacity;
}

.arrow_right {
    right: -115px;
    top: 315px;
    opacity: 0;
    transform: translateX(40px);
    transition: transform 0.6s ease, opacity 0.6s ease;
    will-change: transform, opacity;
}

#skills.show .arrow_left,
#skills.show .arrow_right {
    opacity: 1;
    transform: translateX(0);
}

.slider_arrow.disabled {
    opacity: 0.24 !important;
    pointer-events: none;
}

.arrow_body {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background: linear-gradient(0deg, #00b4c23d 0%, #00b4c23d 100%), radial-gradient(0.46% 50% at 50% 50%, #163c3e52 0%, #163c3e52 100%);
    opacity: 0;
    transition: all 0.3s ease;
    position: relative;
}

.slider_arrow:hover {
    border: 2px solid #3FA5B6;
    box-shadow: 0 0 16px 0 #3596acd6 inset;
}

.slider_arrow:hover .arrow_body {
    opacity: 1;
}

.arrow_left:hover .arrow_img {
    left: 15px;
}

.arrow_right:hover .arrow_img {
    left: 25px;
}

.arrow_img {
    width: 36px;
    height: 28px;
    display: block;
    position: absolute;
    top: 23px;
    z-index: 3;
    transition: all 0.3s ease;
}

.arrow_left .arrow_img {
    transform: rotate(180deg);
    left: 18px;
}

.arrow_right .arrow_img {
    left: 23px;
}

.slider_mobile {
    display: none !important;
}

@media (max-width: 1600px) {
    .skills_title {
        font-size: 48px;
        line-height: 110%;
    }

    #skills {
        padding: 352px 0 220px;
    }

    .skills {
        gap: 48px;
    }

    .skills_video,
    .skills_video video {
        width: 863px;
        height: 485px;
    }

    .skills_slider {
        max-width: 863px;
    }

    .slider_arrow {
        width: 64px;
        height: 64px;
    }

    .arrow_right {
        right: -88px;
        top: 202px;
    }

    .arrow_left {
        left: -88px;
        top: 202px;
    }

    .arrow_img {
        width: 28px;
        height: 25px;
        top: 18px;
    }

    .arrow_right .arrow_img {
        left: 19px;
    }

    .arrow_left .arrow_img {
        left: 14px;
    }

    .arrow_left:hover .arrow_img {
        left: 9px;
    }

    .arrow_right:hover .arrow_img {
        left: 22px;
    }

    .skills_img {
        width: 64px;
        height: 64px;
    }

    .skills_item {
        padding-top: 42px;
    }

    .skills_name {
        font-size: 16px;
        line-height: 130%;
    }

    .skills_text_name {
        font-size: 24px;
        line-height: 100%;
    }

    .skills_discribe {
        font-size: 16px;
        line-height: 130%;
    }

    .skills_text {
        padding: 0 40px 35px;
    }

    .wiki_in_but {
        font-size: 18px;
        line-height: normal;
        padding: 12px 32px;
    }
}

@media (max-width: 1400px) {
    .skills_title {
        font-size: 32px;
        line-height: 110%;
    }

    #skills {
        padding: 188px 0 22px;
    }

    .skills {
        gap: 22px;
    }

    .skills_video,
    .skills_video video {
        width: 630px;
        height: 354px;
    }

    .skills_slider {
        max-width: 630px;
    }

    .slider_arrow {
        width: 56px;
        height: 56px;
    }

    .arrow_right {
        right: -88px;
        top: 139px;
    }

    .arrow_img {
        width: 25px;
        height: 18px;
        top: 17px;
    }

    .arrow_right .arrow_img {
        left: 16px;
    }

    .arrow_right:hover .arrow_img {
        left: 19px;
    }

    .arrow_left {
        left: -88px;
        top: 139px;
    }

    .arrow_left .arrow_img {
        left: 11px;
    }

    .arrow_left:hover .arrow_img {
        left: 8px;
    }

    .skills_text {
        font-size: 12px;
        line-height: 130%;
        padding: 0 24px 26px;
    }

    .skills_img {
        width: 48px;
        height: 48px;
    }

    .skills_name {
        font-size: 14px;
        line-height: 130%;
    }

    .skills_item {
        padding-top: 26px;
    }

    .wiki_but {
        margin-top: 26px;
    }

    .wiki_in_but {
        padding: 10px 24px;
        font-size: 14px;
        line-height: normal;
    }
}

@media (max-width: 1000px) {
    .slider_mobile {
        display: block !important;
    }

    #skills {
        padding: 77px 0 50px;
    }

    .skills_title {
        text-align: left;
        padding: 0 24px 16px;
    }

    .skills {
        gap: 34px;
    }

    .skills_video,
    .skills_video video {
        width: 327px;
        height: 179px;
    }

    .skills_slider {
        max-width: 327px;
    }

    .slider_arrow {
        width: 48px;
        height: 48px;
        background: #141C22;
        border: 1px solid #348795;
        box-shadow: 0 0 9.6px 0 rgba(53, 150, 172, 0.64) inset;
    }

    .arrow_left {
        left: -24px;
        top: 68px;
        z-index: 2;
    }

    .arrow_right {
        right: -24px;
        top: 68px;
        z-index: 2;
    }

    .arrow_img {
        width: 22px;
        height: 16px;
        top: 14px;
    }

    .arrow_right .arrow_img {
        left: 14px;
    }

    .arrow_right:hover .arrow_img {
        left: 16px;
    }

    .skills_name {
        display: none;
    }

    .skills_item {
        padding: 16px 0;
    }

    .skills_img {
        width: 44px;
        height: 44px;
    }

    .skills_item:hover .skills_img,
    .skills_item.slick-current .skills_img {
        border-radius: 6px;
        box-shadow: 0 0 10px 0 #4c94c8a3, 0 0 5px 0 #4c94c8a3, 0 0 19px 0 #3596AC inset;
    }

    .skills_video .skills_text {
        display: none;
    }

    .skills_text {
        position: static;
        padding: 0;
    }

    .skills_text * {
        text-align: left;
    }

    .skills_text_name {
        padding: 16px 0 12px;
    }

    #skills::before {
        background: linear-gradient(90deg, rgba(20, 28, 34, 0.00) 82.06%, #141C22 100%),
            linear-gradient(90deg, #141C22 0%, rgba(20, 28, 34, 0.00) 19.17%),
            linear-gradient(180deg, #141C22 9.69%, rgba(20, 28, 34, 0.00) 45.47%),
            linear-gradient(180deg, rgba(20, 28, 34, 0.00) 43.6%, #141C22 100%),
            linear-gradient(180deg, rgba(20, 28, 34, 0.00) 43.6%, #141C22 100%),
            linear-gradient(180deg, rgba(20, 28, 34, 0.00) 43.6%, #141C22 100%);
    }
}

@media (max-width: 450px) {
    .wiki_but {
        width: calc(100% - 48px);
    }

    .wiki_in_but {
        width: 100%;
    }
}