@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css");
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
}

.main__wrapper {
  min-height: 100vh;
  position: relative;
}

/*HEADER SECTION*/
.main__header {
  background-color: #172229;
  background-image: url("../images/Header Background.jpg");
  background-blend-mode: multiply;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding-bottom: 30px;
}

.main__header .main__nav {
  text-align: center;
  font-size: 1.1rem;
  font-weight: lighter;
}

.main__header .main__nav li {
  padding: 0 5%;
}

.main__header .main__nav .icon {
  color: #e1e7eb;
  font-size: 20px;
}

.main__header .nav ul {
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.main__header .nav ul li {
  list-style: none;
}

.main__header .nav ul li a {
  padding: 0.5em 0.2em;
  color: #dddcd1;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: bold;
}

.main__header .nav ul a:hover {
  background-color: #a7b2be;
  color: #ff3232;
}

.main__header .cart__link {
  cursor: pointer;
}

.main__header .cart__link:hover {
  opacity: 0.7;
}

.main__header .cart__link .cart__value__container {
  width: 100%;
  padding: 5px;
  background-color: transparent;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.main__header .cart__link .cart__value__container .fa-shopping-cart {
  color: #ff3232;
  font-size: 25px;
}

.main__header .cart__link .cart__value__container #cart__count {
  padding: 3px 3px;
  font-weight: bold;
  color: #e1e7eb;
  position: absolute;
  margin-top: -5px;
  margin-left: 5px;
}

.shop__name {
  text-align: center;
  margin: 0;
  font-size: 4rem;
  font-family: "Poppins", san serif;
  font-weight: normal;
  color: #f8f8f8;
  text-transform: capitalize;
}

.shop__name__large {
  font-size: 12vw;
}

.underline__nav_items {
  border-radius: "";
  width: 100%;
  height: 2px;
  background-color: #a7b2be;
  margin: 0.5rem auto;
}

.underline__section__header {
  border-radius: 5px;
  width: 12rem;
  height: 5px;
  background-color: #a7b2be;
  margin: 0.5rem auto;
}

/*MAIN SECTION*/
.content__section {
  margin: 20px;
}

.container {
  max-width: 1170px;
  margin: 2rem auto;
  padding: 0 1.5em;
  color: #172229;
}

.section__header {
  font-family: sans-serif;
  font-weight: normal;
  text-align: center;
  font-size: 3.3rem;
  text-transform: capitalize;
  letter-spacing: 2px;
}

/*BUTTONS*/
.btn-primary {
  width: auto;
  background-color: #054155;
  color: #ff3232;
  border: none;
  border-radius: 2px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  vertical-align: middle;
  -webkit-transition: all 0.4s linear;
  transition: all 0.4s linear;
  padding: 0.67em 0.67em;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.8;
}

.btn-secondary {
  width: auto;
  background-color: #e29e0b;
  color: #078612;
  border: none;
  border-radius: 2px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  vertical-align: middle;
  -webkit-transition: all 0.4s linear;
  transition: all 0.4s linear;
  padding: 0.67em 0.67em;
  cursor: pointer;
}

.btn-secondary:hover {
  opacity: 0.8;
}

.btn-tertiary {
  width: 50%;
  background-color: #a7b2be;
  color: #572e57;
  border: none;
  border-radius: 2px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  vertical-align: middle;
  -webkit-transition: all 0.4s linear;
  transition: all 0.4s linear;
  padding: 0.67em 0.67em;
  cursor: pointer;
  font-size: 1.2em;
}

.btn-tertiary:hover {
  opacity: 0.8;
}

/*ITEMS DISPLAY*/
.shop__items {
  margin: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

.shop__items {
  background-color: #f8f8f8;
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: auto;
      grid-template-rows: auto;
  -ms-grid-columns: (minmax(350px, 1fr))[auto-fill];
      grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.shop__items .shop__item {
  width: auto;
  margin: 30px;
  border: 1px solid #e1e7eb;
  padding: 10px;
}

.shop__items .shop__item .shop__item__title {
  display: block;
  text-align: center;
  font-weight: bold;
  font-size: 1.5em;
  margin-bottom: 15px;
  text-transform: capitalize;
}

.shop__items .shop__item .shop__item__image {
  width: 100%;
  height: auto;
  cursor: pointer;
}

.shop__items .shop__item .shop__item__details {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 5px;
}

.shop__items .shop__item .shop__item__price {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  font-weight: 800;
}

.cart__header {
  font-weight: bold;
  font-size: 1.25em;
}

.cart__column {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-bottom: 1px solid #172229;
  margin-right: 1.5em;
  padding-bottom: 10px;
  margin-top: 10px;
}

.cart__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 50px;
}

.cart__item {
  width: 45%;
}

.cart__price {
  width: 20%;
  font-size: 1.2em;
}

.cart__quantity {
  width: 35%;
}

.cart__item__title {
  margin-left: 0.5em;
  font-size: clamp(0.5em, 1em, 1.2em);
  text-overflow: ellipsis;
}

.cart__item__image {
  width: 75px;
  height: auto;
  border-radius: 10px;
}

.btn-danger {
  width: auto;
  background-color: #ff3232;
  color: #054155;
  border: none;
  border-radius: 0.3em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  vertical-align: middle;
  -webkit-transition: all 0.4s linear;
  transition: all 0.4s linear;
  padding: 0.67em 0.67em;
  cursor: pointer;
}

.btn-danger:hover {
  opacity: 0.8;
}

.btn-danger:hover {
  opacity: 0.85;
}

.cart__item__count {
  font-weight: 700;
}

#cart__item__change {
  height: 33px;
  width: 50px;
  padding-right: 3px;
  background-color: #e1e7eb;
  border-radius: 5px;
  margin: 0 5px;
}

#cart__item__change:focus {
  outline: none;
  border: 1px solid #078612;
}

