/* General card styles */
.card {
    max-width: 24rem;
    width: 100%;
}

.card-img-top img {
    max-width: 50px;
}

/* Estilo por defecto para pantallas grandes */
.custom-width {
    width: 15%;
    min-width: 150px;
}

/* Estilos responsivos */
@media (max-width: 992px) {
    .custom-width {
        width: 25%;
    }
}

@media (max-width: 768px) {
    .custom-width {
        width: 40%;
    }

    .splide__list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .currency-item {
        width: 80%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .custom-width {
        width: 100%;
    }
}

/* General card styles */
.card {
    max-width: 24rem;
    width: 100%;
}

.card-img-top img {
    max-width: 50px;
}

.splide__slide.row:hover {
    transform: scale(1.1);
    border: 0 !important;
    border-radius: 1rem !important;
    background-color: rgba(1, 40, 255, 0.75);
    color: #d9d9d9;

    img {
        box-shadow: rgba(217, 217, 217, 0.4) 5px 5px, rgba(217, 217, 217, 0.3) 10px 10px, rgba(217, 217, 217, 0.2) 15px 15px, rgba(217, 217, 217, 0.1) 20px 20px, rgba(217, 217, 217, 0.05) 25px 25px;
    }
}

.crypto-card {
    position: relative;
    width: 150px;
    padding: 10px;
    border: 1px solid #d3d3d3;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease;
}

.crypto-card img {
    width: 40px;
    height: 40px;
    max-height: 5rem;
}

.crypto-card:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

.crypto-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
    transition: transform 0.5s ease;
    pointer-events: none;
}

.crypto-card:hover::before {
    transform: translateX(300%) rotate(45deg);
}