
body{
  color: #2C3840;
  font-family: 'Montserrat', sans-serif;
}

/* multiclass styles  */
.subnav-hero-section,.about-the-author,.container,.basic-card,#card-holder,#links-div{
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.subnav-hero-section,.about-the-author,.container,.basic-card,#card-holder{
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.subnav-hero-section,.about-the-author,#links-div{
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.translucent-form-overlay input,
.translucent-form-overlay select,.translucent-form-overlay input::-webkit-input-placeholder,
.translucent-form-overlay input:-ms-input-placeholder,.translucent-form-overlay input::placeholder {
  color: #8a8a8a;
}

/* Top Nav */
 .topbar-responsive {
  background: #2c3840;
  padding: 0rem 1.5rem;
}

.topbar-responsive .topbar-responsive-logo {
  font-family: "Amaranth", sans-serif;
  font-weight: bold;
  font-size: 20px;
  color: #fefefe;
  vertical-align: middle;
  margin-left: 3px;
  font-size: 2em;
}

.topbar-responsive .menu {
  background: #2c3840;
}

.topbar-responsive .menu li:last-of-type {
  margin-right: 0;
}

.topbar-responsive .menu a {
  color: #fefefe;
  transition: color 0.15s ease-in;
  font-family: "Amaranth", sans-serif;
  font-size: 1.1em;
}

.topbar-responsive .menu a:hover {
  color: #c6d1d8;
}

.topbar-responsive .menu .topbar-responsive-button {
  color: #fefefe;
  border-color: #fefefe;
  border-radius: 5000px;
  transition: color 0.15s ease-in, border-color 0.15s ease-in;
}

.topbar-responsive .menu .topbar-responsive-button:hover {
  color: #c6d1d8;
  border-color: #c6d1d8;
}


/* Subnav */
.subnav-hero-section {
  background-image: url("../assets/food.png");
  text-align: center;
  background-size: repeat;
  position: relative;
  height: 200px;
  padding: 50px;
}

.subnav-hero-section .subnav-hero-headline {
  font-family: "Dancing Script", cursive;
  font-weight: bold;
  color: #fefefe;
  padding: 40px;
  font-weight: 900;
}

.subnav-hero-subnav {
  float: none;
  position: absolute;
  text-align: center;
  margin: 0 auto;
  bottom: 0;
  width: 100%;
}


/* Input field and search button */
.input-group-rounded .input-group-field {
  border-radius: 5000px 0 0 5000px;
  padding-left: 1rem;
}

.input-group-rounded .input-group-button .button {
  border-radius: 0 5000px 5000px 0;
  font-size: 0.8rem;
  margin-right: 30px;
}

/* About */
.about-dish{
  font-size: 3em;
}
.about-the-author {
  background-color: #fefefe;
  margin: 1rem;
  padding: 1rem;
}
.about-the-author .separator-left {
  text-align: left;
}

.about-the-author .separator-left::before, .about-the-author .separator-left::after {
  display: table;
  content: ' ';
  -webkit-flex-basis: 0;
      -ms-flex-preferred-size: 0;
          flex-basis: 0;
  -webkit-order: 1;
      -ms-flex-order: 1;
          order: 1;
}

.about-the-author .separator-left::after {
  clear: both;
}

.about-the-author .separator-left::after {
  position: relative;
  width: 5rem;
  border-bottom: 0.125rem solid #1779ba;
  margin: 0.3rem auto 0;
  margin-left: 0;
}

.about-img{
  width: 90%;
  margin-bottom: 20px;
}

.about-header{
  margin: 15px 0px;
  font-size: 1.5em;
  font-weight: 500;
  font-family: "Amaranth", sans-serif; 
}

.about-p{
  margin-top: 20px;
  width: 90%;
}
.about-the-author .author-title {
  text-transform: uppercase;
}

.about-the-author .author-image {
  width: 600px;
  height: 550px;
}

/* Recipe Cards */
#card-holder {
  margin: 20px auto;
}

.container {
  align-content: center;
  justify-items: center;
  flex-wrap: wrap;
}

.basic-card {
  margin-bottom: 1rem;
  border: 1px solid #e6e6e6;
  background: #fefefe;
  box-shadow: none;
  color: #0a0a0a;
  margin: 10px;
  width: 90%;
}
.basic-card-content .basic-card > :last-child {
  margin-bottom: 0;
}

.basic-card-image {
  flex: 1;
  max-height: 350px;
  margin: 0px;
  padding: 0px;
}

.basic-card-image img {
  width: 100%;
}

