*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family:"Roboto", sans-serif;
}
html,body{
   height: auto;
    background-color: black;
}
#cart-count{
    position: absolute;
    background-color: red;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 15px;
    padding-top: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 73%;
    color: white;
    right: -13px;
}
section{
    height: 100vh;
    background-color: black;
}
.menu{
    background-color: black;
}
.menu .menu-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    gap: 20px;
    margin: 30px auto;
}
.menu .menu-btn span{
    border: 1px solid red;
    padding: 10px 30px;
    cursor: pointer;
    border-radius: 20px;
    font-weight: 500;
    font-size: 20px;
 
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    z-index: 1;
}
.menu .menu-btn span::before{
    content: '';
    position: absolute;
    width: 100%;
    background-color: red;
    color: white;
    top: 0;
    right: 0;
    z-index: -1;
    border-radius: 20px;
    height: 0%;
    transition: all 0.4s ease;
    border: none;
}

.menu .menu-btn span:hover::before{
    height: 100%;
}
.menu-btn .btn.active{
    background-color: red;
    color: white;
}
.menu .box{
padding: 20px auto;
display: grid;
padding-top: 20px;
padding-bottom: 40px;
gap: 28px;
padding-left: 60px;
grid-template-columns: 30% 30% 30%;
}
.menu .box .box-container{
border: 1px solid gray;
flex-basis: 50%;
flex-wrap: wrap;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
position: relative;
z-index: 1;
animation: scaAnimation 0.4s ease; 
transition: all 0.3s ease;
}
@keyframes scaAnimation{
    from{
        transform: scale(0);
    }
    to{
        transform: scale(1);
    }
}
.menu .box .box-container::before{
content: '';
position: absolute;
left: 0;
width: 100%;
height: 0%;
z-index: -1;
background-color: white;
top: 0;
color:white !important;
transition: all 0.6s ease;
}

.menu .box .box-container:hover > *{
color: #13131a !important ;
}
.menu .box-container button:hover{
    color: white !important;
}
.menu .box .box-container:hover::before{
    height: 100%;
    
    }
.menu .box .box-container .menu-img{
width: 180px;
height: 180px;
}
.menu .box .box-container img{
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
}
.menu .box .box-container h3{
padding-top: 10px;
font-size: 22px;
color: white;
}
.menu .box .box-container .price{
font-size: 21px;
color: white;
padding-top: 10px;
}
.menu .box .box-container .price span{
text-decoration: line-through;
padding-left: 10px;
}
.menu .box .box-container button{
    border: 1px solid red;
    padding: 9px 30px;
    cursor: pointer;
    color: white !important;
    border-radius: 20px;
    background-color: red;
    font-weight: 500;
    font-size: 20px;
    
    margin-top: 15px;
    position: relative;
    transition: all 0.4s ease;
   
}
.menu-btn .box .box-container button:hover{
    color: white !important;
    z-index: -1;
}
.box .box-container.hide{
    display: none;
  }
  .box .box-container.show{
    animation: animate 0.4s ease;
  }
  @keyframes animate {
    0%{
      transform: scale(0.5);
    }
    100%{
      transform: scale(1);
    }
  }

  #cart-section {
    padding: 20px;
    background-color:black;
    color: white;
    border-radius: 10px;
    margin: 20px;
    display: none;
}
#add,#remove{
    color: red;
    padding: 5px 8px;
    
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 3px;
}
#delete{
    padding: 5px 9px;
    border: none;
    border-radius: 5px;
    color: red;
    margin: 0 3px;
    cursor: pointer;
    font-size: 19px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th{
    background-color: red;
}
tr th,h5{
    font-size: 21px;
}
th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
}
#cart-summary {
    margin-top: 20px;
    font-size: 18px;
}
input[type="number"] {
    width: 50px;
    text-align: center;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 0 5px;
}

#cart-items tr td[colspan="5"] {
    font-size: 18px;
    color: #888;
    padding: 20px;
}

.cart-summary-container {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    gap: 20px;
    margin-bottom: 0px;
    
}

.cart-total, .coupon-box {
    width: 48%;
    color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding-bottom: 20px;
    background-color: black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.coupon-box p{
    margin-block: 20px;
    padding-left: 16px;
}
.cart-total h5, .coupon-box h5 {
    font-size: 20px;
    margin-bottom: 15px;
    padding: 5px 15px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    color: white;
    height: fit-content;
    background-color: red;
}
.cart-total .first{
    display: flex;
    margin-top: 20px;
    padding: 2px 16px 5px 16px;
    justify-content: space-between;
}
.line{
    margin-top: 19px;
}
.cart-total .first:first-child{
    margin-top: 15px;
}
.cart-total .first p,
.cart-total .first h6{
    font-size: 17px;
}
#coupon-code {
    width: 50%;
    margin-left: 16px;
    border: 1px solid white;
    padding: 8px 7px;
    padding-left: 10px;
    margin-top: 5px;
    border-radius: 3px;
    color: black;
    font-size: 17px;
}
.btn-apply,.btn-proceed{
    background-color: red;
    color: white;
    cursor: pointer;
    border: none;
    outline: none;
    margin-left: 20px;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 560;
    transition: 0.4s ease;
}
.btn-proceed{
    float: right;
    margin-top: 20px;
    margin-bottom: 10px;
    margin-right: 16px;
}
.btn-apply:hover,.btn-proceed:hover{
    background-color: orangered;
}
footer{
    position: static;
}
footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.empty-cart {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    flex-direction: column;
    position: relative;
    text-align: center;
}
.empty-cart img{
    height: 170px;
    width: 170px;
    border-radius: 5px;
    object-fit: cover;
}
#em-cart{
    position: absolute;
    top: 60%;
    left: 59%;
}
.empty-cart h2 {
    font-size: 24px;
   margin-top: 30px;
    color:aliceblue;
    margin-bottom: 30px;
}
.empty-cart button a{
    text-decoration: none;
    color: white;
}
.empty-cart button{
    border: none;
    padding: 9px 30px;
    cursor: pointer;
    color: white;
    border-radius: 20px;
    background-color: red;
    font-weight: 500;
    font-size: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    transition: all 0.4s ease;
    z-index: 1;
}
.empty-cart button:before{
    content: '';
    position: absolute;
    width: 100%;
    background-color: white;
    border: none;
    color: black;
    top: 0;
    right: 0;
    z-index: -1;
    border-radius: 20px;
    height: 0%;
    transition: all 0.4s ease;
    border: none;
}
.empty-cart button:hover a{
    color: black !important;
}
.empty-cart button:hover::before{
    height: 100%;
}
.btn-go-back {
    padding: 10px 20px;
    font-size: 18px;
    background-color: #ff5f5f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-go-back:hover {
    background-color: #ff3b3b;
}
