
.card {
    background-color: hsl(215, 70%, 35%);
    border: 1px solid #ddd;
    box-shadow: 0 0.125em 0.75em rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
    position: relative;
    *zoom: 1;
} 

@media(min-width: 600px) {
    .card {
        display: flex;
    }
}

.card * {
  box-sizing: border-box;
}

.card::before,
.card::after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.card::after {
    clear: both;
}


/*Card Heading */
.card__heading {
    padding: 50px;
    position: relative;
} 


@media(min-width: 600px) {
    .card__heading {
        align-items: center;
        display: flex;
        float: left;
        justify-content: center;
        width: 40%;
    }
}

@media(min-width: 600px) {
    .card__heading::before {
        border-color: transparent transparent transparent hsl(215, 70%, 35%);
        border-style: solid;
        border-width: 20px 0 20px 20px;
        content: '';
        display: block;
        height: 0;
        position: absolute;
        right: -20px;
        top: 60px;
        width: 0;
    }
}

.card__heading h3 {
    color: white;
    width: calc(100% - 50px);
}
@media(min-width: 600px) {
    .card__heading h3 {
        width: 100%;
    }
}

.card .card__heading::after {
    background-size: cover;
    background-repeat: no-repeat;
    bottom: calc(50% - 25px);
    content: '';
    display: block;
    float: right;
    height: 50px;
    position: absolute;
    right: 50px;
    width: 50px;
}

@media(min-width: 600px)  {
    .card .card__heading::after {
        bottom: 40px;
        right: initial;
        z-index: 9;
    }
}

.card .card__heading::after {
    background-image: url('../img/default.png');
    opacity: .6;
}


/* Card Body*/
.card__body {
    background-color: white;
    border: 1px solid #ddd;
    font-size: .925em;
    padding: 50px;
}

@media(min-width: 600px) {
    .card__body {
        float: left;
        min-height: 350px;
        width: 60%;
    }
}


/*Card number label */
.card__number {
    background-color: #ffffff;
    border-radius: 100%;
    border: 4px solid hsl(215, 69%, 74%);
    box-shadow: 0 0.125em 0.5em rgba(0, 0, 0, 0.2);
    box-shadow: 10px 2px 1em rgba(0,0,0,.2);
    font-size: .825em;
    height: 40px;
    line-height: 34px;
    padding: 0;
    position: absolute;
    text-align: center;
    top: 20px;
    transform: translateX(-10px);
    width: 40px;
}

@media(min-width: 600px) {
    .card__number {        
        transform: translateX(-50%);
    }
}

/* Card Notes */
.card__notes {
    font-size: .7em;
}