*,
*::after,
*::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
.container {
  background: url("https://images.pexels.com/photos/750843/pexels-photo-750843.jpeg?cs=srgb&dl=abstract-art-celebration-750843.jpg&fm=jpg");
  background-attachment: fixed;
  color: white;
  background-size: cover;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.subcontainer {
  background: rgba(1, 1, 1, 0.4);
  width: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: inherit;
  position: relative;
}
.heading {
  font-family: fantasy;
  font-size: 3vmax;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: absolute;
  top: 2em;
}

.dishesContainer {
  display: grid;
  margin-top: 1.8em;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 4em;
  height: max-content;
}

.dishesContainer .btn {
  width: 15em;
  height: 15em;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
/* @media screen and (max-width:1100px)
{
    .container,.subcontainer 
    {
        overflow-y: auto;
    }
    .dishesContainer
    {
        display: grid;
        position: absolute;
        top:10em;
        grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    }
  
}
@media screen and (max-width:1330px)
{
   .dishesContainer .btn
   {
       width: 13em;
       height: 13em;
   }
   .addtocart
   {
       justify-content: center;
   }
} */
.item1 {
  background: url("https://i1.wp.com/media.hungryforever.com/wp-content/uploads/2017/06/23115430/bread-omelet-sandwich-recipes.jpg?ssl=1?w=356&strip=all&quality=80");
  background-size: cover;
  height: inherit;
  background-position-x: -23px;
  background-position-y: 6px;
}
.item2 {
  background: url("https://images.unsplash.com/photo-1528735602780-2552fd46c7af?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1000&q=60");
  background-size: cover;
  height: inherit;
  background-position-x: -110px;
  background-position-y: 1px;
}
.item3 {
  background: url("https://i2.wp.com/mypullzone-9vexd6dl53at.netdna-ssl.com/wp-content/uploads/2016/10/pav-bhaji-recipe-step-by-step-instructions.jpg?fit=750%2C626&ssl=1");
  background-size: cover;
  height: inherit;
  background-position-x: -23px;
}
.item4 {
  background: url("http://cdn2.foodviva.com/static-content/food-images/north-indian-recipes/alu-paratha-recipe/alu-paratha-recipe.jpg");
  background-size: cover;
  height: inherit;
  background-position-x: -51px;
  background-position-y: 8px;
  margin-bottom: 20px;
}

.item5 {
  background: url("http://scibosnian.com/wp-content/uploads/2017/07/Roast_Chicken_9.jpg");
  background-size: cover;
  height: inherit;
  background-position-x: -62px;
  background-position-y: 6px;
  text-align: center;
}
.item6 {
  background: url("https://thumbs.dreamstime.com/b/chicken-tikka-indian-tandoori-snack-prepared-57213751.jpg");
  background-size: cover;
  height: inherit;
  background-position-x: -11px;
  background-position-y: 1px;
}
.item7 {
  background: url("https://yummyindiankitchen.com/wp-content/uploads/2017/04/chilli-chicken-dry-how-to-make-chilli-chicken-e1494749730184.jpg");
  background-size: cover;
  height: inherit;
  background-position-x: -62px;
}
.item8 {
  background: url("https://food.fnr.sndimg.com/content/dam/images/food/fullset/2012/11/12/0/FN_Aaron-McCargo-Jr-Buffalo-Chicken-Cheese-Balls_s4x3.jpg.rend.hgtvcom.826.620.suffix/1382541971452.jpeg");
  background-size: cover;
  height: inherit;
  background-position-y: 8px;
  margin-bottom: 20px;
  text-align: center;
}

.item9 {
  background: url("https://images.unsplash.com/photo-1513558161293-cdaf765ed2fd?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&w=1000&q=80");
  background-size: cover;
  height: inherit;
  background-position-y: -78px;
  text-align: center;
}
.item10 {
  background: url("https://recipesfromapantry.com/wp-content/uploads/2018/06/Non-alcoholic-Sangria-5.jpg");
  background-size: cover;
  height: inherit;
  background-position-x: -11px;
  background-position-y: 1px;
}
.item11 {
  background: url("https://homecookingmemories.com/wp-content/uploads/2018/03/Cherry-Shirley-Temple-Mocktail-Recipe-14.jpg");
  background-size: cover;
  height: inherit;
  background-position-x: -62px;
}
.item12 {
  background: url("https://i.pinimg.com/originals/15/a2/26/15a226712ca04cd05bbd773fcfa763c0.jpg");
  background-size: cover;
  height: inherit;
  background-position-y: 8px;
  margin-bottom: 20px;
  text-align: center;
}

.item13 {
  background: url("https://www.maggime.com/sites/default/files/recipes/en/Chicken-Biryani.jpg");
  background-size: cover;
  height: inherit;
  text-align: center;
}
.item14 {
  background: url("https://recipes.timesofindia.com/photo/53205522.cms");
  background-size: cover;
  height: inherit;
  background-position-x: 1px;
  background-position-y: 1px;
}
.item15 {
  background: url("https://i.ndtvimg.com/i/2016-11/dal-makhani_620x350_41478501912.jpg");
  background-size: cover;
  height: inherit;
  background-position-x: -83px;
}
.item16 {
  background: url("https://assets.kraftfoods.com/recipe_images/opendeploy/173356_640x428.jpg");
  background-size: cover;
  height: inherit;
  background-position-y: 8px;
  background-position-x: -48px;
  margin-bottom: 20px;
  text-align: center;
}

.item17 {
  background: url("https://www.saveur.com/sites/saveur.com/files/styles/1000_1x_/public/images/2015/11/sicilian-vanilla-gelato-2000x1500.jpg?itok=8mGNSMAm&fc=50,50");
  background-size: cover;
  height: inherit;
  text-align: center;
}
.item18 {
  background: url("https://www.meals.com/imagesrecipes/18484lrg.jpg");
  background-size: cover;
  height: inherit;
  background-position-x: 1px;
  background-position-y: 1px;
  text-align: center;
}
.item19 {
  background: url("https://img.theculturetrip.com/840x440/smart//wp-content/uploads/2016/12/8726079933_c113059090_k1.jpg");
  background-size: cover;
  height: inherit;
  background-position-x: -83px;
  text-align: center;
}
.item20 {
  background: url("https://img.taste.com.au/JRBdvmCl/taste/2016/11/chocolate-and-ginger-baked-puddings-29817-1.jpeg");
  background-size: cover;
  height: inherit;
  background-position-y: 8px;
  background-position-x: -48px;
  margin-bottom: 20px;
  text-align: center;
}

.btn .itemContainer {
  background: rgba(1, 1, 1, 0.4);
  width: inherit;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  height: inherit;
}

.btn .itemContainer label {
  font-size: 2rem;
  font-family: fantasy;
  color: white;
}
.btn .itemContainer > .itemOnHover {
  transform: scale(0, 0);
  position: absolute;
  width: inherit;
  height: inherit;
  z-index: 1;
}

.itemsDetails p {
  padding: 1em;
  text-align: center;
}

/*Hover Logic is here*/
.btn .itemContainer:hover > .itemOnHover {
  transform: scale(1, 1);
  background: inherit;
  z-index: 101;
  transform-origin: center;
}
.btn .itemContainer:hover > label {
  display: none;
}

.addtocart {
  position: relative;
  display: flex;
  justify-content: center;
  width: inherit;
  cursor: pointer;
  font-size: 1em;
  color: white;
  font-family: fantasy;
  padding: 0.6em;
  top: 2em;
  letter-spacing: 0.8px;
  background: linear-gradient(360deg, #f35a02, #f86300);
}

.items {
  display: flex;
  flex-direction: row;
}

.items {
  margin-right: 0 !important;
}

.items {
  margin-right: 2em;
  padding: 0.5em 0 0.5em 0;
  background: linear-gradient(270deg, #ffbe00, #dbc928);
  width: 6em;
  border-radius: 30em;
  text-align: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  font-size: 2rem;
  transform: scale(0.8, 0.8);
  transition: transform cubic-bezier(0.39, 0.575, 0.565, 1) 0.44s;
}

.items:hover {
  transform: scale(1, 1);
  transition: transform cubic-bezier(0.39, 0.575, 0.565, 1) 0.44s;
}

.items a {
  text-decoration: none;
  color: inherit;
}

#tableheading {
  text-align: center;
  padding-bottom: 30px;
  font-size: 3vmax;
  letter-spacing: 1px;
  color: #ffff;
}

#opaque {
  background: rgba(1, 1, 1, 0.4);
  width: inherit;
}

.cart {
  width: 100%;
  text-align: center;
  font-size: 40px;
  border-collapse: collapse;
  opacity: 0.5;
  background: #ffff;
  border-spacing: 0;
}

table {
  border-radius: 20px !important;
}
.cart tr {
  border: 2px solid black;
}

.cart td {
  padding-bottom: 20px;
}
.cart ul {
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  font-size: 30px;
}

.tablecontainer {
  width: inherit;
  height: inherit;
}

#dynamic-list {
  list-style: none;
  position: relative;
}
#dynamic-list > li {
  position: relative;
  width: 95%;
}
.removeclass {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 1px solid black;
  border-radius: 10px;
  right: -3%;
  top: 6%;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: white;
  background-color: rgb(178, 34, 34);
}
.priceclass {
  position: absolute;
  left: 43.5em;
}
