/* -------------------------------------------------------------------------- */
/*                               root variables                               */
/* -------------------------------------------------------------------------- */

:root {
  --hvr-clr-lst-item: #dddbd3;
}

/* -------------------------------------------------------------------------- */
/*                             materialize resets                             */
/* -------------------------------------------------------------------------- */

/* ------------------------------ sticky footer ----------------------------- */

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* -------------------------------------------------------------------------- */
/*                             meal card stylings                             */
/* -------------------------------------------------------------------------- */

img.activator {
  width: 300px;
  /* FONT-WEIGHT: 200; */
  /* FONT-WEIGHT: 200; */
  height: auto;
}
.result_body {
  display: inline-flex;
  padding: 10px;
}
.description {
  padding: 10px;
}
.card-content {
  background: #f7f7f7;
}

/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

button.btn.submit {
  background: #26a69a;
  margin-right: 2rem;
  padding: 1px 1px;
  padding-bottom: 10px;
  width: 117px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

img.activator {
  border-radius: 20px;
  box-shadow: 5px 5px #888888;
  margin: 20px;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}
header {
  margin-bottom: 200px;
}
.tabcontent.active {
  display: block !important;
  padding: 20px;
  background: #f7f7f7;
}

/* ------------------------------- list items ------------------------------- */

/* ingredients */

.list-item:hover,
.list-item:focus {
  cursor: pointer;
  background-color: #f1efe9;
}

/* ingredients selected and added to shopping list */
.added-to-list {
  text-decoration: line-through;
}

.tabcontent {
  color: #998cc1;
}

.row .col.s7 {
  margin: 22px !important;
}

h2 {
  text-shadow: 1px 1px #e66d71;
  font-weight: 600;
  font-size: 35px;
}
h4 {
  font-size: 18px;
  text-shadow: 1px 1px #e66d71;
}

/* ------------------------------- meal header ------------------------------ */

.header {
  padding-left: 50px;
  margin-bottom: 1rem;
}

/* save recipe button container */
.save-recipe-btn-container {
  padding-left: 50px;
}

/* header mobil */
@media only screen and (max-width: 450px) {
  .header,
  .save-recipe-btn-container {
    padding-left: 1.5rem;
  }
}

.tabcontent {
  padding: 000px;
}
p.cooking-time {
  font-size: 18px;
}

/* -------------------------------------------------------------------------- */
/*                                style resets                                */
/* -------------------------------------------------------------------------- */

/* --------------------------------- header --------------------------------- */

.meals-header {
  min-height: fit-content;
  max-width: 100vw;
  padding: 0;
  margin-bottom: 1rem;
}

/* --------------------------------- nav bar -------------------------------- */

.nav-links {
  list-style-type: none !important;
}

/* brand logo */
.brand-logo {
  padding: 0.3rem !important;
}

/* -------------------------------------------------------------------------- */
/*                             main app components                            */
/* -------------------------------------------------------------------------- */

/* ----------------------- container for widget cards ----------------------- */

.widget-cards-container {
  width: 90vw;
}

/* ------------------------- card widget list items ------------------------- */

.saved-meal-list-item,
.shopping-list-item {
  transition: all 0.5s;
}

/* card widget list items */
.saved-meal-list-item:hover,
.saved-meal-list-item:focus,
.shopping-list-item:hover,
.shopping-list-item:focus {
  cursor: pointer;
  background-color: var(--hvr-clr-lst-item);
}

/* ------------------------------- search card ------------------------------ */

.search-card {
  max-width: 90vw;
  background-color: var(--celadon-blue);
}

.search-card-row {
  margin: 2rem 0rem 2rem 0rem;
  display: flex;
  justify-content: center;
}

.meal-cards-content {
  background-color: var(--celadon-blue) !important;
}

/* ------------------------------- pre loader ------------------------------- */

.loader-container {
  display: flex;
  justify-content: center;
}

.lds-heart {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  transform: rotate(45deg);
  transform-origin: 40px 40px;
  margin-bottom: 1rem;
}
.lds-heart div {
  top: 32px;
  left: 32px;
  position: absolute;
  width: 32px;
  height: 32px;
  background: #ffbeaa;
  animation: lds-heart 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}
.lds-heart div:after,
.lds-heart div:before {
  content: " ";
  position: absolute;
  display: block;
  width: 32px;
  height: 32px;
  background: #ffbeaa;
}
.lds-heart div:before {
  left: -24px;
  border-radius: 50% 0 0 50%;
}
.lds-heart div:after {
  top: -24px;
  border-radius: 50% 50% 0 0;
}
@keyframes lds-heart {
  0% {
    transform: scale(0.95);
  }
  5% {
    transform: scale(1.1);
  }
  39% {
    transform: scale(0.85);
  }
  45% {
    transform: scale(1);
  }
  60% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(0.9);
  }
}
