html{
  box-sizing: border-box;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 14px;
  margin: 0px;
  padding: 0px;
}

body{
  background-image: linear-gradient(to bottom right,#e66465, #9198e5);
  background-repeat: repeat;
  min-height: 100vh;
  height: 100%;
  margin: 0px;
  padding: 0px;
}

a{
  text-decoration: none;
}

p{
  margin: 10px;
}

nav{
  align-items: center;
  background-color: rgba(255,255,255,0.4);
  box-shadow:  5px 5px 10px rgb(124, 100, 100);
  display: flex;
  height: 80px;
  justify-content: space-around;
  margin: 0px;
}

.logo a{
  color: #9f259b;
  text-shadow: 2px 2px 2px rgb(189, 145, 177);
  font-size: 32px;
  font-weight: 700;
}

.menu a {
  color:#bf479b;
  margin: 0px 10px;
  transition: all 0.5s;
}

.menu a:hover{
  color:#791f5e;
  font-weight: 700;
 transition: all 0.5s;
}

.mobile_button{
  display: none;
}

.mobile_menu{
  display:  none;
}

.hero{
  padding: 30px 0px;
}

header{
  color: rgba(255, 255, 255, 0.462);
  font-size: 28px;
  text-align: center;
}

.container{
  display: flex;
  margin: auto;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 90%;
}

.box{
  background-color: rgba(255, 255, 255, 0.462);
  border-radius: 5px;
  margin: 0px 10px 20px 10px;
  padding: 25px;
  text-align: center;
}

.box_shop{
  padding: 25px 25px 0px 25px;
}

.box img{
  border-radius: 5px;
  height: 180px;
}


.box .product_name{
  font-size: 22px;
}

.btn{
  background-color: #a35aa1;
  border: none;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  height: 36px;
  margin: 15px;
  padding: 10px 15px;
  transition: all 0.5s;
}

.btn:hover{
  cursor: pointer;
  background-color:  #9f259b;
  color: rgba(255, 255, 255);
  transition: all 0.5s;
}


.add_to_cart_btn{
  margin: 0px 15px 15px 15px;
}

.product_info{
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.product_info p{
  margin: 10px 0px;
}

/* add product to base */
.field{
  color: rgb(67, 64, 64);
  justify-content:flex-start;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  margin: 20px 0px;
  text-align: left;
  width: 450px;
  min-width: 200px;
}


.field input{
  background-color: white;
  border: none;
  border-radius: 5px;
  height: 20px;
  outline: none;
  padding: 12px 0px 8px 10px;
  width: 100%;
}

input::file-selector-button{
  display: none;
}

/* input[type=file]{
 padding: 10px;
} */

.btn_add_to_base{
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  outline: none;
}

/* view products */
table, td, th{
  border: 2px solid rgb(184, 109, 109);
  border-collapse: collapse;
}

th {
  padding: 10px 8px;
}

td {
  padding: 10px 30px;
}

.box .thumbnail{
  height: 100px;
}

.icon{
  max-height: 20px;
  margin: 5px;
}

.base_mobile_info{
  display: none;
}

/* edit product */


.btn_cancel{
  background-color: #9a959a;
  border: none;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin: 0px 15px;
  height: 36px;
  padding: 8px 15px;
  transition: all 0.5s;
}

.btn_cancel:hover{
  background-color: #767676;
  transition: all 0.5s;
}

/* cart */

.cart_image_column{
  padding: 10px;
}

.cart_quantity{
  background-color: rgba(255, 255, 255, 0.7);;
  border: none;
  border-radius: 5px;
  font-size: 12px;
  height: 21px;
  padding: 2px;
  width: 51px;

  outline: none;
}

.cart_btn_update{
  background-color: #b07faf;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  font-size: 12px;
  height: 25px;
  margin: 0px 5px;
  width: 55px;
  padding: 0px 2px;
  outline: none;
  transition: all 0.5s;
}

.cart_btn_update:hover{
  cursor: pointer;
  background-color:  #6a3d68;
  color: rgba(255, 255, 255);
  transition: all 0.5s;
}

/* .message_add_cart{
  display: none;
  width: 50%;
} */

.message {
    color: green;
    font-weight: 600;
    margin-bottom: 5px;
    min-height: 25px;
    transition: opacity 0.5s ease;
    opacity: 1;
}

.cart_name{
  font-size: 16px;
  font-weight: 600;
}

.cart_info_column{
  padding: 10px;
  text-align: left;
}

.td_quantity{
  display: flex;
  align-items: center;
}

.cart_remove{
  height: 20px;
}

.cart_total{
  font-weight: 600;
  margin: 10px 0px;
}

.cart_remove_icon{
  margin: 0px;
}

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

.box_cart a{
  height: auto;
}

@media screen and (max-width: 576px){
  .logo a{
  font-size: 20px;
}

  .menu{
    display: none;
  }

  .mobile_button{
    display: block;
  }

  .mobile_button img{
      height: 25px;
  }

  .mobile_menu{
    display: none;
  }

  .mobile_menu.show{
    background: #e7abadff;
    box-shadow:  5px 5px 10px rgb(124, 100, 100);
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    padding: 10px 0px;
    width: 100vw;
  }

  .mobile_menu a{
    margin: 10px 20px;
  }

  .field{
  width: 100%;
}
 
  .base_name_id{
    display: none;
  }

  .base_name_column{
    display: none;
  }

  .base_price_column{
    display: none;
  }

  .base_mobile_info{
  display: block;
}

.cart_quantity{
  width: 20px;

}
