@import url('https://fonts.googleapis.com/css?family=Roboto|Pacifico');

body,
html {
    font-family: 'Roboto', sans-serif;

}

h1 {
    text-align: center;
    font-family: 'Pacifico', cursive;
    margin-top: 0;
    color: #66cc99;
    padding-bottom: 5rem;
}

h2, h3 {
  color: #66cc99;
  
}

.panel {
   background: rgba(255,255,255, 0.6);
}

.panel p {
  color: #606060;
}

#logo a:hover {
text-decoration: none;  
}

.search {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.search-buttons {
    background-color: #66cc99;
    border-color: #66cc99;
    border: solid;
    color:#ffffff;
    padding:0.5em;
}

.search-buttons:hover {
    background-color: #66cc99;
    border-color: #66cc99;
    border: solid;
    color:#ffffff;
    padding:0.5em;
}

.search-buttons:active {
    background-color: #66cc99;
    border-color: #66cc99;
    border: solid;
    color:#ffffff;
    padding:0.5em;
}


#reset {
  display: none;
}



/* Sidebar Filter*/

main {
    z-index: 2;
    position: relative;
    background-color: #ffffff;
    padding-top: 20px;
    -webkit-transition: transform .7s ease-in-out;
    -moz-transition: transform .7s ease-in-out;
    -ms-transition: transform .7s ease-in-out;
    -o-transition: transform .7s ease-in-out;
    transition: transform .7s ease-in-out;
    text-align: center;
    min-height: 100vh;
}

