.dp-recipes {
  color: #000;
  font-family: "Lucas";
  background-color: #fff;
  font-weight: 400;
  padding-top: 39px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.dp-recipes * {
  box-sizing: border-box;
  line-height: 1.2em;
}

.dp-recipes button {
  font-family: "Lucas";
  background-color: rgba(0, 0, 0, 0);
  border: none;
}

.dp-recipes[is-user-logged="0"] *[is-user-logged="1"],
.dp-recipes[is-user-logged="1"] *[is-user-logged="0"] {
  display: none;
}

/****************/
/** HEADER BAR **/
/****************/

.dp-header-bar {
  height: 89px;
  width: 100%;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dp-header-bar__title {
  color: #fff;
  text-transform: uppercase;
  font-size: 35px;
  letter-spacing: 2px;
}

/**********/
/** MENU **/
/**********/

.dp-menu {
  margin: 0 50px;
  max-width: 280px;
  width: 100%;
}

.dp-menu__welcome {
  font-size: 23px;
  line-height: 28px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.dp-menu__name {
  font-size: 30px;
  line-height: 36px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
}

button.dp-menu__connection-button {
  height: 40px;
  background: #ffffff;
  border: 1.5px solid #cc9f03;
  border-radius: 3px;
  color: #cc9f03;
  font-weight: 500;
  font-size: 17px;
  line-height: 22px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 8px;
}

button.dp-menu__connection-button img {
  margin-right: 5px;
}

.dp-menu__p {
  font-weight: 500;
  font-size: 15px;
  line-height: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 16px;
}

.dp-menu__p span {
  color: #cc9f03;
  font-weight: 700;
}

.dp-menu__recipes-category {
  height: 115px;
  width: 86px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}

.dp-menu__recipes-category:hover .dp-menu__recipes-category-img {
  opacity: 0.8;
}

.dp-menu__recipes-category-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  transition: opacity 0.3s;
}

.dp-menu__recipes-category-name {
  height: 23px;
  background: rgba(255, 255, 255, 0.75);
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dp-menu__recipes-categories {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 21px;
}

/************/
/** FILTER **/
/************/

.dp-filter__header {
  margin-top: 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dp-filter__header-title {
  font-size: 23px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.dp-filter__header-filter-nb {
  margin-left: 5px;
  margin-right: auto;
  width: 16px;
  height: 16px;
  background-color: #cc9f03;
  border-radius: 50%;
  color: #fff;
  display: none;
  font-weight: 700;
  font-size: 10px;
  text-align: center;
  line-height: 17px;
}

.dp-filter__header-clear {
  color: #ea7474;
  font-size: 12px;
  font-weight: 500;
  display: none;
}

.dp-filter__header-clear img {
  margin-right: 5px;
}

.dp-filter__cupsize-subcontainer {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

button.dp-filter__category-name {
  background-color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 5px;
  width: 100%;
  height: 37px;
  text-align: left;
  padding: 12px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

button.dp-filter__category-name[is-expended="1"] {
  background-color: #f0f3f5;
}

button.dp-filter__category-name::after {
  content: "";
  background-position: center;
  background-image: url(./images/toggle-arrow-bottom.svg);
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  width: 10px;
  height: 10px;
  transition: transform 0.3s;
}

button.dp-filter__category-name[is-expended="1"]::after {
  transform: rotate(-180deg);
}

.dp-filter__category-container {
  max-height: 0;
  transition: max-height 0.3s, padding 0.3s;
  overflow: hidden;
  padding: 0;
  margin-left: 15px;
}

.dp-filter__category-container[is-expended="1"] {
  max-height: 1000px;
  padding-top: 13px;
  padding-bottom: 10px;
}

.dp-filter-btn {
  transition: opacity 0.3s;
  opacity: 0.4;
  margin-bottom: 6px;
}

.dp-filter-btn[is-active="1"] {
  opacity: 1;
}

.dp-filter__category-container[data-category="difficulty"],
.dp-filter__category-container[data-category="duration"],
.dp-filter__category-container[data-category="time"] {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.dp-filter__coffee-filters {
  font-size: 15px;
  line-height: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dp-filter__coffee-filters label {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.dp-filter__coffee-filters span {
  font-size: 15px;
  line-height: 18px;
  margin-left: 8px;
  margin-right: auto;
}

.dp-filter__coffee-filters:not(:first-child) {
  margin-top: 8px;
}

.dp-filter__coffee-filters input {
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  background-color: #f0f3f5;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dp-filter__coffee-filters input:checked {
  background-color: #1c1919;
  background-image: url(./images/checkbox.svg);
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
}

.dp-filter__cupsize-name {
  font-size: 11px;
  line-height: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.dp-filter__cupsize-item-name {
  font-size: 8px;
  line-height: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dp-filter__cupsize-item.dp-filter-btn {
  text-align: center;
  position: relative;
  cursor: pointer;
  border: none;
}

.dp-filter__cupsize-item:not(:last-child) {
  margin-right: 20px;
}

.dp-filter__cupsize-item-img {
  transform: scale(0.8);
}

button.dp-filter-btn {
  border: 1px solid #1c1919;
  font-weight: 600;
  font-size: 10px;
  line-height: 12px;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px;
}

.dp-filter-btn:not(:last-child) {
  margin-right: 15px;
}

button.dp-filter__duration {
  padding-left: 20px;
  padding-right: 20px;
}

.dp-filter__duration span {
  color: #cc9f03;
}

button.dp-filter-btn.dp-filter__type:not(:last-child) {
  margin-right: 8px;
}

.dp-filter__category-container[data-category="type"] {
  margin-right: 10px;
}

button.dp-filter__time {
  height: 39px;
  display: flex;
  justify-content: center;
  align-items: center;
}

button.dp-filter__close {
  display: none;
}

/************/
/** HEADER **/
/************/

.dp-header {
  width: 100%;
  padding: 28px;
  background-image: url(./images/header.jpg);
  background-position: top left;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.dp-header__head-container-video {
  background-image: url(./images/header-video.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 155px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dp-header__head-container-video-link {
  display: flex;
}

.dp-header__head-container-video:hover {
  cursor: pointer;
}

.dp-header__head-container-video::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #ffbb8b;
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 0;
}

.dp-header__head-container-video img {
  position: relative;
  top: 10px;
}

.dp-header__block {
  background-color: #fff;
  display: flex;
  justify-content: center;
}

.dp-header__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dp-header__head-category {
  background: #cc9f03;
  font-weight: 700;
  font-size: 10px;
  line-height: 12px;
  text-align: center;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  padding: 7px 10px;
}

.dp-header__head-category:not(:last-child) {
  margin-right: 5px;
}

.dp-header__head-categories {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.dp-header__title {
  font-weight: 800;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 24px;
}

.dp-header__description {
  font-size: 11px;
  line-height: 13px;
  letter-spacing: 0.12em;
  color: #626262;
  margin-top: 8px;
}

.dp-header__bottom {
  margin-top: 25px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

button.dp-header__read-more,
button.dp-recipes-lis__button {
  background-color: #000;
  color: #fff;
  font-weight: 600;
  font-size: 10px;
  line-height: 12px;
  display: flex;
  align-items: center;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  height: 26px;
  padding: 0 15px;
}

button.dp-header__watch-recipe {
  display: none;
}

.dp-header__head-container-txt {
  padding: 14px 14px 25px 25px;
  max-width: 400px;
  width: 100%;
}

.dp-header__head-info > div {
  display: inline-block;
  vertical-align: middle;
  font-weight: 600;
  font-size: 9px;
  line-height: 11px;
  letter-spacing: 0.05em;
  color: #cc9f03;
  margin-bottom: 4px;
}

.dp-header__head-info > div > img {
  height: 10px;
  vertical-align: middle;
}

.dp-header__head-info-difficulty {
  margin-right: 8px;
}

.dp-subconatiner {
  max-width: 865px;
  flex-grow: 1;
  width: 100%;
}

/******************/
/** RECIPES LIST **/
/******************/

.dp-recipes-list {
  margin: 25px 0;
}

.dp-recipes-list__title {
  font-weight: 300;
  font-size: 22px;
  line-height: 26px;
  text-align: center;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

button.dp-recipes-list__filter-btn {
  display: none;
}

.dp-recipe-list__item,
.dp-recipe-list__item-container {
  max-width: 271px;
  width: 100%;
  color: #000;
  cursor: pointer;
}

.dp-recipe-list__item-img {
  width: 100%;
  height: 194px;
  background-color: grey;
  box-shadow: inset 0px 25px 35px rgb(0 0 0 / 35%);
  border-radius: 3px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.dp-recipe-list__item-img > img {
  transition: 0.3s;
}

.dp-recipe-list__item-img-top > div {
  background: #ffffff;
  box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.3);
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: #cc9f03;
  padding: 10px 20px;
}

.dp-recipe-list__item-img-top > div:not(:first-child) {
  margin-left: 5px;
}

.dp-recipe-list__item-img-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.dp-recipe-list__item-img > img {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100%;
  transform: translate(-50%, -50%);
}

.dp-recipe-list__item-img-bottom {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  font-size: 8px;
  color: #fff;
  position: relative;
}

.dp-recipe-list__item-img-bottom * {
  line-height: 10px;
}

.dp-recipe-list__item-img-bottom img {
  height: 14px;
  margin: 0 auto;
}

.dp-recipe-list__item-img-bottom span {
  padding-top: 5px;
  display: block;
}

.dp-recipe-list__item-img-bottom > div:not(:first-child) {
  margin-left: 10px;
}

.dp-recipe-list__item-title-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 18px;
}

.dp-recipe-list__item-title {
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.dp-recipe-list__item-duration {
  font-weight: 600;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.05em;
  color: #cc9f03;
  display: flex;
}

.dp-recipe-list__item-duration > * {
  display: inline !important;
  vertical-align: middle;
}

.dp-recipe-list__item-duration img {
  height: 15px;
  margin-right: 5px;
}

.dp-recipe-list__item-description {
  font-size: 12px;
  line-height: 14px;
  display: flex;
  align-items: center;
  color: #9d9d9d;
  margin-top: 13px;
}

.dp-recipes-list__container {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.dp-recipe-list__item-container {
  margin: 8px;
}

.dp-recipe-list__item-container:hover .dp-recipe-list__item-img > img {
  transform: translate(-50%, -50%) scale(1.1);
}

button.dp-recipes-lis__button {
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  display: none;
}

button.dp-recipes-lis__button[is-displayed="1"] {
  display: flex;
}

@media screen and (max-width: 768px) {
  .dp-recipes {
    padding-top: 0;
  }

  /**********/
  /** MENU **/
  /**********/

  .dp-menu {
    position: fixed;
    top: 50px;
    left: -375px;
    background-color: #fff;
    margin: 0;
    z-index: 1;
    padding: 28px;
    height: 100vh;
    max-width: 375px;
    height: 100vh;
    overflow-y: scroll;
    transition: 0.3s;
  }

  .dp-menu[is-open="1"] {
    left: 0;
    box-shadow: 10px 10px 100px rgba(0, 0, 0, 0.5);
  }

  .dp-menu__welcome {
    margin-top: 60px;
  }

  /************/
  /** FILTER **/
  /************/

  .dp-filter__header {
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 0;
    height: 62px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 1.5px solid #1c1919;
    padding: 0 28px;
  }

  button.dp-filter__close {
    width: 35px;
    height: 35px;
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1c1919;
    border-radius: 50%;
  }

  .dp-filter__header-title {
    margin-left: 80px;
  }

  .dp-menu__recipes-category {
    height: 125px;
    width: 94px;
  }

  .dp-menu__recipes-categories {
    margin-bottom: 37px;
  }

  /***********/
  /** HEADER **/
  /************/

  .dp-header {
    justify-content: center;
  }

  button.dp-header__watch-recipe {
    background-color: #efefef;
    font-weight: 600;
    font-size: 9px;
    line-height: 10px;
    padding-right: 12px;
    height: 26px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1c1919;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  button.dp-header__watch-recipe img {
    height: 100%;
  }

  .dp-header__bottom > a:not(:first-child) {
    margin-left: 12px;
  }

  .dp-header-bar {
    height: 56px;
  }

  .dp-header-bar__title {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.1em;
  }

  .dp-header__head-container-video-link {
    display: none;
  }

  /******************/
  /** RECIPES LIST **/
  /******************/

  .dp-recipes-list__title {
    padding: 0 50px;
  }

  button.dp-recipes-list__filter-btn {
    background-color: #1c1919;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px;
    border-radius: 3px;
    margin: 0 auto;
    margin-top: 21px;
    margin-bottom: 30px;
  }

  .dp-recipes-list__filter-btn img {
    height: 20px;
    width: 23px;
    margin-right: 6px;
  }
}

@media screen and (max-width: 700px) {
  .dp-header {
    background-image: url(./images/header-mobile.jpg);
    padding: 294px 8px 0 8px;
    background-position: top center;
    background-size: contain;
  }
}
