.food {

    font-family: Arial, sans-serif;
    background-color: #ff5252;
    color: white;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1;

    
}
.design{
  margin-left:75%;
  color: aliceblue; 
   font-size: 30px;
}
.container{
 
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
 gap: 25px;
 text-align: center;
  
}

.item {
  padding: 10px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25); 
  background-color: aliceblue;
height: 230px;
width: 230px;
position: relative;
  
}
body{
  background-color:rgb(56, 55, 55) ;
  color: rgb(1, 4, 7);
}
.pic:hover{
  transition: 0.4s ease;
  transform: scale(1.15);
  object-fit: cover;
}
.pic{
    height: 150px;
    width:150px;
}
.in{
  margin-left: 80%;
  height: 30px;
  width: 30px;
  
}
.icon-box{
  position: absolute;
   bottom: 10px;
  right: 10px;
  width: 67px;
  height: 67px;
  margin-left: 82%;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
  
}

.icon-box i{
  font-size: 30px;
 
}
.icon-box.white {
  background: #1a9138;
  color: #000;
  transition: 0.2s ease;
  cursor: pointer;
}
.icon-box.white:active {
  background-color: #ff5252;
  transform: scale(1.1);
}

.icon-box.white:active i {
  color: white;
}

.p{
  margin-right: 50%;
  display: inline-block;
}
#cart {
  position: fixed;
  top: 0;
  right: -100%;   
  width: 25%;
  height: 100vh;
  background-color: white;
  color: black;
  transition: right 0.4s ease;
  z-index: 2;
  padding: 20px;
  overflow-y: auto;    
  overflow-x: hidden
}
#cart.show {
  right: 0;
}
#close-cart {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: none;
  background: black;
  color:white;
  font-size: 18px;
  cursor: pointer;
  margin-left: 80%;
}

#close-cart:hover {
  background: #ff5252;
}
.cart-title {
  text-align: center;
  margin-top: 40px;
}
.cart-total{
  justify-content: space-between;
  font-size: 18px;
  font-weight: bold;
  margin-left: 58%;
}
.title {
  position: absolute;
  bottom: 30px;
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#place-order {
  background-color: #000;
  color: aliceblue;
  border: none;
  padding: 10px 10px 10px;
  border-top-left-radius: 15px;
  border-bottom-right-radius: 15px;
  height:50px;
  font-size: 15px;
  cursor: pointer;
  margin-left: 20px;
  left: 50%;
  transition: 0.2s;
}

#place-order:hover {
  background-color: #ff5252;
  cursor: pointer;
  transform: scale(1.1);
}
.cart-total {
  font-size: 18px;
  font-weight: 500;
}
.cart-total span:last-child {
  margin-left: 8px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 15px;
  border: 2px solid black;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  position: relative;   
}


.cart-item img {
  width: 110px;
  height: 110px;
  border-radius: 10px;
  object-fit: cover;
}

.cart-details {
  flex: 1;
}

.cart-details h4 {
  margin: 0;
  font-size: 16px;
}

.cart-details p {
  margin: 5px 0;
  font-weight: bold;
}


.cart-actions input {
  width: 5px;
  height: 5px;
  font-size: 11px;
  padding: 0;
  text-align: center;
}
.cart-actions {
  position: absolute;
  top: 10px;
  right: 12px;
}


.remove-item {
  cursor: pointer;
  font-size: 21px;
  color:black;
 
}
.remove-item:hover {
  color: red;
}
.cart-details input {
  width: 45px;
  height: 28px;
  font-size: 14px;
  text-align: center;
  padding: 2px;
}
body{
  padding-top:40px ;
}