.title-card{
  background-color: #2C3840;
  color: white;
  text-align: center;
  padding: 10px;
  height: 135px;
}
.title-card h5{
  font-family: "Dancing Script", cursive;

  font-size: 2em;
  
}
.title-card p {
  color: #FAC563;
}

.basic-card-content h5 {
  font-family: "Amaranth", sans-serif;  color: #2C3840;
}

.basic-card-content p {
  margin-bottom: 0.2rem;
}
.basic-card-content {
  border: 0;
  flex: 1;
  margin: 0;
  overflow: auto;
  height: 500px;
}

#links-div {

  flex: 1;
  margin-bottom: 0px;
  background-color: #2C3840;
  max-height:70px;
}

#links-div li {
    font-family: "Amaranth", sans-serif; 
}


.recipe-title {
  font-weight: bolder;
}

.ingredient-title {
 
  font-weight: bold;
}

.instruction-title {
  font-weight: bold;
}

/* Pagination */

  .pagination-next {
    position: relative;
    left: 80px;
  }


.instruction-title {
  font-weight: bold;
}

/* footer  */
.content {
  flex: 1 0 auto;
  
}

.sticky-footer-css {
  flex-shrink: 0;
  overflow: visible;
}

.sticky-footer-css .body-content {
  background-color: #fff;
}

.sticky-footer-css .footer {
  height: 10rem;
  background-color: #2c3840;
  color: #fff;
  padding: 3rem;
  font-family: "Handlee";
  font-size: 20px;
}

.sticky-footer-css .footer .menu a {
  color: #fff;
}

/* email form  */
.translucent-form-overlay {
  max-width: 500px;
  width: 100%;
  margin: 20% auto;
  background-color: rgba(54, 54, 54, 0.9);
  padding: 20px;
  color: #fefefe;
}

.translucent-form-overlay .columns.row {
  display: block;
}

.translucent-form-overlay h3 {
  color: #fefefe;
  font-family: "Dancing Script", cursive;
  text-align: center;
}
.translucent-form-overlay label {
  color: #fefefe;
  text-align: center;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4); 
}

/* media queries  */

@media (min-width: 800px) and (max-width: 1200px) {
  .subnav-hero-section{
    height: 300px;
  }

  .about-img, .about-p{
    width: 75%;
  }

  .container {
    flex: 1;
  }

  #card-holder {
    display: flex;
    flex-direction: row;
    padding: 20px;
  }

  .basic-card {
    width: 95%;
    margin: 20px auto;
  }

}

@media (min-width: 1200px) {
  #search-bar{
    width: 500px;
  }
  .subnav-hero-section{
    height: 400px;
  }
  .container {
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
  }
  .basic-card {
    width: 30%;
  }

  #card-holder {
    padding: 20px;
  }
}

@media (min-width:1200px) and (max-width:1500px){
  .about-img, .about-p{
    width: 65%;
  }
  .about-the-author{
    margin: 2rem;
  }
}

@media (min-width:1500px) {
  .about-img, .about-p{
    width: 55%;
  }
  .about-the-author{
    margin: 4rem;
  }
}

/* foundation media queries */
  @media screen and (max-width: 39.9375em) {
    .topbar-responsive {
      text-align: center;
    }
    .topbar-responsive .menu .topbar-responsive-button {
      width: 100%;
      margin: 0.875rem 0;
    }
    .topbar-responsive-links {
      -webkit-animation-fill-mode: both;
      animation-fill-mode: both;
      -webkit-animation-duration: 0.5s;
      animation-duration: 0.5s;
      width: 100%;
      -webkit-animation: fadeIn 1s ease-in;
      animation: fadeIn 1s ease-in;
    }
    .topbar-responsive .menu a {
      padding: 0.875rem 0;
    }
    .pagination:after {
      display: inline-block;
      content: attr(data-page) " of " attr(data-total);
      position: relative;
      text-align: center;
      width: 80px;
      right: 80px;
    }
    .topbar-responsive {
      padding: 0.75rem;
    }
    .topbar-responsive .top-bar-title {
      position: relative;
      width: 100%;
    }
    .topbar-responsive .top-bar-title span {
      position: absolute;
      right: 0;
      border: 1px solid #fefefe;
      border-radius: 5px;
      padding: 0.25rem 0.45rem;
      top: 50%;
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
    }
    .topbar-responsive .top-bar-title span .menu-icon {
      margin-bottom: 4px;
    }
  }

  /* foundation keyframes  */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes slideDown {
  0% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  100% {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
  }
}

@keyframes slideDown {
  0% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  100% {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
  }
}