.sidebar {
    height: 100%;
    width: 300px;
    position: fixed;
    top: 0;
    z-index: 1;
    left: 0;
    background: rgba(87, 199, 143, 1);
    background: -moz-linear-gradient(top, rgba(87, 199, 143, 1) 0%, rgba(227, 227, 227, 1) 96%, rgba(237, 237, 237, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(87, 199, 143, 1)), color-stop(96%, rgba(227, 227, 227, 1)), color-stop(100%, rgba(237, 237, 237, 1)));
    background: -webkit-linear-gradient(top, rgba(87, 199, 143, 1) 0%, rgba(227, 227, 227, 1) 96%, rgba(237, 237, 237, 1) 100%);
    background: -o-linear-gradient(top, rgba(87, 199, 143, 1) 0%, rgba(227, 227, 227, 1) 96%, rgba(237, 237, 237, 1) 100%);
    background: -ms-linear-gradient(top, rgba(87, 199, 143, 1) 0%, rgba(227, 227, 227, 1) 96%, rgba(237, 237, 237, 1) 100%);
    background: linear-gradient(to bottom, rgba(87, 199, 143, 1) 0%, rgba(227, 227, 227, 1) 96%, rgba(237, 237, 237, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#57c78f', endColorstr='#ededed', GradientType=0);
    padding-top: 50px;
    overflow-y: scroll;
}

.sidebar h2 {
    text-align: center;
    font-size:1.5em;
    color: #ffffff;
}

.btn.btn-default.reset {
    width: 25%;
}

.bar {
    display: block;
    height: 5px;
    width: 45px;
    background-color: #66cc99;
    margin: 10px auto;
}

.button {
    cursor: pointer;
    display: inline-block;
    width: auto;
    margin: 0 auto;
    -webkit-transition: all .7s ease;
    -moz-transition: all .7s ease;
    -ms-transition: all .7s ease;
    -o-transition: all .7s ease;
    transition: all .7s ease;
}

.nav-left {
    position: fixed;
    left: 20px;
    top: 10px;
}

.nav-left {
    z-index: 3;

}

.middle {
    margin: 0 auto;
}

.bar {
    -webkit-transition: all .7s ease;
    -moz-transition: all .7s ease;
    -ms-transition: all .7s ease;
    -o-transition: all .7s ease;
    transition: all .7s ease;
}

.nav-left .active .bar {
    background-color: #ffffff;
    -webkit-transition: all .7s ease;
    -moz-transition: all .7s ease;
    -ms-transition: all .7s ease;
    -o-transition: all .7s ease;
    transition: all .7s ease;
}

.button.active .top {
    -webkit-transform: translateY(15px) rotateZ(45deg);
    -moz-transform: translateY(15px) rotateZ(45deg);
    -ms-transform: translateY(15px) rotateZ(45deg);
    -o-transform: translateY(15px) rotateZ(45deg);
    transform: translateY(15px) rotateZ(45deg);
}

.button.active .bottom {
    -webkit-transform: translateY(-15px) rotateZ(-45deg);
    -moz-transform: translateY(-15px) rotateZ(-45deg);
    -ms-transform: translateY(-15px) rotateZ(-45deg);
    -o-transform: translateY(-15px) rotateZ(-45deg);
    transform: translateY(-15px) rotateZ(-45deg);
}

.button.active .middle {
    width: 0;
}

.move-to-right {
    -webkit-transform: translateX(300px);
    -moz-transform: translateX(300px);
    -ms-transform: translateX(300px);
    -o-transform: translateX(300px);
    transform: translateX(300px);
}

/* width */

::-webkit-scrollbar {
    width: 10px;
}

/* Track */

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */

::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background: #555;
}


/*Mobile View Trending*/

.mobile {
  padding-bottom: 2em;
}

.mobile h2 {
  font-size: 1em;
}




/*carousel*/

@-webkit-keyframes infoIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  50% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes infoIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  50% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@-webkit-keyframes infoOut {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
}
@keyframes infoOut {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
}
#hero {
  width: 100%;
  display: block;
  overflow: hidden;
  position: relative;
}
#hero:before {
  display: block;
  content: "";
  padding-top: 50%;
}
.hero {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.hero figure {
  margin: 0;
  padding: 0;
  width: 10%;
  height: 100%;
  position: relative;
  -ms-flex-preferred-size: 10%;
  flex-basis: 10%;
  -webkit-transition: 0.8s linear;
  -o-transition: 0.8s linear;
  transition: 0.8s linear;
  -webkit-filter: saturate(25%);
  filter: saturate(25%);
  display:block;
}
.hero figure:not(.on):hover {
  cursor: pointer;
}

.hero figure:not(.on) h2 {
  transform:rotate(270deg);
  color: #ffffff;
  font-size:2em;
  position: absolute;
  top: 65%;
  right:0;
  left:0;
  display:inline-flex;
  width:100%;
  white-space:nowrap;
}
.hero figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.hero figure.on {
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  -webkit-transition: 0.8s linear;
  -o-transition: 0.8s linear;
  transition: 0.8s linear;
  z-index: 20;
  -webkit-filter: saturate(100%);
  filter: saturate(100%);
}
.hero figure div {
  -webkit-animation: infoOut;
  animation: infoOut;
}
.hero figure.on div {
  position: absolute;
  bottom: 20%;
  left: 5%;
  right: 5%;
  padding: 20px 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  -webkit-animation: infoIn 1.2s;
  animation: infoIn 1.2s;
}
.hero figure.on div h2 {
  font-size: 3em;
  width: 100%;
  padding-bottom: 20px;
  border-bottom: 1px solid #66cc99;
  margin-bottom: 10px;
}
.hero figure.on div p {
  font-size: 1.7em;
  width: 100%;
  margin-bottom: 0;
}
.hero figure.on div a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.8em;
  font-weight: 600;
  transition: 0.3s ease;
}
.hero figure.on div a:after {
  content: "\f054";
  font-family: "FontAwesome";
  margin-left: 5px;
  display: inline-block;
  color: #66cc99;
  transition: 0.3s ease;
}
.hero figure.on div a:hover::after {
  transform: translateX(3px);
  transition: 0.3s ease;
}
.hero figure.on div a:hover {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 2px 3px rgba(0, 0, 0, 0.7);
  transition: 0.3s ease;
}
@media screen and (max-width: 800px) {
  .hero {
    font-size: 1.3vw;
  }
  .hero figure.on div {
    padding: 20px;
  }
}
@media screen and (max-width: 600px) {
  .hero {
    font-size: 1.8vw;
  }
  .hero figure.on div {
    bottom: 5%;
    left: 0;
    right: 0;
    width: auto;
  }
}

/*Trending Recipes*/

.ingredients {
  text-align: justify;
}

.method {
  text-align: justify;
}

.trending {
   text-align: justify;
   padding-bottom: 3rem;
}

.trending h2 {
  color: #66cc99;
  font-weight: bold;
  margin-top: 0;
  padding-top: 0;
  
}

.panel-default>.panel-heading {
  background-color: #eaf8f1;
}

#pancake {
  display: none;
  padding-bottom: 1.8em;
}

#salmon {
  display: none;
  padding-bottom: 1.8em;
}

#quiche {
  display: none;
  padding-bottom: 1.8em;
}

#smoothie {
  display: none;
  padding-bottom: 1.8em;
}


/*Recipe Results*/

#spacer {
    margin-top: 20px;
}

ul li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

img {
    display: block;
    margin: 0 auto;
}

.btn-default {
    width: 100%;
    background-color: #eaf8f1;
}

.progress-bar {
  background-color: #66cc99;
  color:#696969;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #888888;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #555;
}


ul.social_media {
    list-style: none;
    padding-left: 0;
}

ul.social_media li {
    display: inline-block;
    padding-right: 20px;
}

ul.social_media li a {
    color: #66cc99;;
}
