* {
  font-family: 'Source Sans Pro', sans-serif;
}

.top-bar {
  align-items: center;
  display: flex;
  height: 100px;
  justify-content: space-around;
  margin-bottom: 10px;
  width: 100%;
}

.top-bar .input-name-group {
  align-items: flex-start;
  display: flex;
}

.top-bar .input-terms-group {
  align-items: flex-start;
  display: flex;
}

.container {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.items {
  display: flex;
  flex-basis: 70%;
  flex-wrap: wrap;
  justify-content: center;
}

.item {
  border: 2px solid gray;
  border-radius: 5px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: auto;
  margin: 5px;
  width: 200px;
}

.item .item__sku {
  display: none;
}

.item .item__title {
  flex-grow: 1;
  padding: 10px;
  text-align: center;
}

.item .item__image {
  width: 100%;
}

.item .item__add {
  border: 2px solid #0dcaf0;
  cursor: pointer;
  margin: 0;
  padding: 5px;
  position: relative;
  background: transparent;
  font-weight: bold;
}

.cart {
  display: flex;
  flex-basis: 30%;
  flex-flow: column wrap;
}

.cart .cart__title {
  flex-basis: 1;
  font-size: 16pt;
  text-align: center;
  margin-bottom: 10px;
}

.btn::before {
  content: '';
  position: absolute;
  background: #0dcaf0;
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  transition: all .5s ease;
}

.btn:hover::before {
  width: 100%;
}

.empty-cart {
  border: 2px solid #dc3545;
  cursor: pointer;
  margin: 0;
  padding: 5px;
  position: relative;
  background: transparent;
  font-weight: bold;
}

.empty-cart::before {
  content: '';
  position: absolute;
  background: #dc3545;
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  transition: all .5s ease;
}

.empty-cart:hover::before {
  width: 100%;
}

.cart__item {
  margin-top: 10px;
  list-style-type: none;

}

/* creating css loader */

#loading {
  align-self: center;
  width: 2rem;
  height: 2rem;
  border: 5px solid #f3f3f3;
  border-top: 6px solid #0dcaf0;
  border-radius: 100%;
  /* margin: auto; */
  visibility: hidden;
  animation: spin 1s infinite linear;
}
#loading.loading {
  visibility: visible;
}
@keyframes spin {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}
