#jidelni-listek {
    background-image: url("../images/foodlist.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    z-index: 0;
    padding: 100px 0;
    --itemColor: #2d2d2d;
    --dark-itemColor: #2d2d2d;
    --price-color: #0d8a2e;
  }
  @media (max-width: 767.98px) {
    #jidelni-listek {
      padding: 0;
    }
  }
  #jidelni-listek.dark .item-list {
    color: var(--dark-itemColor);
  }
  #jidelni-listek::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
  }
  #jidelni-listek .foodlist__wrapper {
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    position: relative;
    border-radius: 10px;
  }
  @media (max-width: 767.98px) {
    #jidelni-listek .foodlist__wrapper {
      border-radius: 0;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
  }
  #jidelni-listek .foodlist__wrapper h2 {
    text-align: center;
    font-size: 3.5rem;
    position: relative;
    grid-column: span 3;
    font-weight: 700;
    padding: 2rem 0;
    color: #000;
  }
  @media (max-width: 991.98px) {
    #jidelni-listek .foodlist__wrapper h2 {
      font-size: 2.5rem;
    }
  }
  #jidelni-listek .foodlist__wrapper #foodlist__categories {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0.7rem;
    background: #f1f1f1;
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.2);
    margin: 0;
  }
  @media (max-width: 991.98px) {
    #jidelni-listek .foodlist__wrapper #foodlist__categories {
      flex-wrap: nowrap;
      justify-content: flex-start;
      overflow-x: scroll;
      padding: 10px 0;
    }
  }
  #jidelni-listek .foodlist__wrapper #foodlist__categories .foodlist__categories__item {
    display: block;
    padding: 0.5rem 1.5rem;
    margin: 0.3rem;
    border-radius: 2rem;
    background-color: #fff;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(66, 0, 0, 0.15);
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
  }
  @media (max-width: 991.98px) {
    #jidelni-listek .foodlist__wrapper #foodlist__categories .foodlist__categories__item {
      flex-shrink: 0;
      padding: 5px 15px;
      white-space: nowrap;
    }
  }
  #jidelni-listek .foodlist__wrapper #foodlist__categories .foodlist__categories__item:hover, #jidelni-listek .foodlist__wrapper #foodlist__categories .foodlist__categories__item:focus {
    box-shadow: 0 3px 50px rgba(66, 0, 0, 0.2);
  }
  #jidelni-listek .foodlist__wrapper #foodlist__categories .foodlist__categories__item.selected {
    background: #e52027;
    color: #fff;
  }
  #jidelni-listek .foodlist__wrapper #foodlist__content {
    position: relative;
    display: grid;
    grid-gap: 2rem;
    padding: 2.5rem;
    margin: 0 auto;
  }
  @media (max-width: 767.98px) {
    #jidelni-listek .foodlist__wrapper #foodlist__content {
      grid-gap: 1rem;
      padding: 1.5rem;
    }
  }
  #jidelni-listek .foodlist__wrapper #foodlist__content.two-columns {
    grid-template-columns: 1fr 1fr;
  }
  @media (max-width: 991.98px) {
    #jidelni-listek .foodlist__wrapper #foodlist__content.two-columns {
      grid-template-columns: 1fr;
    }
  }
  #jidelni-listek .foodlist__wrapper #foodlist__content.two-columns h3 {
    grid-column: span 2;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 1rem;
    border-left: 4px solid #e52027;
  }
  @media (max-width: 991.98px) {
    #jidelni-listek .foodlist__wrapper #foodlist__content.two-columns h3 {
      grid-column: span 1;
      font-size: 1.5rem;
    }
  }
  #jidelni-listek .foodlist__wrapper #foodlist__content .item-list {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-bottom: 0.3rem;
    animation: itemFade 1s forwards;
    color: var(--itemColor);
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #d0d0d0;
  }
  @media (max-width: 767.98px) {
    #jidelni-listek .foodlist__wrapper #foodlist__content .item-list {
      margin-bottom: 0;
    }
  }
  #jidelni-listek .foodlist__wrapper #foodlist__content .item-list__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    flex: 1 0 80%;
    padding-right: 1rem;
  }
  #jidelni-listek .foodlist__wrapper #foodlist__content .item-list__content__name {
    font-weight: 600;
    flex-grow: 0;
    flex-shrink: 0;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
  }
  @media (max-width: 767.98px) {
    #jidelni-listek .foodlist__wrapper #foodlist__content .item-list__content__name {
      font-size: 1rem;
      margin-bottom: 0;
    }
  }
  #jidelni-listek .foodlist__wrapper #foodlist__content .item-list__content__ingredients {
    font-size: 0.9rem;
    color: #808080;
  }
  @media (max-width: 767.98px) {
    #jidelni-listek .foodlist__wrapper #foodlist__content .item-list__content__ingredients {
      font-size: 0.8rem;
    }
  }
  #jidelni-listek .foodlist__wrapper #foodlist__content .item-list__content__price {
    color: var(--price-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 0.5rem;
  }
  @media (max-width: 767.98px) {
    #jidelni-listek .foodlist__wrapper #foodlist__content .item-list__content__price {
      font-size: 1rem;
    }
  }
  #jidelni-listek .foodlist__wrapper #foodlist__content .item-list__image a {
    height: 80px;
    width: 80px;
    display: block;
  }
  @media (max-width: 767.98px) {
    #jidelni-listek .foodlist__wrapper #foodlist__content .item-list__image a {
      height: 65px;
      width: 65px;
    }
  }
  #jidelni-listek .foodlist__wrapper #foodlist__content .item-list__image a[href=null] {
    width: 0;
    height: 0;
  }
  #jidelni-listek .foodlist__wrapper #foodlist__content .item-list__image a img {
    max-width: 100%;
    border-radius: 0.3rem;
  }
  #jidelni-listek .foodlist__wrapper #foodlist__content #loading {
    display: block;
    position: relative;
    z-index: 5;
    text-align: center;
    color: #333;
    grid-column: span 2;
  }
  @media (max-width: 991.98px) {
    #jidelni-listek .foodlist__wrapper #foodlist__content #loading {
      grid-column: span 1;
    }
  }
  
  @keyframes itemFade {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }