/* To animate the bakground */
@keyframes bg-animation {
    from {
        background-color: white;
    }

    to {
        background-color: aliceblue;
    }
}

/* The animation is applied to the body background */
body {
    width: 100px;
    height: 100px;
    background-color: aliceblue;
    animation-name: bg-animation;
    animation-duration: 4s;
    text-align: center;

}
/* nav starts */
.navbar .nav-item:not(:last-child) {
    margin-right: 35px;
  }
  
  .dropdown-toggle::after {
     transition: transform 0.15s linear; 
  }
  
  .show.dropdown .dropdown-toggle::after {
    transform: translateY(3px);
  }
  
  .dropdown-menu {
    margin-top: 0;
  }
/*Image slideshow starts here */

.slideImg {
        width: 100%;
    }
.height {
        height: 10px;
    }

/* Image-container design */
.image-container {
    max-width: 100%;
    position: relative;
    margin: auto;
}
       
.next {
    right: 0;
}
 .previous {
     left: 0;
 }      
/* Next and previous icon design */
.previous,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 10px;
    margin-top: -25px;
}
       
/* caption decorate */


.fa {
    font-size: 32px;
}
       
.fa:hover {
    transform: rotate(360deg);
    transition: 1s;
    color: white;
}
       
.footerdot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbbbbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.5s ease;
}
       
.active,
.footerdot:hover {
    background-color: black;
}
/* Button */
.divBtn {
    margin: 2px;
    padding: 3px;
    
}
/* HEADERS */
h1 {
    text-align: center;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}
h2 {
    color:rgb(35, 35, 70);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
h3 {
    text-align: center;
}

H4 {
    color: white;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;

}

p {
    text-align: center;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}


.greyfont {
    color: rgb(44, 43, 43);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: left;
}
.greyfont2 {
    color: rgb(44, 43, 43);
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-style: italic;
    text-align: left;
}

.Name {
    color: darkred;
    font-weight: bold;
}
/* The filter is added here */

.ifilter {
    filter: contrast(120%);

}

.table {
    background: darkorange;
    border: 1px solid;
    padding: 2px;
}
/* I centered the image as below */

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 0%;
    width: 100%;
}

#slide {
    padding: 1rem;
    width: 100%;
    height: auto;


}



img {
    border: 1px solid;
    padding: 2px;
}

.col-6 {
    background-color: dimgray;
    padding-top: 0rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    margin: auto
}

.black-box {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: ghostwhite;
    font-size: large;
    text-align: left;
}


#morebutton {
    text-align: center;
}
/* Style the container with a rounded border, grey background and some padding and margin */
.containerR {
    border: 2px solid #ccc;
    background-color: #eee;
    border-radius: 5px;
    padding: 16px;
    margin: 16px 0;
  }
  
  /* Clear floats after containers */
  .containerR::after {
    content: "";
    clear: both;
    display: table;
  }
  
  /* Float images inside the container to the left. Add a right margin, and style the image as a circle */
  .containerR img {
    float: left;
    margin-right: 20px;
    border-radius: 50%;
  }
  
  /* Increase the font-size of a span element */
  .containerR span {
    font-size: 20px;
    margin-right: 15px;
  }
  
  /* Add media queries for responsiveness. This will center both the text and the image inside the container */
  @media (max-width: 500px) {
    .containerR {
      text-align: center;
    }
  
    .containerR img {
      margin: auto;
      float: none;
      display: block;
    }
  }

.containerF {

    border-style: solid;
    border-width: 1px;
    border-radius: 15px;
    margin-inline: 1px;
    padding: 2px;

}

.Sform {
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    border-color: darkgray;
    padding: 7px
}

a {
    color: darkgrey
}


.form-group {
    text-align: left;
}

.top_div {
    height: 100px;
    padding: 50px;
    color:#333
}


/* cart system starts here:
*/

    
  
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
::selection{
  color: #fff;
  background: #57a6f0;
}

.wrapper{
  position: relative;
  max-width: 1130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
}
.wrapper .cart-nav{
  position: absolute;
  right: 0;
  left: 170px;
  top: -35%;
  width: 130px;
  background: #fff;
  padding: 13px 15px;
  border-radius: 3px;
  display: flex;
  cursor: pointer;
  justify-content: space-evenly;
  box-shadow: 3px 3px 8px 0px rgba(0,0,0,0.15);
}
.cart-nav .icon{
  color: #468ee0;
}
.cart-nav .icon i{
  font-size: 20px;
}
.cart-nav .icon span{
  font-weight: 500;
}
.cart-nav .item-count{
  font-size: 15px;
  height: 23px;
  width: 23px;
  color: #4aa7f3;
  background: #ccf1ff;
  text-align: center;
  line-height: 22px;
  border: 1px solid #b3d6ff;
  border-radius: 50%;
}
.wrapper .card{
  position: relative;
  background: #fff;
  border-radius: 3px;
  width: calc(33% - 13px);
  overflow: hidden;
  box-shadow: 4px 4px 10px 0px rgba(0,0,0,0.15);
}
.wrapper .card img{
  width: 100%;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.card:hover img{
  transform: scale(1.1);
}
.wrapper .card .content{
  position: absolute;
  width: 100%;
  bottom: -50%;
  background: #fff;
  padding: 10px 20px 22px 20px;
  box-shadow: 0px -3px 10px 0px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}
.wrapper .card:hover .content{
  bottom: 0;
}
.card .content .row,
.content .buttons{
  display: flex;
  justify-content: space-between;
}
.content .row .details span{
  font-size: 22px;
  font-weight: 500;
}
.content .row .details p{
  color: #333;
  font-size: 17px;
  font-weight: 400;
}
.content .row .price{
  color: #4694ec;
  font-size: 25px;
  font-weight: 600;
}
.content .buttons{
  margin-top: 20px;
}
.content .buttons button{
  width: 100%;
  padding: 9px 0;
  outline: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  border-radius: 3px;
  border: 2px solid #39a2df;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.buttons button:first-child{
  color: #41a9ee;
  margin-right: 10px;
  background: #fff;
}
button:first-child:hover{
  color: #fff;
  background: #3a80db;
}
.buttons button:last-child{
  color: #fff;
  margin-left: 10px;
  background: #3a80db;
}
button:last-child:hover{
  background: #2d7de6;
  border-color: #2d7de6;
}

/* Cart system stops
*/

/*----- Cart Page ------*/

.products-container {
  max-width: 650px;
  justify-content: space-around;
  margin-top: 50px;
  margin:  0 auto;

}





.product-header {
  width: 100%;
  max-width: 650px;
  display: flex;
  justify-content: flex-start;
  border-bottom: 4px solid lightgrey;
  margin: 0 auto;

}

.product-title {
  width: 45%;
  padding: 10px 0;
  
}

.crtPrice {
  display: flex;
  justify-content: flex-end;
 
  width: 100%;
  padding: 10px 0;
}


.quantity {

  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding: 10px 0;
}

.total {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding: 10px 0;

}

.product {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding: 10px 0;

}

.product img{
  width: 75px;
}

.basketTotalContainer {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding: 10px 0;

}
.basketTotalTitle {
  width: 30%;
}
.basketTotal {
  width: 10%;
}

.discountTotalContainer {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding: 10px 0;

}
.discountTotalTitle {
  width: 30%;
}
.discountTotal {
  width: 10%;
}

footer {
    font-family: Arial, Helvetica, sans-serif;
}

.footer-img {
    width: 40px; height:40px;
}