:root {}

hr {
    margin: 20px 0;
}

.border-card {
    background-color: azure;
    border: 1px solid rgb(119, 119, 119);
    border-radius: 5px;
    padding: 15px 15px;
}

.config-card {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    min-height: 100px;
    gap: 10px;

    margin-bottom: 10px;
}

.card-item-width-25 {
    width: 24%;
}

.card-item-width-33 {
    width: 32%;
}

.card-item-width-50 {
    width: 49%;
}

.card-item {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;

    text-align: justify;
}

@media all and (max-width: 1250px) and (min-width: 0px) {
    .card-item-width-25 {
        width: 49%;
    }
}

@media all and (max-width: 600px) and (min-width: 0px) {

    .card-item-width-25,
    .card-item-width-33,
    .card-item-width-50 {
        width: 100%;
    }
}


/***********************************************************************/
.config-card-grid {
    display: grid;
    row-gap: 15px;
    column-gap: 15px;

    align-content: center;
    justify-items: start;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-template-rows: 1fr;
}

.config-card-grid-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;

    text-align: justify;
}


/**************************************************/


.container-flecha-carr {
    display: grid;
    row-gap: 5px;
    column-gap: 5px;

    align-content: center;
    justify-items: start;
    align-items: center;
    grid-template-columns: 10px 1fr 10px;
    grid-template-rows: 1fr;
}

.carrusel-fila {
    width: 100%;
    overflow-x: hidden;
}

.carrusel-container {
    transition: 450ms transform;
    font-size: 0;
    white-space: nowrap;
    margin: 5px 0;
    padding-bottom: 10px;
}

.carrusel-item {
    display: inline-block;
    background: #808080;
    width: 250px;
    height: 140.625px;
    margin-right: 10px;
    cursor: pointer;
    transition: 450ms all;
    transform-origin: center left;
}

/* HOVER EFFECT */

.carrusel-fila {
    opacity: 1;
}

.carrusel-container:hover {
    transform: translate3d(0px, 0, 0);
}

.carrusel-container:hover .carrusel-item {
    opacity: 0.3;
}

.carrusel-container:hover .carrusel-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

.carrusel-item:hover~.carrusel-item {
    transform: translate3d(0px, 0, 0);
}

.carrusel-item:last-child {
    transform-origin: center right;
}


/*****************************************************/
/* CARDS GRID INFINITO LOOPS */

.wrapper {
    position: relative;
}

.wrapper i {
    top: 50%;
    height: 50px;
    width: 50px;
    cursor: pointer;
    font-size: 1.25rem;
    position: absolute;
    text-align: center;
    line-height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
    transform: translateY(-50%);
    transition: transform 0.1s linear;
}

.wrapper i:active {
    transform: translateY(-50%) scale(0.85);
}

.wrapper i:first-child {
    left: -22px;
}

.wrapper i:last-child {
    right: -22px;
}

.wrapper .carousel {
    display: grid;
    grid-auto-flow: column;
    /*grid-auto-columns: calc((100% / 3) - 12px);*/
    grid-auto-columns: 20%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    border-radius: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel.no-transition {
    scroll-behavior: auto;
}

.carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.carousel.dragging .card {
    cursor: grab;
    user-select: none;
}

.carousel :where(.card, .img) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel .card {
    scroll-snap-align: start;
    height: 342px;
    list-style: none;
    background: #e1e1e1;
    cursor: pointer;
    padding-bottom: 15px;
    flex-direction: column;
    border-radius: 8px;
}

.carousel .card .img {
    background: #8B53FF;
    height: 148px;
    width: 148px;
    border-radius: 50%;
}

.card .img img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
}

.carousel .card h2 {
    font-weight: 500;
    font-size: 1.56rem;
    margin: 30px 0 5px;
}

.carousel .card span {
    color: #6A6D78;
    font-size: 1.31rem;
}
/*
@media screen and (max-width: 900px) {
    .wrapper .carousel {
        grid-auto-columns: calc((100% / 2) - 9px);
    }
}

@media screen and (max-width: 600px) {
    .wrapper .carousel {
        grid-auto-columns: 100%;
    }
}
    */