html {
  font-family: Arial, Helvetica, sans-serif;
}

a,
a.visited {
  color: inherit;
}

a > li:hover {
  background-color: dimgrey;
}

.navbar {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  background-color: rgb(36, 69, 145);
}

.navbar_item {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.navbar_item a {
  text-decoration: none;
}

.navbar_item a:hover {
  background-color: dimgrey;
}

.cart_icon {
  padding: 9px 12px;
}

#cartCount {
  font-size: 12px;
  vertical-align: top;
  margin-left: -4px;
}

.active {
  background-color: dimgrey;
  cursor: default;
}

.input_field {
  margin-bottom: 20px;
}

#items_list {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
}

.item_box {
  height: 250px;
  width: 200px;
  color: black;
  background-color: white;
  border: 2px;
  border-color: grey;
  border-radius: 5px;
  border-style: solid;
  margin: 10px;
}

.item_box:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  cursor: pointer;
}

.item_title {
  display: flex;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 0;
}

.item_image_container {
  overflow: hidden;
  height: 140px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 15px;
}

.item_image {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.item_price {
  display: flex;
  padding-right: 5%;
  padding-bottom: 5%;
  justify-content: flex-end;
  width: 95%;
  margin: 0;
}

.item_description {
  padding-top: 5%;
  padding-left: 5%;
  padding-bottom: 5px;
  margin: 0;
}

.amazon_button {
  margin-top: 15px;
  border-radius: 50px;
  background-color: black;
  height: 70px;
  width: 250px;
  display: flex;
  justify-content: center;
  transition: 100ms;
}

.amazon_button:hover {
  background-color: rgb(36, 69, 145);
  cursor: pointer;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.amazon_button:hover > div > .button_chevron {
  margin-right: -50px;
}

.button_chevron {
  height: 20px;
  position: absolute;
  margin-top: 23px;
  margin-right: -45px;
  transition: 100ms;
}

/* Desktop */
@media screen and (min-width: 800px) {
  .navbar_inline {
    margin-left: 10vw;
    margin-right: 10vw;
  }

  .items_container {
    margin-left: 10vw;
    margin-right: 10vw;
  }
}

/* Tablet */
@media screen and (max-width: 800px) {
}

/* Phone */
@media screen and (max-width: 600px) {
  .item_box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 170px;
    width: 80vw;
    color: black;
    background-color: white;
    border: 2px;
    border-color: grey;
    border-radius: 5px;
    border-style: solid;
    margin-bottom: 10px;
  }

  .item_title {
    justify-content: center;
    padding-top: 20px;
    margin-top: 10px;
  }

  .item_image_container {
    overflow: hidden;
    height: inherit;
    width: 80%;
    order: -1;
  }

  .item_image {
    width: auto;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: -0 auto;
    object-position: center;
  }

  .item_price {
    padding-right: 50%;
    padding-bottom: 5%;
    width: 95%;
    margin-top: -60px;
    margin-left: 90%;
  }
}