.cart__row:last-child {
  border-bottom: 1px solid #172229;
}

.cart__row:last-child .cart__column {
  border: none;
}

.cart__pay__clear__buttons {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 20px;
}

.cart__pay__clear__buttons button {
  width: auto;
  padding: 15px;
}

.cart__total {
  text-align: end;
  margin-top: 10px;
  margin-right: 10px;
}

.cart__total__title {
  font-weight: bold;
  font-size: 1.5em;
  margin-right: 20px;
}

.total__underline {
  border-radius: "";
  width: 50px;
  height: 2px;
  background-color: #ff3232;
  margin: 0.5rem auto;
}

.cart__total__price {
  font-size: 1.1em;
  font-weight: bolder;
}

.success__message {
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 10px;
  width: 98%;
  margin: 2rem auto;
  background-color: #e1e7eb;
}

@media screen and (min-width: 750px) {
  .success__message {
    width: 50%;
  }
}

.success__message h3,
.success__message p {
  color: #172229;
  padding: 5px;
}

.success__message h3 {
  font-size: 22px;
  font-weight: 800;
}

.main__footer {
  width: 100%;
  background-color: #054155;
  color: #e1e7eb;
  padding: 0.25em 0;
  bottom: 0;
}

.main__footer .main__footer__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  text-align: end;
}

.main__footer .main__footer__container ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.main__footer .main__footer__container ul li {
  padding: 0 0.5em;
  list-style: none;
}

.main__footer .main__footer__container .underline__shop__name {
  border-radius: 5px;
  width: 10rem;
  height: 7px;
  background-color: #ff3232;
  margin: 0.5rem auto;
}

.main__footer .main__footer__container .shop__name_footer {
  font-size: 35px;
  letter-spacing: 1px;
}

.main__footer .main__footer__container .icon {
  color: #054155;
  background-color: #ff3232;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
  border-radius: 50%/20%;
  padding: 3px;
  font-size: 20px;
  cursor: pointer;
}

.main__footer .main__footer__container .icon:hover {
  color: #e1e7eb;
}

.form__container {
  padding: 20px 5px;
  text-align: center;
  width: 100%;
  margin: auto;
  width: 98%;
  margin: 2rem auto;
  background-color: #e1e7eb;
}

@media screen and (min-width: 750px) {
  .form__container {
    width: 50%;
  }
}

.form__container input {
  width: 80%;
  margin: 5px;
  padding: 10px 0;
  border: none;
  outline: none;
  letter-spacing: 2px;
}

.form__container input::-webkit-input-placeholder {
  letter-spacing: 2px;
}

.form__container input:-ms-input-placeholder {
  letter-spacing: 2px;
}

.form__container input::-ms-input-placeholder {
  letter-spacing: 2px;
}

.form__container input::placeholder {
  letter-spacing: 2px;
}

.form__container input:focus {
  border: 2px, solid, #078612;
  border: 2px solid, #078612;
}

.form__container button {
  margin-top: 20px;
  font-size: 18px;
  width: 80%;
  background-color: #054155;
  color: #e29e0b;
  border: none;
  border-radius: 0px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  vertical-align: middle;
  -webkit-transition: all 0.4s linear;
  transition: all 0.4s linear;
  padding: 0.67em 0.67em;
  cursor: pointer;
}

.form__container button:hover {
  opacity: 0.8;
}
