@import url("https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@400;500;600;700;800&display=swap");
a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:after,
blockquote:before,
q:after,
q:before {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

*,
:after,
:before {
  box-sizing: border-box;
}

ol[class],
ul[class] {
  padding: 0;
}

blockquote,
body,
dd,
dl,
figcaption,
figure,
h1,
h2,
h3,
h4,
li,
ol[class],
p,
ul[class] {
  margin: 0;
}

body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

ol[class],
ul[class] {
  list-style: none;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}
body {
  font-family: "Merriweather Sans", sans-serif;
  font-size: 70%;
}

/* card recipes section */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 95%;
  margin: 20px auto;
}

.cards__no-recipes {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 200px;
  z-index: -1;
}

.cards__no-recipes-text {
  font-weight: bold;
  font-size: 18px;
  color: rgb(49, 49, 49);
}

.card {
  height: 364px;
  background: #e7e7e7;
  border-radius: 5px;
}

.card a {
  display: block;
  text-decoration: none;
  color: #000;
}

.card__thumb {
  height: 178px;
  background-color: #c7bebe;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.card__body {
  height: 186px;
  padding: 20px;
  margin: 0;
}

.card__head {
  display: grid;
  grid-template-columns: 2fr 1fr;
}

.card__title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.card__timeclock {
  content: url("../images/time.svg");
}

.card__time {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  font-weight: 700;
}

.card__content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
  font-size: 12px;
}

.card__ingredients {
  height: 105px;
  overflow: hidden;
}

.card__ingredient--bold {
  font-weight: 700;
}

.card__description {
  height: 109px;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media only screen and (min-width: 674px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media only screen and (min-width: 992px) {
  .cards {
    width: 100%;
    gap: 50px;
  }
}
@media only screen and (min-width: 1198px) {
  .cards {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
/* Filters section */
.filter {
  display: none;
}

.filter__custom-select {
  position: relative;
  cursor: pointer;
  width: 170px;
}

.filter__custom-select input[type=text]::placeholder {
  color: #fff;
  opacity: 0.5;
}

.filter__select {
  border: none;
  color: #fff;
  width: 100%;
  height: 69px;
  text-align: start;
  padding-left: 20px;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
}

.filter__select:focus {
  outline: none;
}

.filter__select--primary {
  background: #3282f7;
}

.filter__select--success {
  background: #68d9a4;
}

.filter__select--danger {
  background: #ed6454;
}

.filter__custom-arrow {
  position: absolute;
  right: 18px;
  top: 0;
  bottom: 4rem;
  display: flex;
  align-items: center;
  height: 100%;
  pointer-events: none;
}

.filter__custom-arrow--rotate {
  transform: rotate(180deg);
}

.filter__custom-arrow::before {
  content: url("../images/dropdown-icon-up.png");
}

.filter__custom-menu {
  display: none;
}

.filter__show {
  display: flex;
  flex-wrap: wrap;
  position: absolute;
  top: 65px;
  color: #fff;
  width: 100%;
  /* max-height: 360px; */
  overflow: hidden;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.filter__custom-menu--primary {
  background: #3282f7;
}

.filter__custom-menu--success {
  background: #68d9a4;
}

.filter__custom-menu--danger {
  background: #ed6454;
}

.filter__custom-option {
  width: 33%;
  padding: 4px 0 4px 20px;
  font-size: 18px;
  /* color: rgb(49, 49, 49); */
  /* text-transform: capitalize; */
}

.filter__custom-option--enable {
  width: 33%;
  padding: 4px 0 4px 20px;
  font-size: 18px;
  color: rgb(165, 162, 162);
  display: none;
  pointer-events: none;
}

.filter__custom-option--enable:hover {
  cursor: default;
}

.filter__custom-option--enable::after {
  content: "";
  width: 0px;
  height: 1px;
  display: block;
  background: grey;
  transition: 300ms;
}

.filter__custom-option::after {
  content: "";
  width: 0px;
  height: 1px;
  display: block;
  background: #fff;
  transition: 300ms;
}

.filter__custom-option:hover::after {
  width: 15%;
}

@media only screen and (min-width: 992px) {
  .filter {
    margin-top: 20px;
    margin-bottom: 82px;
    display: flex;
    gap: 20px;
  }
}
.recipe-tags {
  display: flex;
  flex-wrap: wrap;
  margin-top: 25px;
  gap: 10px;
}
.recipe-tags__name {
  margin-right: 13px;
}
.recipe-tags__item {
  display: flex;
  align-items: center;
  border-radius: 5px;
  color: #fff;
  padding: 10px 20px;
}
.recipe-tags__item--danger {
  background: #ed6454;
}
.recipe-tags__item--success {
  background: #68d9a4;
}
.recipe-tags__item--primary {
  background: #3282f7;
}

/* search section */
.recipe-search {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
}
.recipe-search__input {
  background: #e7e7e7;
  border: none;
  padding: 16px;
  width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recipe-search__input::placeholder {
  color: #000;
  opacity: 0.25;
  font-size: 18px;
  width: 80%;
}
.recipe-search__button {
  background: transparent;
  border: none;
  position: absolute;
  right: 8px;
  top: 0;
  height: 100%;
}

/* header section */
.header {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.header a {
  width: 201px;
}

@media only screen and (min-width: 992px) {
  .wrapper {
    width: 86%;
    margin: auto;
  }
}

/*# sourceMappingURL=style.css.map */
