/*--------------- Style for Recipe Generator App ------------------*/
@import url('https://fonts.googleapis.com/css?family=Nunito:400,800&display=swap');

@import url('https://fonts.googleapis.com/css?family=Roboto+Slab&display=swap');

/*chef icon logo from https://www.freeiconspng.com/img/38215" */

@media screen and (min-width: 335px){
    html {
        height: 100%;
        box-sizing: border-box;
    }

    *,
    *:before,
    *:after {
        box-sizing: inherit;
    }
    
    body {
        font-family: "Nunito", "helvetica", sans-serif;
        background-color: #e4dfda;
        max-width: 100%;
        overflow-x: hidden;
        margin: 0;
        position: relative;
        min-height: 100%;
        padding-bottom: 6rem;
    }

    h1, h3, h4 {
        font-family: "Roboto Slab";
    }
    
    nav {
        background-color: #ffc857;
        margin: 0;
        padding: 6px 0px 6px 0px;
        
    }

    .logo {
        height: 50px;
        width: auto;
        padding: 5px 5px 5px 30px; 
    }

    .myRecipes {
        padding: 7px;
        border: solid 1px #a4243b;
        border-radius: 30px;
        color: #a4243b;
        margin-right: 35px;
        font-size: .65em;
        transition: all .5s ease-in;
        cursor: pointer;
    }

    .myRecipes:hover {
        background-color: #a4243b;
        color: white;

    }

    #nav-icons {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }


    .main {
        margin: 0px 10px;
    }
    .intro {
        text-align: center;
        margin-top: 0;
        margin-bottom: 20px;
    }

    h1 {
        color: #a4243b;
    }

    .bannerImg {
        width: 100%;

    }

    button {
        background-color: #a4243b;
        color: white;
        border: none;
        text-decoration: none;
        font-family: "Roboto Slab";
        font-size: 1.25em;
        padding: 10px 5px;
        text-align: center;
        outline: none;
        width: 250px;
        border-radius: 100px;
        margin-top: 15px;
        box-shadow:1px 2px 5px grey;
        transition: background-color .15s ease-in;
    }

    button:hover {
        cursor: pointer;
        background-color: #cf455e;
    }

    button:active {
        background-color: #7e1b2d;
    }



    .container {
        padding: 20px;
        background-color: white;
        border-radius: 30px;
        margin:0px 10px 20px 10px;
        animation: flip-in-ver-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    }

    /* ----------------------------------------------
    * Generated by Animista on 2019-12-14 9:18:1
    * Licensed under FreeBSD License.
    * See http://animista.net/license for more info. 
    * w: http://animista.net, t: @cssanimista
    * ---------------------------------------------- */

    @keyframes flip-in-ver-right {
        0% {
        transform: rotateY(-80deg);
        opacity: 0;
        }
        100% {
        transform: rotateY(0);
        opacity: 1;
        }
    }

    .container h3 {
        color: #a4243b;
    }

    .recipeImage {
        border-radius: 15px;
        width: 80%;
        margin: 0 auto;
    }

    .heart img {
        padding-top: 5px;
    }

    .heartOnImg {
        position: relative;
        width: 100%;
    }

    .heartOnImg img {
        width: 100%;
    }

    .heartOnImg .heart {
        position: absolute;
        top: 5%;
        left: 3%;
        background-color:hsla(40, 100%, 67%, 1.0);
        cursor: pointer;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        transition: transform .25s ease-in;
        box-shadow:1px 2px 5px #111;
    }


        
    .heartOnImg .heart:hover {
        transform: scale(1.25); 
    }

    .heartOnImg .heart:active {
        animation: pulse 0.25s linear 1;
    }

    @keyframes pulse {
        50% { transform: scale(1.5); }
    }



    footer {
        background-color: #ffc857;
        padding: 10px;
        margin-top: 30px;
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
    }
}

/*----------Sidebar: My Recipes---------*/

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color:hsla(349, 64%, 39%, 0.88);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }
  
  .sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #fff;
    display: block;
    transition: 0.3s;
  }
  
  
  .sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;

  }
  
  .openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: ;
    color: white;
    padding: 10px 15px;
    border: none;
  }

  @media screen and (min-width: 600px){
   
    html {
        background-color: gray;
    }
   
    body {
       width: 600px;
       margin: 0 auto;
   }

}
  
