.add-card {
    position: relative;
    height: 20rem;
    width: 15rem;
    border: var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease-in-out;

    .clickable-background {
        width: 100%;
        height: 100%;
        position: relative;
        cursor: pointer;
        transition: all 0.2s ease-in-out;

        &:hover {
            background-color: var(--items);
        }

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

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

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

.spell-name {
    width: 94%;
    margin: 1rem auto;
    display: block;
    border-radius: 5px;
    border: var(--border);
}

.available-spells {
    margin: 0.5rem;
    padding: 0.5rem;
    border: var(--border);
    border-radius: 5px;
    // box-shadow: var(--shadow);
    overflow: auto;
    height: 12rem;

    button {
        all: unset;
        border: var(--border);
        border-radius: 5px;
        padding: 0.25rem;
        margin: 0 auto 0.375rem auto;
        display: block;
        width: 90%;
    }
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.cancel-button {
    width: 10rem;
    height: 2.5rem;
    display: block;
    margin: 1rem auto 0 auto;
    background-color: var(--delete);
    border: var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-weight: 600;
    font-size: 1.25rem;
}
