/* https://colorswall.com/palette/183990 */

/* CSS variables */
:root {
	--card-bg-color: #fff;
	--card-text-color: #070705;
	--dish-type-color: #621d32;
  --tool-type-color: #94ccb4;
  --menu-color: #f4d48b;
	--card-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.02), 0 6.7px 5.3px rgba(0, 0, 0, 0.028), 0 12.5px 10px rgba(0, 0, 0, 0.035), 0 22.3px 17.9px rgba(0, 0, 0, 0.042), 0 41.8px 33.4px rgba(0, 0, 0, 0.05), 0 100px 80px rgba(0, 0, 0, 0.07);
	--card-shadow-hover: 0 2.8px 2.2px rgba(0, 0, 0, 0.04), 0 6.7px 5.3px rgba(0, 0, 0, 0.056), 0 12.5px 10px rgba(0, 0, 0, 0.07), 0 22.3px 17.9px rgba(0, 0, 0, 0.084), 0 41.8px 33.4px rgba(0, 0, 0, 0.1), 0 100px 80px rgba(0, 0, 0, 0.14);
  --global-radius: 16px;
}

/* Presentation styles */
body {
	background-color: #263c44;
  padding: 0;
  margin: 0;
  display: flex;
  min-height: 100vh;
  height: 100%;

  font-family: 'Poppins', sans-serif;
}

.material-symbols-outlined {
  margin-right: 0.25rem;
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48
}

#recipe-holder {
	display: flex;
	justify-content: center;
  flex-wrap: wrap;
  flex-basis: 80%; /* desktop only! */
  flex-grow: 1;
  z-index: 1;

  margin-top: calc(105px + 2rem);
}

.search-btns {
  display: flex;
  margin: 0.5rem auto;
  max-width: 22rem;
}

.search-btns > button {
  padding: 0.5rem;
  margin: 0.5rem 0.25rem;
  flex-basis: 50%;
  flex-grow: 1;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  border: none;
  cursor: pointer;
  background-color: #e8622b;
  color: white;
}

.search-btns > button:hover {
  background-color: #bd5f39;
  outline: none;
}

.search-btns > button:active {
  background-color: #f17544;
  outline: none;
}

#recipe-search .searchBar {
  max-width: 22rem !important;
  margin: 0 auto;
}

@media only screen and (max-width: 750px) {
  #recipe-search {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 2rem);
    z-index: 10;
    padding: 1rem;
    /* min-height: 100vh; */
    background-color: var(--menu-color);
  }

  .checkbox-wrapper {
    margin: 1rem auto !important;
    max-width: 22rem;
  }

  #filter-options {
    display: none;
  }
}

@media only screen and (min-width: 750px) {
  #recipe-search {
    background-color: var(--menu-color);
    padding: 1rem;
    flex-basis: 20%; /* desktop only! */
    min-width: 250px;
  }

  .search-btns {
    display: none;
  }

  #recipe-holder {
    margin-top: 0;
  }

  #filter-options {
    display: block;
  }
}

.wrapper {
  width: 100%;
}

.searchBar {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#searchQueryInput {
  width: calc(100% - 5rem);
  height: 2.8rem;
  background: #f5f5f5;
  outline: none;
  border: none;
  border-radius: 1.625rem;
  padding: 0 3.5rem 0 1.5rem;
  font-size: 1rem;
}

#searchQuerySubmit {
  width: 3.5rem;
  height: 2.8rem;
  margin-left: -3.5rem;
  background: none;
  border: none;
  outline: none;
}

#searchQuerySubmit:hover {
  cursor: pointer;
}

.checkbox-wrapper > ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

li > label {
  cursor: pointer;
}

input:checked + label {
  font-weight: bold;
  color: #263c44;
}

.checkbox-wrapper {
  margin: 1rem 1.5rem;
}

hr {
  height:1px;
  border-width:0;
  background-color: rgba(0,0,0,0.2);
}

h2 {
  font-size: 1em;
}

h1 {
  font-size: 20px;
	font-weight: 700;
	letter-spacing: -1px;
  text-transform: capitalize;
}

.dish-type {
  text-transform: capitalize;
}