* {
    box-sizing: border-box
}

.card-container {
    justify-content: center;
    align-items: center;
    height: 100%;
    min-width: 90%;
    display: flex;
    justify-content: space-evenly;
    flex-flow: row wrap;
}

.card-container p {
    color: #6a515e;
}
.card-wrap {
    flex: 0 0 33.3%;
    display: flex;
    padding: 10px;
    /* gutter width */
}

.card-2 {
    box-sizing: border-box;
    display: flex;
    position: relative;
    height: 100%;
    width: 100%;
    flex-basis: auto;
    height: 20rem;
    color: #a18a96;
    background-size: cover;
    border-radius: 15px;
    box-shadow: 20px 20px 30px -20px #00000040;
    overflow: hidden;
}

.hyptno {
    background: url(/assets/img/blutegel.png) center no-repeat;
    background-size: cover;
    opacity: 0.9;
}

.yager {
    background: url(/assets/img/smoking.png) center no-repeat;
    background-size: cover;
    opacity: 0.9;
}



.card-content2 {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 20px;
    background-color: #fff;
    border-top-left-radius: 20px;
    transform: translateY(65%);
    transition: transform .25s;
}

.card-content2:before {
    content: '';
    position: absolute;
    top: -47px;
    right: -45px;
    width: 100px;
    height: 100px;
    transform: rotate(-175deg);
    border-radius: 50%;
    box-shadow: inset 48px 48px #fff;
}

.card-title {
    color: #6a515e;
    line-height: 15px;
}

.card-subtitle {
    display: block;
    font-size: 12px;
    margin-top: 16px;
    margin-bottom: 8px;
}

.card-description {
    font-size: 14px;
    opacity: 0;
    transition: opacity .5s;
}

.card-2:hover .card-content2,
.card-2:focus .card-content2,
.card-2:active .card-content2 {
    transform: translateY(0);

}

.card-2:hover .card-description,
.card-2:focus .card-description,
.card-2:active .card-description {
    opacity: 1;
    transition-delay: .25s;
}

.hyptno:hover {
    opacity: 1;
    transition: opacity .5s;
}

.yager:hover {
    opacity: 1;
    transition: opacity .5s;

}

.card-button-container {
    display: flex;
    justify-content: end;
}

.card-button {
    background: rgba(80, 227, 194, 0.65);
    box-shadow: 0 4px 16px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-shadow: 0 1px 2px 0 rgba(31, 38, 135, 0.37);
    text-align: center;
    align-items: center;
    padding: 6px;
    font-size: small;
    color: white;
    font-weight: bold;
}

.card-button:active { 
    transform: scale(0.9); 
    box-shadow: 3px 2px 22px 1px rgba(0, 0, 0, 0.24); 
} 



@media (max-width: 776px) {
    .card-container {
        flex-direction: column;
        height: 100%;
    }


    .card-wrap {
        max-width: 100%;
        height: 100%;
    }
}