@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css);

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Padauk:wght@400;700&family=Red+Hat+Display&family=Roboto+Condensed:wght@300;700&display=swap");

* {
  font-family: "Roboto Condensed", "Padauk", sans-serif;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 25px;
}

:root {
  --primary: #2d6cdf;
  --secondary: #581b98;
  --danger: #fc5c9c;
  --dark: #000000;
}

body {
  padding: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
}

.title {
  font-size: 20px;
  font-weight: 600;
  margin: 10px;
}

.sub-title {
  font-size: 20px;
  font-weight: 400;
  margin: 5px;
}

.btn {
  font-size: 12px;
  padding: 10px 20px;
  color: white;
  border-radius: 5px;
}

.button-primary {
  background-color: var(--primary);
  border: 1px solid var(--primary);
}

.button-secondary {
  background-color: var(--secondary);
  border: 1px solid var(--secondary);
}

.button-danger {
  background-color: var(--danger);
  border: 1px solid var(--danger);
}

.button-dark {
  background-color: var(--dark);
  border: 1px solid;
}

.button-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.button-outline-secondary {
  border: 2px solid var(--secondary);
  color: var(--secondary);
  background-color: transparent;
}

.button-outline-danger {
  border: 2px solid var(--danger);
  color: var(--danger);
  background-color: transparent;
}

.button-outline-dark {
  border: 2px solid var(--dark);
  color: var(--dark);
  background-color: transparent;
}

.box {
  padding: 20px;
  border: 3px solid gray;
  border-radius: 10px;
  margin: 10px auto;
  max-width: 600px;
  
}

.btn-icon {
  padding: 0;
  width: 38.67px;
  height: 38.67px;
}

.rounded-circle {
  border-radius: 50%;
}

.btn-pill {
  border-radius: 20px;
}

/* end of style for buttons */

/* beginning of style for table */

table {
  border: 2px solid gray;
  border-collapse: collapse;
  vertical-align: top;
  text-align: left;
  font-size: 12px;
  width: 100%;
}

table td,
th {
  border: 2px solid gray;
  padding: 10px 20px;
}

.vertical-align-middle {
  vertical-align: middle;
}

.vertical-align-bottom {
  vertical-align: bottom;
}

.text-align-right {
  text-align: right;
}

.borderlessTable {
  border: none;
}
.borderlessTable td,
th {
  border: none;
}

.table-strip thead {
  background-color: rgb(89, 89, 89);
  color: white;
}

.table-strip tbody tr:nth-child(even) {
  background-color: lightgray;
}

@media print {
  .title {
    display: none;
  }

  * {
    color: red;
    background-color: transparent;
  }

  .table-strip tr {
    background-color: none;
  }
}

/* start of style for list */

.list {
  padding: 10px 20px;
  list-style-type: none;
}

.list li {
  padding: 5px 10px;
  border: 1px solid gray;
  cursor: pointer;
}

.simple-list li:first-child {
  border-radius: 5px 5px 0 0;
}

.simple-list li:last-child {
  border-radius: 0 0 5px 5px;
}

.simple-list li:nth-child(even) {
  background-color: gray;
  color: white;
}

.list li:hover {
  background-color: rgb(87, 87, 87);
  color: white;
}

.nav-list li {
  display: inline-block;
  border-radius: 3px;
  border: none;
}

.nav-list li:hover {
  border-bottom: 2px solid black;
  background-color: blue;
  color: white;
}

@media (max-width:540px ) {
  .nav-list li {
    display: block;

  }
}

/* start of style for card */

.card {
  width: 300px;
  border: 1px solid gray;

}

.card img {
  width: 100%;
}

.card-body {
  padding: 15px;
}

.product-title {
  margin-bottom: 10px;
}

.price {
  font-weight: 700;
  margin: 10px 0;
}

.price span {
  font-size: 25px;
}

.product-rating {
  color: rgb(211, 185, 35);
}

.card-body p {
  text-align: justify;
  margin: 10px 0;
  
}

.add-to-cart-btn {
  width: 100%;
  background-color: var(--primary);
  border: 1px solid var(--primary);
  color: white;
  cursor: pointer;
  border-radius: 3px;
}