#recipes .card {
    border:5px solid white;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.1);
}
#recipes .card .card-body {
    text-align: center;
    background-color: rgba(0,0,0,0.0);
    position: absolute;
    bottom: 0;
    top:0;
    left:0;
    right:0;
    padding: 50% 0 0 0;
    opacity:0.6;
    font-size: 1.3em;
}
#recipes .card:hover .card-body {
    opacity:1;
    background-color: rgba(0,0,0,0.5);

    transition: opacity 0.6s ease-out;
}
#recipes .card .btn {
    opacity:0;
}
#recipes .card:hover .btn{
    opacity:1;
    transition: opacity 0.6s ease-out;
}
#recipes .card-title {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    font-size: 1.4em;

}
#recipes {
    padding: 0;
}
#recipes .card {
    margin:0 0 24px 0 ;
    border:0;
}

#recipes .card-body {
    color: white;
    position: absolute;
    bottom:48px;
    left: 0;
    right: 0;
    background-color:rgba(0,0,0,0.4);
    transition: all 1s ease-out;
}
#recipes .card:hover .card-body{
    background-color:rgba(0,0,0,0.8);
    top:0;
    
}
#recipes .card-text {
    display: none;
    opacity : 0;
    transition: all 2s ease-out;

}
#recipes .card:hover .card-text {
    display: block ;
    opacity : 1;
}
#recipes .card-title, #recipes .card-text {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);

}
 
#recipe {
    padding:0;
    background-color:transparent;
    border:0;
}

#recipe .card-header {
    color: white; 
    padding:0;
    margin:32px 0;
    border: none;
    
}
 #recipe .card-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    font-style: normal;
    padding: 0;
    display: inline;
}
#recipe .card-header h2 strong {
    display: inline-block;
    background-color:  rgba(255,255,255,0.8)  ;
    color:  rgb(0,113,111)  ;
    font-size: 150%;
    padding: 0 8px;
    margin:0;

}
#recipe .card-header h2 strong:first-child {
    padding-left: 15px;
}
#recipe .card-header h2 strong:last-child {
    padding-right: 15px;
}
#recipe .card-header h2 span {
    padding: 0 10px;
    background:  rgb(0,113,111)  ;
    margin:0;
    display: inline-block;
}
#recipe .card-header .date {
    background: white ;
    float: left;
    color:rgb(0,113,111);
    padding: 1em;
    margin: 0;
}
#recipe .card-header h2 strong:last-of-type :after {
    content: "\A";
    white-space: pre;
  }
#recipe .card-body {
   padding:0;
   margin:0;
}
#recipe .detail {
    background-color: rgba(255,255,255,0.9);
    margin: 1px 0;
    padding: 16px ;
    font-weight: 300;
    font-size: 1.4em;
}
#recipe .detail h3{
    margin: 16px 0;
    color: rgb(0,113,111);
}
#ingredients {
    padding:32px;
    background: rgb(0,113,111);
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 50%);
    border-radius: 0 0 32px 32px;
    color: white;
}
#ingredients li {
    display: inline-block;
}
#ingredients h3{
    font-style: bold;
    color : white;
    font-size: 2em;
}
#ingredients h5{
    font-weight: 300;
    font-style: normal;
    color : white;
    font-size: 1.4em;
    padding: 12px;
    background:  rgba(0,113,111,0.9) ;
    margin: 0;

}
.photo {
    margin:0 0 16px 0; 
 }
.photo img {
   margin:0 0 16px 0; 
}
  
#ingredients h2.rotate {
    font-family: jubilat, sans-serif;
    color:white;
    background-color:rgba(249,179,52,1);
    padding: 1px 0.3em ;
}

@media screen and (min-width: 768px) {
    #mainNavbar {
        margin: 0 0 0 -8px;
    }
    #recipes .card-body {
        top:55%
    }

    
    #recipe .card-header h2 {
        font-size: 3.6rem;
    }
    #ingredients {
        position:relative;
    }
 }