.skills-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(400px, 420px));
    gap: 20px;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

.skills-list__item {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 400px;
    height: 408px;
    padding: 20px;
    border-radius: 30px;
    background: #fff;
    box-sizing: border-box;
}

.skills-list__title {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 26px;
    line-height: 1.3;
    margin: 0 0 14px;
}

.skills-list__text {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    margin: 0;
    color: #000000;
}

.skills-list__img {
    margin-top: auto;
    width: 100%;
    object-fit: contain;
    align-self: flex-end;
}

@media screen and (max-width: 1399px) {
    .skills-list {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        margin-right: calc(50% - 50vw);
        padding-right: calc(50vw - 50%);
        scroll-padding-right: calc(50vw - 50%);
        scrollbar-width: none;
        -ms-overflow-style: none;
        cursor: grab;
        user-select: none;
    }

    .skills-list::-webkit-scrollbar {
        display: none;
    }

    .skills-list__item {
        flex: 0 0 400px;
        width: 400px;
        min-width: 400px;
        scroll-snap-align: start;
    }

    .skills-list__img {
        width: 100%;
        max-width: 380px;
        max-height: 180px;
        align-self: flex-end;
        margin-top: auto;
        pointer-events: none;
        user-select: none;
        -webkit-user-drag: none;
    }
}

@media screen and (max-width: 575px) {
    .skills-list {
        display: grid;
        grid-template-columns: 100%;
        overflow: visible;
        scroll-snap-type: none;
        margin-right: 0;
        padding-right: 0;
        scroll-padding-right: 0;
        cursor: default;
        user-select: auto;
    }

    .skills-list__item {
        min-width: 0;
        width: 100%;
        height: auto;
    }

    .skills-list__img {
        margin-top: 14px;
        align-self: flex-start;
        width: 100%;
        max-width: 100%;
        max-height: 100%;
        height: auto;
        align-self: stretch;
    }
}
