@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

/*Navbar*/
body::-webkit-scrollbar {
  display: none;
}

.navbar {
  display: flex;
  height: 90px;
  color: rgb(253, 253, 253);

  background-color: rgb(12, 12, 12);
  font-size: 15px;
}
.logo {
  max-width: 100%;
  height: 80px;
  width: 90px;
  margin-left: 15px;
}
a.btn-nav:hover {
  color: rgb(175, 175, 175);
}
.navbar-toggler-icon {
  background-color: gray;
  border-radius: 8px;
}

.cart-icon {
  position: relative;
}
.cart-icon i {
  cursor: pointer;
}

.cart-icon i:hover {
  color: #a2a2a2;
}
.cart-icon span {
  background-color: #aa0000;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  position: absolute;
  right: 14px;
  top: 7px;
}

/*Carrinho*/
.offcanvas {
  box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
  border-top-left-radius: 7px;
}
.offcanvas-body {
  background: rgb(234, 229, 229);
  padding: 10px;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cart-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 1px solid #a2a2a2;
  background-color: white;
  border-radius: 5px;
  padding: 6px 5px;
  margin-top: 5px;
  margin-bottom: 10px;
}
.cart-image {
  width: 30%;
  height: 30%;
  align-items: center;
}

.cart-item-description {
  font-size: 11px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  overflow: hidden;
  -webkit-box-orient: vertical;
}
.cart-quantity-selector {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.cart-item-quantity {
  width: 10%;
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 700;
  display: inline-block;
  text-align: center;
}
.cart-quantity-selector i {
  border-radius: 50%;
  border: solid 1px black;
  font-size: 15px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
}
.cart-quantity-selector i:hover {
  background-color: #e6e5e5;
}

.cart-item-price {
  font-size: 13px;
  font-weight: bold;
}

.btn-remove i {
  border-radius: 50%;
  border: solid 1px black;
  font-size: 13px;
  width: 21px;
  height: 21px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
}
.btn-remove i:hover {
  background-color: #e6e5e5;
}
.offcanvas-footer {
  width: 100%;
  margin-top: 10px;
}
.total-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid rgb(187, 187, 187);
  border-radius: 5px;
  padding: 10px 10px;
  font-weight: 600;
}
.total-amount h6 {
  margin: 0;
  font-weight: 600;
}
.btn-cart {
  width: 50%;
  margin-top: 10px;
}

/*Carrossel*/
.carousel {
  margin-top: 70px;
}

.d-block {
  width: 100%;
  height: 270px;
  background-position: center !important;
  background-repeat: no-repeat;
  object-fit: cover;
}

/*Área dos produtos*/

.main-products {
  background: rgb(246, 241, 241);
}

.container-products {
  display: flex;
  flex-wrap: wrap;
}

.product {
  padding: 10px;
  margin: 15px;

  background-color: white;
  border-radius: 2%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: solid 1px rgb(241, 241, 241);
  transition: box-shadow 0.5s;
}

.product:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.image-products {
  width: 100%;
}
.item-description {
  font-size: 12px;
  font-weight: 600;
  width: 200px;
}
.price {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  margin-top: 3px;
  color: rgb(223, 22, 22);
}

.button-product {
  margin-top: 2px;
  margin-bottom: 2px;
  width: 100%;
  height: 40px;
}

/*Rodapé*/
.footer {
  background-color: rgb(0, 0, 0);
  color: #ffff;
  padding: 10px;
  font-size: 12px;
}
@media screen and (max-width: 624px) {
  .navbar {
    height: auto;
  }
  .carousel {
    margin-top: 55px;
  }
  .container-products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .cart-icon span {
    left: 45px;
    top: 8px;
  }
  .main-products {
    background: rgb(0, 0, 0);
  }
  .title-product {
    color: #ffff;
  }
}
