body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: space-between;
}

.alert-success {
  position: relative;
  width: 9em;
}
.alert-success .message {
  position: absolute;
  right: 0;
}

.big-text {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  justify-content: flex-start;
  align-items: flex-end;
}
.big-text svg {
  width: 62%;
  margin: 3.5em 0 0.5em 0;
}

.ligne {
  background-color: white;
  margin: 0 0 0.125em 0;
}

.ligne-two {
  margin: 0.125em 0 0 0;
}

.ligne-products {
  margin: 0 0 0 0;
}

.products-container {
  flex-basis: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  margin-top: -1px;
}

.products-container, .flex-category {
  border: white solid 1px;
}

.flex-category, .product {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.flex-category .text, .product .text {
  font: 0.93em "Grotesk";
}
.flex-category img, .flex-category .img-category, .product img, .product .img-category {
  width: 9.94em;
}
.flex-category .name, .flex-category .name-category, .product .name, .product .name-category {
  width: 13.44em;
}
.flex-category .size, .flex-category .size-category, .product .size, .product .size-category {
  width: 4.7em;
}
.flex-category .color, .flex-category .color-category, .product .color, .product .color-category {
  width: 5.37em;
}
.flex-category .quantity, .flex-category .qty-category, .product .quantity, .product .qty-category {
  width: 5.37em;
}
.flex-category .price, .flex-category .price-category, .product .price, .product .price-category {
  width: 5.7em;
  text-align: end;
  justify-self: flex-end;
}
.flex-category .price-delete, .product .price-delete {
  width: 5.37em;
  text-align: end;
  justify-self: flex-end;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.flex-category .price-delete p, .flex-category .price-delete form, .product .price-delete p, .product .price-delete form {
  width: 5.37em;
}
.flex-category .price-delete button, .product .price-delete button {
  text-align: end;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.quantity {
  display: flex;
  justify-content: space-between;
}
.quantity button, .quantity p {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  text-align: center;
  width: 2em;
  height: 1em;
}
.quantity button {
  font-size: 1.2em;
}

.flex-category {
  padding: 0.1em 0.2em 0.1em 0.2em;
}

.product {
  padding: 0.2em;
}

.product-and-line {
  transition: all 1s ease-in-out;
  overflow: hidden;
}

.deleted {
  transition: all 1s ease-in-out;
  display: none;
}

.flex-buttons {
  width: 49%;
  display: flex;
  justify-content: space-between;
  align-self: flex-end;
  margin: 1em 0 0 0;
}
.flex-buttons .total {
  font: 0.93em "Grotesk";
  align-self: center;
}
.flex-buttons .total span {
  font-size: 1em;
}

.empty {
  width: 100%;
  height: 100%;
}
.empty p {
  margin: 10% auto 0 auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.end-of-page {
  display: flex;
  flex-direction: column;
}

footer {
  margin: 0 0 0 0;
  height: auto;
}

::-webkit-scrollbar {
  background-color: black;
  width: 5px;
  border: white solid 1px;
}

::-webkit-scrollbar-thumb {
  background-color: white;
}

/* Extra Small phone */
@media only screen and (max-width: 1024px) {
  .big-text svg {
    width: 100%;
  }

  .flex-buttons {
    width: 100%;
    margin-bottom: 1em;
  }

  .text {
    font: 0.7em "Grotesk";
  }
}
@media only screen and (max-width: 500px) {
  .big-text svg {
    margin-top: 2em;
  }

  .text {
    font: 0.5em "Grotesk";
  }
}
/* Extra Small phone */
@media only screen and (max-width: 320px) {
  nav .navbar .links-right .alert-success {
    visibility: hidden;
    width: 0;
    height: 0;
  }

  .flex-buttons {
    flex-direction: column;
  }
  .flex-buttons .price {
    align-self: flex-start;
  }
}
