*{
  padding: 0;
  margin: 0;
}

body{
  overflow-x: hidden;
}

.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: #ccc;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 40s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee span {
  font-size: 16px;
  font-weight: 500;
}

nav {
  top: 0;
  left: 0;
  width: 100%;
  height: 10vh;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 2;
  backdrop-filter: blur(5px);
}

.nav-items a:hover{
  transform: scale(1.1);
}

.logo {
  cursor: pointer;
  color: #ccc;
  transition: all ease .25s
}

.logo:hover {
  font-size: 27px;
  color: #fff;
}

.nav-items {
  user-select: none;
}

.nav-items a{
  color: black;
  text-decoration: none;
  font-size: larger;
  font-weight: 600;
  margin-inline-start: 20px;
  transition: all ease .25s;
}

.nav-items li:hover{
  transform: scale(1.1);
}

nav img{
  height: 190px;
  width: 210px;
}

.nav-items .cart{
  font-weight: bold;
  font-size: large;
  margin-left: 10px;
}

.bigdiv{
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  width: 100%;
  background-color: whitesmoke;
}

.main-div{
  margin-top: 30px;
  border: 1px solid white;
  background-color: white;
  display: flex;
  flex-direction: column;
  height: auto;
  width: 1000px;
}

.cart-header {
  display: flex;
  flex-direction: column;   /* Stack h1 and button */
  align-items: flex-start;    /* Align them to the right */
  width: 900px;             /* Same as cart-container/cart-item */
  margin: 20px auto 0 auto; /* Center the block horizontally */
}

.cart-header h1 {
  font-size: 28px;
  font-family: ital;
  font-weight: 400;
  margin-bottom: 8px;
}

.cart-header button {
  padding: 6px 12px;
  font-size: 14px;
  background-color: white;
  color: black;
  font-family: ital;
  border: 1px solid black;
}

.cart-header button:hover{
  background-color: black;
  color: white;
  transition: all 0.4s ease;
}

.cart-container{
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
}

.cart-item{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-self: center;
  background-color: white;
  margin: 22px 10px;
  padding: 20px 14px;
  border: 1px solid black;
  border-radius: 12px;
  box-shadow: 4px 4px 20px -2px grey;
  width: 900px;
}

.cart-item img{
 width: 70%;
 border-radius: 12px;
 box-shadow: 4px 4px 20px -2px grey;
 margin-left: 10px;
}

.cart-info{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-info p{
  margin: 5px 0px;
}

.cart-info p{
  font-family: ital;
  font-weight: 400;
}

.cart-info .removeitem{
  height: 30px;
  width: 90px;
  background-color: white;
  color: color;
}

.cart-info .removeitem:hover{
  background-color: black;
  color: white;
  transform: all 0.4s ease;
}

.pitch{
  display: flex;
  flex-direction: column;
} 

.pitch .instock{
  font-family: ital;
  font-weight: bold;
  color: black;
  font-size: 15px;
  margin-bottom: 10px
}

.pitch .pitchp{
  font-family: ital;
  font-weight: bold;
  color: red;
  font-size: 15px;
  margin-bottom: 7px;
}

.pitch .cashback{
  font-family: ital;
  font-weight: bold;
  font-size: 15px;
}

.quantitymain{
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.quantitymain .quantitytext{
  font-family: ital;
  font-weight: 400;
  margin-top: 3px;
}

.quantitymain input[type="number"]{
  text-align: center;
  width: 40px;
  height: 30px;
}

.checkout-btncont{
  height: 8vh;
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.checkoutbtn{
  width: 90%;
  height: 70%;
  border: 1px solid black;
  font-family: ital;
  font-size:larger;
  background-color: white;
  color: black;
}

.last{
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  margin-bottom: 30px;
}

.last .lastp{
  width: 1000px;
}

.emptycart{
  margin-top: 10px;
  margin-bottom: 10px;
}

.footmain{
  height: 40vh;
  width: 100vw;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 100px;
  clear: both;
}

.footmain .foot{
  height: 30vh;
  width: 30%;
}

.footmain .footmainfirst{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  margin-left: 30px;;
}

.footmain .footmainsecond{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.footmain .footmainthird{
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

.footmainsecond a{
  margin-bottom: 3px;
}

.footmainthird a{
  padding-bottom: 3px;
}

.footmain .footh3{
  font-size:medium;
  font-weight: 500px;
  margin-bottom: 10px;
}

.footmainfirst .footh3desc{
  font-size: 14px;
}

.footmain a{
  text-decoration: none;
  color: black;
  font-family: itell;
}

.footbody{
  height: 2vh;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 8px;
}

.footend{
  display: flex;
  justify-content: center;
}

.footend img{
  width: 150px;
  height: 100px;
}

@media (max-width: 768px) {
  .footmain{
    display: flex;
    flex-direction: column;
    margin-top: 40px;
  }

  .footmain .footmainfirst{
    height: 10vh;
    width: 88%;
    align-items: start;
  }

  .footmain .footmainsecond{
    height: 10vh;
    width: 80%;
    align-items: start;
  }

  .footmain .footmainthird{
    height: 10vh;
    width: 80%;
    align-items: start;    
  }

  .footbody{
    margin-top: 150px;
  }
}