:root {
  --main-color: #000137;
  --main-hover-color: #282f5f;
  --sub-color: white;
  --main-image-filter: invert(6%) sepia(63%) saturate(3693%) hue-rotate(232deg)
    brightness(91%) contrast(117%);
  --sub-image-filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(73deg)
    brightness(104%) contrast(101%);
}

body {
  background-color: #eceff1;
  /* margin-bottom: 55px; */
  height: 100vh;
  visibility: hidden;
}
#div2 {
  width: 100%;
  padding-left: 15px;
  padding-right: 5px;
  height: 46px;
  border-radius: 15px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 16px;
}
#div1 {
  background-color: var(--main-color);
  width: 100%;
  display: flex;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#search {
  color: grey;
  width: 100%;
}
#option {
  margin: 10px 5px 10px 10px;
}

.notification {
  color: var(--sub-color);
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.notification img {
  width: 40px;
  height: 40px;
  object-fit: scale-down;
  filter: var(--sub-image-filter);
}

.notification .badge {
  position: absolute;
  top: 5;
  right: -10px;
  padding: 3px 7px;
  font-size: 12px;
  border-radius: 50%;
  background: red;
  color: white;
}
.a_badge {
  position: absolute;
  top: -5px;
  right: -10px;
  padding: 2px 4px;
  font-size: 10px;
  border-radius: 50%;
  background: red;
  color: white;
}
@media (min-width: 768px) {
  .vw-md-25 {
    width: 25vw !important;
  }
}
@media (max-width: 767px) {
  .vw-md-25 {
    width: 40vw !important;
  }
  .a_badge {
    top: -5px;
    right: -6px;
  }
}

#loader {
  border: 9px solid #f3f3f3;
  border-top: 9px solid #000137;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite alternate;

  position: fixed;
  bottom: 40%;
  left: 45%;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(1080deg);
  }
}
.item_name {
  height: 30px;
  overflow: hidden;
}
.items_view {
  background-color: white;
  padding: 5px;
  margin: 8px;
  border-radius: 15px;
  align-content: center;
  text-decoration: none;
  color: black;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
@media (max-width: 359px) {
  .items_view {
    width: 140px;
  }
}
@media (min-width: 360px) {
  .items_view {
    width: 160px;
  }
}
@media (min-width: 392px) {
  .items_view {
    width: 180px;
  }
}
@media (min-width: 480px) {
  .items_view {
    width: 140px;
  }
}
@media (min-width: 640px) {
  .items_view {
    width: 164px;
  }
}

.item_price {
  text-align: right;
}
.items_image {
  height: 130px;
  object-fit: scale-down;
  width: 100%;
}

@media (min-width: 992px) {
  .notification .badge {
    display: none;
  }
}

.nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 55px;
  background-color: var(--main-color);
  display: flex;
  overflow-x: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.navbar-nav .nav-link,
.nav-link {
  color: var(--sub-color) !important;
}
.nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  min-width: 50px;
  overflow: hidden;
  white-space: nowrap;
  font-family: sans-serif;
  font-size: 13px;
  color: #757575;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color o.1s ease-in-out;
}
.nav__link:hover {
  background-color: var(--main-hover-color);
}
.nav__link--active {
  color: var(--sub-color);
}
