.deck-card {
    overflow: hidden;
    transition: 0.1s;
    position: relative;
    height: 400px;
    overflow: hidden;
    border: 0;
    border-radius: var(--card-border-radius);
    background-image: url(https://images.unsplash.com/photo-1579489225078-27977a77bf72?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=400&fit=max&ixid=eyJhcHBfaWQiOjE0NTg5fQ) !important;
    box-shadow: 3px 3px 3px var(--card-shadow-color);
}

.deck-card:hover {
    box-shadow: 3px 10px 3px var(--card-shadow-color);
    transition: box-shadow .25s ease;
}

.deck-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    position: relative;
    padding-bottom: 10px;
    margin-bottom: 10px;
    height: 50px;

}

.deck-card .deck-title .title {
    font-weight: bold;
    font-size: 1.2em;
    text-align: center;

    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.deck-card-footer {
    margin-top: 10px;
    border-top: 1px solid #0a0911;
    color: var(--bs-card-cap-color);
    padding: 10px;
}


.deck-container {
    background-color: var(--content-background);
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: -170px;
    transition: top 0.2s ease-in-out;
    top: calc(100% - 170px);
    line-height: 1.3;
    padding: 20px;
    text-align: center;
}

.deck-container.shown {
    top: 10%;
}

.clsShowActions {
    top: 5px;
    left: 5px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    font-size: 18px;
}

.deck-container button {
    z-index: 2;
}

.deck-container {
    display: flex;
    flex-direction: column;
}

.deck-container button.clsShowActions {
    align-self: flex-end;
}

.deck-action-layout1 {
    display: flex;
}

.deck-action-layout2 {
    display: flex;
}

.deck-action-back {
    text-align: center !important;
    width: 100%;
    margin-top: 10px;
}


.deck-action-btn {
    flex: 1 0;
    padding: 15px;
    margin-top: 20px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: var(--heading-background);
    color: var(--heading-text);
    font-weight: bold;
    font-size: 0.9em;
    margin: 5px;
    width: 130px;
    height: 100px;
}

.text-primary {
    color: var(--text-primary) !important;
}

.hide {
    display: none;
}