div.servicio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

section.servicios-shortcode {
    position: relative;
    width: 100vw;
    color: var(--ast-global-color-1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 2.5em;
    overflow: hidden;
    padding: 50px 0 200;
}

.servicios-img {
    width: max-content;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    min-height: 400px;
    padding: 20px;
    width: 100%;
}

div.servicio-img {
    position: relative;
    width: 150px;
    height: 150px;
    padding: 5px;
    will-change: width, height;
}

div.servicios-name {
    width: 100%;
    height: var(--tamano-headings-shortcode);
    padding: 10px 0 0;
}

div.servicio-name h1 {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: var(--tamano-headings-shortcode);
    font-weight: 600;
    letter-spacing: -0.1rem;
    line-height: 1;
    color: var(--ast-global-color-2);
    user-select: none;
    transform: translateY(100%);
    z-index: 1;
}

div.servicio-name h1 .letter {
    position: relative;
    transform: translateY(0%);
    will-change: transform;
}

@media (max-width: 900px) {
    section.servicios-shortcode {
        flex-direction: column;
        padding: 10px 0;
    }

    div.servicios-img {
        max-width: 100%;
        justify-content: flex-start;
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
        gap: 1rem;
        min-height: 0;
        align-items: center;
    }

    div.servicio-img {
        height: 70px;
        width: 70px;
        padding: 0;
        min-width: 70px;
        min-height: 70px;
    }

    div.servicio-name h1 {
        font-size: 1.5rem;
        letter-spacing: 0;
    }

    div.servicios-name {
        height: 1.5rem;
        padding: 0;
    }
}
