.add-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 14rem;
    width: 10rem;
    border: solid 1px var(--border-color);
    border-radius: 10px;
    // background-image: url("../../../../assets/images/spells/add-spell.jpg");
    // background-size: auto 100%;
    // background-position: center;
    box-shadow: var(--shadow-small);
    overflow: hidden;
    transition: all 0.3s ease-in-out;

    &:hover {
        .slide-button {
            transform: translateX(0);
        }
    }

    .add {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.slide-button {
    transform: translateX(-120%);
    transition: transform 0.3s ease-in-out;
}

.add-card-button {
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-weight: 600;
    width: 90%;
    margin: 0 0.5rem;
    transition: all 0.3s ease-in-out;

    &:hover {
        background-color: var(--primary-color-dark);
        scale: 1.03;
    }
}
